Skip to Content
Former Member
Jun 09, 2016 at 03:34 PM

Use Receiving Calendar to schedule GR activity in PPDS order


Dear Coallegues,

I have a specific requirement to change the good receipt activity duration for a period that is less than a day, this I can do using SAP APO because the GR processing time field in APO allow the maintenance using decimal places (different from the ECC one) and this is working fine.

A part of this requirement business would like to have the availability of the product in business hours (from 08:00 to 18:00). I changed the calendar of the assigned handling resource to be available from 08:00 to 18:00 and this would partially attend the requirement, but we still have issues with orders that ends the productive activity in the evening, because the gr activity would be scheduled after the resource is available.

For example, let´s say that the GR processing time is 4 hours and the productive activity ends at 01:00, with the master data design that I have the good receipt activity would be scheduled to start at 08:00 ending at 12:00, so the product will be available at 12:00 and this is not what business would like to have.

The desired scenario would be having the good receipt activity scheduled from 04:00 to 08:00, so the product will be available at 08:00.

I have changed the design trying to achieve it but i couldn´t, I have removed the gaps from the handling resource (allowing the GR activity to be scheduled at any time) and changed the Receving calendar to start from 08:00 but as a result the order got this gr activity scheduled in the evening, from 01:00 to 05:00 ending when is not desired by the business.

The reason was explained in a previous topic, if the handling resource is assigned to the location master the system schedules the GR activity using the timestream of the resource (I change to 24 houts availability) and ignore the calendar assigned to the location master data.

If I remove the handling resource from the location master data no gr activity is generated in the planned order.

I tried to change the order in livecache using FM /SAPAPO/OM_ORDER_CHANGE but I have some error in Live Cache and I couldn´t finish.

Checking an order with FM /SAPAPO/OM_ORDER_GET_DATA I could see that the table with interoperations constraints ( ET_INTERN_CONSTRAINTS) have a constraint type (field CONSTRAINT_TYPE) set to 3 (Minimum Interval = Maximum Interval = 0 (Equal Constraint)) which means that productive activity and GR activity must be scheduled without gaps....

I also tried the BADI /SAPAPO/CULLRTOEXPL but the GR activity is not available there (it seems that is generated after this moment) as this BADI is for the PDS explosion.

Any help will ve very appreciated.


André val