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

Passing select option parameters from one program to another

Former Member
0 Likes
1,913

Hi Experts,

I have a report program. From that i need to call another program.The second one have a select option SO_CARR. i need to pass the low and high values of the select option from 1st program. i can pass the select option values like

       submit <pgm_name>  WITH so_carr  = 'AA' VIA SELECTION-SCREEN

But my requirement is to pass SO_CARR-HIGH and SO_CARR-LOW values from 1st program.

How can i do that?

Regards Ashwin kv

1 ACCEPTED SOLUTION
Read only

former_member202818
Active Contributor
0 Likes
1,072

4 REPLIES 4
Read only

former_member202818
Active Contributor
0 Likes
1,073

Read only

SharathYaralkattimath
Contributor
0 Likes
1,072

HI Ashwin,

You can declare a range

data: carr_range type range of carrid,

        carr_line like line of carr_range.

carr_line-sign = 'I'.

carr_line-option = 'BT'.

carr_line-low = 'AA'.

carr_line-high = 'XX'.

append carr_line to carr_range.

submit <pgm_name>  WITH so_carr IN carr_range VIA SELECTION-SCREEN.

Read only

venuarun
Active Participant
0 Likes
1,072

Hi aswin,

Hi

Just use IN  for select-options

SUBMIT <PROGRAMNAME> WITH <b>S_VALUE  IN  P_DATA</b>

WITH P_A= P_A

WITH P_B = P_B AND RETURN

Regards

Arun Vs

Read only

Former Member