SAP Reports / Programs | Personnel Management | Organizational Structure | Staffing(PA-OS-ST) SAP PA

RHINTE30 SAP ABAP Report - Transfer org. assignment in batch input folder for infotype 0001







RHINTE30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a batch input session for specified personnel numbers...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RHINTE30 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

OOHQ - Integration: PLOG - PREL


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 RHINTE30. "Basic submit
SUBMIT RHINTE30 AND RETURN. "Return to original report after report execution complete
SUBMIT RHINTE30 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: TEST = Test
Selection Text: SHOW = Display personnel numbers
Selection Text: R_LANGU = Text Changes in All Languages
Selection Text: OPEN = Open personnel numbers only
Selection Text: GROUP = Folder Name
Selection Text: BEGDA = Start Date
Title: Transfer org. assignment in batch input folder for infotype 0001
Text Symbol: 024 = Personnel numbers for which an update is not necessary:
Text Symbol: 025 = Personnel numbers whose org. assignment was taken from OM:
Text Symbol: 026 = Infotype 0 or 1 not found!
Text Symbol: 027 = Individual list of selected personnel numbers:
Text Symbol: 028 = Personnel no.
Text Symbol: 029 = Editing period
Text Symbol: 030 = Processing status
Text Symbol: 031 = Report log:
Text Symbol: 032 = Organizational assignment taken from OM:
Text Symbol: 033 = No IT1 records found in selection period.
Text Symbol: 034 = No authorization for IT1 records in selection period.
Text Symbol: 035 = No IT0 records found in selection period.
Text Symbol: 036 = Warnings! (see error log)
Text Symbol: 037 = Number of Error Messages
Text Symbol: 038 = Log
Text Symbol: BL1 = Report-Specific Settings
Text Symbol: 001 = A batch input session has been created for the following personnel nos:
Text Symbol: 002 = The following personnel numbers were selected (session not yet created):
Text Symbol: 003 = Batch input session created
Text Symbol: 004 = No personnel numbers have been found for the parameters entered
Text Symbol: 005 = The following personnel numbers have not been edited (please check)
Text Symbol: 006 = Reason: - person was locked or
Text Symbol: 007 = - assigned cost center has a different controlling area
Text Symbol: 008 = -cost center is locked for primary posts
Text Symbol: 009 = Person is not integrated!
Text Symbol: 010 = No update of infotype 1 necessary!
Text Symbol: 011 = Default position has been assigned!
Text Symbol: 012 = Follow-up action required, see error log
Text Symbol: 013 = Processing error, see error log!
Text Symbol: 014 = Test mode, no processing!
Text Symbol: 015 = partly edited personnel numbers:





Text Symbol: 016 = Number of personnel nos. selected :
Text Symbol: 017 = Processing mode:
Text Symbol: 018 = Processing successful
Text Symbol: 019 = Personnel numbers processed successfully:
Text Symbol: 020 = Personnel numbers with errors:
Text Symbol: 021 = unintegrated personnel numbers (no update of infotype 1):
Text Symbol: 022 = Personnel numbers with no org. assignment in OM (assigned to def. position):
Text Symbol: 023 = No batch input folder created!


INCLUDES used within this REPORT RHINTE30

INCLUDE RHODAT00.
INCLUDE MPH5ATOP.


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_SET_INTEGRATION_FLAGS CALL FUNCTION 'RH_SET_INTEGRATION_FLAGS' "ARN308875 EXPORTING "ARN308875 cost_center_check = cost_center_check. "ARN308875

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING authority = 'DISP' extend = 'X' istat = '1' sort = 'X' begda = person_tab-begda subty = 'B008' TABLES i1001 = i1001_tab OBJECTS = obj_tab EXCEPTIONS nothing_found = 0 wrong_condition = 0 OTHERS = 0.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

PAK_GET_SHORTTEXT_DTEL CALL FUNCTION 'PAK_GET_SHORTTEXT_DTEL' EXPORTING i_elem_key = iv_dataelement i_language = sy-langu IMPORTING e_short_text = xv_shorttext.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = is_log IMPORTING e_log_handle = xs_log_handl EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = is_log_handle i_msgty = iv_msg_type i_probclass = lc_4 i_text = iv_msg_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = xs_display_profile EXCEPTIONS profile_inconsistent = 1.

