10-14-2008 8:53 AM
Hi Experts,
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)
Cause (AFRU-GRUND)
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
Method: AT_SAVE
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,
Ashwin.
10-14-2008 8:58 AM
10-14-2008 9:13 AM
Hi Kiran,
Thank you.
FYI,
I know the BADi.
But in that BADI I did not found the parameters.
I am not able to validate the Duplicate entries.
Thanks and Regards,
Ashwin