Skip to Content

MRP reschedule in date

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

Untitled.png (57.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jan 10, 2013 at 01:30 PM

    Hi,

    I checked and SAP calculates this date on the run. Simply the processing time is subtracted, however function module DATE_CONVERT_TO_FACTORYDATE is used for the dates both before and after subtraction.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2013 at 04:50 AM

    Dear Manish,

    you can use FM "MD_STOCK_REQUIREMENTS_LIST_API". From this u can use table "MDEZX".

    Please check.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2013 at 11:57 AM

    Hi,

    Any suggestion on above ?

    I had found 1 FM "FKK_ADD_WORKINGDAY". Can this be used ?

    Regards,

    MHP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.