cancel
Showing results for 
Search instead for 
Did you mean: 

Call (submit) VL10B with multiple parameters

naotoxxx
Participant
0 Kudos

Hello, i'm triying to call VL10B and pass multiple vbeln

 
 

27850cd9-e5d5-45b9-8c36-ca19b2d73ed0.jpg

naotoxxx_2-1715645331115.png

I tried many thigs , but is not working

naotoxxx_3-1715645445689.png

naotoxxx_4-1715645602257.png

 

UPDATE

I tried some suggestions,

naotoxxx_0-1715692541143.png

like creating a variant and see what parrameters is passing and call program RVV50R10C  but now i displaying this screen (i need the iniital in case the user want to change something)

naotoxxx_1-1715692615957.png

 

SOLUTION

I hope this can help someone else, this is a little example

naotoxxx_0-1715736835486.png

 

 

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

sajid-khan
Explorer

 

Hi,

You are trying to submit data to the wrong program (RVV50R10_PRESTEP). The correct program for your task is RVV50R10C.

Additionally, the field values you're currently providing might not be sufficient for a successful submission with RVV50R10C. I recommend you do the following:

  1. Open tcode VL10B -> enter your desired data in input field -> save your input as a new variant.
  2. Open tcode SE38 -> enter RVV50R10C as program name -> choose "Variants" radio button -> Display the values of your newly created variant
    sajidkhan_0-1715670290288.png
  3. Now when you're submitting RVV50R10C, I recommend you pass all of the "non-empty" parameters that you see in step 2

Update: 

If you want to stay on the initial selection screen along with your passed input data, add VIA SELECTION-SCREEN at the end of your SUBMIT command. By adding this, the program will not directly execute, therefore the user will have option to modify the input data if required.

sajidkhan_0-1715704924348.png

 

naotoxxx
Participant
0 Kudos
I really preaciate your time and reply, i didn't know the via selection-screen option , now is displayins correctly the tx but the data of gr_ebeln is not passing hehe but one step is solved 😄
Sandra_Rossi
Active Contributor
@naotoxxx By debug, when executing, display the values of ALL "parameters" and "select-options", and reflect these values in "SUBMIT rvv50r10c".

Answers (3)

Answers (3)

DominikTylczyn
Active Contributor

Hello @naotoxxx 

You should submit the report RVV50R10C, not RVV50R10_PRESTEP.

Best regards

Dominik Tylczynski

naotoxxx
Participant
0 Kudos
thanks for you reply i tried what you suggest but now is displaying another screen, take a look to my update
sajid-khan
Explorer
0 Kudos

@naotoxxx 

I've updated my answer based on your updated query. Please consider marking it as 'solution If it solves your problem.

Sandra_Rossi
Active Contributor
0 Kudos

Although VL10B is an alias to the transaction code VL10X (with skip of initial screen) which runs the program RVV50R10_PRESTEP, calling this program is wrong because it doesn't contain any parameter except SZENARIO (NB: the selection screen of this parameter is not displayed because VL10B skips the initial screen as I already said), as you can see:

Sandra_Rossi_0-1715690422928.png

The program RVV50R10_PRESTEP calls the program RVV50R10C which displays the selection screen.

So, you must do SUBMIT RVV50R10C ...

Guts
Explorer
0 Kudos

Hello,

It's impossible to set the select parameter values of VL10*.

You'd better implement a user-exit according to the note 524424.

https://me.sap.com/notes/524424/E

Best Regards

DominikTylczyn
Active Contributor
0 Kudos
I think it is - VL10B ca be run as a background job with a variant. The same way it should be possible to run it with SUBMIT
Sandra_Rossi
Active Contributor