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

RSELOADMDMP_SPRAS SAP ABAP Report - Display/maintain language fields for each IDoc segment







RSELOADMDMP_SPRAS 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 RSELOADMDMP_SPRAS 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

WE86 - Assignment Segm.Type and Lang.Field


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 RSELOADMDMP_SPRAS. "Basic submit
SUBMIT RSELOADMDMP_SPRAS AND RETURN. "Return to original report after report execution complete
SUBMIT RSELOADMDMP_SPRAS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Display/maintain language fields for each IDoc segment
Text Symbol: M11 = Entries added (message type &1, IDoc type &2)
Text Symbol: M12 = Assignment deleted (msge type &1, IDoc type &2, seg.type &3)
Text Symbol: M13 = Data has been saved
Text Symbol: M14 = No change possible (segment type &1 contains only one lang.-relevant field)
Text Symbol: M15 = Error while change field selection (&1)
Text Symbol: M16 = Do not use any wild cards (* and so on)
Text Symbol: M17 = No IDoc type for message type (&1) found
Text Symbol: M18 = Message type &1 does not exist
Text Symbol: M19 = IDoc type &1 does not contain any segments with recognizable language-relevant fields
Text Symbol: T01 = Segment Type
Text Symbol: T02 = Field Name
Text Symbol: T06 = Message Type
Text Symbol: T07 = IDoc Type
Text Symbol: T08 = Field Name
Text Symbol: T09 = Description
Text Symbol: T10 = Selection
Text Symbol: T11 = Message type is linked with serveral IDoc types
Text Symbol: T12 = Choose an IDoc type
Text Symbol: T13 = Field Selection
Text Symbol: T14 = From the list, choose a field that
Text Symbol: T15 = contains the language key
Text Symbol: T17 = Data element (semantic domain)
Text Symbol: 001 = Language Field for Each Segment Type
Text Symbol: 003 = No authorization for maintenance of language fields
Text Symbol: 004 = Choose maximum one field with language information for each
Text Symbol: 005 = segment
Text Symbol: A01 = Choose Message Type
Text Symbol: E08 = Message type and IDoc type already being used
Text Symbol: E10 = Choose only one field for segment &1
Text Symbol: F01 = Save data?
Text Symbol: F02 = Delete all assignments for message type &1 and IDoc type &2?
Text Symbol: F04 = Delete assignment for segment &1?
Text Symbol: F05 = Discard all unsaved changes?
Text Symbol: I03 = Delete entries
Text Symbol: M00 = Error in system
Text Symbol: M01 = Error while loading data
Text Symbol: M02 = Error while loading segment definition (&1)





Text Symbol: M03 = Error while loading IDoc definition (&1)
Text Symbol: M04 = Error while deleting data
Text Symbol: M05 = Error while determining field selection
Text Symbol: M06 = Error while determining IDoc definitions (&1)
Text Symbol: M07 = No unassigned IDoc types for message type &1 found
Text Symbol: M08 = Error while determining IDoc definitions (&1)
Text Symbol: M09 = IDoc type &1 contains no segments with language-relevant fields
Text Symbol: M10 = Assignment deleted (message type &1, IDoc type &2)


INCLUDES used within this REPORT RSELOADMDMP_SPRAS

INCLUDE AUTH2TOP. "#EC NEEDED


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-f05 text_question = text-f05 default_button = '2' display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' " lieber nachfragen EXPORTING titlebar = text-f01 text_question = text-f01 default_button = '1' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = answer.

SEGMENT_READ_COMPLETE CALL FUNCTION 'SEGMENT_READ_COMPLETE' EXPORTING pi_segtyp = segmenttyp pi_release = ' ' TABLES pt_fields = segstruc EXCEPTIONS segment_unknown = 1 segment_structure_unknown = 2 OTHERS = 3.

IDOCTYPES_FOR_MESTYPE_READ CALL FUNCTION 'IDOCTYPES_FOR_MESTYPE_READ' EXPORTING p_mestyp = wa_msg-mestyp TABLES pt_messages = pt_messages.

