com.sapportals.portal.sapapplication.urlgenerator

Interface IIViewUrlGenerator


public interface IIViewUrlGenerator

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

KEY

public static final String KEY
Service KEY

See Also:
Constant Field Values

APPTYPE_TRANSACTION

public static final 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

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_BSP

public static final 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

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_WEBDYNPRO

public static final String APPTYPE_WEBDYNPRO
Application Type Web Dynpro

Value for: applicationType

Uses: SYSTEM_KEY

Uses: WEBDYNPRO_DEFINITIONTYPE

Uses: WEBDYNPRO_NAMESPACE

Uses: WEBDYNPRO_APPLICATION

Uses: DYNAMICPARAMETER

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_BWREPORT

public static final String APPTYPE_BWREPORT
Application Type BW Report

Value for: applicationType

Uses: SYSTEM_KEY

Uses: BWREPORT_REPORTID

Uses: DYNAMICPARAMETER

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_IAC

public static final String APPTYPE_IAC
Application Type IAC (Internet Application Component)

Value for: applicationType

Uses: SYSTEM_KEY

Uses: IAC_SERVICE_ID

Uses: DYNAMICPARAMETER

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_MINIAPP

public static final String APPTYPE_MINIAPP
Application Type MiniApp (ITS based application type)

Value for: applicationType

Uses: SYSTEM_KEY

Uses: MINIAPP_SERVICE_ID

Uses: DYNAMICPARAMETER

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_DNROBJECT

public static final 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

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_CRYSTALREPORT

public static final 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

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_CONTENTINTEGRATOR

public static final String APPTYPE_CONTENTINTEGRATOR
Application Type Content Integrator

Value for: applicationType

Uses: SYSTEM_KEY

Uses: CONTENT_INTEGRATOR_ID

Uses: DYNAMICPARAMETER

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

APPTYPE_GENERIC

public static final 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

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

IVIEW_KEY

public static final 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"

See Also:
createIViewURL(IPortalComponentRequest, String, Hashtable), Constant Field Values

SYSTEM_KEY

public static final 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"

See Also:
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 Values

DYNAMICPARAMETER

public static final String DYNAMICPARAMETER
Additinal application parameters
URL-querystring like list of parameters that are passed to the iView.

Type: querystring

Mandatory: no

Default: empty

Example: "plvar=01&persid=0815"

See Also:
APPTYPE_BSP, APPTYPE_BWREPORT, APPTYPE_CONTENTINTEGRATOR, APPTYPE_CRYSTALREPORT, APPTYPE_GENERIC, APPTYPE_IAC, APPTYPE_MINIAPP, APPTYPE_WEBDYNPRO, Constant Field Values

TRANSACTION_TCODE

public static final String TRANSACTION_TCODE
The Transaction code
A transaction code can contain up to 20 characters and should always begin with a letter. Permitted characters are letters from A to Z, numbers from 0 to 9, and the underscore.

Type: String

Mandatory: yes, if not defined by the iView

Default: no default

Example: "su01"

See Also:
APPTYPE_TRANSACTION, Constant Field Values

TRANSACTION_GUITYPE

public static final 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

See Also:
APPTYPE_TRANSACTION, Constant Field Values

SAPGUI_HTML

public static final String SAPGUI_HTML
SAPGui type SAPGUI for HTML

Value for: TRANSACTION_GUITYPE

See Also:
APPTYPE_TRANSACTION, Constant Field Values

SAPGUI_WINDOWS

public static final String SAPGUI_WINDOWS
SAPGui type SAPGUI for Windows

Value for: TRANSACTION_GUITYPE

See Also:
APPTYPE_TRANSACTION, Constant Field Values

SAPGUI_JAVA

public static final String SAPGUI_JAVA
SAPGui type SAPGUI for Java

Value for: TRANSACTION_GUITYPE

See Also:
APPTYPE_TRANSACTION, Constant Field Values

TRANSACTION_AUTOSTART

public static final 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.

Type: {true, false}

Mandatory: no

Default: false

Example: "true"

See Also:
APPTYPE_TRANSACTION, Constant Field Values

TRANSACTION_OKCODE

public static final String TRANSACTION_OKCODE
Okcode to trigger PAI on first screen
Sets the Ok code field for the transaction start. This is only possible for SAPGUI for HTML.

