‎2006 Mar 02 2:53 PM
I understand that, this can be done by 'loop at screen ' at 'At selection-screen output'.
But i have to toggle the status description as i change the status code which is a parameter on selection -screen.
I have some coding logic for input validation for the status field at the selection screen (AT SELECTION-SCREEN on p_stat, and if the input is valid then i have to pouulate its description on the screen.
Please suggest the approach.
Regards
Alok
‎2006 Mar 02 3:03 PM
Hi
use AT SELECTION-SCREEN OUTPUT event
write code in this event. and also try to USER-Command
this may be helpful.
regards
vinod
‎2006 Mar 02 3:08 PM
You can set up a text field like:
parameters:
p_ccgrp like grpdynp-name_coall obligatory "CCTR Group Name
memory id hna.
selection-screen comment 53(40) comm01.
Then populate comm01 at selection-screen output.
Rob
‎2006 Mar 02 3:14 PM
validate ur field AT SELECTION-SCREEN OUTPUT andchange ur status description (if valid)there using screen table.
‎2006 Mar 02 3:35 PM
Hi alok,
Check this code.,..
(Copy+paste) first it will display Sales Order, after you choose the other radio button it will show material number.
REPORT ZTEST_SEL_TEXT.
tables: vbak,mara.
selection-screen begin of block b1.
selection-screen begin of line.
SELECTION-SCREEN COMMENT 1(31) v_text.
select-options: matnr for mara-matnr.
selection-screen end of line.
parameters: r1 radiobutton group g1 default 'X' user-command ABC,
r2 radiobutton group g1.
selection-screen end of block b1.
at selection-screen output.
if r1 = 'X'.
V_TEXT = 'Sales Order Number'.
endif.
if r2 = 'X'.
V_TEXT = 'Material Number'.
endif.Regards
vijay