on 2015 Jan 13 12:34 PM
Hi all,
I need to add a validation in badi BBP_DOC_CHECK_BADI depending on the approval data.
I'm trying to use the method /SAPSRM/CL_WF_APV_FACADE=>CREATE_PROCESS_FORECAST within this badi, but doesn't work fine.
I've found this thread of Ashish Shah with a similar problem, but for PO. In this thread Konstantin Anikeev suggested using the method /SAPSRM/IF_PDO_DO_APV_EXT~GET_PROCESS_INFO_REF of class /SAPSRM/IF_PDO_BO_PO_ADV.
I've found the class /SAPSRM/IF_PDO_BO_CTR_ADV for CTR, but the method GET_PROCESS_INFO_REF doesn't exist there.
Do you know which method can I use for CTR?
Thanks in advance.
Regards,
Ricardo.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello again Konstantin Anikeev ,
The method works fine if a modify a Contract in status "Saved".
But if I create a contract using bapi BBP_PD_CTR_CREATE (from a custom program) then doesn't work,
The parameter er_process_info is returned empty. I've tried also with the method CREATE_PROCESS_FORECAST , but doesn't work neither.
Any idea ?
Thanks in advance,
Regards,
Ricardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.