cancel
Showing results for 
Search instead for 
Did you mean: 

Planned order create with FM /SAPAPO/RRP_PLORD_CREATE

Former Member
0 Kudos
729


Hi,

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

Regards,

Santosh

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hi Santosh,

Heuristics with their own strategy settings may only use these settings in planning. In these cases, the strategy profile must not be used.

Manual interface enhancement of the module /SAPAPO/RRP_SCHED_CONTROL_SET is required to do this.

Regards,

R.Brahmankar

Former Member
0 Kudos

Thanks RUpesh. YOu are right hence we are adding strategy parameters in custom heuristics screen

Regards,

Santosh

Answers (0)