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: 

Function module for PO revision

Former Member
0 Kudos

Hello SDNites,

Can anybody plz tell me, whether there is any function module which will give me details about previous revision of Purchase Order.

Ex. I have creted a purchase Order with 3 as current revision. I want both header and line level details for revision 2. Is there FM which will help me to get this detail.

Regards,

Abhishek Gupta

6 REPLIES 6

Former Member
0 Kudos

Hi,

1.You can see this revision changes history in the version tab itself.

2.You can also get from PO - Environment - Header changes details.

3.Check the table EREV Version in Purchasing in SE16. This will give all the required details for the PO.

4.You can fetch the data from this table to appear in the PO print out.

Regards,

Omkar.

0 Kudos

Thank You. That helped me solve my problem.

Former Member
0 Kudos

Use BAPI_PO_DETAIL1.

0 Kudos

Hi,

Check this program RM06EAV1.

For any documents if any changes happened it will reflect in CDPOS and CDHDR tables.check those tabels.

For PO changes use this FM ME_CHANGEDOC_READ2.

this Is the Best FM.

best regards,

surendar reddy.

Edited by: suredarreddy pulimamidi on Oct 3, 2008 2:15 PM

Former Member
0 Kudos

Hello SDNites,

Thanks for the reply.

Above replies will not solve my purpose. I need all the details od PO line in prvious revision.

ME_changedoc_posted : will give me details of only changes.

bapi_po_getdetail1 : will give me details at header level only for previous revisions.

Regards,

Abhishek

bruno_esperanca
Contributor
0 Kudos

In SE37 search for MEDCM*, I think something there should help you.