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 Statement ... Passing Parameters to the called program

Former Member
0 Likes
347

Hi,

I am passing a range to the Select-Option specified in the Called program.

But the values are not gettin passed.

Mentioned below is the code

SUBMIT ABC TO SAP-SPOOL

DATASET EXPIRATION '9'

LIST NAME 'LISTNAME'

LIST DATASET 'LISTDATASET'

COVER TEXT ws_spool_covertext

KEEP IN SPOOL 'X'

IMMEDIATELY ' '

RECEIVER ws_date

DEPARTMENT ' '

WITHOUT SPOOL DYNPRO

WITH s_pernr-low IN r_sup_pernr

AND RETURN.

Here r_sup_pernr is a range type and s_penr is a selection-option declared in the called prg.

Can anyone tell me why the value in the range not getting passed to the select-option in the called prg ??

Is thr anything to done in the called program ??

Answers will be rewarded.

Regards,

Rohan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
325

make this change

<b>WITH s_pernr IN r_sup_pernr</b>

1 REPLY 1
Read only

Former Member
0 Likes
326

make this change

<b>WITH s_pernr IN r_sup_pernr</b>