SAP Reports / Programs | Basis Components | ABAP Runtime Environment | UI Services, Screen, Batch Input(BC-ABA-SC) SAP BC

MSBDTF01 SAP ABAP INCLUDE - documentation and ABAP source code







MSBDTF01 is a standard ABAP INCLUDE 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 MSBDTF01 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 MSBDTF01. "Basic submit
SUBMIT MSBDTF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MSBDTF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MSBDTF01

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:

BDC_OBJECT_SELECT CALL FUNCTION 'BDC_OBJECT_SELECT' EXPORTING NAME = P_groupid DATE_FROM = P_von DATE_TO = P_bis SESSION_CREATOR = P_creator TABLES APQITAB = itab_apqi EXCEPTIONS OTHERS = 1.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = l_tcode EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.

BDC_RECORD_OPEN CALL FUNCTION 'BDC_RECORD_OPEN' EXPORTING QUEUE_ID = BDC_RECORD-QID NAME = BDC_RECORD-GROUPID tables dynprotab = itab_trans EXCEPTIONS OTHERS = 1.

BDC_RECORD_EDIT CALL FUNCTION 'BDC_RECORD_EDIT' EXPORTING DISPLAY = P_DISPLAY IMPORTING KEY = BDC_KEY EXCEPTIONS OTHERS = 1.

BDC_RECORD_START CALL FUNCTION 'BDC_RECORD_START' IMPORTING KEY = bdc_key.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = L_TITLE TEXTLINE1 = TEXT-DE1 TEXTLINE2 = TEXT-DE2 IMPORTING ANSWER = L_ANSWER.

BDC_OBJECT_DELETE CALL FUNCTION 'BDC_OBJECT_DELETE' EXPORTING QUEUE_ID = BDC_RECORD-QID EXCEPTIONS NOT_FOUND = 1 INVALID_DATATYPE = 2 OTHERS = 3.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING OBJECT = DOCU_OBJECT ID = DOCU_ID LANGU = DOCU_SPRAS VERSION_ACTIVE_OR_LAST = 'A' IMPORTING HEAD = TX_HEADER TABLES LINE = TX_LINES EXCEPTIONS OTHERS = 1.

PRINT_TEXT CALL FUNCTION 'PRINT_TEXT' EXPORTING APPLICATION = 'TX' DEVICE = 'SCREEN' HEADER = TX_HEADER TABLES LINES = TX_LINES EXCEPTIONS OTHERS = 1.

ENQUEUE_BDC_QID CALL FUNCTION 'ENQUEUE_BDC_QID' EXPORTING DATATYP = '%BDC' GROUPID = BDC_RECORD-GROUPID QID = BDC_RECORD-QID * destsys = p_mtab-destsys * destapp = p_mtab-destapp * mandant = p_mtab-mandant * progid = p_mtab-progid * formid = p_mtab-formid * qattrib = p_mtab-qattrib EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_BDC_QID CALL FUNCTION 'DEQUEUE_BDC_QID' EXPORTING DATATYP = '%BDC' GROUPID = BDC_RECORD-GROUPID QID = BDC_RECORD-QID * destsys = p_mtab-destsys * destapp = p_mtab-destapp * mandant = p_mtab-mandant * progid = p_mtab-progid * formid = p_mtab-formid * qattrib = p_mtab-qattrib EXCEPTIONS OTHERS = 1.



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