Skip to Content

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

Do SET/GET parameters share between different background tasks?


I use batch input program for data migration. There are no good messages with msgv* parameters, so I have to use GET PARAMETER ID statement for getting new object id. Everything is fine, but to improve performance I want to run several background threads simultaneously. And I'm not sure now if it is possible to share values between different background threads (of the same user). In my case it is very important (for data consistency).

Does anyone know for sure?

Any links?

Thank you in advance!


Neither SAP Memory nor ABAP Memory will fulfill you request.

SAP memory is a memory area to which all main sessions within a SAPgui have access.

ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements.

(ref [Passing Data Between Programs|]) So try other [Storage Media for Data Clusters|] like DATABASE or SHARED MEMORY/BUFFER ([cross-transaction application buffer|])

Of course, as you mention "background tasks", you could use [CALL FUNCTION - STARTING NEW TASK|] [{PERFORMING subr} {CALLING meth} ON END OF TASK |] so the tasks return information to a main task central program.



PS: Sorry , i started inserting the links before i could see your post...

Edited by: Raymond Giuseppi on Jun 15, 2011 9:28 AM

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