Sales order According to the Customer PO
I am very new to SAP SD. I am using ECC 6.0 machine.
When i search and display any sales order, it contains PO number. I want details of this Purchase Order. For that i used 'BAPI_PO_GETDETAIL'. But after executing it shows me that 'PO Does Not Exist.'
After some investigation i realized that it is a Customer's Purchase Order. I need the details of the Customer PO. Is there any built in BAPI which will give me these details?? Or any table which will store the details of this PO so that i can write custom RFC to fetch data from the same??