Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
1,128


Applies To:

Processing return parameter of BOR type TL.

Keywords:

Transaction Launcher, BOR, CRM, ECC, Handler, process_return, SWO1, Return, TL, WebUI, ICWeb

Summary:

You created a transaction launcher to open an ecc transaction from CRM WebUI.

You want to return parameter on exit from ecc transaction and would like to read the parameter in crm.

Solution:

   Step1:

Set a global variable with values you want to return from ecc transaction. This could a variable of a function group or SPA/GPA parameters set by SET PARAMETER statement.

Example: In PAI on click of save button of a z transaction which creates new installment plan, set SPA/GPA parameter.

This step may be skipped for standard transactions where the desired return parameter is available in some SPA/GPA parameter.

   Step2:

Open business object repository method which is called by TL.

Read the global variable which is set in previous step and set a container element

after the CALL TRANSACTION statement.

Note that bor container element name need not be same as SPA/GPA parameter name.

  Step3:

TL handler class which is a subclass of CL_CRM_UI_LTX_ABSTRACT_ITS has access to the protected attribute GR_DATA_FLOW_FROM_ITS.

In process_return method of handler class, read the container of this attribute to get the parameter

gt_container of gr_data_flow_from_its is set in super call of process_return method.

So this call should not be commented.

Labels in this area