on 10-09-2015 10:10 AM
Dear Gurus,
I Want to make Functional Location or Equipment mandatory for Notification creation.
Whenever user is creating Notification user have to Mentioned Equipment or Floc in Notifcation. if he dont put system should not allow to create notification.
Regards
Sandeep
Hello SANDEEP,
As per my experience the best way is to use user-exit QQMA0014 for this purpose. I have the following simple code for the very same purpose as of yours in the include ZXQQMU20 of this exit.
IF i_viqmel-tplnr IS INITIAL AND i_viqmel-equnr IS INITIAL.
MESSAGE 'Please Enter either Function location or Equipment.' TYPE 'E' DISPLAY LIKE 'I'.
ENDIF.
This throws the following error at the time of Notification Save in case both Equipment and Functional Locations are blank in a Notification, and prevents from Notification Creation.
IF you want to confine this to particular Notification types, say 'M2' and 'M3'only (often this will be the requirement), then have the above code between these two lines.
IF i_viqmel-qmart = 'M2' OR i_viqmel-qmart = 'M3'.
*<Above code here>
ENDIF.
This is a time-tested code and works perfectly and a 2min job for your ABAPer.
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.
SANDEEP,
With a doubt in mind, I have just gone through your content. Almost all discussions since last 18 months from you are kept open. Confirming that you are not very well conversant with the need and the procedure of Closing threads , this is to suggest that please keep a habit of timely closing the threads including the present one.
Regards
KJogeswaraRao
Hi Sandeep,
Use OIAL and do the field selection, influence based on Notification Type.
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 |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.