Type: {true, false}

Mandatory: no

Default: false

Example: "true"

See Also:
APPTYPE_TRANSACTION, SAPGUI_HTML, Constant Field Values

TRANSACTION_SPO1

public static final String TRANSACTION_SPO1
Flag for SPO1
If set to true than the transaction is started via the parameter transaction SPO1.

Type: {true, false}

Mandatory: no

Default: false

Example: "true"

See Also:
APPTYPE_TRANSACTION, Constant Field Values

TRANSACTION_FROGDESIGN

public static final 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"

See Also:
APPTYPE_TRANSACTION, SAPGUI_JAVA, Constant Field Values

TRANSACTION_WINGUITECHNIQUE

public static final String TRANSACTION_WINGUITECHNIQUE
SAPGUI for Windows starting technique
Defines the technique to start Wingui. You can choose between

Type: {WINGUI_STARTTECH_AUTO, WINGUI_STARTTECH_SSD, WINGUI_STARTTECH_SSF}

Mandatory: no

Default: auto

Example: WINGUI_STARTTECH_SSF

See Also:
APPTYPE_TRANSACTION, Constant Field Values

WINGUI_STARTTECH_AUTO

public static final String WINGUI_STARTTECH_AUTO
WinGui Starting technique automatic detection

Value for: TRANSACTION_WINGUITECHNIQUE

See Also:
APPTYPE_TRANSACTION, Constant Field Values

WINGUI_STARTTECH_SSD

public static final String WINGUI_STARTTECH_SSD
WinGui Starting technique Structured Document

Value for: TRANSACTION_WINGUITECHNIQUE

See Also:
APPTYPE_TRANSACTION, Constant Field Values

WINGUI_STARTTECH_SSF

public static final String WINGUI_STARTTECH_SSF
WinGui Starting technique Shortcut File

Value for: TRANSACTION_WINGUITECHNIQUE

See Also:
APPTYPE_TRANSACTION, Constant Field Values

BSP_CUSTOMER_NAMESPACE

public static final String BSP_CUSTOMER_NAMESPACE
BSP Customer Namespace
The Customer Namespace is used to separate SAP applications from customer applications. Use the Customer Namespace always in combination with BSP_APPLICATION_NAMESPACE, BSP_APPLICATION_ID and BSP_PAGE_ID.

Type: String

Mandatory: no

Default: sap

Example: "sap"

See Also:
APPTYPE_BSP, Constant Field Values

BSP_APPLICATION_NAMESPACE

public static final 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. Use the Application Namespace always in combination with BSP_CUSTOMER_NAMESPACE, BSP_APPLICATION_ID and BSP_PAGE_ID.

Type: String

Mandatory: no

Default: sap

Example: "sap"

See Also:
APPTYPE_BSP, Constant Field Values

BSP_APPLICATION_ID

public static final String BSP_APPLICATION_ID
BSP Application ID
The name of the Business Server Page (BSP) Application (without its namespace). Use the Application ID always in combination with BSP_CUSTOMER_NAMESPACE, BSP_APPLICATION_NAMESPACE and BSP_PAGE_ID.

Type: String

Mandatory: no

Default: empty

Example: "MyApp"

See Also:
APPTYPE_BSP, Constant Field Values

BSP_ALIAS

public static final String BSP_ALIAS
BSP Alias
The Business Server Page (BSP) Alias is used as a shortcut for 'Customer Namespace', 'Application Namespace' and 'Application'. Use the BSP Alias always in combination with BSP_PAGE_ID.

Type: String

Mandatory: no

Default: empty

Example: "MyAlias"

See Also:
APPTYPE_BSP, Constant Field Values

BSP_PAGE_ID

public static final String BSP_PAGE_ID
BSP Page-ID
The Business Server Page (BSP) start page

Type: String

Mandatory: yes

Default: empty

Example: "index.html"

See Also:
APPTYPE_BSP, Constant Field Values

BWREPORT_REPORTID

public static final 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"

See Also:
APPTYPE_BWREPORT, Constant Field Values

WEBDYNPRO_DEFINITIONTYPE

public static final String WEBDYNPRO_DEFINITIONTYPE
Web Dynpro Definition Type
The definition type defines whether this is an ABAP- or Java-Web Dynpro iView.

