‎2006 Aug 10 1:21 PM
Hi ,
My requirement is to put the description ( in blue colour ) of the input field on the selection screen on the right handside of the field after the user enters a certain value.
How do i go abt it..Plz help .
Thanx nd regards,
Srestha
‎2006 Aug 10 1:26 PM
Hi,
Check the demo
<b>demo_at_selection_screen_pbo
demo_sel_screen_select_comment</b>
Regards
vijay
‎2006 Aug 10 1:26 PM
Hi,
Check the demo
<b>demo_at_selection_screen_pbo
demo_sel_screen_select_comment</b>
Regards
vijay
‎2006 Aug 10 1:28 PM
Hi,
Check this sample code.
REPORT demo_at_selection_screen_pbo.
PARAMETERS: test1(10) TYPE c MODIF ID sc1,
test2(10) TYPE c MODIF ID sc2,
test3(10) TYPE c MODIF ID sc1,
test4(10) TYPE c MODIF ID sc2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = '1'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
IF screen-group1 = 'SC2'.
screen-intensified = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.Regards
vijay
‎2006 Aug 10 1:34 PM
Hi Vijay ,
Thanx 4 da solutions..i m able 2 get da text in blue but still not able to display the description for the fields...cud u plz sggest some way..
Thanx nd regards,
srestha
‎2006 Aug 10 1:39 PM
can you show your code, easy to fix the problem.
Regards
vijay
‎2006 Aug 10 1:48 PM
Hi Sreshta,
i guess you are missing the <b>MODIF ID ABC</b> for the parameters. it is easy to identify if you can show the code.
Regards
vijay
‎2006 Aug 10 1:55 PM
Hi ,
i have included the modif id....the requirement is to display the description of the field the user has entered..on the right handside of the input box...initially there shud not b any value there....after the user has entered somethin the corresponding desc shud come...
thnx and regards,
Srestha
‎2006 Aug 10 1:36 PM
HI,
check this example report it is doing the same.
<b>REPORT zwa_test1 line-size 132 line-count 60.
TABLES: fmfincode.
SELECTION-SCREEN BEGIN OF LINE.
selection-screen comment (11) text-004.
parameters : fcode type fmfincode-fincode .
parameters: fc_desc(50) MODIF ID FC visible length 40 default 'abc'.
SELECTION-SCREEN END OF LINE.
AT selection-screen output.
LOOP at screen .
IF screen-group1 = 'FC'.
Screen-input = 0.
SCREEN-INTENSIFIED = 1.
Modify screen.
endif.
ENDLOOP.
at selection-screen on fcode.
SELECT SINGLE beschr FROM FMFINT INTO fc_desc
WHERE FINCODE = fcode.</b>REgards,
HRA
Message was edited by: HRA
Message was edited by: HRA
‎2006 Aug 10 1:50 PM
Hi ,
the code was very helpful but only issue now is dat the input/output box outlines should not b present..is dere any way of doin dat?
Thanx nd regards,
srestha
‎2006 Aug 10 1:55 PM
what outlines. can you little more clear on this.
Regards
vijay
‎2006 Aug 10 2:31 PM
hi,
try this code.
the description of material gets displayed when you press enter after giving some input to material
report ztest.
data: v_maktx like makt-maktx.
selection-screen begin of line.
selection-screen comment 1(5) text-001.
parameters : matnr like mara-matnr.
selection-screen comment 30(10) v_maktx1 modif id sc1.
selection-screen end of line.
at selection-screen output.
select single maktx
from makt
into v_maktx
where matnr = matnr.
if sy-subrc = 0.
v_maktx1 = v_maktx.
endif.
loop at screen.
if screen-group1 = 'SC1'.
screen-intensified = '1'.
modify screen.
endif.
endloop.
Regards,
Sailaja.