Skip to Content
avatar image
Former Member

pass values between background jobs

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • 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 .

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 27, 2016 at 12:40 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded