Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

shared memory

Former Member
0 Kudos

Hi Team,

My req is to get the material number from User exit and send the same material to program that is schedule to a back ground job.

when running the program online i get the material number by SPA and GPA, but get para is not working in back ground.

Is their any method to get the value for the back ground program?

Thanks In advance.

Satich Kumar

6 REPLIES 6

Former Member
0 Kudos

Hi,

Use the command EXPORT ...TO MEMORY...

and in the program ues IMPORT ....FROM MEMORY .....

Regards

Subramanian

Former Member
0 Kudos

Hi,

In background this will not work. So u have to update to a 'Z' table in user exit and then u have to retrieve from that table.

0 Kudos

... and instead of creation a Z-table - use change pointers, then you have already standard FM for writing and standard reports / transactions for deletion.

0 Kudos

Hi Team,

I got the solution by export and import to data base buffer get you in detail once it has been tested sucessfully

Thanks all for your replies.

Best Regards

Satich Kumar

Former Member
0 Kudos

Hi Satich, could you write how you did it. It is because I have the same problem and I can not find the solution.

Thanks

0 Kudos

*Export Material Number to Database Buffer.

EXPORT matnr = wmara-matnr TO DATABASE indx(xy) ID 'ABC'.

*Get the material number from Database Buffer

IMPORT matnr = lv_matnr FROM DATABASE indx(xy) ID 'ABC'.

Regards

Satish kumar K

Message was edited by: Sat

satich kumar koyyalamudi