Skip to Content
Former Member
Dec 20, 2013 at 04:37 AM

Planned order create with FM /SAPAPO/RRP_PLORD_CREATE



We are creating custom heuristics based on custom algorithm. We want to create planned orders using /SAPAPO/RRP_PLORD_CREATE. Problem here is we are able to pass Start date, quantity, source of supply, pegid. But we want to pass scheduling parameters as we need to do forward scheduling and in this fm THERE IS NO PLACE TO PASS SCHEDULING PARAMETERS. When we checked inside /SAPAPO/RRP_PLORD_CREATE this there is one more FM /SAPAPO/RRP_LC_ORDER_CHANGE here scheduling parameters are passed but may be SAP is determining it internaly in standarad heuristics. How to pass scheduling parameters.

We already tried using BAPI_MOSRVAPS_SAVEMULTI3 but this BAPI directly saves order in system where as what we want is when we execute heuristics interactively order is created in simulation version get saved only after we save results in prodct view.

Can anybody help on this? Requirement is to create planned order with forward scheduling and it should get saved directly but should remain in simulation version till data is saved in product veiw. Any other function module which can do this is fine for us