cancel
Showing results for 
Search instead for 
Did you mean: 

Get purchase order doc date using BAPI function module

Former Member
0 Kudos

Hi,

I have a .net windows application that uses BAPI_PO_GETDETAIL function module to get particular details of a PO in SAP. But i am not able to get the "Doc Date" for a particular PO. I am able to get all the details of items from the table "PO_ITEMS ". I used only 1 input parameter "PURCHASEORDER".

Please help me to get this thing done

.netframework : 4.0

Language: C#

Visual Studio: vs 2010

Regards,

Manosh Jacob

Accepted Solutions (1)

Accepted Solutions (1)

hynek_petrak
Active Participant
0 Kudos

You may use BAPI_PO_GETITEMS and let WITH_PO_HEADERS='X', then you get the doc. date the doc date in the table PO_HEADERS-DOC_DATE.

Former Member
0 Kudos

Absolutely hynek petrak..

You can go with the above technique.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you so much guys. This is what i was looking for.

Regards,

Manosh Jacob