Skip to Content

Bbp_get_status_2 not updating PO history in SC

Jan 08 at 10:50 AM


avatar image

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



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ricardo Cavedini
Jan 10 at 06:07 PM


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.


10 |10000 characters needed characters left characters exceeded