‎2006 Mar 01 11:15 AM
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
‎2006 Mar 01 11:26 AM
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.
‎2006 Mar 01 11:26 AM
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.