badi for iw42
My Reqirement is for TCode IW42.
When I enter Start date , Start time, Finish Date, Finish Time and cause same as the frist row and Save it should display warning message like POP UP. And The Table is like table control.
At 'Save' event, system will check if there is a duplicate entry for the following combination of fields.
Work Start Date (AFRU-ISDD)
Work Start Time (AFRU-ISDZ)
Work Finish Date (AFRU-IEDD)
Work Finish Time (AFRU-IEDZ)
If duplicate entry exists, the following error message should be given.
"Duplicate entries exists. Please make the necessary corrections before saving confirmation."
Implementation name: FCO_CREATE_DOCUMENT
Implementation short text: Failure Cost Processing: Write Failure Cost Document(PP-SFC)
Definition name: WORKORDER_CONFIRMATION
But When I search There are no parameters found in Badi. the
As I could Display only warning message and after clicking OK.
both the rows(1st and 2nd) are dissappering but as per requirement
when I click OK I should not happen. The user should remove duplicate entry.
I really appreciate you help.
Thanks and Regards,