cancel
Showing results for 
Search instead for 
Did you mean: 

pass values between background jobs

former_member210857
Participant
0 Kudos

Hi All,

I have two background jobs which will run one after another. The first job is an background job which will fetch some material numbers and I need to pass the data to the second internal backgroud job which is an standard program.

Is there any way to transfer data of an internal table from first job to the selection of the second one.

Regards,

Subeesh Kannottil

Accepted Solutions (0)

Answers (2)

Answers (2)

raghug
Active Contributor
0 Kudos

Subeesh,

The z-table option would work, but you could also look at Shared Objects Shared Objects - Implementation - ABAP - Shared Objects - SAP Library

You can look at the help files or at just do a Google search, there are plenty of good step-by-step examples out there. The disadvantage is that they take some work to set up - especially if you have never done them before. The advantage is that it is fast and reliable and supports locking of data while reading and writing, etc to preserve data integrity.

former_member196331
Active Contributor
0 Kudos

In a day how many times background jobs will run, If you say yes.
Any possibility to Save data in ztable, After run the first job, While running second job Get the details of the ztable,
while ending second job remove entries from ztable.

Else.
Try export and import option for transfering the data Internal table .

raghug
Active Contributor
0 Kudos

Export and Import cannot be used for two different background jobs, it requires a call sequence... also, the EXPORT and IMPORT are Obsolete.