Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI for iw42

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.

Not what you were looking for? View more on this topic or Ask a question