RSEREPA7 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report can be used to check the formal consistency of IDoc segments and to repair any incorrect segments, under certain conditions...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 RSEREPA7 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: PCLOSED = Release flag
Selection Text: PNAME = Name
Selection Text: REPAIR = Repair data consistency
Selection Text: SEGMENT = Segment type
Selection Text: TESTRUN = Test mode
Selection Text: CLOSED = Set release flag to
Selection Text: DETAIL = Detail log
Selection Text: NAMES = Set name to
Title: Checking/repairing segment using 3.x logic
Text Symbol: 060 = No segment definition found for this segment
Text Symbol: 059 = Active segment definition has different segment type
Text Symbol: 058 = Names in segment definition are not
Text Symbol: 057 = Length of segment def. inconsistent with DDIC length of structure
Text Symbol: 056 = Segment definition is not released
Text Symbol: 049 = Checking segm.type
Text Symbol: 011 = No entry in check table
Text Symbol: 009 = No segm.type corresp. to
Text Symbol: 003 = Unknown DDIC structure will be ignored in further repairs
Text Symbol: 002 = Repair not possible since DDIC length cannot be determined
Text Symbol: 001 = Repair not possible since DDIC structure unknown
Text Symbol: 048 = Setting as active segment def.
Text Symbol: 047 = Checking segment definition
Text Symbol: 021 = Release of segment type set to
Text Symbol: 020 = Release of segment type unknown
Text Symbol: 067 = No segment definition found with segment type length
Text Symbol: 068 = Segment def. active in DDIC but length is different from segm. type
Text Symbol: 069 = Segment definition & is not released
Text Symbol: 070 = Segment definition & was released
Text Symbol: 080 = Checking segment:
Text Symbol: 012 = Check table entry will be generated
Text Symbol: 062 = Segment def. with length corresponding to segment type set to active
Text Symbol: 063 = All existing segment definitions are longer than the segment type
Text Symbol: 064 = Newest segment definition possible set as active segment def.
Text Symbol: 061 = Segment def. generated with name
Text Symbol: 091 = Names were not set to SAP
Text Symbol: 090 = Names were set to SAP
Text Symbol: 087 = Segment can be repaired
Text Symbol: 086 = Segment cannot be repaired
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DD_TABL_GET CALL FUNCTION 'DD_TABL_GET' EXPORTING " get_state = 'M' LANGU = SY-LANGU PRID = 0 TABL_NAME = OBJ_NAME " withtext = ' ' " use_cache = ' ' TRACELEVEL = 0 IMPORTING GOT_STATE = STATE TABLES DD03P_TAB_A = MYTAB_A DD03P_TAB_N = MYTAB_N DD05M_TAB_A = DD05M_TAB_A DD05M_TAB_N = DD05M_TAB_A DD08V_TAB_A = DD08V_TAB_A DD08V_TAB_N = DD08V_TAB_N DD12V_TAB_A = DD12V_TAB_A DD12V_TAB_N = DD12V_TAB_N DD17V_TAB_A = DD17V_TAB_A DD17V_TAB_N = DD17V_TAB_N EXCEPTIONS ACCESS_FAILURE = 01.
DD_TABL_LENGTH_GET CALL FUNCTION 'DD_TABL_LENGTH_GET' EXPORTING TABNAME = OBJ_NAME IMPORTING DATALENGTH = DATALENGTH KEYLENGTH = KEYLENGTH TABLELENGTH = DDIC_LENGTH TABLES DD03P_TAB = MYTAB_A EXCEPTIONS WRONG_TABNAME = 01.
TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING " systemedit = SYSTEMNAME = SYSTEMNAME SYSTEMTYPE = SYSTEMTYPE EXCEPTIONS NO_SYSTEMNAME = 01 " system_client_edit = NO_SYSTEMTYPE = 02.
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 RSEREPA7 or its description.
RSEREPA7 - Checking/repairing segment using 3.x logic RSEREPA7 - Checking/repairing segment using 3.x logic RSEREPA6 - Conversion and transport of segment definition from 4.x to 3.x RSEREPA6 - Conversion and transport of segment definition from 4.x to 3.x RSEREPA5 - New data element assigned to segment field RSEREPA5 - New data element assigned to segment field