Hi Experts,
I'm using the Badi EQUI_UPDATE to perform an action after creating or changing an equipment. The problem is that there are no status information available. The function module STATUS_READ delivers wrong results because the buffer is no more available during posting. So the function module STATUS_READ gets the status information from the database an these are the status information before update.
Could anybody give me a clue how to get the right status information in Badi EQUI_UPDATE?
Thanks in advance
Somewhere, well at this step they are only parameter in the execution of update FM STATUS_UPDATE. This FM is called during a perform at commit so should be executed after the execution of EQUI_UPDATE (which is directly recorded in EQUIPMENT_SAVE execution before execution of statement COMMIT WORK)
So those data may be in table VBDATA or in memory of current RSM13000 execution, but won't be easy to read (and hard to maintain?) start with TH_GET_VBKEY, then VBMOD to get counter for FM and some import from database VBDATA to get parameter (try to debuf SM13, look for FM TH_DISPLAY_UPDATE_DATA_ALV on how to get access to parameters)
AFAIK there is also a BTE (P&S PM000020 equipment update) with more data?
Regards,
Raymond
hello Jutta
I would use user-exit IEQM0003 for this situation. (STATUS_READ would work properly here)
Hi Experts,
That was really a challenge, but with all your help I mastered ist. Thank you all for your answers. Now I get the right VB-Key with an assign.
I send an interface to SAP-PO, so I prefer to use the Badi EQUI_UPDATE instead of user-exit IEQM0003.
Many thanks
Add a comment