Application Development 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: 

How to pass values in dynamic fields in LX03

Former Member
0 Kudos

HI ,

i want to pass values for dyanmic fields in lx03 program by calling this in my own program through call transction or submit report .

4 REPLIES 4

Former Member
0 Kudos

LX03 is the report program so you have to use Submit report.

See the simple example :

REPORT ZTEST_98 .

DATA: t_param LIKE rsparams OCCURS 10 WITH HEADER LINE.

parameters p_LGNUM like lagp-lgnum obligatory.

start-of-selection.

t_param-selname = 'S1_LGNUM'.

t_param-kind = 'P'.

t_param-low = p_lgnum.

APPEND t_param.

*-- Period

SUBMIT RLS10030 VIA SELECTION-SCREEN

WITH SELECTION-TABLE t_param

AND RETURN.

Just press F1 on submit and you get good documentation.

Thanks

Seshu

0 Kudos

Seshu,

Thanks for the reply , but the issue is to pass the values in dynamic fields .

They don't have standard field name . it will change as per your selection in screen .

in this case , how can we pass data.

Regards,

Prakash.

0 Kudos

let me say one example :

I have two selection-screen ,here depend upon radio button selection-screen will active

suppose first selection screen i have P_lgnum ,second selection-screen i have s_lgnum.

now you need to keep all possible if conditions :

if not p_lgnum is initail.

t_param-selname = 'S1_LGNUM'.

t_param-kind = 'P'.

t_param-low = p_lgnum.

APPEND t_param

endif.

if not s_lgnum is initial.

t_param-selname = 'S1_LGNUM'.

t_param-kind = 'P'.

t_param-low = s_lgnum.

APPEND t_param

endif.

you have to perform as like above and there is no other logic.

Thanks

Seshu

0 Kudos

Hi,

the selection-screen field name is dynmic name ex:%%DYN001-LOW.

it will change to :%%DYN002-LOW etc according your selection on the dyanmic screen. This is LDB program .

can we pass the data in this case ?

Thanks in advance .

Regards,

Prakash.