‎2007 Oct 29 8:50 AM
Hey dudes,
I am facing a problem in my coding. I am dealing with coding in several events in IS-U, transaction FPY1.
However, it's not so important ya. Now I am written some code on IMPORT and EXPORT some parameters between 2 program code. It's work very fine only in 'DEBUG MODE', but when it's running not debug mode (Is BACKGROUND MODE), coz it's massive run program.
I suspect it's because of the background job. Does background job using ABAP Memory? IMPORT/EXPORT is only for dialog work process, not background work process?? I have a lot of question mark on my head now..
Hope anyone facing dis issue before can help.
Cheers,
Isaac.
‎2007 Oct 29 10:03 AM
Are you trying to pass data via EXPORT/IMPORT between two programs that are both running in background, or from an online session to a background process?... i.e. what are the two lots of program code that you are wanting to pass parameters between?
It would be fine for a background program to "export" data to a memory ID, then for the same batch program to submit another program that does the "import" from the same memory ID... but this method won't work for an online user doing an "export" and a batch job doing an "import" -> for this to work, you would need to persist the parameters so that the batch job can retrieve them.
If you can explain the scenario a bit more, will try to offer more help...
Jonathan
‎2007 Oct 29 10:03 AM
Are you trying to pass data via EXPORT/IMPORT between two programs that are both running in background, or from an online session to a background process?... i.e. what are the two lots of program code that you are wanting to pass parameters between?
It would be fine for a background program to "export" data to a memory ID, then for the same batch program to submit another program that does the "import" from the same memory ID... but this method won't work for an online user doing an "export" and a batch job doing an "import" -> for this to work, you would need to persist the parameters so that the batch job can retrieve them.
If you can explain the scenario a bit more, will try to offer more help...
Jonathan
‎2007 Nov 01 7:50 AM
Hi Jon,
Thanks a lot for your help.
I found the problem already. It's because I was checking on sy-tcode, whereas sy-tcode is blank on background processing.
Really appreciate your help man.
Cheers,
Isaac.
‎2007 Nov 01 7:52 AM
An error cause by myself.
In conclusion:
I realize that SY-TCODE is blank for background job.
Thanks.
‎2015 Sep 23 12:28 PM