SAP Reports / Programs | Basis Components | Use Subcomponents | Background Processing(BC-CCM-BTC) SAP BC

BTCAUX11 SAP ABAP Report - Example Program for Generating a Job with Spool List Recipients







BTCAUX11 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BTCAUX11 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT BTCAUX11. "Basic submit
SUBMIT BTCAUX11 AND RETURN. "Return to original report after report execution complete
SUBMIT BTCAUX11 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: BLIND = Blind Copy
Selection Text: COPY = Copy
Selection Text: DELI = Confirm Send Status
Selection Text: EXPRESS = Express
Selection Text: NO_COPY = No Copying
Selection Text: NO_F = No forwarding
Selection Text: NO_PR = Printing Not Allowed
Selection Text: RECIP1 = Recipients
Selection Text: STATMAIL = Status Mail
Selection Text: TYPE = Recipient Category
Title: Example Program for Generating a Job with Spool List Recipients


INCLUDES used within this REPORT BTCAUX11

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BP_JOB_DELETE call function 'BP_JOB_DELETE' exporting jobcount = &1 jobname = &2 exceptions others = 99.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4 .

JOB_SUBMIT CALL FUNCTION 'JOB_SUBMIT' EXPORTING authcknam = sy-uname jobcount = jobcount jobname = jobname report = 'SHOWCOLO' EXCEPTIONS bad_priparams = 1 bad_xpgflags = 2 invalid_jobdata = 3 jobname_missing = 4 job_notex = 5 job_submit_failed = 6 lock_failed = 7 program_missing = 8 prog_abap_and_extpg_set = 9 OTHERS = 10 .

BP_GET_RECIPIENT_OBJECT CALL FUNCTION 'BP_GET_RECIPIENT_OBJECT' EXPORTING recipient = recipient IMPORTING recipient_obj = recipient_obj EXCEPTIONS cannot_create = 1 OTHERS = 2.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = jobcount jobname = jobname strtimmed = 'X' recipient_obj = recipient_obj EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 invalid_target = 8 OTHERS = 9 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name BTCAUX11 or its description.