...
Enhancement spot | BAdI definition | Interface | Method | Description |
---|---|---|---|---|
/PACG/ECM_ATTACHMENT | NEW ATTACHMENT HANDLING /PACG/ECM_PROCES_ATTCHM | /PACG/ECM_IF_A_BADI_ATTCHM | I_CHANGE_MAIN_SEGMENT | Inbound - change attachment main segment of IDOC |
I_DETERMINE_BOR_TYPE | Determine BOR Type and Object ID of inbound attachments | |||
O_CHANGE_ATT_LIST | Outbound - change attachment list | |||
I_USER_PROCESSING | Inbound - user processing of inbound attachments | |||
I_ADDITIONAL_REFERENCES | Inbound - additional references to attachment | |||
O_AFTER_SINGLE_SEND | Outbound - after sending single attachment | |||
O_AFTER_SEND | Outbound - after sending all attachments | |||
I_AFTER_RECEIVE | Inbound - after receiving all attachments | |||
I_ADD_REFERENCE_TO_OBJECTS | Inbound - set list of objects for additional references | |||
I_GET_EQUI_FOR_REFERENCE | During processing of an inbound activity attachment, an additional attachment reference can be created - to equipment.
Use this BAdI to determine which equipment should the attachment reference be created for. This can be done based on attachment file name, file type or other header data found in an idoc. The following example implementation is provided: retrieve a serial number from the first (out of 3 or more) segment of the attachment’s file name and use it to find equipment in table EQUI. |
Checklists
Enhancement spot | BAdI definition | Interface | Method | Description |
---|---|---|---|---|
/PACG/ECM_CHECKLIST | /PACG/ECM_CHECKLIST_BEF_COMMIT | /PACG/ECM_IF_A_BADI_CHECKLIST2 | DATA_BEFORE_COMMIT | Since this BAdI is used when saving the checklist instance object in the database, the implementation is called under various scenarios - for example generating a new checklist or closing an existing one. If, as part of this BAdI definition, you plan to implement a custom code that should run when closing the checklist instance, it is recommended to additionally check at the beginning of the BAdI implementation whether the instance is closed. This can be done using the CS_CLTDH-CLOSED EQ ABAP_TRUE code. |
/PACG/ECM_CHECKLIST | /PACG/ECM_IF_A_BADI_CHECKLIST | DATA_BEFORE_INSERT | Checklist Data - called just before Insert into the database. |