SAP Reports / Programs

RSIWB_XML_CONFIG_EDIT SAP ABAP Report - KW-XML: Edit CONFIG XML/DTD







RSIWB_XML_CONFIG_EDIT 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 RSIWB_XML_CONFIG_EDIT 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 RSIWB_XML_CONFIG_EDIT. "Basic submit
SUBMIT RSIWB_XML_CONFIG_EDIT AND RETURN. "Return to original report after report execution complete
SUBMIT RSIWB_XML_CONFIG_EDIT 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: P_PHCL = PHIO Class
Selection Text: P_NPHIO = Approved PHIO
Selection Text: P_CORR = Correction System
Selection Text: P_CFXML = Modify Config Instance
Selection Text: P_CFDTD = Modify Config DTD
Title: KW-XML: Edit CONFIG XML/DTD
Text Symbol: 019 = Not a new PHIO or entered incorrectly
Text Symbol: 018 = Selection of Configuration File
Text Symbol: 017 = Editing in Correction System
Text Symbol: 016 = Creation of instance of text edit control failed
Text Symbol: 015 = Creation of editor container instance failed
Text Symbol: 014 = Error occured while converting text
Text Symbol: 013 = CONFIG.DTD not found or is not unique
Text Symbol: 012 = Relation DTDREF of CONFIG.XML to CONFIG.DTD has not been found
Text Symbol: 011 = The CONFIG-PHIO (&1 &2) is included in transport request &3
Text Symbol: 010 = Transport entry cannot be created
Text Symbol: 009 = Transport entry for CONFIG-PHIO (&1 &2) cannot be created
Text Symbol: 008 = New CONFIG-PHIO (&1 &2) has been created
Text Symbol: 007 = CONFIG-PHIO (&1 &2) is being modified
Text Symbol: 006 = CONFIG for PHIO-Klasse &1 is unlocked
Text Symbol: 005 = CONFIG for PHIO class &1 is locked by user &2
Text Symbol: 004 = Config file has been changed. Save it before leaving the editor?
Text Symbol: 003 = Exit Editor
Text Symbol: 002 = No
Text Symbol: 001 = Yes


INCLUDES used within this REPORT RSIWB_XML_CONFIG_EDIT

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:

SDOK_PHIO_LOAD_CONTENT call function 'SDOK_PHIO_LOAD_CONTENT' exporting object_id = g_config_phio raw_mode = 'X' tables file_access_info = g_access_infos[] file_content_binary = l_config_table[] exceptions others = 1.

SCMS_BINARY_TO_FTEXT call function 'SCMS_BINARY_TO_FTEXT' exporting input_length = l_length * importing output_length = tables binary_tab = l_config_table[] ftext_tab = g_text_table[] exceptions others = 1.

SDOK_CLASS_TO_RELATIONS_GET call function 'SDOK_CLASS_TO_RELATIONS_GET' exporting class = p_class relation_class = sdoki_recl_dtd_model tables result = l_dtd_models[] exceptions others = 1.

SDOK_LOIO_PHYSICAL_OBJECT_GET call function 'SDOK_LOIO_PHYSICAL_OBJECT_GET' exporting object_id = l_dtd_loio importing physical_object = l_dtd_phio tables context = l_context[] * phio_properties = exceptions others = 1.

SDOK_PHIO_FROM_RELATIONS_GET call function 'SDOK_PHIO_FROM_RELATIONS_GET' exporting object_id = l_dtd_phio relation_class = sdoki_recl_fragment_config tables result = l_configs[] exceptions others = 1.

SDOK_PHIO_TO_RELATIONS_GET call function 'SDOK_PHIO_TO_RELATIONS_GET' exporting object_id = l_config_phio relation_class = sdoki_recl_dtd_ref tables result = l_config_dtds[] exceptions others = 1.

SDOK_LOIO_PHYSICAL_OBJECT_GET call function 'SDOK_LOIO_PHYSICAL_OBJECT_GET' exporting object_id = l_config_dtd_loio importing physical_object = p_phio tables context = l_context[] * phio_properties = exceptions others = 1.

SDOK_IOS_COMMFILE_BUILD call function 'SDOK_IOS_COMMFILE_BUILD' tables object_list = l_transport_phios[] commfile_entries = l_tr_table[] bad_objects = l_err_objects[].

TR_OBJECTS_CHECK call function 'TR_OBJECTS_CHECK' importing we_order = l_transport_order tables wt_ko200 = l_tr_table[] exceptions cancel_edit_other_error = 1 show_only_other_error = 2 others = 3.

IW_C_APPEND_OBJECTS_TO_REQUEST call function 'IW_C_APPEND_OBJECTS_TO_REQUEST' importing transport_order = l_transport_order is_cancelled = l_cancelled error_msg = l_error_msg tables objects = l_tr_table[].

SCP_TRANSLATE_CHARS_46 call function 'SCP_TRANSLATE_CHARS_46' exporting inbuff = l_xstring inbufflg = l_xlength * INCODE = '0000' outcode = '4110' ctrlcode = 'T' importing outbuff = l_xstring_utf8 outused = l_config_length exceptions others = 1.

SCMS_XSTRING_TO_BINARY call function 'SCMS_XSTRING_TO_BINARY' exporting buffer = l_xstring_utf8 tables binary_tab = l_config_table_new[].

SDOK_PHIO_STORE_AS_UPDATE call function 'SDOK_PHIO_STORE_AS_UPDATE' exporting object_id = g_config_phio new_object_unique_id = p_nphio x_force_update = 'X' importing new_object_id = g_config_phio_new tables file_access_info = g_access_infos[] file_content_binary = l_config_table_new[] exceptions not_existing = 1 not_allowed = 2 not_authorized = 3 no_content = 4 bad_storage_type = 5 enqueue_failure = 6 exception_in_exit = 7 others = 8.

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = 'Editor beenden'(003) text_question = 'Config-Datei wurde verändert. Vor Beenden des Editors sichern?'(004)

SDOK_PHIO_ENQUEUE call function 'SDOK_PHIO_ENQUEUE' exporting object_id = g_config_phio exceptions others = 1.

SDOK_PHIO_DEQUEUE call function 'SDOK_PHIO_DEQUEUE' exporting object_id = g_config_phio exceptions others = 1.

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = l_log_header importing e_log_handle = g_log_handle exceptions others = 1.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = g_log_handle i_s_msg = l_message exceptions others = 0.

BAL_DB_SAVE





call function 'BAL_DB_SAVE' exporting i_t_log_handle = l_handle_table[].



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