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

Pass select option and parameter with submit

Former Member
0 Likes
7,813

Hello,

I have two programs and what i have to do is to use the selection screen information from program A and submit it to program B so that this second program will generate a report with this information.

After program B is executed it creates some files in a server, which i will have to use later in program A. I cannot modify the program B since its not part of the requirement.

But the thing is that i am having problems when submiting a select option and a parameter together.

It would be really useful if someone could give some examples of this.

Example of what i want to do:

SUBMIT PROGRAM_B

WITH S_MATNR EQ S_MATNR ->pass all the values from a select option.

WITH P_WERKS EQ P_WERKS ->pass a single value from a parameter.

AND RETURN

Regards,

Roberto

1 ACCEPTED SOLUTION
Read only

Former Member
3,069

Hi,

Try this for select-options:

SUBMIT PROGRAM_B
WITH S_MATNR *IN* S_MATNR ->pass all the values from a select option.
WITH P_WERKS EQ P_WERKS ->pass a single value from a parameter.
AND RETURN

Hope it helps.

Regards,

Gilberto Li

Edited by: Gilberto Li on Feb 2, 2009 10:24 PM

Edited by: Gilberto Li on Feb 2, 2009 10:33 PM

Edited by: Gilberto Li on Feb 2, 2009 10:33 PM

2 REPLIES 2
Read only

Former Member
3,070

Hi,

Try this for select-options:

SUBMIT PROGRAM_B
WITH S_MATNR *IN* S_MATNR ->pass all the values from a select option.
WITH P_WERKS EQ P_WERKS ->pass a single value from a parameter.
AND RETURN

Hope it helps.

Regards,

Gilberto Li

Edited by: Gilberto Li on Feb 2, 2009 10:24 PM

Edited by: Gilberto Li on Feb 2, 2009 10:33 PM

Edited by: Gilberto Li on Feb 2, 2009 10:33 PM

Read only

Former Member
0 Likes
3,069

Have you looked at the help (F1) for SUBMIT??

Rob