Skip to Content

Import and export not working for multiple users.

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Sep 25, 2014 at 11:24 AM

    Did you read what the F1 help for IMPORT/EXPORT has to say about target memory area?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 25, 2014 at 11:49 AM

    Hi Raj,

    Just an image


    ABDOC_memory1.gif (13.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2014 at 12:04 PM

    Raj,

    You can use this fm ==> GUI_GET_DESKTOP_INFO

    Regards

    Vivek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2014 at 12: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 25, 2014 at 12: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 02, 2014 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.