SAP Reports / Programs

HRUULSP1 SAP ABAP Report - Convert Working Conditions into Organizational Management Objects







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

HRUULSP1 - Convert Working Conditions


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 HRUULSP1. "Basic submit
SUBMIT HRUULSP1 AND RETURN. "Return to original report after report execution complete
SUBMIT HRUULSP1 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_USRL = D .
Selection Text: P_SUBTY2 = Subtype for 'Desc. of Law'
Selection Text: P_SUBTY1 = Subtype for 'Description'
Selection Text: P_POS6 = Position for 'End Date'
Selection Text: P_POS5 = Position for 'Start Date'
Selection Text: P_POS4 = Position for 'Law No.''
Selection Text: P_POS3 = Position for 'Description'
Selection Text: P_POS2 = Position for 'Text'
Selection Text: P_POS1 = Position for 'Code'
Selection Text: P_PLVR = D .
Selection Text: P_OTYP = D .
Selection Text: P_NRAN = Number Range
Selection Text: P_MAND = D .
Selection Text: P_ISTAT = D .
Selection Text: P_FILE = Source File Name
Selection Text: P_DSLO = Source File Name
Title: Convert Working Conditions into Organizational Management Objects
Text Symbol: 007 = Infotype 1002
Text Symbol: 006 = Infotype 1000
Text Symbol: 005 = List of errors
Text Symbol: 004 = Tables prepared for conversion
Text Symbol: 003 = Row Number
Text Symbol: 002 = Desciption
Text Symbol: 001 = Convert Data


INCLUDES used within this REPORT HRUULSP1

INCLUDE PULOGRU0.


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:

RH_GET_NUMBER_RANGE CALL FUNCTION 'RH_GET_NUMBER_RANGE' EXPORTING no_range_num = l_numran object_type = p_otyp plan_version = p_plvr IMPORTING from_no = l_from_no last_no = l_last_no to_no = l_to_no * RETURNCODE = SY-SUBRC EXCEPTIONS interval_not_found = 1 object_type_not_found = 2 plan_version_not_found = 3 rp_plan_ranges_not_defined = 4 OTHERS = 5.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = p_plvr otype = p_otyp objid = objid TABLES existence = existence EXCEPTIONS not_found = 1 OTHERS = 2.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = files TABLES data_tab = tbdata EXCEPTIONS OTHERS = 1.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = p_dslo IMPORTING file_name = ds_phy_name EXCEPTIONS file_not_found = 08.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = p_dslo CHANGING physical_filename = dataset EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3.

RH_PNNNN_IDOCSDATA_CONVERT CALL FUNCTION 'RH_PNNNN_IDOCSDATA_CONVERT' EXPORTING act_pnnnn = infty_tab act_infty = tr_ppkey-infty act_subty = tr_ppkey-subty IMPORTING act_idoc_name = actidocname act_idoc = spool_satz EXCEPTIONS pnnnn_not_active = 1 idoc_not_active = 2 padnn_not_active = 3 pnnnn_too_short = 4 idoc_too_short = 5 padnn_too_short = 6 conversion_error = 7 OTHERS = 8.

RH_PNNNN_IDOCSDATA_CONVERT CALL FUNCTION 'RH_PNNNN_IDOCSDATA_CONVERT' EXPORTING act_pnnnn = infty_tab act_infty = tr_ppkey-infty act_subty = tr_ppkey-subty IMPORTING act_idoc_name = actidocname act_idoc = spool_satz EXCEPTIONS pnnnn_not_active = 1 idoc_not_active = 2 padnn_not_active = 3 pnnnn_too_short = 4 idoc_too_short = 5 padnn_too_short = 6 conversion_error = 7 OTHERS = 8.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = 'RUHRPD' user = sy-uname.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PP02' TABLES dynprotab = bdcdata.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = text-004 i_icon = icon_information IMPORTING e_node_key = g_temse_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = g_categ_tb i_save = 'A' is_layout = gs_layout it_fieldcat = gt_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = g_categ_tbd i_save = 'A' is_layout = gs_layout it_fieldcat = gt_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = g_temse_node i_node_txt = 'Infotype 1000'(006) i_categ_id = g_categ_tb i_node_label = '' i_label_is_qinfo = 'X' IMPORTING e_node_key = g_table_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = g_table_node i_row_data = tb EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = g_temse_node i_node_txt = 'Infotype 1002'(007) i_categ_id = g_categ_tbd i_node_label = '' i_label_is_qinfo = 'X' IMPORTING e_node_key = g_table_node2 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = g_table_node2 i_row_data = tbd EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_hrpad_pal_disp_prof.

HR_PAL_GET_MSG_FIELDCAT





CALL FUNCTION 'HR_PAL_GET_MSG_FIELDCAT' IMPORTING e_fieldcat = ge_fieldcat. "#EC *

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = g_cat_err it_fieldcat = ge_fieldcat EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = text-005 * I_ICON = ICON_ERROR_PROTOCOL * I_QUICKINFO = i_categ_id = g_cat_err IMPORTING e_node_key = g_errors_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING i_node_key = g_errors_node i_msgid = 'HRPADRUREPORTS' i_msgty = p_err_type i_msgno = p_err_text i_msgv1 = l_msgv1 EXCEPTIONS program_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 HRUULSP1 or its description.