cancel
Showing results for 
Search instead for 
Did you mean: 

Mass creation of planned orders in APO

former_member269053
Participant
0 Kudos

Hi experts,

In APO I need to do an ABAP program that generates mass planned orders for SNP and PPDS

Can you tell me what BAPI and method I can use in APO to generate mass planned orders?

Regards,

Arnulfo Cordero Pradel

Accepted Solutions (1)

Accepted Solutions (1)

tiago_furlanetto
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Arnulfo,

To mass create/change PP/DS planned orders, try BAPI BAPI_MOSRVAPS_SAVEMULTI3.

In transaction BAPI, you find it under path below

--- Supply Chain Management
------ Advanced Planning and Optimization
----------- ManufactOrderAPS
--------------- SaveMultiple2

Regards,
Tiago

former_member269053
Participant
0 Kudos

Hi Tiago,

I used BAPI_MOSRVAPS_SAVEMULTI3 and I got PlOrd and PrcOrd but without resource, I populated the PDS PPDS in the ´parameter PLAN_NUMBER and SOURCE_NAME but I got Pl Ord and ProcOrd without resource

Does this BAPI works with PPDS PDS?

What parameters I have to use if I want to work with PPDS PDS?

Regards,

Arnulfo Cordero Pradel

tiago_furlanetto
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Arnulfo,

Given you are using PDS, SOURCE_NAME should be popupated, while PLAN_NUMBER and PPM_NUMBER must not be entered.

In SE37, you may display FM BAPI_MOSRVAPS_SAVEMULTI3 and click button Function Module Documentation. Then, scroll down and click link ORDER_HEAD - this will give you an overview of the fields which are required to be filled in this table.

Additionally, once the BAPI is successfully executed, maybe in RETURN table a message is raised informing why a source was/wasn't found/chosen.

Regards,
Tiago

Answers (0)