cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Purchase Order Number in SAP APO

sandeep_gvv2
Participant
0 Kudos

Hello All,

I am working on SAP APO object. My requirement is to send Purchase order details from APO to AFS system through CIF(Core Interface).

Starting with in detail i have created a custom table having fields like version id,matnr,pur requisition,Purchase order,ATP Category,etc..

For updating the table i need to get purchase Order details How can i get purchase order details in APO.

As i am new to APO Can you Please suggest any BAPI or table to get purchase order info in APO.

Accepted Solutions (0)

Answers (3)

Answers (3)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

You can use the different planning version with logical system as APO.

Best Regards,

R.Brahmankar

sandeep_gvv2
Participant
0 Kudos

Hello Brahmankar,

I have tried with F.M BAPI_POSRVAPS_GETLIST3 here i am passing input - under Import Parameters -->Logical system,planning version and under tables ordertype_Selection i am taking value '2' and under product_location_keys i am passing Material,location,location type

here default planning version is '000' and my input details like material,location,loc type are all created under planning version 'SIM' and if i pass planning version as '000' i am getting output data under receipts tables but if i pass planning version 'SIM' there is no data.

why??

Input :

Output : For Planning version '000'

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

Please try FM /SAPAPO/OM_ORDER_GET_DATA or BAPI_POSRVAPS_GETLIST3 for purchasing documents.

Best Regards,

R.Brahmankar

sandeep_gvv2
Participant
0 Kudos

Thanks for the reply I have gone through it Pls correct me if i am wrong when i check parameter name order_keys there is one field saying ORDER_NUMBER(Order Number from Connected OLTP System) Is this to be considered as Purchase order and under import tab Planning version is 000 by default.In my scenario there are multiple planning versions..

raymond_giuseppi
Active Contributor
0 Kudos

Did you try BAPI_PO_GETDETAIL1 to get purchase Order details ?

sandeep_gvv2
Participant
0 Kudos

This BAPI only not available in SAP APO system.