09-25-2014 12:17 PM
Hi All,
I am exporting a value using below export command.
Code : EXPORT ex_KNKK from KNKK TO MEMORY ID sy-uname.
And importing it in some BADI. The issue is whenever multiple users accessing same memory Id value is not importing.
So my question is while using IMPORT/EXPORT is there any way to pass values using system IP address?
If you any know please let me know it is very urgent for me.
Regards,
Raj.,
Moderator message - "Urgency" is not catered to in the forums. You have to look someplace else.
Message was edited by: Suhas Saha
09-25-2014 12:24 PM
Did you read what the F1 help for IMPORT/EXPORT has to say about target memory area?
09-25-2014 12:49 PM
09-25-2014 1:04 PM
09-25-2014 1:19 PM
Hi Raj,
Try using constant for memory id instead of sy-uname.
EXPORT ex_KNKK from KNKK TO MEMORY ID 'ZMEM'.
Also clear memory id after importing it every time using 'Free memory id 'ZMEM'.
Regards,
Greeshma
09-25-2014 1:20 PM
Hi,
I hope as you are inserting data into sy-uname, it is changing on the user logged in.
Better to take a variable or an internal table instead.
10-02-2014 3:04 PM
Even ignoring the memory area boundaries, your id is sy-uname, and multiple users use the same id, did you forgot to read your SAP license ?
If you actually want to exchange data between users or outside of memory area, use a more permanent medium in your EXPORT statement, e.g. database, shared memory or shared buffer (Read the F1 documentation)
NB : A FM like TH_USER_INFO can return the terminal Id and its IP address.
Regards,
Raymond