Enhance the FM "BBP_PD_SC_TRANSFER"
I am trying to enhance the FM " BBP_PD_SC_TRANSFER" but for each object inside this FM I am getting message 'function group BBP_PD_SC'
can not be enhanced. Is there any object where I can put my custom code in SRM after PO is getting created in ECC and PO# is passed to SRM.
This issue has been resolved. I found one implicit enhancement point in Method CREATE_DOCUMENT where we are calling one Custom RFC to trigger an email with PO as PDF attachment once all the Database tables are updated.
RFC FM ZMM_RFC_PO_EMAIL_ATTCH_SEND will be invoked from SRM system after all the database values are updated to in the backend ECC system.
Implicit enhancement ZMM_SRM_PO_PDF_EMAIL will be created in if_bbp_sc_be_crt~do in SRM .Check if Success message regarding PO creation exists in status message table ET_MESSAGE.
If yes, FM ‘FUNCTION_EXISTS’ is used to check if RFC implementation exists in target system. If exists, then only RFC FM ZMM_RFC_PO_EMAIL_ATTCH_SEND will be triggered.