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.
Showing results for 
Search instead for 
Did you mean: 

SCM-APO-Internal Ord Assignment-BAPI_POSRVAPS_SAVEMULTI3(CreateProcOrder)

Former Member
0 Kudos

Hi All,

This is a FM in SCM (APO)

I am using the following BAPI to create a External Procurement order(BAPI_POSRVAPS_SAVEMULTI3) with standard ATP Catgeory-AG.

I need to use Internal Order number assignment, however in the documentation it says that we need to assign a order_number.


BAPI documentation

With internal number assignment:

If an order is created with internal number assignment, it receives the order category "APO local order" (domain fixed value 8).


A GUID and an internal order number are assigned internally. The order is displayed in the APO system using this internal order number. The GUID and the internally assigned order number are returned in the mapping table together with the ORDER_NUMBER entered. The ORDER_NUMBER is only used for assignment in the mapping table and it is not used in APO in this case.



(1) Can I hard code the value of the ORDER_NUMBER to a fixed value or

do I need to change the ORDER_NUMBER every time a new order is created.

(2) If I hard code the value, will there be any problems in the mapping of the ORDER_NUMBER and APO internally created-internal order number and GUID

Any pointers are really appreciated




Former Member
0 Kudos


You need to create a new ORDER_NUMBER every time a new order is created

Best regards,

Leandro Mengue