Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Notification IW21/IW22 validations

Former Member
0 Kudos

Hi,

In Notification Screen in Create-IW21/Change-IW22 Mode for some notification types we can see one window right of the SCreen called ACTION BOX.

NOw as per my requirement i need to keep that ACTION BOX Window as is for IW21[CREATE MODE] for any Notification Type.

But for IW22 that ACTION BOX Window need to be hidden how can i do the same!

Can anybody help me in this regard.

Thanks in advance.

Thanks & Regards,

Prasad.

17 REPLIES 17

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I believe that this screens are totally configurable in SPRO. I would suggest that you have your PM guy take a look.

Regards,

Rich Heilman

0 Kudos

HI,

Actually in that IW21 screen we have added one Frame with several fields using User Exits.

SO is it possible to write some code in that EXIT part and Hide that ACTION BOX Window for IW22 Transaction.

Thanks,

Prasad.

0 Kudos

You would have to do it in the PBO of the screen. If you are allowed to put some fields on the screen, then SAP should have allowed a place for you to put PBO code.

WHen you find the PBO user exit, you will need to do something like this.


if sy-tcode = 'IW22'.
loop at screen.
if screen-name = 'ACTION_BOX'.
screen-input = '0'.
modify screen.
endloop.
endif.

Regards,

Rich Heilman

0 Kudos

Hi,

Have you tried using SHD0? ie create a Transaction Variant for IW22..

Regards,,

Suresh Datti

0 Kudos

The previous code will make it not ready for input, if you want to hide it altogether, then you can do this.



if sy-tcode = 'IW22'.
loop at screen.
if screen-name = 'ACTION_BOX'.
screen-invisible = '1'.
screen-active    = '0'.
modify screen.
endloop.
endif.


Regards,

Rich Heilman

0 Kudos

Hi,

I am not able to find exact <b>Screen-Name</b> for the <b>ACTION BOX</b> Window can anybody tell me what exactly is the <b>ACTION BOX</b> Screen Name.

Can anybody tell me what exactly is the SCREEN-NAME.

So that i can use in code.

Thanks for your replies.

Thanks & Regards,

Prasad.

0 Kudos

SCREEN is an internal table that is a part of the ABAP runtime, you can loop at this internal table an change attributes of the fields in the current screen. You must find the name of the action box, go to the transaction, put your cursor on the action box, and hit F1. Then hit the tools icon, you will see the screen name there. Use this screen name in the code.

Regards,

Rich Heilman

0 Kudos

Hi,

In The ACTION BOX Window i have one Ceate Button - CREATE MATERIAL.

But on Both ACTION BOX and CREATE MATERIAL i am not able to get F1 Help.

Can anybody give solution!

Thanks,

Prasad.

0 Kudos

Is ACTION BOX not an input field? You must turn FIELDS on/off. What exactly is ACTION BOX.

Regards,

Rich Heilman

0 Kudos

Hi,

In IW21/IW22 for some Notification Types it will be diaplyed.

ACTION BOX is a WINDOW placed on right side of IW21/22 screen for certain notification types.

In that window i am having one field CREATE MATERIAL as button like field if we hit on that new material will be created.

BUt i am not abe to find exact Screen Name for them.

Thanks,

Prasad.

0 Kudos

Is this action box, a docking container? Can you extent this box to the left of the screen? If so, then this is a docking container.

Regards,

Rich Heilman

0 Kudos

Hi Rich,

You are right i am able to extend it to left part of screen. SO it's a D.Container.

Can you sujjest anything here to hide it for IW22 Tran!

Thanks,

Prasad.

0 Kudos

HI,

Can anybody give the solution for the above posted issue!

It is a dock container only but i am not able find it's screen name.

This Action-Box will be showed only for some Notification Types.

Thanks in advance.

Thanks & Regards,

Prasad.

0 Kudos

Prasad,

A docking container will not have a screen element associate to it unlike a custom container which needs to have custom control on the screen.

Regards,

Ravi

0 Kudos

Hi Ravi,

Then is there anyway by which i can make that ACTION BOX DOCKING CONTAINER not to be displayed on IW22 transaction at All. And same should be displayed in IW21.

Is there any possibility!

Thanks,

Prasad.

0 Kudos

Hi,

In standard code that WINDOW is called as

<b>CALL SUBSCREEN 'ACTION-BOX'</b> one time

<b>CALL SUBSCREEN 'ACTION-BOX' INCLUDING 'SAPLQM07' G_ACTIONBOX.</b>

Where <b>G_ACTIONBOX = 3000</b> screen.

Can anybody tell me how can i hide that ACTION BOX in case of IW22.

Thanks,

Prasad.

0 Kudos

Prasad,

If it can be done it has to be only through the configuration, I will suggest to talk to the concerned functional person.

Regards,

Ravi

Note : please mark the helpful answers