Type: {Java, ABAP}

Mandatory: yes, if not defined by the iView

Default: Java

Example: "ABAP"

See Also:
APPTYPE_WEBDYNPRO, Constant Field Values

WEBDYNPRO_NAMESPACE

public static final String WEBDYNPRO_NAMESPACE
Web Dynpro Namespace
The namespace of the Webdynpro application (ie. the development component in Java).

Type: string

Mandatory: yes, if not defined by the iView

Default: no default

Example: "sap"

See Also:
APPTYPE_WEBDYNPRO, Constant Field Values

WEBDYNPRO_APPLICATION

public static final 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"

See Also:
APPTYPE_WEBDYNPRO, Constant Field Values

IAC_SERVICE_ID

public static final String IAC_SERVICE_ID
IAC service ID
The ITS service name of the Internet Application Component (IAC).

Type: String

Mandatory: yes, if not defined by the iView

Default: no default

Example: "pz26"

See Also:
APPTYPE_IAC, Constant Field Values

MINIAPP_SERVICE_ID

public static final String MINIAPP_SERVICE_ID
MiniApp service ID
The ITS service name of the MiniApp.

Type: String

Mandatory: yes, if not defined by the iView

Default: no default

Example: "WeatherMiniApp"

See Also:
APPTYPE_MINIAPP, Constant Field Values

DNROBJECT_TYPE

public static final String DNROBJECT_TYPE
Object Type
Internal technical key of a business object in the Business Object Repository (BOR).

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"

See Also:
DNROBJECT_KEY, APPTYPE_DNROBJECT, Constant Field Values

DNROBJECT_KEY

public static final String DNROBJECT_KEY
Object Key
The Object Key as defined in the Business Object Repository (BOR) of the SAP system.

Type: String

Mandatory: yes, if not defined by the iView

Default: no default

Example: "LH"

See Also:
DNROBJECT_TYPE, APPTYPE_DNROBJECT, Constant Field Values

DNROBJECT_NAME

public static final String DNROBJECT_NAME
Object Name
Descriptive, English ID of a business object in the Business Object Repository (BOR).

Type: String

Mandatory: no

Default: no default

Example: "DragRelateCarr"

See Also:
APPTYPE_DNROBJECT, Constant Field Values

CRYSTAL_REPORT_TYPE

public static final 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).

Type: {CRYSTAL_STANDARD_REPORT, CRYSTAL_BW_REPORT}

Mandatory: yes, if not defined by the iView

Default: bw_id

Example: CRYSTAL_STANDARD_REPORT

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_STANDARD_REPORT

public static final String CRYSTAL_STANDARD_REPORT
Crystal Report Type Standard

Value for: CRYSTAL_REPORT_TYPE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_BW_REPORT

public static final String CRYSTAL_BW_REPORT
Crystal Report Type BW Report

Value for: CRYSTAL_REPORT_TYPE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_REPORT_ID

public static final String CRYSTAL_REPORT_ID
Crytsl Report ID
Unique ID of the Crystal Report. This ID can be a BW-ID (GUID) or a ID from the Crystal Enterprise system.

Type: {CRYSTAL_STANDARD_REPORT, CRYSTAL_BW_REPORT}

Mandatory: yes, if not defined by the iView

Default: no default

Example: CRYSTAL_BW_REPORT

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_APPLICATION

public static final String CRYSTAL_VIEWER_APPLICATION
Crystal Report Viewer Application
Actual viewer application file which gets execute to display the results for this iView.

Type: String

Mandatory: no

Default: viewreport.csp

Example: "myviewer.csp"

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_TECHNIQUE

public static final String CRYSTAL_VIEWER_TECHNIQUE
Crystal Report Viewer Technique
Crystal Enterprise Viewer that will be used to display the Crystal Report (use the Java constants).

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

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX

public static final String CRYSTAL_VIEWER_TECHNIQUE_ACTIVEX
Crystal Viewer Technique ActiveX

Value for: CRYSTAL_VIEWER_TECHNIQUE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN

public static final String CRYSTAL_VIEWER_TECHNIQUE_NETSCAPE_PLUGIN
Crystal Viewer Technique Netscape Plugin

Value for: CRYSTAL_VIEWER_TECHNIQUE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_TECHNIQUE_JAVA

