06-26-2014 4:54 AM
Dear All,
I have implemented an Enhancement Spot in Convert_Local_currency Function Module. It is working very well when execute in foreground. But When schedule it in background it is not triggering. I am exporting some values from my Z Program and importing it into the function module and over writing local amount.
Analysis:
As per my understand it is Normal function module(Not RFC) so it is not triggering as background job runs on separate WP. Please correcet me if I am wrong.
It is very urgent. Could you please advice me on this. Do let me know if any other ways to achieve it.
06-26-2014 6:43 AM
Hello Yerukala,
I am exporting some values from my Z Program and importing it into the function module and over writing local amount.
IMPORT/EXPORT does not work in background job. You have to use shared memory for this.
See below the use of shared memory.
Export lv_matnr FROM lv_matnr to SHARED MEMORY indx(JJ) id 'ZBG'.
IMPORT lv_matnr to lv_matnr from SHARED MEMORY indx(JJ) id 'ZBG'.