SAP Reports / Programs | Sales and Distribution | Basic Functions(SD-BF) SAP SD

SDVBKARL SAP ABAP Report - Reload Sales Activities







SDVBKARL 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 SDVBKARL 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 SDVBKARL. "Basic submit
SUBMIT SDVBKARL AND RETURN. "Return to original report after report execution complete
SUBMIT SDVBKARL 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: DD_VBELN = Document selection
Selection Text: PRTEXT = Issue log texts
Selection Text: TESTLAUF = Test run
Title: Reload Sales Activities
Text Symbol: 001 = Reload document:
Text Symbol: 002 = Test: Document noted for reloading:
Text Symbol: 003 = Document &: already exists and cannot be reloaded


INCLUDES used within this REPORT SDVBKARL

INCLUDE ARCHCOMO.
INCLUDE SDVBKATB.
INCLUDE SDZAVDAT.


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:

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING OBJECT = 'SD_VBKA' TEST_MODE = TESTLAUF IMPORTING ARCHIVE_READ_HANDLE = HANDLE_READ ARCHIVE_WRITE_HANDLE = HANDLE_WRITE.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE_READ IMPORTING OBJECT_ID = ARC_OBJECT_ID EXCEPTIONS END_OF_FILE = 01.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = HANDLE_READ IMPORTING RECORD = ARC_BUFFER-SEGMENT RECORD_FLAGS = ARC_BUFFER-FLAGS RECORD_STRUCTURE = ARC_BUFFER-RNAME EXCEPTIONS END_OF_OBJECT = 01.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HANDLE_WRITE.

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = HANDLE_READ.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HANDLE_READ.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GC_REPID IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = LT_FIELDCAT IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_OUT_TAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GC_REPID I_STRUCTURE_NAME = IV_STRU I_INCLNAME = GC_REPID CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_TOP_OF_PAGE.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING I_ELEM_KEY = GC_P_SIMUL I_LANGUAGE = SY-LANGU IMPORTING E_SHORT_TEXT = G_SH_TXT.



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