<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HR Function RH_OBJID_REQUEST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-function-rh-objid-request/m-p/2864611#M671805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;They are nothing but start and End dates&lt;/P&gt;&lt;P&gt;see the documentation of that fun module&lt;/P&gt;&lt;P&gt;FU RH_OBJID_REQUEST&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Input Help (F4) for OBJID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This function module implements the standard value help for Personnel Planning objects. It replaces the possible entries help that was implemented in the module pool RHOBIDF4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module first attempts to display the value help type (search function, structure search, standard matchcode and unrelated objects) that was last selected for this object type. If nothing was selected, a dialog box is displayed in which you can select the type of value help you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify details on the plan version, the object type, and a search string directly in the parameters PLVAR, OTYPE and SEARK. Alternatively, you can complete the parameters DYNPRO_REPID and DYNPRO_DYNNR or the relevant entry fields for DYNPRO_PLVARFIELD, DYNPRO_OTYPEFIELD and DYNPRO_SEARKFIELD can be read directly from the screen. If both options are used, the screen data is taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you require the option "unrelated objects" to be available, the parameters WITHOUT_RSIGN, WITHOUT_RELAT and WITHOUT_SCLAS must be filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can restrict the data selected using CALLBACK_PROG and CALLBACK_FORM. The same applies to the parameters RESTRICT_FB and RESTRICT_DATA. You can specify conditions for the database selection using CONDITIONS. However, you can also specify all allowed objects with BASE_OBJECTS, in which case, there is no database selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these options only apply to the search function. It is not possible to set restrictions for the Matchcode search or the structure search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;1. Example: Simple value help with plan version and object type specified (neither should be read from the screen)&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECT            = Selected_object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: as in 1 but with several objects selected. In addition, the objects previously selected are already marked.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              SET_MODE              = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECTS           = Subsequently_selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             MARKED_OBJECTS        = Previously_selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: Simple value help, plan version and object type are read from the screen.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             DYNPRO_REPID          = Name_of_my_program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             DYNPRO_DYNNR          = My_screen_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            DYNPRO_PLVARFIELD     = 'NAME_OF_PLVAR_FIELD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            DYNPRO_OTYPEFIELD     = 'NAME_OF_OTYPE_FIELD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECT            = Selected_object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: Value help with unrelated objects (w/o 'A003' to 'O')&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             WITHOUT_RSIGN         = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             WITHOUT_RELAT         = '003'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             WITHOUT_SCLAS         = 'O'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECT            = Selected_object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution! You can also select related objects if you use the structure search option for instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: Value help with direct return of the object ID in an HROBJECT structure (single objects are also returned in a table).&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            SEL_HROBJECT_TAB      = My_object_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;You must use the function module RH_MACO for the input check. For selecting an object in a dialog step (for example, "Relate" or "Assign"), call the function module RH_DETERMINE_ORG_OBJID with F4_MODE=SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also refer to the parameter documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information&lt;/P&gt;&lt;P&gt;You can find further information in the source code of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;PLVAR&lt;/P&gt;&lt;P&gt;OTYPE&lt;/P&gt;&lt;P&gt;SEARK&lt;/P&gt;&lt;P&gt;SEARK_BEGDA&lt;/P&gt;&lt;P&gt;SEARK_ENDDA&lt;/P&gt;&lt;P&gt;SET_MODE&lt;/P&gt;&lt;P&gt;DYNPRO_REPID&lt;/P&gt;&lt;P&gt;DYNPRO_DYNNR&lt;/P&gt;&lt;P&gt;DYNPRO_PLVARFIELD&lt;/P&gt;&lt;P&gt;DYNPRO_OTYPEFIELD&lt;/P&gt;&lt;P&gt;DYNPRO_SEARKFIELD&lt;/P&gt;&lt;P&gt;CALLBACK_PROG&lt;/P&gt;&lt;P&gt;CALLBACK_FORM&lt;/P&gt;&lt;P&gt;RESTRICT_FB&lt;/P&gt;&lt;P&gt;RESTRICT_DATA&lt;/P&gt;&lt;P&gt;WITHOUT_RSIGN&lt;/P&gt;&lt;P&gt;WITHOUT_RELAT&lt;/P&gt;&lt;P&gt;WITHOUT_SCLAS&lt;/P&gt;&lt;P&gt;ORGBEG&lt;/P&gt;&lt;P&gt;ORGEND&lt;/P&gt;&lt;P&gt;WIN_TITLE&lt;/P&gt;&lt;P&gt;APP_DATA&lt;/P&gt;&lt;P&gt;SEL_PLVAR&lt;/P&gt;&lt;P&gt;SEL_OTYPE&lt;/P&gt;&lt;P&gt;SEL_OBJECT&lt;/P&gt;&lt;P&gt;OTYPE_TABLE&lt;/P&gt;&lt;P&gt;CONDITION&lt;/P&gt;&lt;P&gt;BASE_OBJECTS&lt;/P&gt;&lt;P&gt;MARKED_OBJECTS&lt;/P&gt;&lt;P&gt;SEL_OBJECTS&lt;/P&gt;&lt;P&gt;SEL_HROBJECT_TAB&lt;/P&gt;&lt;P&gt;SEL_HRSOBID_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;CANCELLED&lt;/P&gt;&lt;P&gt;WRONG_CONDITION&lt;/P&gt;&lt;P&gt;NOTHING_FOUND&lt;/P&gt;&lt;P&gt;INTERNAL_ERROR&lt;/P&gt;&lt;P&gt;ILLEGAL_MODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;HRBAS00SEARCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2007 13:01:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-28T13:01:41Z</dc:date>
    <item>
      <title>HR Function RH_OBJID_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-function-rh-objid-request/m-p/2864610#M671804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use 'RH_OBJID_REQUEST' function to retrieve all the O objects in my company's reporting structure and i don't know the meaning of this parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seark_begda, seark_endda&lt;/P&gt;&lt;P&gt;orgbeg, orgend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously i know that are dates, but i don't know exactly which dates they refer to.&lt;/P&gt;&lt;P&gt;May anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 12:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-function-rh-objid-request/m-p/2864610#M671804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T12:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: HR Function RH_OBJID_REQUEST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-function-rh-objid-request/m-p/2864611#M671805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;They are nothing but start and End dates&lt;/P&gt;&lt;P&gt;see the documentation of that fun module&lt;/P&gt;&lt;P&gt;FU RH_OBJID_REQUEST&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Short Text&lt;/P&gt;&lt;P&gt;Input Help (F4) for OBJID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;This function module implements the standard value help for Personnel Planning objects. It replaces the possible entries help that was implemented in the module pool RHOBIDF4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module first attempts to display the value help type (search function, structure search, standard matchcode and unrelated objects) that was last selected for this object type. If nothing was selected, a dialog box is displayed in which you can select the type of value help you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify details on the plan version, the object type, and a search string directly in the parameters PLVAR, OTYPE and SEARK. Alternatively, you can complete the parameters DYNPRO_REPID and DYNPRO_DYNNR or the relevant entry fields for DYNPRO_PLVARFIELD, DYNPRO_OTYPEFIELD and DYNPRO_SEARKFIELD can be read directly from the screen. If both options are used, the screen data is taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you require the option "unrelated objects" to be available, the parameters WITHOUT_RSIGN, WITHOUT_RELAT and WITHOUT_SCLAS must be filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can restrict the data selected using CALLBACK_PROG and CALLBACK_FORM. The same applies to the parameters RESTRICT_FB and RESTRICT_DATA. You can specify conditions for the database selection using CONDITIONS. However, you can also specify all allowed objects with BASE_OBJECTS, in which case, there is no database selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these options only apply to the search function. It is not possible to set restrictions for the Matchcode search or the structure search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;1. Example: Simple value help with plan version and object type specified (neither should be read from the screen)&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECT            = Selected_object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: as in 1 but with several objects selected. In addition, the objects previously selected are already marked.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              SET_MODE              = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECTS           = Subsequently_selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             MARKED_OBJECTS        = Previously_selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: Simple value help, plan version and object type are read from the screen.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             DYNPRO_REPID          = Name_of_my_program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             DYNPRO_DYNNR          = My_screen_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            DYNPRO_PLVARFIELD     = 'NAME_OF_PLVAR_FIELD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            DYNPRO_OTYPEFIELD     = 'NAME_OF_OTYPE_FIELD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECT            = Selected_object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: Value help with unrelated objects (w/o 'A003' to 'O')&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             WITHOUT_RSIGN         = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             WITHOUT_RELAT         = '003'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             WITHOUT_SCLAS         = 'O'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             SEL_OBJECT            = Selected_object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution! You can also select related objects if you use the structure search option for instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Example: Value help with direct return of the object ID in an HROBJECT structure (single objects are also returned in a table).&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RH_OBJID_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             PLVAR                 = My_plan_version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTYPE                 = My_object_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            SEL_HROBJECT_TAB      = My_object_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             CANCELLED             = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            WRONG_CONDITION       = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             NOTHING_FOUND         = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             INTERNAL_ERROR        = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             OTHERS                = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;You must use the function module RH_MACO for the input check. For selecting an object in a dialog step (for example, "Relate" or "Assign"), call the function module RH_DETERMINE_ORG_OBJID with F4_MODE=SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also refer to the parameter documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information&lt;/P&gt;&lt;P&gt;You can find further information in the source code of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;PLVAR&lt;/P&gt;&lt;P&gt;OTYPE&lt;/P&gt;&lt;P&gt;SEARK&lt;/P&gt;&lt;P&gt;SEARK_BEGDA&lt;/P&gt;&lt;P&gt;SEARK_ENDDA&lt;/P&gt;&lt;P&gt;SET_MODE&lt;/P&gt;&lt;P&gt;DYNPRO_REPID&lt;/P&gt;&lt;P&gt;DYNPRO_DYNNR&lt;/P&gt;&lt;P&gt;DYNPRO_PLVARFIELD&lt;/P&gt;&lt;P&gt;DYNPRO_OTYPEFIELD&lt;/P&gt;&lt;P&gt;DYNPRO_SEARKFIELD&lt;/P&gt;&lt;P&gt;CALLBACK_PROG&lt;/P&gt;&lt;P&gt;CALLBACK_FORM&lt;/P&gt;&lt;P&gt;RESTRICT_FB&lt;/P&gt;&lt;P&gt;RESTRICT_DATA&lt;/P&gt;&lt;P&gt;WITHOUT_RSIGN&lt;/P&gt;&lt;P&gt;WITHOUT_RELAT&lt;/P&gt;&lt;P&gt;WITHOUT_SCLAS&lt;/P&gt;&lt;P&gt;ORGBEG&lt;/P&gt;&lt;P&gt;ORGEND&lt;/P&gt;&lt;P&gt;WIN_TITLE&lt;/P&gt;&lt;P&gt;APP_DATA&lt;/P&gt;&lt;P&gt;SEL_PLVAR&lt;/P&gt;&lt;P&gt;SEL_OTYPE&lt;/P&gt;&lt;P&gt;SEL_OBJECT&lt;/P&gt;&lt;P&gt;OTYPE_TABLE&lt;/P&gt;&lt;P&gt;CONDITION&lt;/P&gt;&lt;P&gt;BASE_OBJECTS&lt;/P&gt;&lt;P&gt;MARKED_OBJECTS&lt;/P&gt;&lt;P&gt;SEL_OBJECTS&lt;/P&gt;&lt;P&gt;SEL_HROBJECT_TAB&lt;/P&gt;&lt;P&gt;SEL_HRSOBID_TAB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;CANCELLED&lt;/P&gt;&lt;P&gt;WRONG_CONDITION&lt;/P&gt;&lt;P&gt;NOTHING_FOUND&lt;/P&gt;&lt;P&gt;INTERNAL_ERROR&lt;/P&gt;&lt;P&gt;ILLEGAL_MODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Group&lt;/P&gt;&lt;P&gt;HRBAS00SEARCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 13:01:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-function-rh-objid-request/m-p/2864611#M671805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T13:01:41Z</dc:date>
    </item>
  </channel>
</rss>

