Transaction Launcher for beginners
Joaquin Fornas SAP Active Global SupportApril 10, 2008
© SAP 2007 / Page 2
1. Transaction Launcher Basic Processing
2. Services
3. Customizing
4. Some useful tools
Agenda
© SAP 2007 / Page 3
What is Transaction Launcher?
The transaction launcher is a tool that system administrators use to allow agent access to business transactions directly from the IC WebClient screen. It is essentially a collection of shortcuts to available functions or transactions within SAP CRM, Enterprise R/3 systems, and other external applications.
© SAP 2007 / Page 4
Transaction Launcher Architecture
© SAP 2007 / Page 5
1. Transaction Launcher Basic Processing
2. Services
3. Customizing
4. Some useful tools
Agenda
© SAP 2007 / Page 6
What is a service?(I)
In order for you to log onto the SAP system and start a Web application, the Internet Transaction Server (ITS) requires a relevant Internet service.
A service is created as a development object in the Workbench and includes further components that represent components of an ITS-based Web application.
Transaction launcher used old ITS services CRM_CIC_RABOX and CCMP_RABOX
New transactions IC_LTX (for CRM), IC_LTXR (for R/3 system with PI Release Track from 2004_1_46C to 2004_1_500), and IC_LTXE (for ERP 2005) have been created to overcome the display problems related BOR based transactions for IC Web Client Transaction Launcher.
These transactions replace ITS services CRM_CIC_RABOX and CCMP_RABOX.
Note 990216 contains hints to migrate from the old service to the new transaction.
© SAP 2007 / Page 7
How to display the services
Services CRM_CIC_RABOX and CCMP_RABOX can be displayed in transaction SE80 as an “Internet Service”
Services must always be “published” in order to work!!!
© SAP 2007 / Page 8
How to display WebGui Services (I)
In order to make WebGui services work, the following Internet services must be published:
IAC SYSTEM WEBGUI
© SAP 2007 / Page 9
How to display WebGui Services (II)
Transactions IC_LTX and IC_LTXE can be displayed as function groups:
This means that the transaction only
can be launched in HTML mode!!
© SAP 2007 / Page 10
Activate RABOX services
If RABOX services are being used, they must be activated in transaction SICF
The service to activate is /default_host/sap/bc/gui/sap/its:
See notes 737373 and 800039 for details.
© SAP 2007 / Page 11
1. Transaction Launcher Basic Processing
2. Services
3. Customizing
4. Some useful tools
Agenda
© SAP 2007 / Page 12
Transaction launcher logical system and URL
Transaction CRMS_IC_CROSS_SYS
In this transaction, the RFC destination and the services are mapped
WebGui Service
RABOX Service
© SAP 2007 / Page 13
Defining Logical Systems and URLs(I)
Transaction CRMC_IC_LTX_URLS
This transaction is used ONLY for URL based applications
© SAP 2007 / Page 14
Defining Logical Systems and URLs(II)
The URL parameters can also be passed to the transaction launcher. If the “request method” is “GET”, the application will pick up the parameters and send them to the URL.
BSP/Non BSP URL: Means if the URL comes from SAP (BSP URL) or from an external source (Non BSP URL)
“Hide Dialog” flag: If marked, no data loss warning will appear.
© SAP 2007 / Page 15
Transaction Launcher Wizard: Start
Transaction SPRO-> CRM-> Interaction Center WebClient->Basic Functions-> Transaction Launcher-> Configure Transaction Launcher (Wizard)
© SAP 2007 / Page 16
Transaction Launcher Wizard: Entries
Launch Trans. ID: Identifier of the transaction to be launched
Component Set: Name of the GENIL object that is being used. If you want to use the generic one, just leave this field blank.
© SAP 2007 / Page 17
Transaction Launcher Wizard: Technical details
Description: Naming for the Transaction Launcher ID defined in the previous step.
Class Name: Name of the class to be generated by the wizard
Stateful: If marked, launch transaction is executed in a new window
Raise Veto: Determines whether a message is provided to agents if they select End and a launch transaction is still open
© SAP 2007 / Page 18
Transaction Launcher Wizard: Further Technical Details
Transaction Launcher type: Determines the kind of transaction to be launched: Front Office Transaction: Is the name of the Front Office process existing in the
remote system. Name of the logical system where the FO process is created must be entered
BOR Transaction: Is the name of the BOR transaction. People Centric Transaction (only for CRM5.0) URL Transaction: Is the URL defined in prior steps (CRMC_IC_LTX_URLS)
© SAP 2007 / Page 19
Transaction Launcher Wizard: Transaction Parameters
The parameters for the URL to be launched are defined here.
Also, the parameters to be sent to the BOR method or the FO process can be entered here.
© SAP 2007 / Page 20
Transaction Launcher Wizard: Activity Clipboard Integration
In case the result is expected to return to the activity clipboard, the name of the parameter that will be returned is entered here.
© SAP 2007 / Page 21
Transaction Launcher Wizard: Completition
Once the wizard is completed, the class that has been entered in the “technical details” step is generated.
This class has always two important methods: IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW: Prepares the
data to be sent to the URL, BOR method or FO process. IF_CRM_IC_ACTION_HANDLER~PROCESS_RETURN: Brings the data
from the transactions into the IC.
© SAP 2007 / Page 22
Copy/Delete Launch Transactions
The wizard does not delete the entries directly. The entries must be copied or deleted in transaction CRMC_IC_ACTIONPROF
In this transaction it is also possible to display the existing entries
© SAP 2007 / Page 23
1. Transaction Launcher Basic Processing
2. Services
3. Customizing
4. Some useful tools
Agenda
© SAP 2007 / Page 24
Display BOR objects
In order to display BOR objects, the repository must be called
All objects have methods that will provide the interaction to be carried out with an object.
Transaction SWO1
© SAP 2007 / Page 25
Method TSTC-EXECUTE
In order to launch customer transactions, SAP provides object-method TSTC-EXECUTE
Nevertheless, in for accessing customer transactions in the ICWebClient, this method must be modified to make it Synchronous.
To check if method is synchronous, enter SWO1 and double click on TSTC-EXECUTE.
© SAP 2007 / Page 26
Display FO Processes
In order to display a FO process, R/3 system must be accessed.
Transaction is EWBC
These processes always have a container (events that will be exchanged) and steps, that will contain methods that will be executed at runtime.
If we want to perform the test of a FO process, we must test in transaction SWO1 of the ERP system the method EXECUTE of object CCPROCFO
A breakpoint in the code of method EXECUTE must be set.
Testing a FO process
© SAP 2007 / Page 27
© SAP 2007 / Page 28
Sources of Information
Transaction Launcher general definition:
http://help.sap.com/saphelp_crm50/helpdata/en/12/c3e68620514b499c06b8eb26874424/frameset.htm
ITS services:
http://help.sap.com/saphelp_crm50/helpdata/en/70/579502a7c611d3961700a0c94260a5/frameset.htm
Transaction launcher how-to guide: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0da6d63-8485-2c10-dab6-bb202e209455?QuickLink=index&overridelayout=true
© SAP 2007 / Page 29
Thank you!