on 12-17-2014 10:29 AM
Hi friends,
Our requirement is to maintain (using pop up) OR mandate the cause code and cause text field during TECO.
suggest some leads to enter cause code as pop up or to achieve warning message during TECO.
Regards
Varun.M
Try the code given below in user-exit IWO10004. Here when user tries to TECO an Order without filling URCOD and URTXT the following error pops up.
Error pop-up in case of blank Cause code
Similar pop-up will be there in case of blank Cause text also.
Now the code
DATA: LV_URCOD TYPE VIQMUR-URCOD,
LV_URTXT TYPE VIQMUR-URTXT.
SELECT SINGLE URCOD FROM VIQMUR INTO LV_URCOD
WHERE QMNUM = CAUFVD_IMP-QMNUM.
IF LV_URCOD IS INITIAL.
MESSAGE: 'Please fill the Cause code before TECO.' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
SELECT SINGLE URTXT FROM VIQMUR INTO LV_URTXT
WHERE QMNUM = CAUFVD_IMP-QMNUM.
IF LV_URTXT IS INITIAL.
MESSAGE: 'Please fill the Cause text before TECO.' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
Note:
After the error pop-up, user will fill the Cause code and/or Cause text and then Save the Order/Notification, come again to Order (IW32) to TECO.
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The mandatory settings through OIAL might not be acceptable to you, because you needed this mandatory feature at the time of TECO. Now the user-exit IWO10004 comes into picture.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
We have done a similar requirement using exit IWOC0002. Currently we have developed this exit to display warning message, but you can also make it has error message.
Regards
Terence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Please try use User Exit QQMA0014 Or BADI-NOTIF_EVENT_SAVE
Br
Rakesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Varun,
It should be possible to mandate these fields with user-exit QQMA0014. Have you tried? Even this looks possible through Notification field settings through Influencing button (Notification type) in Tcode OIAL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
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.