SAP Reports / Programs

SDSBWAPSMS SAP ABAP Report - Report to start update step for SBWAP







SDSBWAPSMS 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 SDSBWAPSMS into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VSBSMS - SBWAP Reporting


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 SDSBWAPSMS. "Basic submit
SUBMIT SDSBWAPSMS AND RETURN. "Return to original report after report execution complete
SUBMIT SDSBWAPSMS 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: S_IDOC = IDocs
Selection Text: P_TRMNO = Transfer Number
Selection Text: P_TIME_P = Start time
Selection Text: P_TIME_M = Start time
Selection Text: P_SIMU = Simulation
Selection Text: P_PSR = Restart Prestep
Selection Text: P_PROT = Log
Selection Text: P_MSS = Start Mainstep
Selection Text: P_MSR = Restart Mainstep
Selection Text: P_MANUAL = Manual Start
Selection Text: P_HELL = Foreground processing
Selection Text: P_DATE_P = Start date
Selection Text: P_DATE_M = Start date
Title: Report to start update step for SBWAP
Text Symbol: 016 = Restart Prestep
Text Symbol: 015 = Restart Mainstep
Text Symbol: 014 = Start Mainstep
Text Symbol: 013 = You can only specify one transfer when specifying IDocs
Text Symbol: 012 = Only Transfer Single Values in IDocs (I, EQ, )
Text Symbol: 011 = Job number
Text Symbol: 010 = Job name
Text Symbol: 009 = Start time
Text Symbol: 008 = Immediate start
Text Symbol: 007 = Job cancelled
Text Symbol: 006 = Job Not Started by User
Text Symbol: 005 = Job Started by User
Text Symbol: 004 = MAINSTEP
Text Symbol: 003 = PRESTEP
Text Symbol: 002 = Error on Submit of Main Step
Text Symbol: 001 = Error on Submit of Prestep


INCLUDES used within this REPORT SDSBWAPSMS

INCLUDE LVEDSBWAPCNS.


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:

SD_SBWAP_MAINSTEP_LOOP CALL FUNCTION 'SD_SBWAP_MAINSTEP_LOOP' EXPORTING trmno_int = lt_trmno-trmno_int manual_start = p_manual bdc_mode = da_bdcmod simu = p_simu prot = p_prot EXCEPTIONS no_trmno = 1 trm_does_not_exist = 2 transmission_locked = 3 unknown_error = 4 protocolled_error = 5 restarted = 6 OTHERS = 7.

SD_SBWAP_RESTART_PRESTEP CALL FUNCTION 'SD_SBWAP_RESTART_PRESTEP' EXPORTING i_trmno_int = lt_trmno-trmno_int i_date = p_date_p i_time = p_time_p IMPORTING e_action = da_answer e_jobname = da_jobname e_jobcount = da_jobcount e_date = da_date e_time = da_time e_start_immediate = da_immediate TABLES i_idoc_tab = vsbidoc_tab EXCEPTIONS invalid_parameter = 1 submit_failed = 2 OTHERS = 3.

SD_SBWAP_RESTART_MAINSTEP CALL FUNCTION 'SD_SBWAP_RESTART_MAINSTEP' EXPORTING i_trmno_int = lt_trmno-trmno_int i_date = p_date_m i_time = p_time_m IMPORTING e_action = da_answer e_jobname = da_jobname e_jobcount = da_jobcount e_date = da_date e_time = da_time e_start_immediate = da_immediate EXCEPTIONS invalid_parameter = 1 submit_failed = 2 OTHERS = 3.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = gs_app_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = g_log_handle i_msgty = iv_msgty i_text = iv_msgv1 EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 0 no_authority = 4 OTHERS = 5.



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