Skip to Content
0

Import and export not working for multiple users

Apr 16 at 05:57 AM

35

avatar image

hi,

I need a small help.

EXPORT wa_mseg_dt TO MEMORY ID SY-UNAME. "'CTAB'.

IMPORT wa_mseg_dt TO wa_mseg_dt1 FROM MEMORY ID sy-uname. "'CTAB'.

I have one requirement, while posting Gr , With respect to the Production order.
I Created one enhancement point,From here some data is moving to Standard exit.
EXIT_SAPLCK21_002

Here it will check, How much Gr qty is posting and whether all the raw materials are withdrawn or not. other wise system will stop .

In Development it is working Fine, Because it is having only 1 user at a time, But now i moved to production. Here the problem is multiple users are using the server.

EXPORT wa_mseg_dt TO MEMORY ID SY-UNAME. "'CTAB'.

IMPORT wa_mseg_dt TO wa_mseg_dt1 FROM MEMORY ID sy-uname. "'CTAB'.

If you see above for importing and exporting i was initially used CTAB as a memory id.
But if multiple users are used. it will move wrong data, to the exit. I was thought, so, this is reason i changed to sy-uname, So, at a time only one person may login into the system.
but above sy-uname is not working.Could any body suggest me , What should i do.

I seen below post, but nobody marked the replys as correct answer.

https://archive.sap.com/discussions/thread/3626298

Need Your Raymond Giuseppi valuable suggestions Plz.






10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Apr 16 at 07:09 AM
1

I already answered in the referenced thread, but seems the OP didn't understand concept of memory boundaries. As already written use F1 to understand and perform some search in online help on Abap/Shared/Database memory.

Share
10 |10000 characters needed characters left characters exceeded