cancel
Showing results for 
Search instead for 
Did you mean: 

How is start date in the /sapapo/rrp3 Product View calculated

Former Member
0 Kudos

Hi,

I have one Z program which takes the Undersupply week & the oversupply week & creates the Purchase Requisistions (Stock transfers) in the Product View i.e on the RRP3 view.The requirement date will be 1st day of the Undersupply week.

The start date should be calculated as following:

Requirement date-Transport lane duration(between the locations) - GR Processing time (at the destination location) - GI Processing tiem (at the source location).

But instead of this it is always the 1st day of the Oversupply week or today's date.

The FM that is used to calculate this is /sapapo/om_order_change.

The same is used in the rrp3 view as well for creation of the receipts manually & the start date is calculated correctly if the requirement day is given accoring to the above formula.

Please let me know what may be the problem in the Z program since internally I am calling the same FM for the calculations.

Regards,

Praveen

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

check what are you passing for "IV_SIMSESSION"

this has to be an internal GUID and not "000" as active version.