Skip to Content
-2

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

Jun 22, 2017 at 10:17 AM

85

avatar image

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

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

3 Answers

Raymond Giuseppi
Nov 08, 2017 at 06:57 AM
0

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,

Share
10 |10000 characters needed characters left characters exceeded
Matthew Billingham
Nov 08, 2017 at 07:41 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 08, 2017 at 05:53 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded