Skip to Content
Former Member
Apr 01, 2011 at 12:42 PM

BBP_PD_PO_GETDETAIL returns empty item[], condition[] first time


Hi Expert,

I have implimented BADI BBP_DRIVER_DETERMINE and assign custom FM zB46B_DPO_TRANSFER to create PO in backend system.

When I create PO and order it first time... FM zB46B_DPO_TRANSFER is getting called where I want to read PO item condition using FM BBP_PD_PO_GETDETAIL and pass to fm which creates PO in backend.

FM BBP_PD_PO_GETDETAIL is returning blank table PRIDOC[] (pricing data).

I pass guid of the PO to the FM to get the details.

for the saved PO it return every details perfectly.

Do I need to read from buffer or what... how ???