300 likes | 618 Views
Transaction Launcher for beginners. Joaquin Fornas SAP Active Global Support April 10, 2008. Agenda. Transaction Launcher Basic Processing Services Customizing Some useful tools. What is Transaction Launcher?.
E N D
Transaction Launcher for beginners Joaquin Fornas SAP Active Global Support April 10, 2008
Agenda • Transaction Launcher Basic Processing • Services • Customizing • Some useful tools
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.
Agenda • Transaction Launcher Basic Processing • Services • Customizing • Some useful tools
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.
How to display the services • ServicesCRM_CIC_RABOX and CCMP_RABOX can be displayed in transaction SE80 as an “Internet Service” Services must always be “published” in order to work!!!
How to display WebGui Services (I) • In order to make WebGui services work, the following Internet services must be published: • IAC • SYSTEM • WEBGUI
How to display WebGui Services (II) • TransactionsIC_LTX and IC_LTXE can be displayed as function groups: This means that the transaction only can be launched in HTML mode!!
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.
Agenda • Transaction Launcher Basic Processing • Services • Customizing • Some useful tools
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
Defining Logical Systems and URLs(I) • Transaction CRMC_IC_LTX_URLS • This transaction is used ONLY for URL based applications
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.
Transaction Launcher Wizard: Start • Transaction SPRO-> CRM-> Interaction Center WebClient->Basic Functions-> Transaction Launcher-> Configure Transaction Launcher (Wizard)
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.
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
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)
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.
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.
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.
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
Agenda • Transaction Launcher Basic Processing • Services • Customizing • Some useful tools
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
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.
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.
Testing a FO process • 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.
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