SAP Reports / Programs

SAPDBERM SAP ABAP Report - Archiving of Purchasing Documents







SAPDBERM 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 SAPDBERM 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 SAPDBERM. "Basic submit
SUBMIT SAPDBERM AND RETURN. "Return to original report after report execution complete
SUBMIT SAPDBERM 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: ER_ANDAT = Key Date for Quotation Date
Selection Text: ER_BEDAT = Document Date
Selection Text: ER_BSART = Document Type
Selection Text: ER_EBELN = Purchasing Document
Selection Text: ER_EKGRP = Purchasing Group
Selection Text: ER_EKORG = Purchasing Organization
Selection Text: OBJ_LIST = Log of Archived Tables
Selection Text: P_ONEST = One-Step Procedure
Selection Text: P_PROT = Detailed Log
Selection Text: P_TEXT = Note Re Archiving
Selection Text: TESTLAUF = Test Run
Title: Archiving of Purchasing Documents
Text Symbol: 001 = Choose...
Text Symbol: 011 = Selection: Archiving
Text Symbol: 012 = Program Control
Text Symbol: 013 = Documentation: Archiving


INCLUDES used within this REPORT SAPDBERM

INCLUDE DBERMCOM.
INCLUDE FM06ACOM.
INCLUDE FMMEXDIR.


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:

RM_SENDEN_BILD_EXM CALL FUNCTION 'RM_SENDEN_BILD_EXM' EXPORTING E0_SELKA = ER_SELKA E0_SELKB = ER_SELKB E0_SELKK = ER_SELKK E0_SELKL = ER_SELKL IMPORTING E0_SELKA = ER_SELKA E0_SELKB = ER_SELKB E0_SELKK = ER_SELKK E0_SELKL = ER_SELKL E0_START = ER_STARTK.

ME_READ_RELEASE_DOCU CALL FUNCTION 'ME_READ_RELEASE_DOCU' EXPORTING BUKRS = EKKO-BUKRS EBELN = EKKO-EBELN WAERS = EKKO-WAERS WKURS = EKKO-WKURS IMPORTING SUWRT = ER_SUWRT TABLES XADO = XEKAB XADOS = XEKABS.

MS_ENTRYSHEET_DATA_ARCHIVE CALL FUNCTION 'MS_ENTRYSHEET_DATA_ARCHIVE' EXPORTING I_EBELN = EKKO-EBELN I_BSTYP = EKKO-BSTYP TABLES T_ESSR = XESSR T_ESKN = XESKN T_NAST = XMS_NAST 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 SAPDBERM or its description.