Skip to Content
avatar image
Former Member

Mass creation of planned orders in APO

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?


Arnulfo Cordero Pradel

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 21, 2016 at 05:50 PM

    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


    Add comment
    10|10000 characters needed characters exceeded

    • 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.