SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWARCHZG SAP ABAP INCLUDE - Database Access During Archiving







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


Text pool values


Title: Database Access During Archiving


INCLUDES used within this REPORT RWARCHZG

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:

WLK1_REORG_READ CALL FUNCTION 'WLK1_REORG_READ' EXPORTING datum = h_datum wlk1 = wlk1 sperr_modus = 'E' wlk11 = wlk11 TABLES wlk1_in = g_i_wlk1 wlk11_in = g_i_wlk11 filiale = filiale EXCEPTIONS no_rec_found = 01 rec_enqueued = 02 tec_enqueued = 03.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_key IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '210' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '211' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

WWS_ENQ_ASSORTMENT CALL FUNCTION 'WWS_ENQ_ASSORTMENT' EXPORTING artikel = wlk1-artnr datumbis = h_datum filia = wlk1-filia sperr_modus = 'E' vrkme = wlk1-vrkme was = '3' "WLK1 EXCEPTIONS foreign_lock = 01 * NO_MODUS = 02 * NO_WAS = 03 system_failure = 02.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_key IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '210' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '211' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

WSOH_REORG_READ CALL FUNCTION 'WSOH_REORG_READ' EXPORTING datum = h_datum incl_wsot = 'X' sperr_modus = 'E' wsoh = wsoh TABLES wsoh_in = g_i_wsoh wsot_in = g_i_wsot baustein = so_skopf EXCEPTIONS no_rec_found = 01 rec_enqueued = 02 tec_enqueued = 03 no_rec_active = 04.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_key IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '210' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '211' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '214' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

WSOP_REORG_READ CALL FUNCTION 'WSOP_REORG_READ' EXPORTING datum = h_datum wsop = wsop TABLES wsop_in = g_i_wsop texte = g_i_makt baustein = so_skopf EXCEPTIONS no_rec_found = 01 rec_enqueued = 02 tec_enqueued = 03 no_rec_active = 04.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_key IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '210' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '211' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '214' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

WSOF_REORG_READ





CALL FUNCTION 'WSOF_REORG_READ' EXPORTING datum = h_datum sperr_modus = 'E' wsof = wsof TABLES wsof_in = g_i_wsof baustein = so_skopf filiale = filiale EXCEPTIONS no_rec_found = 01 rec_enqueued = 02 tec_enqueued = 03 no_rec_active = 04.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_datum IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_datum IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '209' msgv1 = tab_name msgv2 = h_datum IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '210' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '211' msgv1 = tab_name IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '214' msgv1 = tab_name msgv2 = h_key IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '218' IMPORTING message_text_output = ls_comment-comment_1.

MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'WM' msgnr = '217' IMPORTING message_text_output = ls_comment-comment_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 RWARCHZG or its description.