Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10446

Re: Need to remove field 'Assembly' from notification creation screen(Transaction code IW21).

$
0
0

P R

Amol is right. This field is a part of OIAO and not the part of OIAL.

abcd.JPG

So you can hide this field by Hide button. If you have influencing condition Notification type then there is no issue.


----------------------------------------------------------------------------------------------------------------------------------------

But if you have Condition on any field other than Notification type or multiple conditions then you may have to go for user-exit with basic code like below.

 

For example:

You need prevent usage of this field only when the Notification type is 'M2' and Planner group is 'ABC' then this can be possible through user-exit only. Sample code below for such case to be used in the include ZXQQMU20 of function EXIT_SAPMIWO0_020 (user-exit QQMA0014).

IF i_viqmel-bautl IS NOT INITIAL and i_viqmel-qmart = 'M2' and i_viqmel-ingrp = 'ABC' .

   MESSAGE: 'Notification can not be created on ''Assembly field''' TYPE 'E'.

ENDIF.

After this, whenever user tries to Save a Notification under these conditions with the Assembly field filled, the Notification would Refuse to Save by throwing this error message in the Status bar.

err.JPG

When he vacates the Assembly field and then clicks on Notification save, then it will be Saved.

-----------------------------------------------------------------------------------------------------------------------------------------

 

Regards

KJogeswaraRao


Viewing all articles
Browse latest Browse all 10446

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>