04-26-2006 10:25 AM
Hi guys,
Can any one give me the list of function modules for background processing.
I found only one RS_EUIN_BACKGROUND_PROCESS.
Regards,
Raghu.
04-26-2006 10:29 AM
Processing
JOB_CLOSE Close Background Request With COMMIT WORK
JOB_CLOSE_ADK SAP Internal Use Only ! Special Development for Archiving Group
JOB_OPEN Open Job Scheduling Without Dialog (Including COMMIT WORK)
JOB_OPEN_ADK SAP Internal Use Only ! Special Development for Archiving Group
JOB_SUBMIT Insert Background Task in Background Request With COMMIT WORK
JOB_SUBMIT_ADK SAP Internal Use Only ! Special Development for Archiving Group
04-26-2006 10:30 AM
Hai Raghu
1) RS_EUIN_BACKGROUND_PROCESS
2) WS_LM_BACKGROUND_PROCESSING
Thanks & Regards
Sreenivasulu P
04-26-2006 10:31 AM
Hi,
If you are trying to submit a program in the background at runtime, you will need --- JOB_OPEN, JOB_SUBMIT, JOB_CLOSE.
Regards,
Ravi
Note :Please mark the helpful answers
04-26-2006 10:34 AM
hi,
check this.
To schedule a job from within a program using the express method, you need only call the BP_JOBVARIANT_SCHEDULE function module.
The express method has the following characteristics:
Simplified job structure: The function module schedules a job that includes only a single job step.
The function module uses default values for most job-processing options. You cannot, for example, specify a target printer as part of the call to the function module. Instead, the job step uses the print defaults of the scheduling user.
Only ABAP reports can be scheduled. You must use the "full-control" method to start external programs.
The range of start-time options is restricted. Event-based scheduling is not supported.
The function module works as follows:
You name the report that is to be scheduled in your call to the function module.
The function module displays a list of variants to the user. The user must select a variant for the report.
You must ensure that the variants required by your users have already been defined.
The user picks either "immediate start" or enters a start date and start time. Optionally, the user can also make the job restart periodically. The job is then scheduled.
Regards
srikanth
04-26-2006 10:35 AM
Hi,
List of function modules for background processing
/IXOS/DC_H_CALL_IN_BACKGROUND
/IXOS/DC_O_OUTPUT_BACKGROUND
ID_OF_BACKGROUNDTASK
START_OF_BACKGROUNDTASK
STATUS_OF_BACKGROUNDTASK
TRFC_SET_BACKGROUND_SEQUENCE
AS_AFB_BACKGROUND_SEARCH
CIF_WAIT_FOR_BACKGROUND_TASKS
CK_PROCESS_IN_BACKGROUND
ISU_BW_LOT_BACKGROUND_PROC
NO_RESTART_OF_BACKGROUNDTASK
REMOTEID_OF_BACKGROUNDTASK
RESTART_OF_BACKGROUNDTASK
FERC_BACKGROUND_JOB_CREATE
HRHCP00_CALL_IN_BACKGROUND
HR_HCP_BACKGROUND_CALLBCK_DVAR
HR_HCP_GET_BACKGROUND_DVAR
IM_RE_CATT_FB
CATT_BACKGROUND_JOB_FINISHED
MASS_EINE_UTILITIES
EINE_SAVE_BACKGROUND
MASS_EKKO_UTILITIES
EKKO_SAVE_BACKGROUND
MASS_MARC_UTILITIES
MARC_SAVE_BACKGROUND
MASS_VENDOR_UTILITIES
VENDOR_SAVE_BACKGROUND
HR_START_REPORT_IN_BACKGROUND
RH_CHECK_BACKGROUND_PARAM
AAB_POPUP_ACT_BACKGROUND
RS_EUIN_BACKGROUND_PROCESS
SSFCOMP_REMOVE_BACKGROUND_BMP
WS_LM_BACKGROUND_PROCESSING
VB_CP_ARCH_STATUS_BACKGROUND
WB2B_SCREEN_HANDLING
WB2_GET_BACKGROUND_TEW_PROJECT
WB2_SET_BACKGROUND_TEW_PROJECT
WB2_BACKGROUND_CREATE
WB2_BACKGROUND_CREATE_REFRESH
Regards,
Sameena
04-26-2006 10:37 AM
hi,
you need <b>JOB_OPEN</b>, <b>JOB_SUBMIT</b>, <b>JOB_CLOSE</b> to run the Program in Background mode.
Regards
vijay
04-26-2006 10:46 AM
Hi everyone,
Thanks for sending list of function modules.
Do anyone has sample program for background jobs using these function modules..then plz send it to me.
Regards,
Raghu.
04-26-2006 11:04 AM
Hi Raghu
PLease awrd points for helpful posts.
Its the sdn's way f saying thanks.
report ztest.
data: myjob_name like tbtcjob-jobname value 'SAP_PSS_PERF',
lv_job_nr like tbtcjob-jobcount,
lf_job_was_released like btch0000-char1,
lc_report like sy-repid value 'ZTEST',
lv_periode like tbtcjob-prdmins,
lv_startdate like sy-datum,
lv_starttime like sy-uzeit,
lv_variant like raldb-variant value 'PSS_TDC',
lf_ok(1).
lv_startdate = sy-datum.
lv_starttime = sy-uzeit + 300.
lv_periode = '5'.
call function 'JOB_OPEN'
exporting
jobname = myjob_name
importing
jobcount = lv_job_nr.
call function 'JOB_SUBMIT'
exporting
authcknam = sy-uname
jobcount = lv_job_nr
jobname = myjob_name
report = lc_report
variant = lv_variant.
call function 'JOB_CLOSE'
exporting
jobcount = lv_job_nr
jobname = myjob_name
prdmins = lv_periode
sdlstrtdt = lv_startdate
sdlstrttm = lv_starttime
importing
job_was_released = lf_ok.
Regards,
Ravi
04-26-2006 11:01 AM
Hello Raghu,
Have a look at the link...
<a href="http://help.sap.com/saphelp_46c/helpdata/en/fa/097720543b11d1898e0000e8322d00/frameset.htm">Background programming</a>
06-23-2006 9:54 PM
Ravi
I am currently using the three function modules to schedule the jobs in background, but instead of scheduled status i want the jobs directly go into Released status. what are the parameters that need to be set in JOB_CLOSE fm.
Thanks
Madhu