2020 Dec 30 2:43 PM
Hi experts,
when i used tcode /N/SCWM/PRDI in ewm to receive a delivery, i found the data in storage table mspr changed ,but i can't find what code change it. i haved traced this for many hours, it is strange.
i understand in ewm the program executed by my logon user, and then raise qrfc, whitch use a rfc user to create goods move document and update delivery and update strorage table. i trace in st05 and set username to * and also check the buffer trace, i found many tables like likp lips update statement in trace file, but only found select statement with table mspr , i also checked relevant view of mspr and can't find any change statement.
i continue to set an external break point and open sat trace in debug mode but get same result. i don't know if there are something influence with amdp or any other thing that can't be traced by st05? i also trace in eclipse but don't get expected result.
any suggestion is helpful , thanks at first.
2021 Jan 03 9:45 AM
Hi,matthew.billingham
after many days debug, i finally find the storage quanlity is not saved in storage table in s4, which is calculated dynamicly from table MATDOC_EXTRACT. when i see MSPR data in se16n, it's also caculated dynamicly instead of fecthing from MSPR database table.
debug到怀疑人生
Have you tried an SQL trace (ST05) filtering only for that table?
2020 Dec 30 5:37 PM
Have you tried an SQL trace (ST05) filtering only for that table?
2020 Dec 31 12:19 AM
matthew.billingham ,Hi Matthew, i tried a st05 filtering only for mspr but it turned out nothing
2020 Dec 31 6:17 AM
i tried simple situation with posting delivery in vl32n, which also changed the mspr data, and i can't trace mspr by st05 either
2021 Jan 03 9:45 AM
Hi,matthew.billingham
after many days debug, i finally find the storage quanlity is not saved in storage table in s4, which is calculated dynamicly from table MATDOC_EXTRACT. when i see MSPR data in se16n, it's also caculated dynamicly instead of fecthing from MSPR database table.
debug到怀疑人生
2021 Jan 03 9:52 AM
the mspr quanlity is calculated from this table data which can be traced by st05

| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |