Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

about the po history when use bapi for posting

Former Member
0 Kudos

hi experts:

I use the BAPI_ACC_DOCUMENT_POST to make a posting,but in the po history,there don't have the FI document information.

so how I can see the po history after the posting.if do not use this bapi,pls tell me another.

can you give me one sample?thanks!

4 REPLIES 4

Former Member
0 Kudos

Hello

Use BAPI_PO_GETDETAIL for po history.

Former Member
0 Kudos

Hello

you can use this bapi

call function 'BAPI_PO_GETDETAIL'

exporting

purchaseorder = po_number

schedules = 'X'

importing

po_header = po_header

tables

po_items = po_items

po_item_schedules = po_schedules

return = return

Regards

Renu

0 Kudos

I have solve this problem,I use another bapi

thanks.

but the bapi you just gave,can it update the history?or just get the data about the po history?

Former Member
0 Kudos

solve