SAP Reports / Programs | Construction Equipment Management | Industry Solution Engineering & Construction | Construction Equipment Management(IS-EC-CEM) SAP IS

/SAPCEM/ARCHI_VERSANDBELEG SAP ABAP Report - Archiving CEM Shipping Document: Write Program







/SAPCEM/ARCHI_VERSANDBELEG 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 /SAPCEM/ARCHI_VERSANDBELEG 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 /SAPCEM/ARCHI_VERSANDBELEG. "Basic submit
SUBMIT /SAPCEM/ARCHI_VERSANDBELEG AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPCEM/ARCHI_VERSANDBELEG 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: PA_DATE = Key Date
Selection Text: PA_TEST = Test Run
Selection Text: SO_ABSEN = D Sender
Selection Text: SO_BELNR = D Document number
Selection Text: SO_EMPFA = D Recipient
Title: Archiving CEM Shipping Document: Write Program
Text Symbol: 001 = Selected :
Text Symbol: 002 = CanBeArchived
Text Symbol: 003 = Settled :
Text Symbol: 004 = Not included:


INCLUDES used within this REPORT /SAPCEM/ARCHI_VERSANDBELEG

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:

J_3G_BELEG_STATUS_CHECK CALL FUNCTION 'J_3G_BELEG_STATUS_CHECK' EXPORTING I_TRTYP = '02' I_STATUS = WA_BELP-J_3GBELSTA I_STATUSE = WA_BELP-J_3GBELSTE EXCEPTIONS OTHERS = 1.

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING OBJECT = CON_OBJ_SHD IMPORTING ARCHIVE_HANDLE = HLP_HANDLE EXCEPTIONS OTHERS = 1.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE OBJECT_ID = -J_3GBELNRI EXCEPTIONS OTHERS = 1.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE RECORD = RECORD_STRUCTURE = CON_BELK EXCEPTIONS OTHERS = 1.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE RECORD = RECORD_STRUCTURE = CON_BELP EXCEPTIONS OTHERS = 0.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE RECORD = RECORD_STRUCTURE = CON_HBEST EXCEPTIONS OTHERS = 0.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE EXCEPTIONS OTHERS = 0.

ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE STATISTICS_ONLY_PER_FILE = 'X' EXCEPTIONS OTHERS = 0.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = HLP_HANDLE EXCEPTIONS OTHERS = 0.



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 /SAPCEM/ARCHI_VERSANDBELEG or its description.