|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class provides applications the functionality to compute iView URLs for
SAP applications such as APPTYPE_TRANSACTION or APPTYPE_WEBDYNPRO.
The iView URL is computed using the method
createIViewURL(IPortalComponentRequest, String, Hashtable). Beside the Portal
Component Request the method gets the application type and a hashtable which contains the
parameterization regarding the given application type.
The following example shows how to create an iView URL that starts transaction su01 using SAPGUI for HTML in system My_Sap_System and prefills the dynpro field USR02-BNAME with the user id p80000001:
Hashtable params = new Hashtable(); params.put(IIViewUrlGenerator.SYSTEM_KEY, "My_SAP_System"); params.put(IIViewUrlGenerator.TRANSACTION_TCODE, "su01"); params.put(IIViewUrlGenerator.TRANSACTION_GUITYPE, IIViewUrlGenerator.SAPGUI_HTML); params.put(IIViewUrlGenerator.DYNAMICPARAMETER, "USR02-BNAME=p80000001"); IIViewUrlGenerator urlGenerator = (IIViewUrlGenerator) PortalRuntime.getRuntimeResources().getService(IIViewUrlGenerator.KEY); String txiViewURL = urlGenerator.createIViewURL(request, IIViewUrlGenerator.APPTYPE_TRANSACTION, params);
This URL will point to the Transaction starter component com.sap.portal.appintegrator.sap.Transaction.
If the parameter IVIEW_KEY contains a valid PCD iView URL createIViewURL(IPortalComponentRequest, String, Hashtable)
will return a URL that points to this iView:
Hashtable params = new Hashtable(); params.put(IIViewUrlGenerator.IVIEW_KEY, "portal_content/templates/iviews/sap_transaction_iview"); params.put(IIViewUrlGenerator.DYNAMICPARAMETER, "USR02-BNAME=p80000001"); IIViewUrlGenerator urlGenerator = (IIViewUrlGenerator) PortalRuntime.getRuntimeResources().getService(IIViewUrlGenerator.KEY); String txiViewURL = urlGenerator.createIViewURL(request, IIViewUrlGenerator.APPTYPE_TRANSACTION, params);
In this case the provided iView should define at least the system, transaction code and the SAP Gui Type.
Of course it doesn't matter what parameters are defined inside the iView and what parameter are provided by the
parameter hashtable. Only if IVIEW_KEY is not defined all parameters that are mandatory for the given
application type must be defined.
| Field Summary | |
static java.lang.String |
APPTYPE_BSP
Application Type BSP (Business Server Pages) Value for: applicationType Uses: SYSTEM_KEY
Uses: BSP_CUSTOMER_NAMESPACE
Uses: BSP_APPLICATION_NAMESPACE
Uses: BSP_APPLICATION_ID
Uses: BSP_ALIAS
Uses: BSP_PAGE_ID
Uses: DYNAMICPARAMETER |
static java.lang.String |
APPTYPE_BWREPORT
Application Type BW Report Value for: applicationType Uses: SYSTEM_KEY
Uses: BWREPORT_REPORTID
Uses: DYNAMICPARAMETER |
static java.lang.String |
APPTYPE_CONTENTINTEGRATOR
Application Type Content Integrator Value for: applicationType Uses: SYSTEM_KEY
Uses: CONTENT_INTEGRATOR_ID
Uses: DYNAMICPARAMETER |
static java.lang.String |
APPTYPE_CRYSTALREPORT
Application Type Crystal Report Value for: applicationType Uses: SYSTEM_KEY
Uses: CRYSTAL_REPORT_TYPE
Uses: CRYSTAL_REPORT_ID
Uses: CRYSTAL_VIEWER_APPLICATION
Uses: CRYSTAL_VIEWER_TECHNIQUE
Uses: CRYSTAL_VIEW_TYPE
Uses: DYNAMICPARAMETER |
static java.lang.String |
APPTYPE_DNROBJECT
Application Type DNRObject (Drag and Relate object starter) Value for: applicationType Uses: SYSTEM_KEY
Uses: DNROBJECT_TYPE
Uses: DNROBJECT_KEY
Uses: DNROBJECT_NAME |
static java.lang.String |
APPTYPE_GENERIC
Application Type Generic (Generic URL launcher) Value for: applicationType Uses: SYSTEM_KEY
Uses: GENERIC_ID
Uses: GENERIC_URL_TEMPLATE
Uses: GENERIC_USERMAPPING_TEMPLATE
Uses: GENERIC_SAPLOGONTICKET_TEMPLATE |
static java.lang.String |
APPTYPE_IAC
Application Type IAC (Internet Application Component) Value for: applicationType Uses: SYSTEM_KEY
Uses: IAC_SERVICE_ID
Uses: DYNAMICPARAMETER |
static java.lang.String |
APPTYPE_MINIAPP
Application Type MiniApp (ITS based application type) Value for: applicationType Uses: SYSTEM_KEY
Uses: MINIAPP_SERVICE_ID
Uses: DYNAMICPARAMETER |
static java.lang.String |
APPTYPE_TRANSACTION
Application Type Transaction Value for: applicationType Uses: SYSTEM_KEY
Uses: TRANSACTION_TCODE
Uses: TRANSACTION_GUITYPE
Uses: DYNAMICPARAMETER
Uses: TRANSACTION_AUTOSTART
Uses: TRANSACTION_OKCODE
Uses: TRANSACTION_SPO1
Uses: TRANSACTION_FROGDESIGN
Uses: TRANSACTION_WINGUITECHNIQUE |
static java.lang.String |
APPTYPE_WEBDYNPRO
Application Type Web Dynpro Value for: applicationType Uses: SYSTEM_KEY
Uses: WEBDYNPRO_DEFINITIONTYPE
Uses: WEBDYNPRO_NAMESPACE
Uses: WEBDYNPRO_APPLICATION
Uses: DYNAMICPARAMETER |
static java.lang.String |
BSP_ALIAS
BSP Alias The Business Server Page (BSP) Alias is used as a shortcut for 'Customer Namespace', 'Application Namespace' and 'Application'. |
static java.lang.String |
BSP_APPLICATION_ID
BSP Application ID The name of the Business Server Page (BSP) Application (without its namespace). |
static java.lang.String |
BSP_APPLICATION_NAMESPACE
BSP Application Namespace The Application Namespace is used as a prefix for the application name in order to separate the applications from each other. |
static java.lang.String |
BSP_CUSTOMER_NAMESPACE
BSP Customer Namespace The Customer Namespace is used to separate SAP applications from customer applications. |
static java.lang.String |
BSP_PAGE_ID
BSP Page-ID The Business Server Page (BSP) start page Type: String Mandatory: yes Default: empty Example: "index.html" |
static java.lang.String |
BWREPORT_REPORTID
BW Report ID The query string of the BW Report Type: String Mandatory: yes, if not defined by the iView Default: no default Example: "cmd=ldoc&TEMPLATEID=4711" |
static java.lang.String |
CONTENT_INTEGRATOR_ID
Content Integrator ID ID of the Content Integrator application Type: String Mandatory: yes, if not defined by the iView Default: no default Example: "CI.APP.DISPLAY_SCHEMA" |
static java.lang.String |
CRYSTAL_BW_REPORT
Crystal Report Type BW Report Value for: CRYSTAL_REPORT_TYPE |
static java.lang.String |
CRYSTAL_REPORT_ID
Crytsl Report ID Unique ID of the Crystal Report. |
static java.lang.String |
CRYSTAL_REPORT_TYPE
Crystal Report Type Crystal Enterprise Reports can be defined as a standard report or as a report that is assigned to a BW Report (use the Java constants). |
static java.lang.String |
CRYSTAL_STANDARD_REPORT
Crystal Report Type Standard Value for: CRYSTAL_REPORT_TYPE |
static java.lang.String |
CRYSTAL_VIEW_TYPE
Crystal Report View Type Crystal Enterprise viewing type decides if the report will be displayed 'on demand' or if the last instance will be displayed (use the Java constants). |
static java.lang.String |
CRYSTAL_VIEW_TYPE_LASTINSTANCE
Crystal Viewer Type Last Instance Value for: CRYSTAL_VIEW_TYPE |
static java.lang.String |
CRYSTAL_VIEW_TYPE_ONDEMAND
Crystal Viewer Type On Demand Value for: CRYSTAL_VIEW_TYPE |
static java.lang.String |
CRYSTAL_VIEWER_APPLICATION
Crystal Report Viewer Application Actual viewer application file which gets execute to display the results for this iView. |
static java.lang.String |
CRYSTAL_VIEWER_TECHNIQUE
Crystal Report Viewer Technique Crystal Enterprise Viewer that will be used to display the Crystal Report (use the Java constants). |
static java.lang.String |
CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX
Crystal Viewer Technique ActiveX Value for: CRYSTAL_VIEWER_TECHNIQUE |
static java.lang.String |
CRYSTAL_VIEWER_TECHNIQUE_HTML
Crystal Viewer Technique pure HTML Value for: CRYSTAL_VIEWER_TECHNIQUE |
static java.lang.String |
CRYSTAL_VIEWER_TECHNIQUE_JAVA
Crystal Viewer Technique pure Java Applet Value for: CRYSTAL_VIEWER_TECHNIQUE |
static java.lang.String |
CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN
Crystal Viewer Technique Java Plugin Value for: CRYSTAL_VIEWER_TECHNIQUE |
static java.lang.String |
CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN
Crystal Viewer Technique Netscape Plugin Value for: CRYSTAL_VIEWER_TECHNIQUE |
static java.lang.String |
DNROBJECT_KEY
Object Key The Object Key as defined in the Business Object Repository (BOR) of the SAP system. |
static java.lang.String |
DNROBJECT_NAME
Object Name Descriptive, English ID of a business object in the Business Object Repository (BOR). |
static java.lang.String |
DNROBJECT_TYPE
Object Type Internal technical key of a business object in the Business Object Repository (BOR). |
static java.lang.String |
DYNAMICPARAMETER
Additinal application parameters URL-querystring like list of parameters that are passed to the iView. |
static java.lang.String |
GENERIC_APPLICATION_PARAMETER
Generic Application Parameter URL-querystring like list of parameters that are passed to the remote application. |
static java.lang.String |
GENERIC_ID
Generic Application ID The ID of the remote application. |
static java.lang.String |
GENERIC_SAPLOGONTICKET_TEMPLATE
Generic SAP Logon Ticket Template The Single Sign-On template fraction is resolved during runtime and its result is stored in the variable 'Authentication'. |
static java.lang.String |
GENERIC_URL_TEMPLATE
Generic URL Template The URL template includs expressions placed in <...> that are evaluated during runtime, e.g: The URL template 'http://myserver? |
static java.lang.String |
GENERIC_USERMAPPING_TEMPLATE
Generic User Mapping Template The user mapping template fraction is resolved during runtime and its result is stored in the variable 'Authentication'. |
static java.lang.String |
IAC_SERVICE_ID
IAC service ID The ITS service name of the Internet Application Component (IAC). |
static java.lang.String |
IVIEW_KEY
iView ID The iView to create the URL for (path in the PCD) Type: String Mandatory: no Default: the portal component concerning the application type Example: "portal_content/templates/iviews/sap_transaction_iview" |
static java.lang.String |
KEY
Service KEY |
static java.lang.String |
MINIAPP_SERVICE_ID
MiniApp service ID The ITS service name of the MiniApp. |
static java.lang.String |
SAPGUI_HTML
SAPGui type SAPGUI for HTML Value for: TRANSACTION_GUITYPE |
static java.lang.String |
SAPGUI_JAVA
SAPGui type SAPGUI for Java Value for: TRANSACTION_GUITYPE |
static java.lang.String |
SAPGUI_WINDOWS
SAPGui type SAPGUI for Windows Value for: TRANSACTION_GUITYPE |
static java.lang.String |
SYSTEM_KEY
System ID ID of the SAP system as defined in the system landscape Type: String Mandatory: yes, if not defined by the iView or you use the Genericapplication type Default: no default Example: "MySystem" |
static java.lang.String |
TRANSACTION_AUTOSTART
Process first dynpro automatically If set to 'true' than <Enter> is automatically executed when the transaction is started and the first screen is executed if all mandatory screen fields are defined. |
static java.lang.String |
TRANSACTION_FROGDESIGN
Flag for new Visual design If set to true the SAPGUI for Java is started using the new Visual Design Type: {true, false} Mandatory: no Default: true Example: "false" |
static java.lang.String |
TRANSACTION_GUITYPE
SAP Gui type One of 'SAPGUI for Windows' (WinGui), 'SAPGUI for Java' (javaGui) or 'SAPGUI for HTML' (WebGui) - use the Java constants Type: { SAPGUI_HTML, SAPGUI_WINDOWS, SAPGUI_JAVA}
Mandatory: yes, if not defined by the iView
Default: no default
Example: SAPGUI_HTML |
static java.lang.String |
TRANSACTION_OKCODE
Okcode to trigger PAI on first screen Sets the Ok code field for the transaction start. |
static java.lang.String |
TRANSACTION_SPO1
Flag for SPO1 If set to true than the transaction is started via the parameter transaction SPO1. |
static java.lang.String |
TRANSACTION_TCODE
The Transaction code A transaction code can contain up to 20 characters and should always begin with a letter. |
static java.lang.String |
TRANSACTION_WINGUITECHNIQUE
SAPGUI for Windows starting technique Defines the technique to start Wingui. |
static java.lang.String |
WEBDYNPRO_APPLICATION
Web Dynpro Application The Web Dynpro application name Type: string Mandatory: yes, if not defined by the iView Default: no default Example: "HelloWorld" |
static java.lang.String |
WEBDYNPRO_DEFINITIONTYPE
Web Dynpro Definition Type The definition type defines whether this is an ABAP- or Java-Web Dynpro iView. |
static java.lang.String |
WEBDYNPRO_NAMESPACE
Web Dynpro Namespace The namespace of the Webdynpro application (ie. the development component in Java). |
static java.lang.String |
WINGUI_STARTTECH_AUTO
WinGui Starting technique automatic detection Value for: TRANSACTION_WINGUITECHNIQUE |
static java.lang.String |
WINGUI_STARTTECH_SSD
WinGui Starting technique Structured Document Value for: TRANSACTION_WINGUITECHNIQUE |
static java.lang.String |
WINGUI_STARTTECH_SSF
WinGui Starting technique Shortcut File Value for: TRANSACTION_WINGUITECHNIQUE |
| Method Summary | |
java.lang.String |
createIViewURL(com.sapportals.portal.prt.component.IPortalComponentRequest request,
java.lang.String applicationType,
java.util.Hashtable parameterization)
Computes an iView URL for the given parameterization.
|
| Field Detail |
public static final java.lang.String KEY
public static final java.lang.String APPTYPE_TRANSACTION
Value for: applicationType
Uses: SYSTEM_KEY
Uses: TRANSACTION_TCODE
Uses: TRANSACTION_GUITYPE
Uses: DYNAMICPARAMETER
Uses: TRANSACTION_AUTOSTART
Uses: TRANSACTION_OKCODE
Uses: TRANSACTION_SPO1
Uses: TRANSACTION_FROGDESIGN
Uses: TRANSACTION_WINGUITECHNIQUE
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_BSP
Value for: applicationType
Uses: SYSTEM_KEY
Uses: BSP_CUSTOMER_NAMESPACE
Uses: BSP_APPLICATION_NAMESPACE
Uses: BSP_APPLICATION_ID
Uses: BSP_ALIAS
Uses: BSP_PAGE_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_WEBDYNPRO
Value for: applicationType
Uses: SYSTEM_KEY
Uses: WEBDYNPRO_DEFINITIONTYPE
Uses: WEBDYNPRO_NAMESPACE
Uses: WEBDYNPRO_APPLICATION
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_BWREPORT
Value for: applicationType
Uses: SYSTEM_KEY
Uses: BWREPORT_REPORTID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_IAC
Value for: applicationType
Uses: SYSTEM_KEY
Uses: IAC_SERVICE_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_MINIAPP
Value for: applicationType
Uses: SYSTEM_KEY
Uses: MINIAPP_SERVICE_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_DNROBJECT
Value for: applicationType
Uses: SYSTEM_KEY
Uses: DNROBJECT_TYPE
Uses: DNROBJECT_KEY
Uses: DNROBJECT_NAME
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_CRYSTALREPORT
Value for: applicationType
Uses: SYSTEM_KEY
Uses: CRYSTAL_REPORT_TYPE
Uses: CRYSTAL_REPORT_ID
Uses: CRYSTAL_VIEWER_APPLICATION
Uses: CRYSTAL_VIEWER_TECHNIQUE
Uses: CRYSTAL_VIEW_TYPE
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_CONTENTINTEGRATOR
Value for: applicationType
Uses: SYSTEM_KEY
Uses: CONTENT_INTEGRATOR_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String APPTYPE_GENERIC
Value for: applicationType
Uses: SYSTEM_KEY
Uses: GENERIC_ID
Uses: GENERIC_URL_TEMPLATE
Uses: GENERIC_USERMAPPING_TEMPLATE
Uses: GENERIC_SAPLOGONTICKET_TEMPLATE
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String IVIEW_KEY
Type: String
Mandatory: no
Default: the portal component concerning the application type
Example: "portal_content/templates/iviews/sap_transaction_iview"
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String SYSTEM_KEY
Type: String
Mandatory: yes, if not defined by the iView or you use the Genericapplication type
Default: no default
Example: "MySystem"
APPTYPE_BSP,
APPTYPE_BWREPORT,
APPTYPE_CONTENTINTEGRATOR,
APPTYPE_CRYSTALREPORT,
APPTYPE_GENERIC,
APPTYPE_DNROBJECT,
APPTYPE_IAC,
APPTYPE_MINIAPP,
APPTYPE_TRANSACTION,
APPTYPE_WEBDYNPRO,
createIViewURL(IPortalComponentRequest, String, Hashtable)public static final java.lang.String DYNAMICPARAMETER
Type: querystring
Mandatory: no
Default: empty
Example: "plvar=01&persid=0815"
APPTYPE_BSP,
APPTYPE_BWREPORT,
APPTYPE_CONTENTINTEGRATOR,
APPTYPE_CRYSTALREPORT,
APPTYPE_GENERIC,
APPTYPE_IAC,
APPTYPE_MINIAPP,
APPTYPE_WEBDYNPROpublic static final java.lang.String TRANSACTION_TCODE
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "su01"
APPTYPE_TRANSACTIONpublic static final java.lang.String TRANSACTION_GUITYPE
Type: {SAPGUI_HTML, SAPGUI_WINDOWS, SAPGUI_JAVA}
Mandatory: yes, if not defined by the iView
Default: no default
Example: SAPGUI_HTML
APPTYPE_TRANSACTIONpublic static final java.lang.String SAPGUI_HTML
Value for: TRANSACTION_GUITYPE
APPTYPE_TRANSACTIONpublic static final java.lang.String SAPGUI_WINDOWS
Value for: TRANSACTION_GUITYPE
APPTYPE_TRANSACTIONpublic static final java.lang.String SAPGUI_JAVA
Value for: TRANSACTION_GUITYPE
APPTYPE_TRANSACTIONpublic static final java.lang.String TRANSACTION_AUTOSTART
Type: {true, false}
Mandatory: no
Default: false
Example: "true"
APPTYPE_TRANSACTIONpublic static final java.lang.String TRANSACTION_OKCODE
Type: {true, false}
Mandatory: no
Default: false
Example: "true"
APPTYPE_TRANSACTION,
SAPGUI_HTMLpublic static final java.lang.String TRANSACTION_SPO1
Type: {true, false}
Mandatory: no
Default: false
Example: "true"
APPTYPE_TRANSACTIONpublic static final java.lang.String TRANSACTION_FROGDESIGN
Type: {true, false}
Mandatory: no
Default: true
Example: "false"
APPTYPE_TRANSACTION,
SAPGUI_JAVApublic static final java.lang.String TRANSACTION_WINGUITECHNIQUE
Type: {WINGUI_STARTTECH_AUTO, WINGUI_STARTTECH_SSD, WINGUI_STARTTECH_SSF}
Mandatory: no
Default: auto
Example: WINGUI_STARTTECH_SSF
APPTYPE_TRANSACTIONpublic static final java.lang.String WINGUI_STARTTECH_AUTO
Value for: TRANSACTION_WINGUITECHNIQUE
APPTYPE_TRANSACTIONpublic static final java.lang.String WINGUI_STARTTECH_SSD
Value for: TRANSACTION_WINGUITECHNIQUE
APPTYPE_TRANSACTIONpublic static final java.lang.String WINGUI_STARTTECH_SSF
Value for: TRANSACTION_WINGUITECHNIQUE
APPTYPE_TRANSACTIONpublic static final java.lang.String BSP_CUSTOMER_NAMESPACE
BSP_APPLICATION_NAMESPACE, BSP_APPLICATION_ID and BSP_PAGE_ID.
Type: String
Mandatory: no
Default: sap
Example: "sap"
APPTYPE_BSPpublic static final java.lang.String BSP_APPLICATION_NAMESPACE
BSP_CUSTOMER_NAMESPACE, BSP_APPLICATION_ID and BSP_PAGE_ID.
Type: String
Mandatory: no
Default: sap
Example: "sap"
APPTYPE_BSPpublic static final java.lang.String BSP_APPLICATION_ID
BSP_CUSTOMER_NAMESPACE, BSP_APPLICATION_NAMESPACE and BSP_PAGE_ID.
Type: String
Mandatory: no
Default: empty
Example: "MyApp"
APPTYPE_BSPpublic static final java.lang.String BSP_ALIAS
BSP_PAGE_ID.
Type: String
Mandatory: no
Default: empty
Example: "MyAlias"
APPTYPE_BSPpublic static final java.lang.String BSP_PAGE_ID
Type: String
Mandatory: yes
Default: empty
Example: "index.html"
APPTYPE_BSPpublic static final java.lang.String BWREPORT_REPORTID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "cmd=ldoc&TEMPLATEID=4711"
APPTYPE_BWREPORTpublic static final java.lang.String WEBDYNPRO_DEFINITIONTYPE
Type: {Java, ABAP}
Mandatory: yes, if not defined by the iView
Default: Java
Example: "ABAP"
APPTYPE_WEBDYNPROpublic static final java.lang.String WEBDYNPRO_NAMESPACE
Type: string
Mandatory: yes, if not defined by the iView
Default: no default
Example: "sap"
APPTYPE_WEBDYNPROpublic static final java.lang.String WEBDYNPRO_APPLICATION
Type: string
Mandatory: yes, if not defined by the iView
Default: no default
Example: "HelloWorld"
APPTYPE_WEBDYNPROpublic static final java.lang.String IAC_SERVICE_ID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "pz26"
APPTYPE_IACpublic static final java.lang.String MINIAPP_SERVICE_ID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "WeatherMiniApp"
APPTYPE_MINIAPPpublic static final java.lang.String DNROBJECT_TYPE
Type: String (The object type can have a maximum of 10 characters.)
Mandatory: yes, if not defined by the iView
Default: no default
Example: "DRCARR"
DNROBJECT_KEY,
APPTYPE_DNROBJECTpublic static final java.lang.String DNROBJECT_KEY
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "LH"
DNROBJECT_TYPE,
APPTYPE_DNROBJECTpublic static final java.lang.String DNROBJECT_NAME
Type: String
Mandatory: no
Default: no default
Example: "DragRelateCarr"
APPTYPE_DNROBJECTpublic static final java.lang.String CRYSTAL_REPORT_TYPE
Type: {CRYSTAL_STANDARD_REPORT, CRYSTAL_BW_REPORT}
Mandatory: yes, if not defined by the iView
Default: bw_id
Example: CRYSTAL_STANDARD_REPORT
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_STANDARD_REPORT
Value for: CRYSTAL_REPORT_TYPE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_BW_REPORT
Value for: CRYSTAL_REPORT_TYPE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_REPORT_ID
Type: {CRYSTAL_STANDARD_REPORT, CRYSTAL_BW_REPORT}
Mandatory: yes, if not defined by the iView
Default: no default
Example: CRYSTAL_BW_REPORT
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_APPLICATION
Type: String
Mandatory: no
Default: viewreport.csp
Example: "myviewer.csp"
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_TECHNIQUE
Type: {CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX,
CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN, CRYSTAL_VIEWER_TECHNIQUE_JAVA,
CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN, CRYSTAL_VIEWER_TECHNIQUE_HTML}
Mandatory: yes, if not defined by the iView
Default: html_frame
Example: CRYSTAL_VIEWER_JAVA
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_TECHNIQUE_JAVA
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEWER_TECHNIQUE_HTML
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEW_TYPE
Type: {CRYSTAL_VIEW_TYPE_ONDEMAND, CRYSTAL_VIEW_TYPE_LASTINSTANCE}
Mandatory: no
Default: on_demand
Example: CRYSTAL_VIEW_TYPE_LASTINSTANCE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEW_TYPE_ONDEMAND
Value for: CRYSTAL_VIEW_TYPE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CRYSTAL_VIEW_TYPE_LASTINSTANCE
Value for: CRYSTAL_VIEW_TYPE
APPTYPE_CRYSTALREPORTpublic static final java.lang.String CONTENT_INTEGRATOR_ID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "CI.APP.DISPLAY_SCHEMA"
APPTYPE_CONTENTINTEGRATORpublic static final java.lang.String GENERIC_ID
GENERIC_URL_TEMPLATE in order to abstract from the concrete application.
Therefore one can define an iView that contains
a generic URL template and a set of derrived iViews which define the specific application IDs.
Type: String
Mandatory: no
Default: no default
Example: "RemoteApp_01"
APPTYPE_GENERICpublic static final java.lang.String GENERIC_URL_TEMPLATE
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "http://www.somewhere.com/<Id>?lang=<Request.Language>"
APPTYPE_GENERIC,
ITemplateProcessor,
com.sapportals.portal.appintegratorpublic static final java.lang.String GENERIC_USERMAPPING_TEMPLATE
SYSTEM_KEY is defined and that its Logon Method is set to UIDPW.
Type: String
Mandatory: no
Default: no default
Example: "userid=<MappedUser>&password=<MappedPassword>"
APPTYPE_GENERICpublic static final java.lang.String GENERIC_SAPLOGONTICKET_TEMPLATE
SYSTEM_KEY is defined and that its Logon Method is set to SAPLOGONTICKET.
Type: String
Mandatory: no
Default: no default
Example: "MYSAPSSO2=<Request.SSO2Ticket>"
APPTYPE_GENERICpublic static final java.lang.String GENERIC_APPLICATION_PARAMETER
Type: String
Mandatory: no
Default: no default
Example: "email=<User.email>&locale=<Request.Locale>"
APPTYPE_GENERIC| Method Detail |
public java.lang.String createIViewURL(com.sapportals.portal.prt.component.IPortalComponentRequest request,
java.lang.String applicationType,
java.util.Hashtable parameterization)
throws IViewUrlGeneratorException
parameterization.
The parameterization is a hashtable that contains properties that control the
URL creation process.
You can specify an iView (see IVIEW_KEY which contains already predefined
properties like the SAP system for instance). If you don't specify an iView the portal component
related to the application type is choosen and you have to specify all parameters that
are mandatory for the this application type.
If the application type equals "Transaction" (see APPTYPE_TRANSACTION) and you don't
provide a value for IVIEW_KEY than you have to provide at least values for
SYSTEM_KEY, TRANSACTION_TCODE and TRANSACTION_GUITYPE.request - the portal component requestapplicationType - the SAP application type (e.g. Transaction, BSP etc.)parameterization - a hashtable that contains the parameters for the given application type.IViewUrlGeneratorException - if the iView URL couldn't be computed (unknown system for example)APPTYPE_TRANSACTION,
APPTYPE_BSP
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||