Skip to Content
0
Jan 07, 2013 at 01:29 PM

MRP reschedule in date

357 Views

Hi Experts,

We have a report already developed on MRP Rescheduling Messages for various MRP elements. This report uses following FMs

BAPI_MATERIAL_STOCK_REQ_LIST (MD04) and

BAPI_MATERIAL_MRP_LIST (MD05)

Please refer the below screen -

Here there is MRP rescheduling message "Reschedule Out" to data 01/23/2013 (MM/DD/YYYY). We are getting this date in the report output using above given FMs. That is not the issue.

The issue is there is another date beside this date in the POP UP window which is 01/18/2013, which is equal to the above date minus GR processing time (3 workdays). Gr processing time is expressed in the workdays.

My requirement is that to get this date into the report.

The problem is that as per my knowledge this date is not available in above said FMs. We can not straight away reduce the GR time from the base reschedule date 01/23/2013 which is available in FMs as the GR time is in working days.

So how I can get this date into the report output ?

1) Is there any FM / table available for this ?

2) In ABAP will there there be any date functions available which consider the Calendar for date additions / subtractions ?

3) If not, will it be possible to write any ABAP function explicitly for this ?

I am looking for the simple possible way. Any advise would be welcome.

In this regards, I would also like to know how the Factory calendar is stored in system ? like which DB tables ?

Regards,

MHP

Attachments

Untitled.png (57.9 kB)