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 Question

Former Member
0 Likes
462

Iam using a submit statement for RV50SBT1 and the problemis it stops at the first screen when i execute it for the first time and it doesnt when i execute it after that.. Do anyone knew about this problem..

Thanks

Vicky

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
413

Hi, thanks for sending the code. The problem here is the way the program is handling "itself" in the program, there are in some cases, recursive calls to itself. To get around this you will need to set a parameter id before submitting the program. Please see you modified code.



<b>* You must set this parameter id in order for
* the values to show up in the selection screen
* the first time you run the program
  set parameter id 'LE_VL10_VL04_OLD' field 'X'.</b>

  submit rv50sbt1
         with vstel   =  p_ship
         with s_vbeln in r_vbeln
                 and return.

Regards,

Rich Heilman

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
414

Hi, thanks for sending the code. The problem here is the way the program is handling "itself" in the program, there are in some cases, recursive calls to itself. To get around this you will need to set a parameter id before submitting the program. Please see you modified code.



<b>* You must set this parameter id in order for
* the values to show up in the selection screen
* the first time you run the program
  set parameter id 'LE_VL10_VL04_OLD' field 'X'.</b>

  submit rv50sbt1
         with vstel   =  p_ship
         with s_vbeln in r_vbeln
                 and return.

Regards,

Rich Heilman

Read only

suresh_datti
Active Contributor
0 Likes
413

may be due to the User parameters LE_VL10_SZENARIO and LE_VL10_LISTPROFIL..

~Suresh