public static final String CRYSTAL_VIEWER_TECHNIQUE_JAVA
Crystal Viewer Technique pure Java Applet

Value for: CRYSTAL_VIEWER_TECHNIQUE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN

public static final String CRYSTAL_VIEWER_TECHNIQUE_JAVA_PLUGIN
Crystal Viewer Technique Java Plugin

Value for: CRYSTAL_VIEWER_TECHNIQUE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEWER_TECHNIQUE_HTML

public static final String CRYSTAL_VIEWER_TECHNIQUE_HTML
Crystal Viewer Technique pure HTML

Value for: CRYSTAL_VIEWER_TECHNIQUE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEW_TYPE

public static final 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).

Type: {CRYSTAL_VIEW_TYPE_ONDEMAND, CRYSTAL_VIEW_TYPE_LASTINSTANCE}

Mandatory: no

Default: on_demand

Example: CRYSTAL_VIEW_TYPE_LASTINSTANCE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEW_TYPE_ONDEMAND

public static final String CRYSTAL_VIEW_TYPE_ONDEMAND
Crystal Viewer Type On Demand

Value for: CRYSTAL_VIEW_TYPE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CRYSTAL_VIEW_TYPE_LASTINSTANCE

public static final String CRYSTAL_VIEW_TYPE_LASTINSTANCE
Crystal Viewer Type Last Instance

Value for: CRYSTAL_VIEW_TYPE

See Also:
APPTYPE_CRYSTALREPORT, Constant Field Values

CONTENT_INTEGRATOR_ID

public static final 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"

See Also:
APPTYPE_CONTENTINTEGRATOR, Constant Field Values

GENERIC_ID

public static final String GENERIC_ID
Generic Application ID
The ID of the remote application. If this field is defined you can use the experssion <Id> inside the 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"

See Also:
APPTYPE_GENERIC, Constant Field Values

GENERIC_URL_TEMPLATE

public static final 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?language=<Request.Language>' will be resolved to 'http://myserver?language=en' if the user language is english.

Type: String

Mandatory: yes, if not defined by the iView

Default: no default

Example: "http://www.somewhere.com/<Id>?lang=<Request.Language>"

See Also:
APPTYPE_GENERIC, ITemplateProcessor, com.sapportals.portal.appintegrator, Constant Field Values

GENERIC_USERMAPPING_TEMPLATE

public static final 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'. The expression <Authentication> can be used inside the URL template to pass user id and password to the web application, e.g: the template fraction '<MappedUser>:<MappedPassword>@' can be used for basic authentication. This field requires that the 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>"

See Also:
APPTYPE_GENERIC, Constant Field Values

GENERIC_SAPLOGONTICKET_TEMPLATE

public static final 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'. The expression <Authentication> can be used inside the URL template to pass the SSO2 ticket to the web application, e.g: the template fraction '<Request.SSO2Ticket>' will fill the variable 'Authentication' with the SSO2 ticket. This field requires that the SYSTEM_KEY is defined and that its Logon Method is set to SAPLOGONTICKET.

Type: String

Mandatory: no

Default: no default

Example: "MYSAPSSO2=<Request.SSO2Ticket>"

See Also:
APPTYPE_GENERIC, Constant Field Values

GENERIC_APPLICATION_PARAMETER

public static final String GENERIC_APPLICATION_PARAMETER
Generic Application Parameter
URL-querystring like list of parameters that are passed to the remote application.

Type: String

Mandatory: no

Default: no default

Example: "email=<User.email>&locale=<Request.Locale>"

See Also:
APPTYPE_GENERIC, Constant Field Values
Method Detail

createIViewURL

public String createIViewURL(IPortalComponentRequest request,
                             String applicationType,
                             Hashtable parameterization)
                      throws IViewUrlGeneratorException
Computes an iView URL for the given 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.

Parameters:
request - the portal component request
applicationType - the SAP application type (e.g. Transaction, BSP etc.)
parameterization - a hashtable that contains the parameters for the given application type.
Returns:
iView URL that starts the given application type with the given parameterization.
Throws:
IViewUrlGeneratorException - if the iView URL couldn't be computed (unknown system for example)
See Also:
APPTYPE_TRANSACTION, APPTYPE_BSP


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.