Skip to Content
0

pass values between background jobs

Oct 24, 2016 at 08:23 AM

77

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Kali Charan Oct 27, 2016 at 11:49 AM
-1

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 .

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
Raghu Govindarajan Oct 27, 2016 at 12:40 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded