|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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 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 String |
APPTYPE_BWREPORT
Application Type BW Report Value for: applicationType Uses: SYSTEM_KEY
Uses: BWREPORT_REPORTID
Uses: DYNAMICPARAMETER |
static String |
APPTYPE_CONTENTINTEGRATOR
Application Type Content Integrator Value for: applicationType Uses: SYSTEM_KEY
Uses: CONTENT_INTEGRATOR_ID
Uses: DYNAMICPARAMETER |
static 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 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 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 String |
APPTYPE_IAC
Application Type IAC (Internet Application Component) Value for: applicationType Uses: SYSTEM_KEY
Uses: IAC_SERVICE_ID
Uses: DYNAMICPARAMETER |
static String |
APPTYPE_MINIAPP
Application Type MiniApp (ITS based application type) Value for: applicationType Uses: SYSTEM_KEY
Uses: MINIAPP_SERVICE_ID
Uses: DYNAMICPARAMETER |
static 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 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 String |
BSP_ALIAS
BSP Alias The Business Server Page (BSP) Alias is used as a shortcut for 'Customer Namespace', 'Application Namespace' and 'Application'. |
static String |
BSP_APPLICATION_ID
BSP Application ID The name of the Business Server Page (BSP) Application (without its namespace). |
static 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 String |
BSP_CUSTOMER_NAMESPACE
BSP Customer Namespace The Customer Namespace is used to separate SAP applications from customer applications. |
static String |
BSP_PAGE_ID
BSP Page-ID The Business Server Page (BSP) start page Type: String Mandatory: yes Default: empty Example: "index.html" |
static 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 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 String |
CRYSTAL_BW_REPORT
Crystal Report Type BW Report Value for: CRYSTAL_REPORT_TYPE |
static String |
CRYSTAL_REPORT_ID
Crytsl Report ID Unique ID of the Crystal Report. |
static 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 String |
CRYSTAL_STANDARD_REPORT
Crystal Report Type Standard Value for: CRYSTAL_REPORT_TYPE |
static 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 String |
CRYSTAL_VIEW_TYPE_LASTINSTANCE
Crystal Viewer Type Last Instance Value for: CRYSTAL_VIEW_TYPE |
static String |
CRYSTAL_VIEW_TYPE_ONDEMAND
Crystal Viewer Type On Demand Value for: CRYSTAL_VIEW_TYPE |
static String |
CRYSTAL_VIEWER_APPLICATION
Crystal Report Viewer Application Actual viewer application file which gets execute to display the results for this iView. |
static 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 String |
CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX
Crystal Viewer Technique ActiveX Value for: CRYSTAL_VIEWER_TECHNIQUE |
static String |
CRYSTAL_VIEWER_TECHNIQUE_HTML
Crystal Viewer Technique pure HTML Value for: CRYSTAL_VIEWER_TECHNIQUE |
static String |
CRYSTAL_VIEWER_TECHNIQUE_JAVA
Crystal Viewer Technique pure Java Applet Value for: CRYSTAL_VIEWER_TECHNIQUE |
static String |
CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN
Crystal Viewer Technique Java Plugin Value for: CRYSTAL_VIEWER_TECHNIQUE |
static String |
CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN
Crystal Viewer Technique Netscape Plugin Value for: CRYSTAL_VIEWER_TECHNIQUE |
static String |
DNROBJECT_KEY
Object Key The Object Key as defined in the Business Object Repository (BOR) of the SAP system. |
static String |
DNROBJECT_NAME
Object Name Descriptive, English ID of a business object in the Business Object Repository (BOR). |
static String |
DNROBJECT_TYPE
Object Type Internal technical key of a business object in the Business Object Repository (BOR). |
static String |
DYNAMICPARAMETER
Additinal application parameters URL-querystring like list of parameters that are passed to the iView. |
static String |
GENERIC_APPLICATION_PARAMETER
Generic Application Parameter URL-querystring like list of parameters that are passed to the remote application. |
static String |
GENERIC_ID
Generic Application ID The ID of the remote application. |
static 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 String |
GENERIC_URL_TEMPLATE
Generic URL Template The URL template includs expressions placed in <... |
static 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 String |
IAC_SERVICE_ID
IAC service ID The ITS service name of the Internet Application Component (IAC). |
static 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 String |
KEY
Service KEY |
static String |
MINIAPP_SERVICE_ID
MiniApp service ID The ITS service name of the MiniApp. |
static String |
SAPGUI_HTML
SAPGui type SAPGUI for HTML Value for: TRANSACTION_GUITYPE |
static String |
SAPGUI_JAVA
SAPGui type SAPGUI for Java Value for: TRANSACTION_GUITYPE |
static String |
SAPGUI_WINDOWS
SAPGui type SAPGUI for Windows Value for: TRANSACTION_GUITYPE |
static 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 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 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 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 String |
TRANSACTION_OKCODE
Okcode to trigger PAI on first screen Sets the Ok code field for the transaction start. |
static String |
TRANSACTION_SPO1
Flag for SPO1 If set to true than the transaction is started via the parameter transaction SPO1. |
static String |
TRANSACTION_TCODE
The Transaction code A transaction code can contain up to 20 characters and should always begin with a letter. |
static String |
TRANSACTION_WINGUITECHNIQUE
SAPGUI for Windows starting technique Defines the technique to start Wingui. |
static 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 String |
WEBDYNPRO_DEFINITIONTYPE
Web Dynpro Definition Type The definition type defines whether this is an ABAP- or Java-Web Dynpro iView. |
static String |
WEBDYNPRO_NAMESPACE
Web Dynpro Namespace The namespace of the Webdynpro application (ie. the development component in Java). |
static String |
WINGUI_STARTTECH_AUTO
WinGui Starting technique automatic detection Value for: TRANSACTION_WINGUITECHNIQUE |
static String |
WINGUI_STARTTECH_SSD
WinGui Starting technique Structured Document Value for: TRANSACTION_WINGUITECHNIQUE |
static String |
WINGUI_STARTTECH_SSF
WinGui Starting technique Shortcut File Value for: TRANSACTION_WINGUITECHNIQUE |
| Method Summary | |
String |
createIViewURL(IPortalComponentRequest request,
String applicationType,
Hashtable parameterization)
Computes an iView URL for the given parameterization.
|
| Field Detail |
public static final String KEY
public static final 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),
Constant Field Valuespublic static final 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),
Constant Field Valuespublic static final String APPTYPE_WEBDYNPRO
Value for: applicationType
Uses: SYSTEM_KEY
Uses: WEBDYNPRO_DEFINITIONTYPE
Uses: WEBDYNPRO_NAMESPACE
Uses: WEBDYNPRO_APPLICATION
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable),
Constant Field Valuespublic static final String APPTYPE_BWREPORT
Value for: applicationType
Uses: SYSTEM_KEY
Uses: BWREPORT_REPORTID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable),
Constant Field Valuespublic static final String APPTYPE_IAC
Value for: applicationType
Uses: SYSTEM_KEY
Uses: IAC_SERVICE_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable),
Constant Field Valuespublic static final String APPTYPE_MINIAPP
Value for: applicationType
Uses: SYSTEM_KEY
Uses: MINIAPP_SERVICE_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable),
Constant Field Valuespublic static final String APPTYPE_DNROBJECT
Value for: applicationType
Uses: SYSTEM_KEY
Uses: DNROBJECT_TYPE
Uses: DNROBJECT_KEY
Uses: DNROBJECT_NAME
createIViewURL(IPortalComponentRequest, String, Hashtable),
Constant Field Valuespublic static final 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),
Constant Field Valuespublic static final String APPTYPE_CONTENTINTEGRATOR
Value for: applicationType
Uses: SYSTEM_KEY
Uses: CONTENT_INTEGRATOR_ID
Uses: DYNAMICPARAMETER
createIViewURL(IPortalComponentRequest, String, Hashtable),
Constant Field Valuespublic static final 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),
Constant Field Valuespublic static final 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),
Constant Field Valuespublic static final 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),
Constant Field Valuespublic static final 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_WEBDYNPRO,
Constant Field Valuespublic static final String TRANSACTION_TCODE
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "su01"
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final 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_TRANSACTION,
Constant Field Valuespublic static final String SAPGUI_HTML
Value for: TRANSACTION_GUITYPE
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String SAPGUI_WINDOWS
Value for: TRANSACTION_GUITYPE
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String SAPGUI_JAVA
Value for: TRANSACTION_GUITYPE
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String TRANSACTION_AUTOSTART
Type: {true, false}
Mandatory: no
Default: false
Example: "true"
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String TRANSACTION_OKCODE
Type: {true, false}
Mandatory: no
Default: false
Example: "true"
APPTYPE_TRANSACTION,
SAPGUI_HTML,
Constant Field Valuespublic static final String TRANSACTION_SPO1
Type: {true, false}
Mandatory: no
Default: false
Example: "true"
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String TRANSACTION_FROGDESIGN
Type: {true, false}
Mandatory: no
Default: true
Example: "false"
APPTYPE_TRANSACTION,
SAPGUI_JAVA,
Constant Field Valuespublic static final String TRANSACTION_WINGUITECHNIQUE
Type: {WINGUI_STARTTECH_AUTO, WINGUI_STARTTECH_SSD, WINGUI_STARTTECH_SSF}
Mandatory: no
Default: auto
Example: WINGUI_STARTTECH_SSF
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String WINGUI_STARTTECH_AUTO
Value for: TRANSACTION_WINGUITECHNIQUE
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String WINGUI_STARTTECH_SSD
Value for: TRANSACTION_WINGUITECHNIQUE
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String WINGUI_STARTTECH_SSF
Value for: TRANSACTION_WINGUITECHNIQUE
APPTYPE_TRANSACTION,
Constant Field Valuespublic static final String BSP_CUSTOMER_NAMESPACE
BSP_APPLICATION_NAMESPACE, BSP_APPLICATION_ID and BSP_PAGE_ID.
Type: String
Mandatory: no
Default: sap
Example: "sap"
APPTYPE_BSP,
Constant Field Valuespublic static final String BSP_APPLICATION_NAMESPACE
BSP_CUSTOMER_NAMESPACE, BSP_APPLICATION_ID and BSP_PAGE_ID.
Type: String
Mandatory: no
Default: sap
Example: "sap"
APPTYPE_BSP,
Constant Field Valuespublic static final String BSP_APPLICATION_ID
BSP_CUSTOMER_NAMESPACE, BSP_APPLICATION_NAMESPACE and BSP_PAGE_ID.
Type: String
Mandatory: no
Default: empty
Example: "MyApp"
APPTYPE_BSP,
Constant Field Valuespublic static final String BSP_ALIAS
BSP_PAGE_ID.
Type: String
Mandatory: no
Default: empty
Example: "MyAlias"
APPTYPE_BSP,
Constant Field Valuespublic static final String BSP_PAGE_ID
Type: String
Mandatory: yes
Default: empty
Example: "index.html"
APPTYPE_BSP,
Constant Field Valuespublic static final String BWREPORT_REPORTID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "cmd=ldoc&TEMPLATEID=4711"
APPTYPE_BWREPORT,
Constant Field Valuespublic static final String WEBDYNPRO_DEFINITIONTYPE
Type: {Java, ABAP}
Mandatory: yes, if not defined by the iView
Default: Java
Example: "ABAP"
APPTYPE_WEBDYNPRO,
Constant Field Valuespublic static final String WEBDYNPRO_NAMESPACE
Type: string
Mandatory: yes, if not defined by the iView
Default: no default
Example: "sap"
APPTYPE_WEBDYNPRO,
Constant Field Valuespublic static final String WEBDYNPRO_APPLICATION
Type: string
Mandatory: yes, if not defined by the iView
Default: no default
Example: "HelloWorld"
APPTYPE_WEBDYNPRO,
Constant Field Valuespublic static final String IAC_SERVICE_ID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "pz26"
APPTYPE_IAC,
Constant Field Valuespublic static final String MINIAPP_SERVICE_ID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "WeatherMiniApp"
APPTYPE_MINIAPP,
Constant Field Valuespublic static final 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_DNROBJECT,
Constant Field Valuespublic static final String DNROBJECT_KEY
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "LH"
DNROBJECT_TYPE,
APPTYPE_DNROBJECT,
Constant Field Valuespublic static final String DNROBJECT_NAME
Type: String
Mandatory: no
Default: no default
Example: "DragRelateCarr"
APPTYPE_DNROBJECT,
Constant Field Valuespublic static final 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_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_STANDARD_REPORT
Value for: CRYSTAL_REPORT_TYPE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_BW_REPORT
Value for: CRYSTAL_REPORT_TYPE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final 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_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEWER_APPLICATION
Type: String
Mandatory: no
Default: viewreport.csp
Example: "myviewer.csp"
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final 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_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEWER_TECHNIQUE_JAVA
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEWER_TECHNIQUE_HTML
Value for: CRYSTAL_VIEWER_TECHNIQUE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEW_TYPE
Type: {CRYSTAL_VIEW_TYPE_ONDEMAND, CRYSTAL_VIEW_TYPE_LASTINSTANCE}
Mandatory: no
Default: on_demand
Example: CRYSTAL_VIEW_TYPE_LASTINSTANCE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEW_TYPE_ONDEMAND
Value for: CRYSTAL_VIEW_TYPE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CRYSTAL_VIEW_TYPE_LASTINSTANCE
Value for: CRYSTAL_VIEW_TYPE
APPTYPE_CRYSTALREPORT,
Constant Field Valuespublic static final String CONTENT_INTEGRATOR_ID
Type: String
Mandatory: yes, if not defined by the iView
Default: no default
Example: "CI.APP.DISPLAY_SCHEMA"
APPTYPE_CONTENTINTEGRATOR,
Constant Field Valuespublic static final 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_GENERIC,
Constant Field Valuespublic static final 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.appintegrator,
Constant Field Valuespublic static final 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_GENERIC,
Constant Field Valuespublic static final 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_GENERIC,
Constant Field Valuespublic static final String GENERIC_APPLICATION_PARAMETER
Type: String
Mandatory: no
Default: no default
Example: "email=<User.email>&locale=<Request.Locale>"
APPTYPE_GENERIC,
Constant Field Values| Method Detail |
public String createIViewURL(IPortalComponentRequest request,
String applicationType,
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
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||