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 Sub-Routine into Background mode

Former Member
0 Likes
722

Hi All,

I have a program which after displaying data needs to give user the option od posting this data in Background or online.

I understand that I can use SUBMIT statement to send a program in Background mode but in my case its a subroutine ONLY which needs to do its processing in background.

To explain in details:

I have designed a screen which shows some document list. It has a button 'POST' for POSTING them to SAP custom table.

So when I press this 'POST' button I should be able to post all the documents on the screen in background mode and have a log generated for the process.

Can this be achieved.

Appreciate your help.

Thanks and regards

RK

2 REPLIES 2
Read only

Former Member
0 Likes
418

Hi Rajiv,

1. The FORM is your own code

or is it some code in some other standard program ?

2. If its urs,

then u can do like this :

3. Create a new Z FM

write the code in this fm

use appropriate IMPORT EXPORT TABLES parameters

(to pass the value selected on the screen)

4. CALL FUNCTION func IN BACKGROUND TASK

regards,

amit m.

Read only

Former Member
0 Likes
418

Hi Rajiv,

1. The FORM is your own code

or is it some code in some other standard program ?

2. If its urs,

then u can do like this :

3. Create a new Z FM

write the code in this fm

use appropriate IMPORT EXPORT TABLES parameters

(to pass the value selected on the screen)

4. CALL FUNCTION func IN BACKGROUND TASK

regards,

amit m.