on 06-20-2012 6:51 AM
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.
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.
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.