Hi all,
I'm triggering notification when a PO is created from BADI BBP_ALERTING.
PO is created in SRM once a SC is fully approved.
So, basically, PO is created by WF-BATCH.
Once a PO is created, I need to send a notification to the SC Requisitioner's Manager.
I tried to call the FM BBP_PROCDOC_GETDETAIL and BBP_PD_PO_GETDETAIL, but the return table of E_HEADER_REL is empty.
There is no way I could get the SC GUID using these 2 FM.
I even tried with the FM BBP_PD_OBJREL_READ_VIA_REF, it is also not returning any SC GUID.
FYI, if I run these FM in other BADI or report, it's working fine.
I have no idea why when I put these FM into BBP_ALERTING, it's not working.
Anyone have other method for me to retrieve SC GUID based on the PO GUID?
Is there any instance class that I could use?
Thanks