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

Submit with selection-screen for select-options multiple values

Former Member
0 Likes
2,952

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,908

Search on RSPARAMS, the struture to pass with Submit statement.

Regards

Mishra

Read only

Former Member
0 Likes
1,908

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..

Read only

0 Likes
1,908

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'.

Read only

0 Likes
1,908

Hi,

Try this,

Instead of rspar_line-option = 'EQ'.

Use rspar_line-option = 'CP'.

Hope this works.

Thanks,

Venkat.

Read only

Former Member
0 Likes
1,908

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..

Read only

Former Member
0 Likes
1,908

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.

Read only

0 Likes
1,908

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

Read only

0 Likes
1,908

you have given ..what i already have..

for the first field so_obj_n i need get multiple values for select-options..

Read only

Former Member
0 Likes
1,908

my problem got solved