2007 Apr 17 11:00 AM
hi ,
i need to capture all the values entered in the selection screen into one internal table as i need to update my ztable using the values in the internal table.pls help me.thanx in advance..
2007 Apr 17 11:02 AM
Hi Rahul ,
You can use the event AT SELECTION SCREEN , to get all the values entered in the selection screen and then store these values in your internal table.
Regards
Arun
hi ,
i need to capture all the values entered in the selection screen into one internal table as i need to update my ztable using the values in the internal table.pls help me.thanx in advance..
2007 Apr 17 11:02 AM
Hi Rahul ,
You can use the event AT SELECTION SCREEN , to get all the values entered in the selection screen and then store these values in your internal table.
Regards
Arun
2007 Apr 17 11:07 AM
hi arun,
thanx a lot for the reply.can u help me how to code. in my selection screen i am netering bukrs =001,system id = 0040 and original company code = 06547.
2007 Apr 17 11:19 AM
Hi Rahul ,
Are these selection screen elements parameters or select options.
If they are pareameters then the code will look like this
AT SELECTION-SCREEN
IF not bukrs is initial.
wa-bukrs = bukrs.
ENDIF.
IF not system_id is initial.
wa-system_id = system_id .
ENDIF.
IF not company_code is initial.
wa-company_code = bukrs.
ENDIF.
append wa to it_1.Regards
Arun
2007 Apr 17 11:19 AM
Hi Rahul,
bukrs =001,system id = 0040 and original company code = 06547.
as u know the selection screen parameters, u prepare an internal table of that kind like..
data:
begin of itab occurs 0,
value(20)
parameter(20), " For identifying type of parameter
end of itab.
<b>at selection-screen</b>.
itab-value = S_bukrs.
itab-parameter = 'S_bukrs'.
append itab.
itab-value= p_system_id.
itab-parameter = 'p_system_id'.
append itab.
2007 Apr 17 11:02 AM
Hi,
Use this FM <b>DYNP_VALUES_READ</b> to read selection-screen values.
Regards,
Balavardhan.k
2007 Apr 17 11:04 AM
U CAN CAPTURE THE VALES IN SELECTION SCREEN.
EX. ABC IS UR FIELD..
THEN ABC-LOW GIVES LOWER VALUE,
ABC-HIGH HIGER VALUE
AB-SIGN
ABC-OPTION...
TAKE THESE VALUES N UPADATE AS U REQUIRED...
REGARDS
2007 Apr 17 11:10 AM
Hai
In AT SELECTION SCREEN.
1) use DYNP_VALUES_READ function module
2) Or Loop at screen then captur all values.( 1 is best)
**Please reward suitable points***
With Regards
Navin Khedikar