SAP Reports / Programs

STARTDB4 SAP ABAP Report - Submits reports that have to be run after the installation







STARTDB4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The purpose of this report is to complete an mySAP ERP installation or upgrade...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter STARTDB4 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 STARTDB4. "Basic submit
SUBMIT STARTDB4 AND RETURN. "Return to original report after report execution complete
SUBMIT STARTDB4 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Submits reports that have to be run after the installation
Text Symbol: 001 = with ERROR.
Text Symbol: 002 = error(s) occured
Text Symbol: 003 = no errors occurred.
Text Symbol: 004 = Start generating report SDB1FDB4.
Text Symbol: 005 = Start generating RSDB4-reports.
Text Symbol: 006 = RDDMCGEN not executed due to errors.
Text Symbol: 009 = Successfully
Text Symbol: 010 = RSDB4STR (main part)
Text Symbol: 011 = warning(s) occurred.


INCLUDES used within this REPORT STARTDB4

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:

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' "generate ###-line to EXPORTING L_LEVEL = '1' "distinguish beginning L_MSAG = 'D4' L_MSGNR = '020' TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '018' TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '021' L_V1 = NV1 L_V2 = NV2 TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' "reason/error EXPORTING L_LEVEL = '1' L_SEVERITY = 'A' L_MSAG = 'D4' L_MSGNR = '019' TABLES P_TAB = PROTTAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_SEVERITY = 'A' L_MSAG = 'D4' L_MSGNR = '006' L_V1 = 'MACID' L_NEWOBJ = 'X' TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '023' L_V1 = 'MACID' L_NEWOBJ = 'X' TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_SEVERITY = 'A' L_MSAG = 'D4' L_MSGNR = '006' L_V1 = 'MACOB' L_NEWOBJ = 'X' TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '023' L_V1 = 'MACOB' L_NEWOBJ = 'X' TABLES P_TAB = PROT_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '001' L_V1 = NV1 "p_target TABLES P_TAB = P_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_SEVERITY = 'E' L_MSAG = 'D4' L_MSGNR = '000' L_V1 = NV1 "p_source L_V2 = NV2 "p_target TABLES P_TAB = P_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_SEVERITY = 'E' L_MSAG = 'D4' L_MSGNR = '002' L_V1 = NV1 "p_target TABLES P_TAB = P_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = P_MSAG L_MSGNR = P_MSGNR L_V1 = NV1 "p_report TABLES P_TAB = P_TAB.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' EXPORTING OPEN_FILE = 'X' CLOSE_FILE = 'X' CONDENSE = 'X' MASTER_LANGU = SY-LANGU ACCEPT_NOT_INIT = ' ' IV_SUPPRESS_STATISTICS = 'X' TABLES XMSG = P_TAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '024' L_V1 = NV1 "' no errors occurred' TABLES P_TAB = PROTTAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_SEVERITY = 'W' L_MSAG = 'D4' L_MSGNR = '024' L_V1 = NV1 "' no errors occurred' TABLES P_TAB = PROTTAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_SEVERITY = 'E' L_MSAG = 'D4' L_MSGNR = '024' L_V1 = NV1 TABLES P_TAB = PROTTAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '022' L_V1 = NV1 L_V2 = NV2 TABLES P_TAB = PROTTAB.

SUBST_APPEND_PROTOCOL CALL FUNCTION 'SUBST_APPEND_PROTOCOL' EXPORTING L_LEVEL = '1' L_MSAG = 'D4' L_MSGNR = '032' L_V1 = NV1 TABLES P_TAB = PROTTAB.



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