on 05-27-2015 11:09 AM
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
Dear,
I hope it is possible to set mandatory of custom filed in screen variant using transaction SHD0.
Regards,
Pardhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
Hi Ramesh,
Check this user Exit IWOC0002
Refer below link for more exit
PM-CS User Exits - ERP Operations - SCN Wiki
Regards
Terence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.