2012 Jun 28 9:50 AM
Hi ,
i have one report program with section screen . if i execute the selection screen the respective alv grid will be generated . on top of alv i place one custom button name as 'Background' if i click the button the i want to execute the remaining code in back ground (one BAPI is the in the user commed button Background).
how proceed for this .
Thanks ,
Venkat .
Hi ,
i have one report program with section screen . if i execute the selection screen the respective alv grid will be generated . on top of alv i place one custom button name as 'Background' if i click the button the i want to execute the remaining code in back ground (one BAPI is the in the user commed button Background).
how proceed for this .
Thanks ,
Venkat .
2012 Jun 28 10:02 AM
Use below function modules:
BP_JOB_CREATE
BP_JOB_MODIFY
BP_JOB_READ
BP_JOB_DELETE
JOB_OPEN
JOB_SUBMIT
JOB_CLOSE
Google more about them you will get a sample code.
Also, you can read F1 help on SUBMIT command to submit the report as a step in a back ground job.
2012 Jun 28 10:19 AM
2012 Jun 28 10:31 AM
(FAQ) You could use search tool and read some documentation like Programming with the Background Processing System (BC-CCM-BTC) -
Scheduling a Job: Full-Control Method and come back if problems arise.
Regards,
Raymond