‎2006 Aug 28 5:33 AM
Hi All,
I have one issue regarding selection-screen validation/modification.
Actual issue is i have 2 frames in my selection-screen.
1st frame contains 2 Radio Buttons.
2nd frmae contains 10 selction-screen fields.
Now when i check 1st radio button all the fields will be displayed. Then if i check/click <b>2nd</b> Radio Button some fields & corresponding labels will be hidden, This operation is done.
Now my actual issue is when i hit on 2nd radio button beacuse some fields are hiddden it is creation blank line between some fields because of hiding, now what i want is i want those blank lines to be deleted. Below field should go one line up.
Can anybody solve this issue!
Thanks in advance.
Thanks & Regards,
Prasad.
‎2006 Aug 28 5:35 AM
check in ur code u used
loop at screen.
<b>screen-invisible = '0'/1b]--->in place of this used
screen-active = '0'/1
or
screen-input = 0/1.
‎2006 Aug 28 5:39 AM
Hi,
I have used code like below:
LOOP AT SCREEN.
IF SCREEN-NAME = 'S_ORDTYP-LOW' OR SCREEN-NAME = 'S_ORDTYP-HIGH'.
SCREEN-ACTIVE = 1.
%_S_ORDTYP_%_APP_%-TEXT = 'Order Type'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Prasad.
‎2006 Aug 28 5:40 AM
HI,
I want that line to be hidden but it should not show blank line.
Thanks,
Prasad.
‎2006 Aug 28 5:42 AM
Hello Prasad,
In the at selection screen of Radio button 2.
<b>LOOP AT SCREEN.
IF SCREEN-NAME = 'HIDDEN FIELDS'
SCREEN-INPUT = '1'.
SCREEN-INPUT = '0'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '0'.
MODIFY screen.
ENDIF.
ENDLOOP.</b>
If useful reward.
Vasanth
‎2006 Aug 28 5:43 AM
Hi,
Use the following..
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
Also one suggestion instead of using low and high in the screen field name use modif id.
Ex.
select-options: so_matnr for mara-matnr modif id ABC.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
THanks,
Naren
Message was edited by: Narendran Muthukumaran
Message was edited by: Narendran Muthukumaran
‎2006 Aug 28 5:53 AM
Hi,
Hiding of fields when we select 2nd radio button is already in place.
What i want is suppose i have <b>3</b> fields <b>Order Type, Delivery Type, Order Number</b> on selction-screen if i hit on 1st radio button Delivery Type Field need to be hidden that is already in place, Now because of this hiding one blank line will be created <b>B/N Order Type & Order Number</b> fields i don't want that blank field to be displayed.
I want Order Type & Order Number to be displayed one after other without any blank line(s) B/N them.
Now if i choose 2nd radio button i need to hide Order Type Field that is already done.
Now what i want is Delivery Type & Order Number fields need to move 1 line up covering Order Type field.
I think i am clear on my issue now.
Thanks for all your replies.
Thanks,
Prasad.
‎2006 Aug 28 5:59 AM
HI,
If i use all 3 options INVISIBLE, INPUT, ACTIVE also it is still showing blank line.
Can anybody solve this issue!
I need to remove the Blank Line.
One more issue is agianst Blank line when hiding i am seeing <b>Multiple Selection Button</b> i want this to be hidden also.
Can any body solve above issues!
Thanks in advance.
Thanks & Regards,
Prasad.
‎2006 Aug 28 5:56 AM
‎2006 Aug 28 6:01 AM
Hi,
Please check this example..
select-options: so_matnr for mara-matnr modif id ABC.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INVISIBLE = '1'.
SCREEN-ACTIVE = '1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
THanks,
Naren