Skip to Content
SAP Customer Relationship Management

BOR object or ITS based Transaction Launcher

Tags:

This document is continued from my previous document with title "Transaction Launcher" .

Here I have explained how to configure type (2) Transaction Launcher based on BOR object.


      BOR object based or ITS-based Transaction Launcher either calls a BOR object or a front office process. In both cases, the UI used is SAP GUI for HTML which you can be called via the service WEBGUI of the internet transaction server (ITS).

Before creating BOR type of Transaction Launcher Cross System settings for Mapped logical system need to be defined. This is explained in following steps.

1) Define RFC destination:

If you are launching a transaction say in remote ERP system. Make sure the RFC connection to that system works fine.

Transaction SE59.

The ID of an RFC destination to an SAP system normally consists of format <system_id>CLNT<client>

     e.g. Y56CLNT800.

i) Select an RFC destination of type 3 (ABAP Connection).

ii) Specify a description.

iii) Enter necessary technical settings and test the connection.

2) Define Logical System in CRM system:

Transaction  BD54.

Naming convention: <system_id>CLNT<client>.

eg:  Y56CLNT800


  

To check the Logical System name of the remote system:


i)  Login to remote system

ii) Call transaction SCC4.

ii) Get the logical system defined in this transaction.

iii) Verify in your CRM system that there is an entry in transaction BD54 with exactly the same logical system name.




You can also check the entries in table T000 for Logical system details.


3) In CRM system assign RFC Destination to Logical System for Synchronous Method Calls:


Transaction BD97.



4) Create a new Mapped Logical system entry in transaction CRMS_IC_CROSS_SYS for your transaction launcher.

i) Transaction CRMS_IC_CROSS_SYS


ii)  Check if the WEBGUI service works fine in remote system

     Refer Note 1013376 point (4)  to check how to test the WEBGUI service.

     WEBGUI screen should look something like this

iii) Building the ITS URL

   The format of the ITS URL

<protocol>://<host>:<port>/<path>/!?~transaction=IC_LTXE&~okcode=ICEXECUTE

     path: sap/bc/gui/sap/its/webgui


     protocol: HTTP or HTTPS


     host     : Host of the system where the WEBGUI service is called.

     port      : Port of the system where the WEBGUI service is called.

     Maintain the client that you used in the RFC destination and that is assigned to the logical system.

     transaction : IC_LTX:   Use this transaction when calling the ITS of your own CRM system.

            IC_LTXE: Use this transaction when calling the ITS of an ERP.

     Note: Easy way to build the ITS URL is to copy the URL that you get from the testing the WEBGUI service

              and append "~transaction=IC_LTXE&~okcode=ICEXECUTE"(without quotes) to it.

     Eg: http://host:port/sap/bc/gui/sap/its/webgui?sap-client=800&sap-language=EN&~transaction=IC_LTXE&~okcode=ICEXECUTE.

iv) Logical system column should contain the value you defined in step (2)

HOST and PORT details can be found using SMICM transaction as shown in below screenshots.

             -

               Click on "Services" button .(Show in yellow mark above)

              

5) If you are creating transaction launcher to call a transaction in remote ERP system without any data being passed to that transaction then,

    COPY of BOR Object TSTC in remote system is used.

    Here the term copy is used because the BOR object method that you are calling from transaction launcher should be"Synchronous". By default the standard       BOR object TSTC method "Execute" will not be synchronous. Hence copy this BOR object to new Z-object and make the method "Execute" synchronous in        the copied version.

   

6) After all the above steps are completed  Transaction Launcher can be configured from CRM system from the Wizard as explained below.

Goto Transaction

SPRO -> SAP Reference IMG –> Customer Relationship Management -> UI Framework Definition -> Technical Role Definition –> Transaction Launcher -> Configure Transaction Launcher.

Select "Continue".

Enter "ID"

Enter class name to be generated from the wizard and description details. Select "Continue".

Select following fields as shown above.

Transaction Type

Logical system

BOR Object Type

Method Name .

and select "Continue".

This step is important. You have to select the Transaction parameters as shown above.

Value: This is the transaction code value that you want to launch in the remote system.

Select "Continue" after entering the values as shown above.

Select "Contune" .

Select "Compete".

Now transaction launcher with id Z72_VA01 is created and ready to use from CRM WebClient.

You can view the existing Transaction Launchers by following below path:

SPRO -> SAP Reference IMG –> Customer Relationship Management -> UI Framework Definition -> Technical Role Definition –> Transaction Launcher -> Copy/Delete Launch Transactions. (transaction CRMC_IC_ACTIONPROF)

Once Transaction Launcher is created you can integrate it to CRM WebClient UI by following the same steps as mentioned in

"Common Steps to all types of Transaction Launcher:" Section of my previous document.

The output of the above Transaction Launcher will look something like this with VA01 screen in CRM WebClient after clicking on link "Create SO VA01".

In the next document we will take a look at additional features of Transaction Launcher.

---------------------------------------------------------------------------------------------------------------------------------

For Transaction Launcher commonly faced issue refer Note 1013376 .

No comments