SAP Reports / Programs | Environment, Health and Safety | SAP EHS Management | Product Compliance(EHS-MGM-PRC) SAP EHS

R_EHPRC_TEST_CONVERSION_OBD SAP ABAP Report - Test XML Conversion - Outbound







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

EHPRC_CPU02O - Test Outbound Conversion


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 R_EHPRC_TEST_CONVERSION_OBD. "Basic submit
SUBMIT R_EHPRC_TEST_CONVERSION_OBD AND RETURN. "Return to original report after report execution complete
SUBMIT R_EHPRC_TEST_CONVERSION_OBD 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_ATTF1 = Attachment 1
Selection Text: P_FILE = Source File
Selection Text: P_FILINT = D .
Selection Text: P_RFCDES = Alternative RFC Destination
Selection Text: P_VALDST = Validate Source File
Selection Text: P_VALSRC = Validate Result File
Title: Test XML Conversion - Outbound
Text Symbol: 001 = Conversion Parameters
Text Symbol: 003 = Target System
Text Symbol: 010 = Delete Selection Parameters
Text Symbol: 011 = Check Selection Parameters
Text Symbol: D01 = Status
Text Symbol: D02 = Do you want to see more details?


INCLUDES used within this REPORT R_EHPRC_TEST_CONVERSION_OBD

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:

DDUT_INPUT_CHECK CALL FUNCTION 'DDUT_INPUT_CHECK' EXPORTING value = p_rfcdes IMPORTING msgid = sy-msgid msgty = sy-msgty msgno = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 EXCEPTIONS no_ddic_field = 1 illegal_move = 2 OTHERS = 3.

EHPRC_CP_LB28_RFCDEST_SET CALL FUNCTION 'EHPRC_CP_LB28_RFCDEST_SET' EXPORTING i_rfcdest = p_rfcdes.

TRINT_SPLIT_FILE_AND_PATH * CALL FUNCTION 'TRINT_SPLIT_FILE_AND_PATH' * EXPORTING * full_name = ls_filetable-filename * IMPORTING * stripped_name = xs_file_info-name * file_path = xs_file_info-path * EXCEPTIONS * x_error = 1 * OTHERS = 2.

EHPRC_CP_LB13F_EXISTANCE_CHECK CALL FUNCTION 'EHPRC_CP_LB13F_EXISTANCE_CHECK' EXPORTING i_file_name = l_file EXCEPTIONS file_does_not_exist = 1 OTHERS = 2.

TRINT_SPLIT_FILE_AND_PATH CALL FUNCTION 'TRINT_SPLIT_FILE_AND_PATH' EXPORTING full_name = l_filename IMPORTING stripped_name = ls_srcfile_info-name file_path = ls_srcfile_info-path EXCEPTIONS x_error = 1 OTHERS = 2.

EHPRC_CP_LB28_CONVERT_OUTBOUND CALL FUNCTION 'EHPRC_CP_LB28_CONVERT_OUTBOUND' EXPORTING is_srcfile_info = ls_srcfile_info iv_srcfile = lv_srcfile is_attfile_info = ls_attfile_info it_attfile = lt_attfile_data IMPORTING es_resfile_info = es_resfile_info ev_resfile = lv_result_srcfile e_flg_error = e_flg_error et_message = et_message.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING * DEFAULTOPTION = 'Y' diagnosetext1 = l_msgtext(35) diagnosetext2 = l_msgtext+35 diagnosetext3 = l_diagnosetext3 textline1 = text-d02 titel = text-d01 * START_COLUMN = 25 * START_ROW = 6 cancel_display = space IMPORTING answer = l_answer.

EHPRC_CP_LB03N_MAP_2BALMI CALL FUNCTION 'EHPRC_CP_LB03N_MAP_2BALMI' EXPORTING it_message = it_message IMPORTING et_balmi = lt_balmi.

EHPRC_CP_LB03_MSGS_DISPL_LOG CALL FUNCTION 'EHPRC_CP_LB03_MSGS_DISPL_LOG' EXPORTING i_flg_amodal = 'X' i_flg_shw_win_always = 'X' it_messages = lt_balmi.

TRINT_SPLIT_FILE_AND_PATH CALL FUNCTION 'TRINT_SPLIT_FILE_AND_PATH' EXPORTING full_name = i_srcfile IMPORTING file_path = l_initial_directory EXCEPTIONS x_error = 1 OTHERS = 2.

TRINT_SPLIT_FILE_AND_PATH CALL FUNCTION 'TRINT_SPLIT_FILE_AND_PATH' EXPORTING full_name = i_file IMPORTING stripped_name = ls_attinfo-name file_path = ls_attinfo-path EXCEPTIONS x_error = 1 OTHERS = 2.



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