Skip to Content
avatar image
Former Member

Actual Date is in Future in WO time confirmation

We are facing an issue where if the time confirmation if done from FIORI throws an exception 'Actual Date is in Future'. however for the same WO if we do the confirmation using IW41, the order gets confirmed. Intially for both FIORI and IW41 we convert users time time into plant's time zone. We checked during debugging and found that from FIORI it uses BAPI_ALM_CONF_CREATE where in the FM CO_RU_CONFIRMATION_CHECK is called. This FM is also called from IW41, however at that time it passes values in the table parameter namtab which describes the validation to be done on certain input fields. This does not include the end date because of which the PAI module to check date is not called and order gets confirmed. While from FIORI, the namtab is passed blank which means all the checks in TCORD table will be performed. So for the end date it checks if the converted time is greater than the sy-datlo and sy-timlo, then it throws an error if found to be greater. Could someone please help on how this can be resolved?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers