Skip to Content
-2

Passing an Internal Table to a Report executed through 'Submit' in Background Job Using OOPs

Hi All,

I have created one program in Oops. Need to Pass internal table data to Submit program using Memory ID in Background Job. Kindly help me to solve this issue.

Thanks,

Regards,

CSingali

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 08, 2017 at 06:57 AM

    For a background job don't export to memory id, export your data to shared memory/buffer of the current application server (in case of multiple server insure the background job will execute in same server) or export to file (some Z file of type INDX). In recent versions use some shared object memory (OO class required). Perform some search on memory in online help and forum Wiki.

    NB: Note that you should commit the data in some case to bypass lock and buffering exceptions,

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 08, 2017 at 07:41 AM

    Assuming both programs are custom deveopments, the structure of your program is wrong. Rewrite the program you're submitting to, so that the logic is in a separate global class (known as the model). Then your first program can simply instantiate the model and use its methods directly.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 08, 2017 at 05:53 AM

    Facing the same issue I tried every


    SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; }

    * FREE MEMORY ID 'ZFI_BANKBG_IDAT'.
    * EXPORT t_data to MEMORY ID 'ZFI_BANKBG_IDAT'.
    * EXPORT 'Hello World' to MEMORY ID 'test1'.

    possible way to do this but no success

    SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S31 { font-style: italic; color: #808080; }

    ** export t_data to shared buffer indx(st) id 'ZFI_BANKBG_IDAT'.


    I tried this but it show me buffer error in runtime

    Add comment
    10|10000 characters needed characters exceeded