‎2008 Apr 18 10:45 AM
Hi all,
i have two programs with selection-screens.
Scenario:
The user triggers only one program and the other one should be triggered in background.
So i try to pass the values from the one selection-screen to the selection-screen of the second program like that:
submit <program> with p_param = p_param
and exit.
But now i can see in the second program that the value looks like the following:
IEQIEQ<value>
How can i avoid that the sign and option parameter is inserted twice?
regards
‎2008 Apr 18 10:54 AM
hi,
1.use like this:
SUBMIT program02 USING SELECTION-SCREEN '1000'
WITH S_BUKRS IN R_BUKRS
WITH S_CTA IN R_CTA1
WITH S_VTO IN R_VTO
AND RETURN.
2.SUBMIT rm07mlbs WITH matnr IN s_matnr
WITH werks IN s_plant
WITH lgort IN s_lgort
WITH charg IN s_batch
WITH pa_hsq = c_space
WITH pa_flt = c_x
WITH novalues = c_x
WITH nozero = c_x
WITH xmchb = c_x
AND RETURN .
Regards,
SHIVA(reward if helpful).
‎2008 Apr 18 10:48 AM
Hello Wolfgang
If the selection criteria are select-options then use the following coding:
submit <program> with o_sel_A in o_sel_B[].
and exit.
Regards
Uwe
‎2008 Apr 18 10:54 AM
hi,
1.use like this:
SUBMIT program02 USING SELECTION-SCREEN '1000'
WITH S_BUKRS IN R_BUKRS
WITH S_CTA IN R_CTA1
WITH S_VTO IN R_VTO
AND RETURN.
2.SUBMIT rm07mlbs WITH matnr IN s_matnr
WITH werks IN s_plant
WITH lgort IN s_lgort
WITH charg IN s_batch
WITH pa_hsq = c_space
WITH pa_flt = c_x
WITH novalues = c_x
WITH nozero = c_x
WITH xmchb = c_x
AND RETURN .
Regards,
SHIVA(reward if helpful).
‎2008 Apr 18 10:56 AM
Hi Wolfgang,
data : seltab type table to RSPARAMS.
seltab-sign = 'I'. (or E)
seltab-option = 'EQ'.
seltab-low = ..
seltab-hight = ..
append seltab.
(Alternatively if seletion screen of called program and calling program are same you can use Function module RS_REFRESH_FROM_SELECTOPTIONS to read all parameters of your current program)
SUBMIT <progname> WITH SELECTION-TABLE seltab
Regards,
Mohaiyuddin
‎2008 Apr 18 10:58 AM
Hi,
You can pass the selection screen parameters using the structure RSPARAMS.
Fill a structure (ex. sel_tab) of type RSPARAMS.
SUBMIT <program name> with sel_tab.
Reward points if helpful.
Thanks and Regards,
Lakshmi.