IDOCTYPE_EXISTENCE_CHECK CALL FUNCTION 'IDOCTYPE_EXISTENCE_CHECK' EXPORTING pi_idoctyp = idoctyp * PI_READ_DEVC = 'X' IMPORTING pe_attributes = attributes EXCEPTIONS object_not_found = 1 db_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'EDI_MSG_MDMP' CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid "'RSELOADMDMP_SPRAS' i_callback_pf_status_set = 'STATUS_SET' i_callback_user_command = 'USER_COMMAND' i_grid_title = titel is_layout = is_layout it_fieldcat = ct_fieldcat it_sort = it_sort TABLES t_outtab = it_msg_mdmp EXCEPTIONS OTHERS = 1.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-a01 IMPORTING returncode = returncode TABLES fields = fields EXCEPTIONS OTHERS = 1.

IDOCTYPE_READ_COMPLETE CALL FUNCTION 'IDOCTYPE_READ_COMPLETE' EXPORTING pi_idoctyp = wa_messages-idoctyp pi_release = ' ' * pi_applrel = ' ' TABLES pt_segments = pt_segments pt_fields = pt_fields EXCEPTIONS object_unknown = 1 segment_unknown = 2 relation_not_found = 3 OTHERS = 4.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-i03 text_question = text_question default_button = '2' display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-i03 text_question = text_question default_button = '2' display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

SEGMENT_READ_COMPLETE CALL FUNCTION 'SEGMENT_READ_COMPLETE' EXPORTING pi_segtyp = segtyp pi_release = ' ' * PI_APPLREL = ' ' * PI_VERSION = '3' * IMPORTING * PE_HEADER = PE_HEADER TABLES pt_fields = segment * PT_FVALUES = PT_FVALUES EXCEPTIONS segment_unknown = 1 segment_structure_unknown = 2 OTHERS = 3 .

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING cursorline = cursorline titel = text-t13 textline1 = text-t14 textline2 = text-t15 * textline3 = text-t16 mark_flag = ' ' mark_max = 1 IMPORTING answer = answer TABLES t_spopli = spoplist EXCEPTIONS not_enough_answers = 1 too_much_answers = 2 too_much_marks = 3 OTHERS = 4.

IDOCTYPE_READ_COMPLETE CALL FUNCTION 'IDOCTYPE_READ_COMPLETE' EXPORTING pi_idoctyp = wa_msg-idoctyp pi_release = ' ' * pi_applrel = ' ' TABLES pt_segments = pt_segments pt_fields = pt_fields EXCEPTIONS object_unknown = 1 segment_unknown = 2 relation_not_found = 3 OTHERS = 4.






REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_internal_tabname = 'PT_SEGMENTS' i_structure_name = 'EDI_IAPI11' CHANGING ct_fieldcat = it_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = lt_events.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'REUSE_STATUS' is_layout = gs_layout it_fieldcat = it_fieldcat[] i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 100 i_screen_end_line = 25 it_events = lt_events i_tabname_header = 'PT_SEGMENTS' i_tabname_item = 'IT_FIELDS' is_keyinfo = is_keyinfo IMPORTING * e_exit_caused_by_caller = exit_caller es_exit_caused_by_user = exit_user TABLES t_outtab_header = p_segments[] t_outtab_item = it_fields[] EXCEPTIONS program_error = 1 OTHERS = 2.

IDOCTYPES_FOR_MESTYPE_READ CALL FUNCTION 'IDOCTYPES_FOR_MESTYPE_READ' EXPORTING p_mestyp = p_mestyp TABLES pt_messages = pt_messages.

IDOCTYPE_EXISTENCE_CHECK CALL FUNCTION 'IDOCTYPE_EXISTENCE_CHECK' EXPORTING pi_idoctyp = wa_messages-idoctyp * pi_read_devc = ' ' IMPORTING pe_attributes = pe_attrib EXCEPTIONS object_not_found = 1 db_error = 2 OTHERS = 3.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING * CURSORLINE = 1 * MARK_FLAG = ' ' * MARK_MAX = 1 start_col = 3 start_row = 3 textline1 = text-t11 textline2 = text-t12 textline3 = txt titel = text-t14 * DISPLAY_ONLY = ' ' IMPORTING answer = answer TABLES t_spopli = spoplist EXCEPTIONS not_enough_answers = 1 too_much_answers = 2 too_much_marks = 3 OTHERS = 4.



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