Skip to Content
avatar image
Former Member

Order Techo

Dear experts

We have enhanced a custom field in the Maintenance Order screen. Now while doing techo we want an error message if that field is empty. Any exits or badi for this?

Please suggest me.

I want this error in IW32, IW38 also.

Thanks in advance

Ramesh

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • May 27, 2015 at 10:12 AM

    Hi Ramesh,

    Check this user Exit IWOC0002

    Refer below link for more exit

    PM-CS User Exits - ERP Operations - SCN Wiki

    Regards

    Terence

    Add comment
    10|10000 characters needed characters exceeded

  • May 27, 2015 at 11:02 AM

    Hello ramesh,

    Put this code in include ZXWO1U03 (user-exit IWO10004) and see your job is done.

    IF CAUFVD_IMP-ZZCUSTFLD2 IS INITIAL.
    MESSAGE: '''Customer Field2'' can not be empty.' TYPE 'E' DISPLAY LIKE 'I'.
    ENDIF.

    Note:

    Replace ZZCUSTFLD2 with your customer field name of Enhancement tab. And 'Customer Field2' in the message with its Display name in the Order Enhancement tab..

    In the Order, as soon as you click on the icon with the above field blank, you will get this error pop-up.

    This works for both IW38 and IW32.

    Good luck

    KJogeswaraRao


    Capture.JPG (15.4 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • May 27, 2015 at 12:26 PM

    Dear,

    I hope it is possible to set mandatory of custom filed in screen variant using transaction SHD0.

    Regards,

    Pardhu

    Add comment
    10|10000 characters needed characters exceeded