SDB2FDB4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report contains the DB2/400 Implementation for function group SDB2...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 SDB2FDB4 into the relevant SAP transactions such as SE38 or SE80
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.
Title: SDB2FDB4
INCLUDE: RADBTMAC, RADBTMA1, RADBTOU0, RADBTOUM, RADBTSC0.
INCLUDE: RADBTMAC, RADBTMA1, RADBTOU0, RADBTOUM, RADBTSC0.
INCLUDE: RADBTMAC, RADBTMA1, RADBTOU0, RADBTOUM, RADBTSC0.
INCLUDE SDB2FCOM.
No SAP DATABASE tables are accessed within this REPORT code!
DB_MAP_DDFIELDS CALL FUNCTION 'DB_MAP_DDFIELDS' EXPORTING DBSYS = DBSYS WITH_STRING = 'X' TABLES DBFTYPES = DBFTYPE_GLO DDFIELDS = DDFIELD_TAB EXCEPTIONS NOT_MAPPABLE = 01.
SCP_GET_CODEPAGE_KIND call function 'SCP_GET_CODEPAGE_KIND' IMPORTING CPKIND = DB4_CPKIND.
HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING * DOKTITLE = ' ' CALLED_FOR_TAB = 'DB4IS' CALLED_FOR_FIELD = PARNAME EXCEPTIONS OTHERS = 1 .
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING TABNAME = 'DB4IS' FIELDNAME = parname DISPLAY = DISPLAY_ONLY TABLES RETURN_TAB = F4VA EXCEPTIONS OTHERS = 1.
HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING CALLED_FOR_TAB = 'DB4TS' CALLED_FOR_FIELD = PARNAME EXCEPTIONS OTHERS = 1 .
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING TABNAME = 'DB4TS' FIELDNAME = parname DISPLAY = DISPLAY_ONLY TABLES RETURN_TAB = F4VA EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.