Ansicht
Dokumentation
RH_OBJID_REQUEST - Input Help (F4) for OBJID
CPI1466 during Backup General Material DataThis documentation is copyright by SAP AG.
Functionality
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.
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.
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.
If you require the option "unrelated objects" to be available, the parameters WITHOUT_RSIGN, WITHOUT_RELAT and WITHOUT_SCLAS must be filled.
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.
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.
Example
- Example: Simple value help with plan version and object type specified (neither should be read from the screen)
- Example: as in 1 but with several objects selected. In addition, the objects previously selected are already marked.
- Example: Simple value help, plan version and object type are read from the screen.
- Example: Value help with unrelated objects (w/o 'A003' to 'O')
Caution! You can also select related objects if you use the structure search option for instance.
- Example: Value help with direct return of the object ID in an HROBJECT structure (single objects are also returned in a table).
Notes
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.
Also refer to the parameter documentation.
Further information
You can find further information in the source code of the function module.
Parameters
APP_DATABASE_OBJECTS
CALLBACK_FORM
CALLBACK_PROG
CONDITION
DYNPRO_DYNNR
DYNPRO_OTYPEFIELD
DYNPRO_PLVARFIELD
DYNPRO_REPID
DYNPRO_SEARKFIELD
MARKED_OBJECTS
ORGBEG
ORGEND
OTYPE
OTYPE_TABLE
PLVAR
RESTRICT_DATA
RESTRICT_FB
SEARK
SEARK_BEGDA
SEARK_ENDDA
SEL_HROBJECT_TAB
SEL_HRSOBID_TAB
SEL_OBJECT
SEL_OBJECTS
SEL_OTYPE
SEL_PLVAR
SET_MODE
WIN_TITLE
WITHOUT_RELAT
WITHOUT_RSIGN
WITHOUT_SCLAS
Exceptions
CANCELLEDILLEGAL_MODE
INTERNAL_ERROR
NOTHING_FOUND
WRONG_CONDITION
Function Group
HRBAS00SEARCHCPI1466 during Backup SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 9310 Date: 20240523 Time: 165201 sap01-206 ( 94 ms )