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

how to use table field values as dynamic parameters on selection screen

navdeep_malik
Explorer
0 Kudos
586

Hi,

I need help on dynamic selection parameters.

I need to display no. of parameters from the fields of a database table.

Basically i want to pass field values of a table to selection screen and we can use those values as parameter on selection screen.

If there are 10 entries in a table field( say field is field_name and entries are bukrs,kunnr etc.)

I need to display as many parameters on screen as many values are there in field_name( In this case it is 10)

SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.

PARAMETERS:

p_bukrs(5) ,

p_kunnr(5) ,

-

-

-

-

SELECTION-SCREEN END OF BLOCK b2.

Thanx

2 REPLIES 2
Read only

Former Member
0 Kudos
319

Hi

Just try this link.

[https://forums.sdn.sap.com/click.jspa?searchID=22229098&messageID=6707530]

This will solve your problem.

Regardds

Hareesh

Edited by: Hareesh Menon on Feb 12, 2009 4:23 PM

Read only

Former Member
0 Kudos
319

Hi,

You can create it using Dynamic Program.Check this link below.

[Creating Dynamic Programs|http://help.sap.com/saphelp_46c/helpdata/en/9f/db996135c111d1829f0000e829fbfe/content.htm]

Hope this might help you.

Thanks,

Prashanth