2007 Sep 08 2:59 PM
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 .
2007 Sep 08 3:21 PM
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
2007 Sep 08 4:26 PM
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.
2007 Sep 08 5:08 PM
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
2007 Sep 14 2:28 PM
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.