SAP Reports / Programs

RWSORT19 SAP ABAP Report - Finish material master segments that cannot be generated







RWSORT19 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 RWSORT19 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WSPK - Complete missing mat. segments log


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 RWSORT19. "Basic submit
SUBMIT RWSORT19 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT19 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: DATUM = Log date
Selection Text: DELETE = Delete log files
Selection Text: LOGN = Log number
Selection Text: ZEIT = Log time
Title: Finish material master segments that cannot be generated


INCLUDES used within this REPORT RWSORT19

INCLUDE MWWCONST.


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:

APPL_LOG_READ_DB_WITH_LOGNO CALL FUNCTION 'APPL_LOG_READ_DB_WITH_LOGNO' " TC 377754 TABLES " TC 377754 LOGNUMBERS = lognumbers " TC 377754 MESSAGES = balm_data " TC 377754 MESSAGE_PARAMETERS = balmp_data. " TC 377754

ASSORTMENT_MAINTAIN_MATERIAL CALL FUNCTION 'ASSORTMENT_MAINTAIN_MATERIAL' EXPORTING WRITE_PROT = 'X' * SEND_MESSAGE = ' ' TABLES P_ALL_MATNR = P_ALL_MATNR P_UPD_MAW1 = P_UPD_MAW1 P_INS_MARC = P_INS_MARC P_INS_MBEW = P_INS_MBEW P_INS_MVKE = P_INS_MVKE P_UPD_MVKE = P_UPD_MVKE P_INS_WRPL = P_INS_WRPL "ins rel. 46a hbo

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING MATNR = P_MATNR IMPORTING WMARA = P_MARA EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

APPL_LOG_DELETE_WITH_LOGNUMBER CALL FUNCTION 'APPL_LOG_DELETE_WITH_LOGNUMBER' IMPORTING NUMBER_OF_DELETED_LOGS = DELETED_LOGS NUMBER_OF_NON_DELETED_LOGS = NON_DELETED_LOGS TABLES LOGNUMBER = PT_DEL_LOG_TAB 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 RWSORT19 or its description.