on 06-13-2007 4:35 AM
Hi,
When I try to create STO and view the matl in MD04 i got the following error.
"05/02/2020 date comes after end of valid factory calendar. (Pleae correct)."
Could you please explain the reason.
Regards,
MBKM
hello,
The issue you have now is that you are extending the Factory Calendar outside of the dates for the Holiday Calendar assigned to it.
You will need to extend the Holiday Calendar first and then extend the
Factory Calendar.
Is the message number M7 523?
Please check
All table entries must be consistent. Check the entries in the
following tables - also the entries delivered by SAP as an example:
-T001W are all plants defined?
-T001K are all valuation areas from T001W defined (OX18)?
-T001 are all company codes from T001K defined (GCB1)?
-MARV current period contained? If necessary, open period via
Transaction MMPV.
-T159C do all plants exist (OMCO)?
- Sanjeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
The error code should be 61062 or 6P365.
(I search it from SE17 - T100).If you want to ask the error with error no,
you had better to state the error code.
Anyway,there error may occur in the following case.
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
CORRECT_OPTION = '+'
DATE = DATE1
FACTORY_CALENDAR_ID = GL_FABKL
IMPORTING
DATE = DATE2
FACTORYDATE = FDAY
WORKINGDAY_INDICATOR = INDICATOR
EXCEPTIONS
DATE_INVALID = 01
DATE_AFTER_RANGE = 02 <<<<<<
DATE_BEFORE_RANGE = 03
FACTORY_CALENDAR_NOT_FOUND = 05
CALENDAR_BUFFER_NOT_LOADABLE = 06.
IF SY-SUBRC > 0.
CASE SY-SUBRC.
WHEN 01. MESSAGE E060 WITH DATE1.
WHEN 02. MESSAGE E062 WITH DATE1. <<<<<
DATE_AFTER_RANGE situation in the function module should be
CALL 'CAL_CONVERT_DATE_TO_FDATE'
ID 'FCID' FIELD FACTORY_CALENDAR_ID
ID 'COPT' FIELD CORRECT_OPTION
ID 'FDAY' FIELD C_FDAY
ID 'ABSD' FIELD C_ABS.
......
WHEN 4.
RAISE DATE_AFTER_RANGE. <<<<<<<<
In your case , sy-subrc should be 4.
So I think the reason of this error must be
1) The calender used in this case is not cover 05/02/2020.
=> Please extend the calender setting in T-cd:SCAL
2) Caluculation of 05/02/2020 is not correct.
In this case, I'm not sure the root cause because too many case
can be error cause.
In this case, you should set watch point to field GKDAY.
Best regards.
Keiichiro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi BK
You must have a reservation with a requirement date outside your factory calendar. I assume you are using PM orders,so search for orders with a start date that exceeds your factory calendar.
You can simply remove the material reservation from the order or change the
scheduled date for the order. You can also change your factory calendar usinf SCAL tcode.
Regards
Yogesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.