Application Development and Automation 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: 
Read only

capturing values entered in selection screen into one internal table

Former Member
0 Likes
2,222

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..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,555

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..

7 REPLIES 7
Read only

Former Member
0 Likes
1,556

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

Read only

0 Likes
1,555

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.

Read only

0 Likes
1,555

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

Read only

0 Likes
1,555

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.

Read only

Former Member
0 Likes
1,555

Hi,

Use this FM <b>DYNP_VALUES_READ</b> to read selection-screen values.

Regards,

Balavardhan.k

Read only

Former Member
0 Likes
1,555

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

Read only

Former Member
0 Likes
1,555

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