Show TOC

SAPAppLauncherLocate this document in the navigation structure

Use

SAPAppLaucher can be used to launch a generic SAP application based on a SAP integrator template.

Provider specific Information

SAPAppLaucher is provider agnostic. Items may belong to any connector.

Supported Actions

Action name can be anything.

Properties

SAPAppLaucher expects one property:

  • SAPIntegrator

    iView wrapper for the corresponding integrator

All other properties will be passed as name=URL encoded value to the target iView wrapper.

Example

Following is the definition of an action that launches an iView wrapper test_webdynpro and passed URL encoded apple=macintosh as a DynamicParameter .

            <Action name="launchDemoSAPAction" handler="SAPAppLauncher">
  <Properties>
  <Property name="SAPIntegrator" value="ROLES://portal_content/com.sap.pct/every_user/general/iViews/test_webdynpro"/>              
  <Property name="DynamicParameter" value="apple=macintosh"/>
  </Properties>
 </Action>

         

Details

Dynamic parameters are supported in the same way as for other launchers (see iViewLauncher ). SAPAppLauncher can be used to launch any application, based on an existing integrator template (see Start of the navigation path Portal Content Next navigation step Templates Next navigation step  TemplateiViews End of the navigation path). They include SAP BSP, SAP IAC, SAP MiniApp, SAP Transaction, SAP Web Dynpro. These applications have their own launchers, but they can also be launched through SAPAppLauncher .

Following is an example of launching Web Dynpro application using SAPAppLauncher .

  1. Create a wrapper iView based on SAP Web Dynpro iView template.

    The creating process asks for required parameters like application name ( WebDynproApplication ), namespace ( WebDynproDeployableObject ), and system, which must be entered and optional parameters that can be entered.

  2. Enter the created iView ID as a value for SAPIntegrator property.

                         <Action name="launchDemoSAPAction" handler="SAPAppLauncher">
     <Properties>
      <Property name="SAPIntegrator" value="ROLES://portal_content/com.sap.pct/every_user/general/iViews/test_webdynpro"/>
      <Property name="DynamicParameter" value="apple=macintosh"/>
     </Properties>
     <Descriptions default="Launch Demo SAP Action (WebDynPro)">
      <ShortDescriptions>
       <Description Language="en" Description="Launch Demo SAP Action (WebDynPro)"/>
      </ShortDescriptions>
     </Descriptions>
    </Action>
    
                      

    Remark: All mandatory and optional parameters entered while creating the iView wrapper can be overridden in the XML file, for example, overriding the application name:

                         <Action name="launchDemoSAPAction" handler="SAPAppLauncher">
     <Properties>
      <Property name="SAPIntegrator" value="ROLES://portal_content/com.sap.pct/every_user/general/iViews/test_webdynpro"/>
      <Property name="DynamicParameter" value="apple=macintosh"/>
      <Property name="WebDynproApplication" value="Editor"/>
     </Properties>
     <Descriptions default="Launch Demo SAP Action (WebDynPro)">
      <ShortDescriptions>
       <Description Language="en" Description="Launch Demo SAP Action (WebDynPro)"/>
      </ShortDescriptions>
     </Descriptions>
    </Action>