RH_CLEAR_BUFFER CALL FUNCTION 'RH_CLEAR_BUFFER'.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'B' commit_flg = 'X' authy = 'X' TABLES innnn = pnnnn EXCEPTIONS no_authorization = 01 error_during_insert = 02.

RH_GET_PLOG_TAB CALL FUNCTION 'RH_GET_PLOG_TAB' IMPORTING plog_tab_count_exp = plog_tab_count TABLES plog_tab_tab = plog_tab.

COMPARE_CONTROLLING_AREA CALL FUNCTION 'COMPARE_CONTROLLING_AREA' EXPORTING no_message = 'X' do_bukrs_kokrs_change_check = space "MELN1474407 TABLES xplog_tab = plog_tab.

RH_GET_PERNR_TAB CALL FUNCTION 'RH_GET_PERNR_TAB' TABLES pernr_tab_rhpr = loc_pernr_tab.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = act_plvar.

RH_SET_PERNR_TAB





CALL FUNCTION 'RH_SET_PERNR_TAB' TABLES pernr_tab_to_set = loc_pernr_tab.

INTEGRATION_AFTER_UPDATE CALL FUNCTION 'INTEGRATION_AFTER_UPDATE' EXPORTING enqueue = ' ' iv_langu = r_langu "SERN1106121 iv_session_name = group "MELN1373273 iv_no_batch = test "MELN1494713 TABLES xplog_tab = plog_tab.

RH_CLEAR_PLOG_TAB CALL FUNCTION 'RH_CLEAR_PLOG_TAB'.

RH_CHECK_PERSON_INTEGRATED CALL FUNCTION 'RH_CHECK_PERSON_INTEGRATED' EXPORTING pi_tclas = 'A' checkbegda = cp_begda checkendda = cp_endda checkperson = cp_pernr TABLES person_inte_tab = person_integrated EXCEPTIONS parameters_missing = 1 checkendda_lt_checkbegda = 2 molga_not_found = 3 person_not_found = 4 error_read_feature = 5 OTHERS = 6.

HR_CHECK_MARKED_EVENT CALL FUNCTION 'HR_CHECK_MARKED_EVENT' "MELN1670786 EXPORTING act_pernr = cp_pernr IMPORTING return = lv_return req_massn = lv_massn req_massg = lv_massg req_date = lv_date.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = i_pernr infty = '0001' begda = i_begda endda = i_endda IMPORTING subrc = i_subrc TABLES infty_tab = i_p0001_tab EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE_AUTHC_DISABLE CALL FUNCTION 'HR_READ_INFOTYPE_AUTHC_DISABLE'.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = i_p0001_tab-pernr infty = '0000' begda = i_p0001_tab-begda endda = i_p0001_tab-endda * BYPASS_BUFFER = ' ' IMPORTING subrc = i_subrc TABLES infty_tab = i_p0000_tab EXCEPTIONS infty_not_found = 1 OTHERS = 2.

UPDATE_IT0001 CALL FUNCTION 'UPDATE_IT0001' EXPORTING simulate = test "MELN1494713 session_name = group "MELN1373273 TABLES prelo_tab = i_prel_update_tab.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_structure_name = gc_rhinte30 is_layout = is_layout it_fieldcat = it_fieldcat i_save = gv_save it_events = it_events TABLES t_outtab = gt_outtab_alv EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_internal_tabname = gc_gt_outtab_alv i_structure_name = gc_rhinte30 CHANGING ct_fieldcat = xt_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 = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = lv_no_popup no_print = lv_no_print * NO_IMG = ' ' no_msgno = ' ' * LINESIZE = SY-LINSZ * LISTHEADER = ' ' * COLHEADER = ' ' * HIDEMSG = ' ' TABLES error = dis_err_tab EXCEPTIONS invalid_linesize = 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 RHINTE30 or its description.