cancel
Showing results for 
Search instead for 
Did you mean: 

To get buffered Instance for purchase organisation header data for RFQ

Former Member
0 Kudos

Hi,

I need to get buffered instance for getting the purchase organisation header data for RFQ.

I need to get it inside the BBP_DOC_CHECK_BADI.

I am using /sapsrm/cl_pdo_factory_rfq=>get_buffered_instance passing the iv_doc_guid.. But no instances are recieved.

When I debugged, I found that inside this method, they are checking whether the doc_guid i am passing and the header guid are same.

Since they are not matching, we are not recieving any instance.

Without getting the instance I could not proceed with the Get_header_orgdata method call.

Please advise.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,


PDO layer is a above the PD layer from where the  BBP_DOC_CHECK_BADI badi is called.
So it is inappropriate to call the PDO class method from  BBP_DOC_CHECK_BADI.
You can use the function modules from function group BBP_PD to get the Org data.

Thanks,
Sushil.

Former Member
0 Kudos

Hi Sushil,

I got the orgdata from BBP_PD_BID_GETDETAIL.

Thanks for the assistance.

Regards,

Sreedevi

Answers (0)