SAP AG 2006 Unit Objectives After completing this lesson, you will be able to: Launch an URL Launch a SAP GUI Transaction
SAP AG 2006 Launch GUI Transaction The transaction Launcher can be used to launch URLs and BSPs / BOR transactions from other systems. To launch a GUI transaction a BOR object type with a method EXECUTE, that supports synchronous calls is required. A mapping of the logical systems is required: Transaction: CRMS_IC_CROSS_SYS To launch an URL the URL has to be defined in the URL repository first: View: CRMV_IC_LTX_URL
Launch GUI Transaction SAP AG 2006 Preparation: Create BOR object type (1) Configuration To launch a GUI transaction a BOR object type with a method EXECUTE, that supports synchronous calls is required. Transaction: SE80 > Workbench > Edit object Copy BOR object type TSTC to ZTSTC SAP AG 2006 Preparation: Create BOR object type (2) Configuration Set in the method EXECUTE the flag Synchronous SAP AG 2006 Preparation: Create BOR object type (3) Configuration Set in the method EXECUTE the flag Synchronous Generate the object SAP AG 2006 Step 1: Define Logical system and assign ITS URL Configuration Transaction: CRMS_IC_CROSS_SYS URL of ITS: http://<server>:<port>/sap/bc/g ui/sap/its/CRM_CIC_RABOX/!? sap-client=<client> SAP AG 2006 Step 2: Use Transaction Launcher Wizard (1) Configuration IMG: Customer Relationship Management > UI Framework > > Technical Role Definition > Configure Transaction Launcher or transaction: CRMC_UI_ACTIONWZ Enter an ID (dont use the F4- help) SAP AG 2006 Step 2: Use Transaction Launcher Wizard (2) Configuration Enter a description Enter a class name (dont use the F4-help): ZCL_<name> Flag Stateful, if the URL should be launched in a new window
SAP AG 2006 Step 2: Use Transaction Launcher Wizard (3) Configuration Choose Transaction Type = BOR Transaction Choose the BOR Object type you created Choose EXECUTE SAP AG 2006 Step 2: Use Transaction Launcher Wizard (4) Configuration ChooseParameter: Object Key Value: <transaction code> SAP AG 2006 Step 3: Integrate the Transaction into your NavBar (1) Example: Provide a new Direct Link group with the Transaction as a Direct Link SAP AG 2006 Step 3: Integrate the Transaction into your NavBar (2) Configuration IMG: Customer Relationship Management > UI Framework > Technical Role Definition > Define Navigation Bar Profile Create an new Logical Link Type: C Launch Transaction Target ID: EXECLTX Parameter class: CL_CRM_UI_LTX_NAVBAR_PA RAM
SAP AG 2006 Step 3: Integrate the Transaction into your NavBar (3) Configuration IMG: Customer Relationship Management > UI Framework > Technical Role Definition > Define Navigation Bar Profile Create a new Direct Link Group and assign the logical link to it Assign the Direct Link Group to your Navigation Bar Profile IMG: Customer Relationship Management > Business Role > Define Business Role > Set the link to visible
SAP AG 2006 Step 3: Result Flag stateful set in Transaction Launcher Flag stateful not set SAP AG 2006 Launch URL The transaction Launcher can be used to launch URLs and BSPs / BOR transactions from other systems. A mapping of the logical systems is required: Transaction: CRMS_IC_CROSS_SYS To launch an URL the URL has to be defined in the URL repository first: View: CRMV_IC_LTX_URL
Launch URL SAP AG 2006 Step 1: Define URL in URL repository Configuration Transaction: SM30 View: CRMV_IC_LTX_URL SAP AG 2006 Step 2: Use Transaction Launcher Wizard (1) Configuration IMG: Customer Relationship Management > UI Framework > > Technical Role Definition > Configure Transaction Launcher or transaction: CRMC_UI_ACTIONWZ Enter an ID (dont use the F4- help) SAP AG 2006 Step 2: Use Transaction Launcher Wizard (2) Configuration Enter a description Enter a class name (dont use the F4-help): ZCL_<name> Flag Stateful, if the URL should be launched in a new window
SAP AG 2006 Step 2: Use Transaction Launcher Wizard (3) Configuration Choose Transaction Type = URL Transaction Choose the URL ID you defined in the URL repository SAP AG 2006 Step 3a: Integrate the URL into your NavBar (1) Example 1: Provide a new Direct Link group with the URL as a Direct Link SAP AG 2006 Step 3a: Integrate the URL into your NavBar (2) Configuration IMG: Customer Relationship Management > UI Framework > Technical Role Definition > Define Navigation Bar Profile Create an new Logical Link Type: C Launch Transaction Target ID: EXECLTX Parameter class: CL_CRM_UI_LTX_NAVBAR_PA RAM
SAP AG 2006 Step 3a: Integrate the URL into your NavBar (3) Configuration IMG: Customer Relationship Management > UI Framework > Technical Role Definition > Define Navigation Bar Profile Create a new Direct Link Group and assign the logical link to it Assign the Direct Link Group to your Navigation Bar Profile IMG: Customer Relationship Management > Business Role > Define Business Role > Set the link to visible
SAP AG 2006 Step 3b: Integrate the URL into your NavBar (1) Example 2: Integrate the URL in an existing Work Center SAP AG 2006 Step 3b: Integrate the URL into your NavBar (2) Configuration IMG: Customer Relationship Management > UI Framework > Technical Role Definition > Define Navigation Bar Profile Create a new Work Center Link Group and assign the Logical Link (see slide 8) Assign the Work Center Link Group to a Work Center IMG: Customer Relationship Management > Business Role > Define Business Role > Set the Group to In menu and In Work Center