RBDSEDOCUMENT_LOAD_MDTB 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 RBDSEDOCUMENT_LOAD_MDTB 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.
Selection Text: P_DOKAR = D Document type
Selection Text: P_DOKNR = D Document
Selection Text: P_DOKTL = D Document Part
Selection Text: P_DOKVR = D Document version
Title: Create IDOC for data transfer
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAPI_DOCUMENT_GETDETAIL2 CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2' EXPORTING: documenttype = lf_doctype documentnumber = lf_docnumber documentpart = lf_docpart documentversion = lf_docversion getobjectlinks = 'X' getcomponents = 'X' getstatuslog = 'X' getlongtexts = 'X' getactivefiles = 'X' IMPORTING: documentdata = ls_doc_data return = ls_return TABLES: objectlinks = lt_links documentdescriptions = lt_desc longtexts = lt_texts statuslog = lt_statuslog documentfiles = lt_files components = lt_comp.
ALE_DOCUMENT_LOAD CALL FUNCTION 'ALE_DOCUMENT_LOAD' EXPORTING: documentdata = ls_doc_data documentdatax = ls_doc_datax hostname = '' serial_id = '0' TABLES: characteristicvalues = lt_char_values classallocations = lt_class_alloc documentdescriptions = lt_desc objectlinks = lt_links documentfiles = lt_files longtexts = lt_texts components = lt_comp statuslog = lt_statuslog receivers = lt_receiver * COMMUNICATION_DOCUMENTS = * APPLICATION_OBJECTS = EXCEPTIONS: error_creating_idocs = 1 OTHERS = 2.
NAMETAB_GET CALL FUNCTION 'NAMETAB_GET' EXPORTING: langu = sy-langu only = ' ' tabname = 'BAPI_DOC_DRAW2' IMPORTING: header = ls_x030l rc = lf_subrc TABLES: nametab = lt_dntab EXCEPTIONS: internal_error = 01 table_has_no_fields = 02 table_not_activ = 03.
CLAP_DDB_GET_CLASSIFICATION CALL FUNCTION 'CLAP_DDB_GET_CLASSIFICATION' EXPORTING: object = lf_object obtab = lf_obtab standard_type_only = '' object_eq_class = '' spras = sy-langu only_varklart = '' pobtab = '' read_only = 'X' called_from_api = 'X' TABLES: allocations = lt_alloc EXCEPTIONS: no_allocation = 1 set_aennr = 2 change_nr_not_exist = 3 date_in_past = 4 error_class = 5 error_date_restriction = 6 error_status = 7 OTHERS = 8.
CLO0_DDB_OBJ_VALUATION_OPEN CALL FUNCTION 'CLO0_DDB_OBJ_VALUATION_OPEN' EXPORTING: classtype_imp =
-klart class_imp = -class display_modus = 'X' object_imp = lf_object obj_structure_imp = 'DRAW' show_all_values = 'X' EXCEPTIONS: invalid_classcat = 1 class_status_not_valid = 2 class_not_found = 3 foreign_lock = 4 system_failure = 5 change_nr_not_exist = 6 OTHERS = 7.
CTMS_DDB_HAS_CHARACTERISTICS CALL FUNCTION 'CTMS_DDB_HAS_CHARACTERISTICS' TABLES: exp_characteristics = lt_char EXCEPTIONS: not_found = 1 no_characteristic_in_ddb = 2 OTHERS = 3.
CTMS_DDB_HAS_VALUES CALL FUNCTION 'CTMS_DDB_HAS_VALUES' EXPORTING: assigned_values = 'X' allowed_values = '' valid_values = '' inconsistent_values = '' first_assigned_value = '' default_values = '' incl_author = '' TABLES: imp_characteristics = lt_char exp_values = lt_value EXCEPTIONS: not_found = 1 OTHERS = 2.
CLO0_DDB_OBJ_VALUATION_CLOSE CALL FUNCTION 'CLO0_DDB_OBJ_VALUATION_CLOSE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.