Application Development and Automation 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: 
Read only

Purchase Order Modifications

Former Member
0 Likes
632

Hi guys!

I work in 6.0 Release and I have to modificate some Purchase Orders.

I've found two BAPI's to do that BAPI_PR_GETDETAIL

BAPI_PR_CHANGE, but I am not able to understand them.

Can somebody give me a clue, please?

Many thanks!

Antonio.

3 REPLIES 3
Read only

Former Member
0 Likes
538

Hi,

BAPI_PR* are related to Purchase Requisitions.

You need to use BAPI_PO_CHANGE to modify Purchase Orders.

You find FAQ in SAP note 582221

and Function module MASS_CHANGE_PURCHASE_ORD_BAPI for an example how to deploy BAPI_PO_CHANGE.

Christian

Read only

Former Member
0 Likes
538

If you want to modify PO, i think you may need to use BAPI

<b>'BAPI_PO_CHANGE'</b>.

See the below link for the exmaple code for Changing PO using this BAPI. Hope this will help you.

http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm

CHeers,

Thomas.

Please mark point if you got solution.

Read only

Former Member
0 Likes
538

Sorry!

I've mixed up!!

I want to modify a <b>Requisition Order</b>!!

The BAPI's are BAPI_PR_GETDETAIL & BAPI_PR_CHANGE

Sorry for the confussion!!

Tahnks again!

Antonio.