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 'RSBDCSUB'

Former Member
0 Likes
1,013

Hi,

I want to know if it's possible to execute the code writing directly after 'submit RSBDCSUB' without clicking on any button without any action of user

Thanks,

7 REPLIES 7
Read only

former_member404244
Active Contributor
0 Likes
908

Hi,

u can use SUBMIT statement via selection screen and fill the selection table..

Regards,

Nagaraj

Read only

0 Likes
908

I think y don't understand my question:

After submit 'RSBDCSUB' i have

loop at

treatment A

endloop

the treatment A is executed when i clic on button back, cancel or......

I want execute treatment A automaticaly and directly after running BI without any action of user

Read only

Former Member
0 Likes
908

submit <progname> with <selfield1> = <value1>

with <selfield2> = <value2>

with <selfield3> = <value3>

with <selfield4> = <value4>

with <selfield5> = <value5>

and return.

Here <selfield> is the field on selection-screen of the called program and <value> is the value has to be passed to the field.

If u have no fields on the selection-screen, you can skip this part and just write:

SUBMIT <progname> AND RETURN.

Read only

Former Member
0 Likes
908

Hi,

If its all the sessions you want to process, then simply write :


submit RSBDCSUB and return.

Otherwise you need to pass the values to its individual parameters. Do a F1 on SUBMIT statement and see 'Parameter passing with SUBMIT'

regards,

Advait

Read only

0 Likes
908

After run, the program edit report =

Batch input: process all unprocessed sessions....

....

....

after this, i clic on back for executing my code .....(suite of the program.....)

My question is how can i do for executing my code without clicking on back?

Read only

0 Likes
908

Hi,

Is your requirement to submit the program and then let the user select the sessions that should be processed, once done, the program control should again come back to the calling program and execute the remaining code automatically?

I'm afraid but this is not possible. If the called program needs user interaction, the user has to press the back to get the control back to the calling program.

regards,

Advait

Read only

former_member194797
Active Contributor
0 Likes
908

use option



 EXPORTING LIST TO MEMORY AND RETURN.