SDB2FADA 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 SDB2FADA 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: Forms for Database Access to SQL Database
INCLUDE: RADBTMAC, RADBTMA1, RADBTOU0, RADBTOUM, RADBTSC0.
INCLUDE: RADBTMAC, RADBTMA1, RADBTOU0, RADBTOUM, RADBTSC0.
INCLUDE: RADBTMAC, RADBTMA1, RADBTOU0, RADBTOUM, RADBTSC0.
INCLUDE SDB2FCOM.
INCLUDE SADA_ADBC.
No SAP DATABASE tables are accessed within this REPORT code!
DB_MAP_DDFIELDS CALL FUNCTION 'DB_MAP_DDFIELDS' EXPORTING DBSYS = DBSYS WITH_STRING = 'X' TABNAME = tabname TABLES DBFTYPES = DBFTYPE_GLO DDFIELDS = DDFIELDTAB EXCEPTIONS NOT_MAPPABLE = 01.
SCP_GET_CODEPAGE_KIND CALL FUNCTION 'SCP_GET_CODEPAGE_KIND' IMPORTING cpkind = SAPDB_CPKIND.
DB_DBSCHEMA CALL FUNCTION 'DB_DBSCHEMA' IMPORTING dbschema = l_owner.
DB_DBSCHEMA call function 'DB_DBSCHEMA' importing dbschema = l_owner.
DB_MAP_DDFIELDS CALL FUNCTION 'DB_MAP_DDFIELDS' EXPORTING DBSYS = DBSYS WITH_STRING = 'X' TABNAME = TABNAME TABLES DBFTYPES = DBFTYPE_GLO DDFIELDS = DDFIELDTAB EXCEPTIONS NOT_MAPPABLE = 01.
DB_MAP_DDFIELDS CALL FUNCTION 'DB_MAP_DDFIELDS' EXPORTING DBSYS = DBSYS WITH_STRING = 'X' TABNAME = TABNAME TABLES DBFTYPES = DBFTYPE_GLO DDFIELDS = DDFIELDTAB EXCEPTIONS NOT_MAPPABLE = 01.
DD_DB_OPERATION call function 'DD_DB_OPERATION' exporting fct = 'CFR' obj_name = i_tabname obj_type = 'TABL' prid = 0 status = 'D' importing subrc = l_subrc exceptions unexpected_error = 01 unsupported_function = 02 unsupported_obj_type = 03 unsupported_status = 04 others = 05.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDB2FADA - Forms for Database Access to SQL Database SDB2FADA - Forms for Database Access to SQL Database SDB2F001 - DD: Include mit FORMS für ALTER TABLE SDB1GDB4 - SDB1GDB4: Pattern for generation of SDB1FDB4 SDB1GDB4 - SDB1GDB4: Pattern for generation of SDB1FDB4 SDB1FSYB - FORMs for Sybase Database Access