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

Regarding Session Execution in Background

sreeramkumar_madisetty
Active Contributor
0 Likes
515

Hi Gurus

While processing my session in background I was given as:

SUBMIT rsbdcsub

WITH mappe EQ 'session name'

WITH von EQ sy-datum

WITH bis EQ sy-datum

WITH z_verarb EQ 'X'

WITH logall EQ 'X'

AND RETURN .

after submitting the session i need some action has to code.

as after the above statements

perform xxx.

But control is not comming after the above statement.

Please suggest me the things.

Regards,

Kumar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
490

Hi,

try this way:

SUBMIT rsbdcsub <b>AND RETURN</b>

EXPORTING LIST TO MEMORY

WITH mappe = p_sessionnanme

WITH von = w_datum

WITH bis = sy-datum

WITH z_verarb = c_true

WITH fehler = c_false.

For more detail do F1 on SUMBIT in se38.

Also Search in SDN with key - <b>rsbdcsub</b>

Will get few more useful related Posts.

Reward points if this helps.

Manish

Message was edited by:

Manish Kumar

3 REPLIES 3
Read only

Former Member
0 Likes
491

Hi,

try this way:

SUBMIT rsbdcsub <b>AND RETURN</b>

EXPORTING LIST TO MEMORY

WITH mappe = p_sessionnanme

WITH von = w_datum

WITH bis = sy-datum

WITH z_verarb = c_true

WITH fehler = c_false.

For more detail do F1 on SUMBIT in se38.

Also Search in SDN with key - <b>rsbdcsub</b>

Will get few more useful related Posts.

Reward points if this helps.

Manish

Message was edited by:

Manish Kumar

Read only

Former Member
0 Likes
490

in ur program ur writing only Sumbit which means ur submitting data to another program and asking to execute it. So, sap cursor goes to that particular program and finishes the job and goes back to the initial screen of the calling program. It does not return to ur program.

Write as Submit <program name> and return

with field1 = field1

with field2 = field2.......

This way the sap cursor goes to another program and executes the same and once finished it returns back to the main program and checks what needs to be done later.

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
490

Hi

It's Answered.