Passing data from a background job to RFC calls in different App server
The program i am working on can be explained in the following steps:
Step A- We use a standard program that is executed as a background job and the standard program obtains some data for a particular scenario.
Step B - The job(standard program) during its execution creates many RFCs executed as dialog work processes on various application servers and processes data.In the RFCs various exits are executed.
We currently write data to database(Z table) in Step A and retreive data in exits in Step B to access the information written to DB(Z table). We want to eliminate writing to database since it consumes time.
Is there any solution apart from writing data to database and retreiving the same.
I am not sure if we can use ABAP memory or SAP memory to access the information in the exits since they are executed on different App servers.