SAP Reports / Programs

RHDREQDL SAP ABAP Report - Requirements assignment of persons







RHDREQDL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report shows the requirements assignment of persons and the party responsible for their requirements...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 RHDREQDL 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 RHDREQDL. "Basic submit
SUBMIT RHDREQDL AND RETURN. "Return to original report after report execution complete
SUBMIT RHDREQDL 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: OBJECTS = Personnel number
Selection Text: PCHSEARK = Name
Title: Requirements assignment of persons
Text Symbol: 001 = Delete
Text Symbol: 002 = Requirements assignment of persons
Text Symbol: 003 = Requirements assignment(s) deleted
Text Symbol: 004 = Check deletion result
Text Symbol: 005 = Error occurred during deletion
Text Symbol: 006 = Name
Text Symbol: 007 = No assignments found
Text Symbol: 010 = Select Person
Text Symbol: 100 = Name
Text Symbol: 101 = Pers.No.
Text Symbol: 102 = From
Text Symbol: 103 = To
Text Symbol: 104 = From
Text Symbol: 105 = To
Text Symbol: 106 = Requirements type
Text Symbol: 107 = Resp. party
Text Symbol: 108 = Cat
Text Symbol: 109 = ID


INCLUDES used within this REPORT RHDREQDL

INCLUDE RHODAT00.
INCLUDE MAKROS.
INCLUDE RHXMACRO.
INCLUDE RHOINI00.


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:

ASK_PLVAR CALL FUNCTION 'ASK_PLVAR' EXPORTING D_PLVAR = PLVAR IMPORTING PLVAR = PLVAR SUBRC = SUBRC.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING SEARK = PCHSEARK * SEARK_TEXT = ' ' PLVAR = PLVAR OTYPE = 'P' * CALLBACK_PROG = ' ' * CALLBACK_FORM = ' ' * RESTRICT_FB = ' ' * RESTRICT_DATA = ' ' * FORGET_BASE_OBJECTS = ' ' * LANGU_MODE = '1' SET_MODE = ' ' * SELECT_MESSAGE = 'X' IMPORTING SEL_OBJECT = SEL_OBJ TABLES * OTYPE_TAB = * CONDITION = * BASE_OBJECTS = SEL_OBJECTS = SEL_OBJ_TAB EXCEPTIONS F15 = 1 WRONG_CONDITION = 2 NOTHING_FOUND = 3 OTHERS = 4.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = OBJECTS_P-PLVAR OTYPE = OBJECTS_P-OTYPE OBJID = OBJECTS_P-OBJID * REALO = ' ' * ISTAT = ' ' * BEGDA = SY-DATUM * ENDDA = SY-DATUM * LANGU = SY-LANGU * OINTERVAL = 'X' * STORE = 'X' * CHECK_STRU_AUTH = 'X' * READ_DB = ' ' IMPORTING * OBEG = * OEND = * OSTAT = * HISTO = * short = STEXT = NAME_P * TISTAT = * TLANGU = * TABLES * EXISTENCE = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING * AUTHORITY = 'DISP' * WITH_STRU_AUTH = 'X' * ISTAT = ' ' * EXTEND = 'X' SUBTY = 'A065' BEGDA = begda ENDDA = endda * CONDITION = '00000' * SORT = 'X' * WITH_EV = ' ' * ADATA = 'X' TABLES I1001 = I1001_SR OBJECTS = HROBJECT EXCEPTIONS NOTHING_FOUND = 1 WRONG_CONDITION = 2 OTHERS = 3.

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING * AUTHORITY = 'DISP' * WITH_STRU_AUTH = 'X' INFTY = '1049' * ISTAT = ' ' * EXTEND = 'X' * SUBTY = ' ' * BEGDA = '19000101' * ENDDA = '99991231' * CONDITION = '00000' * INFTB = '1' * SORT = 'X' * VIA_T777D = ' ' TABLES INNNN = I1049 OBJECTS = HROBJECT EXCEPTIONS ALL_INFTY_WITH_SUBTY = 1 NOTHING_FOUND = 2 NO_OBJECTS = 3 WRONG_CONDITION = 4 OTHERS = 5.

RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING * AUTHORITY = 'DISP' * WITH_STRU_AUTH = 'X' * ISTAT = ' ' * EXTEND = 'X' SUBTY = 'B064' begda = begda endda = endda * CONDITION = '00000' * SORT = 'X' * WITH_EV = ' ' * ADATA = 'X' TABLES I1001 = I1001_O OBJECTS = HROBJECT EXCEPTIONS NOTHING_FOUND = 1 WRONG_CONDITION = 2 OTHERS = 3.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = I1001_O-PLVAR OTYPE = DATA_TAB-OTYPE_O OBJID = DATA_TAB-OBJID_O * REALO = ' ' * ISTAT = ' ' * BEGDA = SY-DATUM * ENDDA = SY-DATUM * LANGU = SY-LANGU * OINTERVAL = 'X' * STORE = 'X' * CHECK_STRU_AUTH = 'X' * READ_DB = ' ' IMPORTING OBEG = OBEGDA OEND = OENDDA * OSTAT = * HISTO = SHORT = DATA_TAB-SHORT_O * stext = * TISTAT = * TLANGU = * TABLES * EXISTENCE = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RH_READ_SFTGRP CALL FUNCTION 'RH_READ_SFTGRP' EXPORTING BEGDA = OBEGDA "Objekt-Beginn ENDDA = OENDDA "Objekt-Ende ISTAT = '1'"Aktiv OBJID = DATA_TAB-OBJID_O OTYPE = DATA_TAB-OTYPE_O PLVAR = I1001_O-PLVAR * WEGID = 'ORGA-UP' IMPORTING SFTGRP = SFTGRP * sftgrptxt = pdorg-gruppe_txt * obegda = pdrq2-vbegda * oendda = pdrq2-vendda EXCEPTIONS GROUP_INITIAL = 1 GROUP_INVALID = 2 OTHERS = 3.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING BASIC_LIST_TITLE = 'Deletion'(002) FILE_NAME = 'hr' * HEAD_LINE1 = ' ' * HEAD_LINE2 = ' ' * FOOT_NOTE1 = ' ' * FOOT_NOTE2 = ' ' * FOOT_NOTE3 = ' ' * LAY_OUT = 0 DYN_PUSHBUTTON_TEXT1 = 'Delete'(001) * DYN_PUSHBUTTON_TEXT2 = * DYN_PUSHBUTTON_TEXT3 = * DYN_PUSHBUTTON_TEXT4 = * DYN_PUSHBUTTON_TEXT5 = * DYN_PUSHBUTTON_TEXT6 = * DATA_STRUCTURE = ' ' * HEAD_LINE3 = ' ' * HEAD_LINE4 = ' ' current_report = sy-cprog "L9CK035997 * list_level = '01' * ADDITIONAL_OPTIONS = ' ' * WORD_DOCUMENT = no_alv_grid = 'X' * ALV_MARKER IMPORTING RETURN_CODE = RETURN_CODE TABLES DATA_TAB = DATA_TAB FIELDNAME_TAB = FIELDNAMES SELECT_TAB = SELECT_TAB * ERROR_TAB = EXCEPTIONS DOWNLOAD_PROBLEM = 1 NO_DATA_TAB_ENTRIES = 2 TABLE_MISMATCH = 3 PRINT_PROBLEMS = 4 OTHERS = 5.

RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING VTASK = VTASK * ORDER_FLG = 'X' * COMMIT_FLG = 'X' * AUTHY = 'X' * PPPAR_IMP = TABLES INNNN = I1001 EXCEPTIONS ERROR_DURING_DELETE = 1 NO_AUTHORIZATION = 2 DELETE_FIRST_RECORD = 3 CORR_EXIT = 4 OTHERS = 5.

RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING "Update innerhalb dieses Dialogprozesses VTASK = 'D' BUFFER_UPD = ' ' ORDER_FLG = 'X' COMMIT_FLG = 'X' EXCEPTIONS CORR_EXIT = 01.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = plvar otype = otype objid = objid begda = begda endda = endda IMPORTING stext = full_name EXCEPTIONS not_found = 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 RHDREQDL or its description.