on 01-08-2018 10:50 AM
Hello experts,
I have recently worked on custom program to process PR line items to existing PO’s line item using BAPI for PO Change.
Now, when I execute BBP_get_Status_2 then program is not picking up the PO information from ECC
But, if I edit the same PO using ME22N then BBP_get_status_2 works fine
Is there any setting I am missing here in classic scenario
Regards
Manish
Thanks Ricardo... I somehow missed to reply earlier but below are my findings:
I tried to debug BBP_GET_STATUS_2, by putting a breakpoint in 'B31I_STATUS_READ' -> CALL FUNCTION 'BBP_STATUS_READ'
Laded up at 'FORM check_if_po'
This contains 'DETERMINE_INTROW' method that is failing PO based on NUll PLN_PACKNO & PLN_INTROW variable.
Not sure, what am I missing.
I passed following data and PO line item for Service is getting created:
Any other field I need to pass?
Thanks & Regards
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Perhaps something is not being updated by your program, that is only updated when changing the PO via ME22N.
You can try to debug BBP_GET_STATUS_2, by putting a breakpoint in B31I_STATUS_READ.
Here, SRM calls BBP_STATUS_READ in ECC, which is responsible for bringing the follow-on document relationships.
You can see within this function what is the difference between these two scenarios.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.