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

WMARCH20 SAP ABAP INCLUDE - Part 2 of the Archiving Routines in Func. Mod. REORGANISATION_TEST







WMARCH20 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 WMARCH20 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 WMARCH20. "Basic submit
SUBMIT WMARCH20 AND RETURN. "Return to original report after report execution complete
SUBMIT WMARCH20 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: I036 = 037 Subsequent functions I
Selection Text: require = 28 *** FIS formulasI129
Title: Part 2 of the Archiving Routines in Func. Mod. REORGANISATION_TEST
Text Symbol: V10 = Sales ;;
Text Symbol: V15 = Shipping ;;
Text Symbol: V20 = Billing ;;
Text Symbol: V24 = Partner functions ;;
Text Symbol: V26 = Messages ;;
Text Symbol: V30 = Shipping points ;;
Text Symbol: V36 = ContactPers.Details ;;
Text Symbol: V40 = Unloading points ;;
Text Symbol: V50 = Taxes ;;
Text Symbol: V60 = Contact person ;;
Text Symbol: V70 = Manual time estimate ;;
Text Symbol: V80 = does not exist ;;
Text Symbol: VTG = Sales text group ;;
Text Symbol: VTX = Sales texts ;;
Text Symbol: Z01 = frm;;


INCLUDES used within this REPORT WMARCH20

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:

ARCHIVES_INIT CALL FUNCTION 'ARCHIVES_INIT' EXPORTING I_APPLI = TR01-APPLI I_OBJCT = TR01-OBJCT I_RPATH = ARCH_PATH IMPORTING E_ARKEY = ARCH_ARKEY E_FNAME = ARCH_FNAME E_DSN = ARCH_DSN E_DATUM = ARCH_DATUM E_UZEIT = ARCH_UZEIT TABLES T_FR01S = PAR_SEL_TAB.

ARCHIVES_UPDT CALL FUNCTION 'ARCHIVES_UPDT' EXPORTING I_APPLI = TR01-APPLI I_OBJCT = TR01-OBJCT I_ARKEY = ARCH_ARKEY I_AZAHL = NUMBER_OF_ENTRIES.

RKZ_WRITE_HEADER_RF CALL FUNCTION 'RKZ_WRITE_HEADER_RF' EXPORTING NAME = DSN HEADER = SOFI_HEADER.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MARA-LENGTH WA = ARCH_MARA EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MAKT-LENGTH WA = ARCH_MAKT EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MARM-LENGTH WA = ARCH_MARM EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MEAN-LENGTH WA = ARCH_MEAN EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MARC-LENGTH WA = ARCH_MARC EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MARD-LENGTH WA = ARCH_MARD EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MBEW-LENGTH WA = ARCH_MBEW EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MVKE-LENGTH WA = ARCH_MVKE EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MLAN-LENGTH WA = ARCH_MLAN EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MLGN-LENGTH WA = ARCH_MLGN EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_MLGT-LENGTH WA = ARCH_MLGT EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_THEAD-LENGTH WA = ARCH_THEAD EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_TLINE-LENGTH WA = ARCH_TLINE EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

RKZ_TRANSFER_RECORD CALL FUNCTION 'RKZ_TRANSFER_RECORD' EXPORTING NAME = DSN LENGTH = ARCH_WLK1-LENGTH WA = ARCH_WLK1 EXCEPTIONS CB_NOT_OPEN = 01 LENGTH_ZERO = 02.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING DATABASE_ONLY = SPACE ID = MARA_TEXT_ID LANGUAGE = MARA_TEXT_SPRAS NAME = OBJ_NAME OBJECT = OBJ_ID TEXTMEMORY_ONLY = SPACE IMPORTING ENTRIES = TEXT_HEADER_COUNTER TABLES SELECTIONS = TEXT_HEADERS.

READ_TEXT





CALL FUNCTION 'READ_TEXT' EXPORTING ID = TEXT_HEADERS-TDID LANGUAGE = TEXT_HEADERS-TDSPRAS NAME = TEXT_HEADERS-TDNAME OBJECT = TEXT_HEADERS-TDOBJECT IMPORTING HEADER = TEXT_HEADER_READ TABLES LINES = TEXT_LINES EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5 REFERENCE_CHECK = 6.



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