cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to create SNP planned order based on start date

Former Member
0 Kudos

Hi,

I am looking for a BAPI to create SNP planned order based on the order start date. There is BAPI BAPI_MOSRVAPS_CREATESNPORDER which can be used to create SNP planned order based on the end date but not based on the start date.

Also would be great if some one can share how do they create SNP Planned orders using BAPI BAPI_MOSRVAPS_CREATESNPORDER in case if GR processing time is defined in the product master and workdays for GR to be respected according to the calendar.

Regards,

Venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Mr.Venkat,

Hope you recognize me.

Please check out the BAdi below.

BAdi - APO_BAPI_BUS10503 (this is the BAdi for ManufactOrderAPS BAPI which contains the SNPorder BAPI)

Method - CHANGE_SAVEMULTIPLE2

In this method parameter IT_ORDER_HEAD contains Order start date input option.

For GR time please check this (not sure if it will help).

Same BAdi/ same method

Parameter IV_PLANNING_MODE_USAGE contains field PLANNING_MODE.

Value 1 for PLANNING_MODE corresponds to "Observance of parameters from the product master".

This may make it respect the GR time in product master

Good luck with the above

Regards,

Ashok