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

Dynamic Selection Screen fields and values

Former Member
0 Likes
444

Hello,

I have copied CC07 transaction to Zcc07 transaction .

In the report i want to fetch the dynamic selection screen fields and values.

can any body tell is there any function module or bapi to fetch the fields and values in dynamic selection screen?

Regards

Srinivas

1 REPLY 1
Read only

former_member214857
Contributor
0 Likes
391

Hi Srinivas

You can use code below to handle data for dynamic selection

DATA:
  mytable TYPE REF TO DATA.

PARAMETERS:
   p_table TYPE DD02L-TABNAME.


FIELD-SYMBOLS:
  <fs1> TYPE ANY TABLE,
  <fs2> TYPE ANY.


START-OF-SELECTION.

  CREATE DATA mytable TYPE (p_table).
  ASSIGN mytable->* TO <fs2>.

  SELECT * FROM (p_table)
    INTO <fs2>.


  ENDSELECT.

Best regards