on 2018 Apr 16 6:57 AM
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.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.