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: 

Importing to SAP Memory

Former Member
0 Kudos
93

Hi All,

I have created an implementation for the badi LE_SHP_DELIVERY_PROC. In the method CHANGE_FIELD_ATTRIBUTES i have written a code to export Vendor(LIFNR) to the sap memory. However, i need to import this to an include and use it in the function module CONVERSION_EXIT_ALPHA_INPUT with the LIFNR as the exporting parameter in the function module. how do I import this LIFNR in the include. Please help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
48

try using SET ,GET parameters to export LIFNR to SAP memory..IMPORT it in your include and pass it to the FM.

Regards.

3 REPLIES 3

Former Member
0 Kudos
49

try using SET ,GET parameters to export LIFNR to SAP memory..IMPORT it in your include and pass it to the FM.

Regards.

Former Member
0 Kudos
48

Hi,

Export LIFNR TO MEMORY ID 'AB'. (ID is the name of memory, you don't need to create it ).

Import LIFNR FROM MEMORY ID 'AB'. In Importing program create the same field name.

Hope this is useful to you!

Thanks,

Reetesh

0 Kudos
48

Hi,

Yes I did this and it worked. Thanks.