cancel
Showing results for 
Search instead for 
Did you mean: 

Order Techo

former_member186967
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

pardhreddyc
Active Contributor
0 Kudos

Dear,

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

Regards,

Pardhu

jogeswararao_kavala
Active Contributor
0 Kudos

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

former_member186967
Participant
0 Kudos

Hi Jogeswara Rao

We have added this field in the z table. so we have not added this in the structure CAUFVD.

Please suggest me.

Ramesh

jogeswararao_kavala
Active Contributor
0 Kudos

Now you need to give more details about how you've added and to which screen you've added along with pictures and the method of having these fields into Order. When you did not adopt the user-exit way of adding fields then it becomes pure technical matter for which probably you might have to go to ABAP space OR the person who did this work (adding fields from Z-table to the Order) should be able to do your requirement. Do not know your situation.

Anyway, post the details (all technical details).

former_member186967
Participant
0 Kudos

Added the same field in structure and tried. Popup is showing but even after entering the data in the field and doing techo the error is showing.

Ramesh

jogeswararao_kavala
Active Contributor
0 Kudos

I do not think with this much inputs you would get any meaningful replies.

MTerence
Active Contributor
0 Kudos

Hi Ramesh,

Check this user Exit IWOC0002

Refer below link for more exit

PM-CS User Exits - ERP Operations - SCN Wiki

Regards

Terence