Archived discussions are read-only. Learn more about SAP Q&A

Passing data to User Exit in Parallel Processing


We have a custom "wrapper" program that is used to call a SAP native program which has some User Exits. Before calling, it exports some data into a memory ID so that the User Exits can read it and process the data accordingly (for example, process the data for company code 1001 only).

The SAP native program does not provide any input parameters for the additional data (like Company Code) and it also allows for Parallel Processing using a server group.

We have a request to run the program for multiple companies at the same time using the Parallel Processing function provided by the SAP program.

The problem here is that a PID does not work on Parallel Processing when executing multiple tasks in multiple servers. If we use a shared memory object we do not know which object we are supposed to use in the User Exit (which company code am I supposed to filter?).

At this point we are looking at modifying the SAP native program but we want to see if someone else has resolved this by using other means such as trying to find the task name of the parallel session or the Parent PID of the children sessions.

Any help will be greately appreciated.

Not what you were looking for? View more on this topic or Ask a question