on 2016 Aug 01 9:09 AM
I need to make the fields Cost center and Functional Location mandatory for this transaction only. Please advise.
Thanks.
Hi Fayaz,
You can make it mandatory by Field selection of Oder for Location & Account Assignment data. as below.
Before:
Configuration to field mandatory
After Configuration
But this functionality will not Work untill unless you will go to Location Tab of Order.
For Customize warning for mandatory fields You have to work with Technical Consultants.
For this Follow Jogeswara Rao K Sir. post
Thanks,
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just for information to save Time and Efforts.
Regards
KJogeswaraRao
Hello,
Thanks for the solutions provided. Issue has been resolved. I have gone for the Abap update.
Regards,
Fayaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fayaz
Ask your ABAPer to put the following code in the include ZXWOCU07 of F/Exit EXIT_SAPLCOIH_009 user-exit IWO10009 .
IF sy-tcode = 'IW81'.
IF caufvd_imp-tplnr IS INITIAL .
MESSAGE: 'Please fill Functional Location' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
IF caufvd_imp-kostl IS INITIAL .
MESSAGE: 'Please fill the Cost center field in Location tab' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
IF caufvd_imp-kostv IS INITIAL .
MESSAGE: 'Please fill the Cost center field in Additional Data tab' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
ENDIF.
Remove the code from the above which is not relevant to you.
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.
Hi Fayaz,
Share the screenshot of the fields you want to make mandatory.
Basically, if you are trying to make mandatory in location tab or any other tabs, then you need to ask your abaper to code a logic to check. Using field selection system will not check whether the field is mandatory during save.
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 |
---|---|
97 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.