SAP Reports / Programs | Periodical Sales and Distribution | SAP Media | Periodical Sales and Distribution(IS-M-SD-PS) SAP IS

RJIREMXX SAP ABAP Report - Reorganize Daily Audit Statistics from Return Data







RJIREMXX is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program corrects incorrect time assignments of returned copies in the daily circulation audit statistics...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RJIREMXX 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 RJIREMXX. "Basic submit
SUBMIT RJIREMXX AND RETURN. "Return to original report after report execution complete
SUBMIT RJIREMXX 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_UPDZW = Update Despite Quantity Change
Selection Text: PA_TESTL = Test Run
Selection Text: PA_REMK2 = Return Cat. (Certificated)
Selection Text: PA_REMK1 = Return Cat. (Physical)
Title: Reorganize Daily Audit Statistics from Return Data
Text Symbol: 221 = records will be removed and
Text Symbol: 220 = .
Text Symbol: 217 = the previous quantities.
Text Symbol: 216 = updated return quantities differ from
Text Symbol: 215 = Updates will be carried out although the
Text Symbol: 212 = updates were carried out.
Text Symbol: 211 = was cancelled before the database
Text Symbol: 210 = Due to differing quantities, the program
Text Symbol: 201 = conversion not possible
Text Symbol: 200 = General sales parameters not found in customizing,
Text Symbol: 111 = Old Quantity New Quantity
Text Symbol: 110 = Publication/Edit. PublDate Issue ARCat.
Text Symbol: 100 = Test Run
Text Symbol: 030 = OTHERWISE DATA MAY BE LOST
Text Symbol: 020 = CAUTON: CONSULT SAP BEFORE STARTING THIS PROGRAM
Text Symbol: 010 = Repair daily audit statistics time assignment for returns
Text Symbol: 001 = No database updates
Text Symbol: 222 = records placed in audit statistics.
Text Symbol: 230 = Parameter
Text Symbol: 231 = is not a return category:
Text Symbol: 232 = conversion not possible.
Text Symbol: 351 = Please use the report you set up for your audit report types to update the circulation figures
Text Symbol: 350 = IVW updating converted to circulation book - no further processing
Text Symbol: 306 = Error occurred while accessing JDTVAUSGB; Key =
Text Symbol: 305 = Error occurred while accessing JKKD; VBELN/POSNR=
Text Symbol: 304 = Error occurred while accessing TJV01; Delivery type=
Text Symbol: 303 = Invalid return method in order.
Text Symbol: 302 = Error occurred while accessing table JKAK; key=
Text Symbol: 300 = Error occurred while accessing table JKVREMZ; key=
Text Symbol: 250 = Compare old and new quantities
001 Publn./Edition PublDate Issue ARCat. Old Qty New Qty


INCLUDES used within this REPORT RJIREMXX

INCLUDE MJ000TAL. " NEU
INCLUDE MJD00TC4. " 4.62





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:

ISP_BUFFERED_READ_TJK00 CALL FUNCTION 'ISP_BUFFERED_READ_TJK00' IMPORTING OUT_TJK00 = TJK00 EXCEPTIONS OTHERS = 4.

ISM_SELECT_SINGLE_TJD57 call function 'ISM_SELECT_SINGLE_TJD57' exporting aufmeldart = con_aufmeldart_ivw msgty = jymsg_c_abort importing tjd57_i = tjd57 exceptions no_entry_found = 1.

ISP_BUFFERED_READ_TJK00 CALL FUNCTION 'ISP_BUFFERED_READ_TJK00' IMPORTING OUT_TJK00 = TJK00 EXCEPTIONS OTHERS = 4.

ISP_SELECT_SINGLE_TJV01 CALL FUNCTION 'ISP_SELECT_SINGLE_TJV01' " NEU EXPORTING LIEFERART = RJKAP-LIEFERART " NEU MSGTY = CON_MSG_EXTERN " NEU IMPORTING MELDUNG = MELDUNG " NEU TJV01_I = TJV01 " NEU EXCEPTIONS NO_ENTRY_FOUND = 01. " NEU

ISP_SELECT_SINGLE_JDTVAUSGB CALL FUNCTION 'ISP_SELECT_SINGLE_JDTVAUSGB' " NEU EXPORTING MSGTY = CON_MSG_EXTERN " NEU VAUSGB = RJKEP-VAUSGB " NEU IMPORTING MELDUNG = MELDUNG " NEU JDTVAUSGB_I = JDTVAUSGB " NEU EXCEPTIONS NO_ENTRY_FOUND = 01. " NEU

ISP_JITSTAT_DELETE_TAB CALL FUNCTION 'ISP_JITSTAT_DELETE_TAB' TABLES IVW_DEL_TAB = ALTE_JITSTAT.

ISP_JITSTAT_INSERT_TAB CALL FUNCTION 'ISP_JITSTAT_INSERT_TAB' TABLES IVW_INS_TAB = NEUE_JITSTAT.



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