‎2010 Aug 05 12:40 PM
Hi,
I would like to know the syntax for
Submit with selection-screen for select-options multiple values for the field so_obj_n
i am currently using a statement
submit ZRSUNISCAN_FINAL_UC using SELECTION-SCREEN '1000'
with so_obj_n = 'YCRM01_REP_0590235'
with p_onlynu = space
with p_onlyta = space
with p_notmp = 'X'
with p_shpr = 'LSVIM*'
with p_view = 'X'
with p_upload = 'X'.
i would like use so_obj_n for 'Y' and 'Z' and 'mp9*' etc
<removed by moderator>
regards
vishnu
Edited by: Thomas Zloch on Aug 5, 2010 2:12 PM
‎2010 Aug 05 12:43 PM
Search on RSPARAMS, the struture to pass with Submit statement.
Regards
Mishra
‎2010 Aug 05 12:43 PM
You must create a SELECT-OPTION Instead of PARAMTER in SUBMITED Program..
And in the calling program you should fill one IT with HEADER LINE with structure:
Sign, option, low, high...
Values:
SIGN = 'I'
OPTION = 'EQ'
LOW = 'M4*'.
etc..
‎2010 Aug 05 1:45 PM
Hi,
This is not working
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'Y*'.
APPEND range_line TO range_tab.
range_line-sign = 'I'.
range_line-option = 'EQ'.
range_line-low = 'Z*'.
APPEND range_line TO range_tab.
range_line-sign = 'I'.
range_line-option = 'EQ'.
range_line-low = 'MP9*'.
APPEND range_line TO range_tab.
submit ZRSUNISCAN_FINAL_UC using SELECTION-SCREEN '1000'
with SELECTION-TABLE range_tab
with p_onlynu = space
with p_onlyta = space
with p_notmp = 'X'
with p_shpr = 'LSVIM*'
with p_view = 'X'
with p_upload = 'X'.
‎2010 Aug 05 1:54 PM
Hi,
Try this,
Instead of rspar_line-option = 'EQ'.
Use rspar_line-option = 'CP'.
Hope this works.
Thanks,
Venkat.
‎2010 Aug 05 1:08 PM
Hi Vishnu,
Here is one e.g of using Submit multiple records from internal table :
DATA: rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab.
rspar_line-selname = 'NOUPD'.
rspar_line-kind = 'P'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = ' '.
APPEND rspar_line TO rspar_tab.
clear rspar_line.
rspar_line-selname = 'SOBJECT'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = v_object_id.
APPEND rspar_line TO rspar_tab.
clear rspar_line.
SUBMIT crm_socm_service_report WITH SELECTION-TABLE rspar_tab AND
RETURN.
In the above e.g , i am submitting Report crm_socm_service_report with parameters 'NOUPD' and 'SOBJECT'.
Now fill in your selections in the parameters above and will work.
Let me know incase of any clarifications.
Swapnil..
‎2010 Aug 05 1:25 PM
Hello,
Check the below code.
DATA: t_sel TYPE TABLE OF rsparams with header line.
t_sel-selname = 'SO_OBJ_N'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'YCRM01_REP_0590235 '.
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_ONLYNU'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = SPACE.
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_ONLYTA'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = SPACE.
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_NOTMP'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'X'.
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_NOTMP'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'X'.
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_SHPR'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'LSVIM*'.
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_VIEW'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'X'
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'P_UPLOAD'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'X'.
APPEND T_SEL.
CLEAR T_SEL.
submit ZRSUNISCAN_FINAL_UC WITH SELECTION-TABLE T_SELAND
RETURN.
tHANKS.
rAMYA.
‎2010 Aug 05 1:51 PM
Hi,
i would like to get the values also
t_sel-selname = 'SO_OBJ_N'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'Y'.*
APPEND T_SEL.
CLEAR T_SEL.
t_sel-selname = 'SO_OBJ_N'.
t_sel-kind = 'P'.
t_sel-sign = 'I'.
t_sel-option = 'EQ'.
t_sel-low = 'Z'.*
APPEND T_SEL.
CLEAR T_SEL.
what is way out to run this
‎2010 Aug 05 1:54 PM
you have given ..what i already have..
for the first field so_obj_n i need get multiple values for select-options..
‎2010 Aug 05 2:12 PM