SAP Reports / Programs | Cross-Application Components | Document Management System(CA-DMS) SAP CA

DMS_LOAD01 SAP ABAP Report - Create file with IDOCs for data transfer







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


Text pool values


Selection Text: P_APPL = Document Type
Selection Text: P_DOKAR = Document
Selection Text: P_FILE = File Name
Selection Text: P_N = Number
Selection Text: P_PREFX = Prefix for document number
Selection Text: P_RCLASS = Transfer Classification
Selection Text: P_RDRAD = Transfer object links
Selection Text: P_RDRAP = Transfer status log
Selection Text: P_RDRAT = Transfer short texts
Selection Text: P_RFILE = Transfer originals
Selection Text: P_RTEXT = Transfer long texts
Selection Text: P_START = StrtCtrReadg
Selection Text: P_DOKNR = D .
Selection Text: P_DOKTL = D .
Selection Text: P_DOKVR = D .
Title: Create file with IDOCs for data transfer
Text Symbol: 001 = Source document
Text Symbol: 002 = New document number
Text Symbol: 003 = File storage
Text Symbol: 100 = Check in on application server
Text Symbol: 101 = Check in on presentation server


INCLUDES used within this REPORT DMS_LOAD01

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:

CV120_GET_FRONTEND_TYPE CALL FUNCTION 'CV120_GET_FRONTEND_TYPE' IMPORTING: pfx_host = lf_host EXCEPTIONS: error = 1 no_valid_frontend = 2 OTHERS = 3.

CV200_DB_TDWA_SELECT CALL FUNCTION 'CV200_DB_TDWA_SELECT' EXPORTING: pf_dokar = p_dokar IMPORTING: psx_tdwa = ls_tdwa EXCEPTIONS: not_found = 1 OTHERS = 2.

BAPI_DOCUMENT_GETDETAIL2 CALL FUNCTION 'BAPI_DOCUMENT_GETDETAIL2' EXPORTING: documenttype = lf_doctype documentnumber = lf_docnumber documentpart = lf_docpart documentversion = lf_docversion getobjectlinks = p_rdrad getcomponents = 'X' getstatuslog = p_rdrap getlongtexts = p_rtext getactivefiles = 'X' getclassification = p_rclass "Note 817410 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 characteristicvalues = lt_char_values "Note_914926 classallocations = lt_class_alloc. "Note 817410

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.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "Start of SAP Note: 1790561 EXPORTING logical_filename = gc_logfile_dms CHANGING physical_filename = pf_file 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 DMS_LOAD01 or its description.