SAP Reports / Programs

SDSBWAPBMS SAP ABAP Report - Batch Process to Start Update Step for SBWAP







SDSBWAPBMS 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 SDSBWAPBMS 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 SDSBWAPBMS. "Basic submit
SUBMIT SDSBWAPBMS AND RETURN. "Return to original report after report execution complete
SUBMIT SDSBWAPBMS 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: JOB_NAME = Name of Follow-on Job
Selection Text: JOB_X = Automatic Repetition
Selection Text: SO_ERDAT = D Creation Date
Selection Text: SO_TRMNO = D Transfer Number
Selection Text: SO_TRMST = D Transfer Status
Selection Text: WAIT_T = Queue time
Title: Batch Process to Start Update Step for SBWAP
Text Symbol: 010 = Selection
Text Symbol: 020 = Seconds
Text Symbol: 030 = Options


INCLUDES used within this REPORT SDSBWAPBMS

INCLUDE LVEDSBWAPCNS.
INCLUDE LVEDSBWAPERR.
INCLUDE RVDIREKT.


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:

ENQUEUE_EVTRNSM CALL FUNCTION 'ENQUEUE_EVTRNSM' EXPORTING MODE_TRNSM = 'E' TRMNO_INT = INT_VSBTRM-TRMNO_INT _WAIT = 'X' _SCOPE = '1' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

SD_SBWAP_MAINSTEP CALL FUNCTION 'SD_SBWAP_MAINSTEP' EXPORTING TRMNO_INT = int_vsbtrm-trmno_int MANUAL_START = ' ' * BDC_MODE = 'N' TRM_LOCKED = 'X' * SIMU = * PROT = EXCEPTIONS NO_TRMNO = 1 TRM_DOES_NOT_EXIST = 2 TRANSMISSION_LOCKED = 3 UNKNOWN_ERROR = 4 PROTOCOLLED_ERROR = 5 OTHERS = 6 .

DEQUEUE_EVTRNSM CALL FUNCTION 'DEQUEUE_EVTRNSM' EXPORTING MODE_TRNSM = 'E' MANDT = SY-MANDT TRMNO_INT = int_vsbtrm-trmno_int * X_TRMNO_INT = ' ' _SCOPE = '1'.

GET_PRINT_PARAMETERS * CALL FUNCTION 'GET_PRINT_PARAMETERS' * EXPORTING * LINE_COUNT = 65 * LINE_SIZE = 132 * MODE = 'BATCH' * NO_DIALOG = 'X' * REPORT = 'SDSBWAPBMS' * IMPORTING * OUT_PARAMETERS = print_parameters * VALID = PP_valid * EXCEPTIONS * ARCHIVE_INFO_NOT_FOUND = 1 * INVALID_PRINT_PARAMS = 2 * INVALID_ARCHIVE_PARAMS = 3 * OTHERS = 4.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = JOB_NAME IMPORTING JOBCOUNT = JOB_COUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = job_count JOBNAME = job_name STRTIMMED = 'X' EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 OTHERS = 8.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = JOB_COUNT JOBNAME = JOB_NAME SDLSTRTDT = JS_DATE SDLSTRTTM = JS_TIME * IMPORTING * JOB_WAS_RELEASED = EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 OTHERS = 8.



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 SDSBWAPBMS or its description.