Ansicht
Dokumentation
EHSWA_141_WASTEMVT_CAN_IM - Entry Document: Application Function Cancellation - Material Doc./Inv. Mgt
General Material Data Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
This function module enables you to cancel the goods movements created with relation to the Waste Management entry documents in inventory management.
Canceling a receipt posting (follow-on document category SAP001) and canceling an issue posting (follow-on document category SAP005) are supported. You cannot cancel posting changes.
Note:
- For cancelation with reference to the material document from inventory management, the complete document, meaning all the document items, is canceled, as are therefore all the entry documents in Waste Management whose quantities were posted with this material document.
Processing sequence in the module:
- The system checks whether inventory management is activated for the entry document category.
- For all the selected entry documents, the permitted cancellation movement is derived from the debit/credit indicator. (Debit = receipt is canceled; credit = issue is canceled).
- In the follow-on document table, the system searches for valid entries for the document. If any exist, the function module is called for cancellation. This uses the BAPIs BAPI_GOODSMVT_GETDETAIL and BAPI_GOODSMVT_CANCEL for processing.
- The documents in the follow-on document table are selected. If there are errors, a message table is written.
Parameters
E_FLG_ERRORE_FLG_FIRST_SAVE_DONE
E_FLG_SAVE_PEND
E_MESSAGE_TAB
I_EANOCAT
I_TRANSACTION
I_WFTASK
X_LG_IOTAB
X_LG_IOTAB_DEL
Exceptions
Function Group
EHSWA_141PERFORM Short Reference CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 1857 Date: 20240523 Time: 101437 sap01-206 ( 40 ms )