SAP Reports / Programs | Basis Components | Middleware | ALE Integration Technology(BC-MID-ALE) SAP BC

RSEREPA5 SAP ABAP Report - New data element assigned to segment field







RSEREPA5 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 RSEREPA5 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 RSEREPA5. "Basic submit
SUBMIT RSEREPA5 AND RETURN. "Return to original report after report execution complete
SUBMIT RSEREPA5 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: FIELDNA = Field name
Selection Text: ROLLNAME = New data element
Selection Text: SEGTYP = Segment type
Title: New data element assigned to segment field
Text Symbol: 001 = Segment conversion
Text Symbol: 002 = successful
Text Symbol: 003 = canceled!
Text Symbol: 004 = Error: Length of old data element and new data element are different
Text Symbol: 005 = Error
Text Symbol: 101 = New
Text Symbol: 102 = Revised


INCLUDES used within this REPORT RSEREPA5

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:

SEGMENT_READ CALL FUNCTION 'SEGMENT_READ' EXPORTING SEGMENTTYP = SEGTYP IMPORTING * RESULT = DEVCLASS = DEVCLASS SEGMENTHEADER = SEGMENTHEADER TABLES SEGMENTDEFINITION = SEGMENTDEFINITION SEGMENTSTRUCTURE = SEGMENTSTRUCTURE EXCEPTIONS NO_AUTHORITY = 1 SEGMENT_NOT_EXISTING = 2 OTHERS = 3.

SEGMENT_TRANSPORT_CHECK CALL FUNCTION 'SEGMENT_TRANSPORT_CHECK' EXPORTING SEGMENTTYP = SEGTYP DEVCLASS = DEVCLASS * TRANSPORT_MODE = ' ' IMPORTING TASK = TASK CHANGING ORDER = ORDER EXCEPTIONS TRANSPORT_ERROR = 1 NO_AUTHORITY = 2 OTHERS = 3.

SEGMENT_TRANSPORT_INSERT CALL FUNCTION 'SEGMENT_TRANSPORT_INSERT' IMPORTING TASK = TASK CHANGING ORDER = ORDER EXCEPTIONS TRANSPORT_ERROR = 1 NO_AUTHORITY = 2 OTHERS = 3.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = INT_EDSAPPL-ROLLNAME * STATE = 'A' LANGU = SY-LANGU IMPORTING * GOTSTATE = DD04V_WA = DD04V * TPARA_WA = EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'DOMREP' DYNUMB = '1000' * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' TABLES DYNPFIELDS = DYNPFIELD EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 DOUBLE_CONVERSION = 9 OTHERS = 10.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' SELECTFIELD = P_SELECTFIELD TITEL = P_TITEL * NO_PERS_HELP_SELECT = ' ' * TITLE_IN_VALUES_LIST = ' ' * SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' * USE_USER_SELECTIONS = ' ' * WRITE_SELECTFIELD_IN_COLOURS = 'X' * NO_SCROLL = ' ' * NO_CONVERSION = ' ' * REDUCED_STATUS_ONLY = ' ' * NO_MARKING_OF_CHECKVALUE = ' ' * NO_DISPLAY_OF_PERS_VALUES = ' ' * FILTER_FULL_TABLE = ' ' IMPORTING IND = P_INDEX_TAB * SELECT_VALUE = TABLES FIELDS = TAB_TABFIELDS FULL_TABLE = TAB_VALUETAB * USER_SEL_FIELDS = * HEADING_TABLE = EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5 OTHERS = 6.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING NAME = L_NAME STATE = 'M' LANGU = SY-LANGU IMPORTING GOTSTATE = P_GOTSTATE DD02V_WA = GLOBAL_DD02V * dd09l_wa = TABLES DD03P_TAB = GLOBAL_DD03P * DD05M_TAB = * DD08V_TAB = * DD12V_TAB = * DD17V_TAB = EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = L_ROLLNAME STATE = 'A' * LANGU = ' ' IMPORTING GOTSTATE = L_GOTSTATE DD04V_WA = L_DD04V * TPARA_WA = EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

DDUT_TYPE_TO_LENGTH CALL FUNCTION 'DDUT_TYPE_TO_LENGTH' EXPORTING TYPE = L_SEGSTRU-ROLLNAME IMPORTING DESTLEN = L_EXPLENG EXCEPTIONS NOT_FOUND = 1 CONVERSION_IMPOSSIBLE = 2 OTHERS = 3.

DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING NAME = L_NAME DD02V_WA = L_DD02V * DD09L_WA = ' ' TABLES DD03P_TAB = PT_DD03P * DD05M_TAB = * DD08V_TAB = EXCEPTIONS TABL_NOT_FOUND = 1 NAME_INCONSISTENT = 2 TABL_INCONSISTENT = 3 PUT_FAILURE = 4 PUT_REFUSED = 5 OTHERS = 6.

DD_LOGNPROT_NAME_GET CALL FUNCTION 'DD_LOGNPROT_NAME_GET' EXPORTING TASK = 'ACT' SINGLE_OR_MASS = 'S' OBJ_TYPE = 'TABL' ONLINE_PUT = 'O' OBJ_NAME = L_TABNAME * IND_NAME = ' ' * DATE_IN = ' ' * TIME_IN = ' ' IMPORTING PROTNAME = PROTNAME * protname_template = * jobname = * jobname_template = EXCEPTIONS INPUT_ERROR = 01.

DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING NAME = L_TABNAME * AUTH_CHK = 'X' PRID = PRID IMPORTING RC = L_RC EXCEPTIONS NOT_FOUND = 1 PUT_FAILURE = 2 OTHERS = 3.

DD_PR_CLOSE CALL FUNCTION 'DD_PR_CLOSE' EXPORTING ID = ID EXCEPTIONS OTHERS = 02.

DD_EXCEPTION_HANDLER CALL FUNCTION 'DD_EXCEPTION_HANDLER'.

DD_OBJ_DEL CALL FUNCTION 'DD_OBJ_DEL' EXPORTING OBJECT_NAME = L_TABNAME OBJECT_TYPE = 'TABL' DEL_STATE = 'M' * PRID = 0 EXCEPTIONS WRONG_DEL_STATE = 1 WRONG_OBJECT_TYPE = 2 OTHERS = 3.

DD_PR_LOG_OPEN CALL FUNCTION 'DD_PR_LOG_OPEN' EXPORTING DEVICE = DEV MODUS = MOD STYLE = STYLE LEVEL = LEV FILLER = FILLER TEMPLATE = TEMPLATE IMPORTING LOGNAME = LOGNAME ID = PRID EXCEPTIONS OTHERS = 02.

DD_EXCEPTION_HANDLER CALL FUNCTION 'DD_EXCEPTION_HANDLER'.

DDUT_TYPE_TO_LENGTH CALL FUNCTION 'DDUT_TYPE_TO_LENGTH' EXPORTING TYPE = ROLLNAME IMPORTING DESTLEN = L_NEW_LENGTH EXCEPTIONS NOT_FOUND = 1 CONVERSION_IMPOSSIBLE = 2 OTHERS = 3.

DDUT_TYPE_TO_LENGTH





CALL FUNCTION 'DDUT_TYPE_TO_LENGTH' EXPORTING TYPE = P_ROLLNAME IMPORTING DESTLEN = L_NEW_LENGTH EXCEPTIONS NOT_FOUND = 1 CONVERSION_IMPOSSIBLE = 2 OTHERS = 3.



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