Ansicht
Dokumentation
RH_SELECT_OBJECTS_FOR_OTYPE - Select Objects of Specified Object Type
ROGBILLS - Synchronize billing plans RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Functionality
This function module delivers all available object keys to a plan version and an object type. The module can also return complete object data, if required.
You can limit the selection by entering a status or a search period.
Example
DATA: OBJECT_LIST LIKE HROBJECT OCCURS 0 WITH HEADER LINE. CALL FUNCTION 'RH_SELECT_OBJECTS_FOR_OTYPE'EXPORTING
PLVAR = PLANVERSION OTYPE = OBJECTTYPETABLES
OBJID_TAB = OBJECT_LISTEXCEPTIONS
INVALID_PLVAR = 1 INVALID_OTYPE = 2 INVALID_DATE_RANGE = 3 NOTHING_FOUND = 4 INTERNAL_ERROR = 5 OTHERS = 6.IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.
Notes
The module carries out a complete authorization check (Basis and structure authorization).
Do not make any changes using BEGDA; ENDDA or ISTAT. There are faster methods of selection.
If you only require object keys, do not transfer parameter OBJEC_TAB. This omits the additional definition of the object.
If the object is read (parameter OBJEC_TAB is transferred), the text buffer remains untouched. The objects selected are not included in the buffer. This allows you to read single objects from the application quickly.
Technical information
Subsequently, calls, regarding performance, are displayed in order. Those that are more reasonable yet have faster access are displayed at the top of the list. Those that are more expensive and are slower are placed towards the end.
- Call with transfer of PLVAR, OTYPE and OBJID_TAB
- Call with transfer of PLVAR, OTYPE, ISTAT and OBJID_TAB
- Call with transfer of PLVAR, OTYPE, BEGDA and/or ENDDA as well as OBJID_TAB
- Call with transfer of PLAVR, OTYPE, ISTAT, BEGDA and/or ENDDA as well as OBJID_TAB
- Call with transfer of PLVAR, OTYPE as wel as OBJEC_TAB with or without OBJID_TAB
- Call with transfer of PLVAR, OTYPE, ISTAT as well as OBJEC_TAB with or without OBJID_TAB
- Call with transfer of PLVAR, OTYPE, BEGDA and/or ENDDA as well as OBJEC_TAB with or without OBJID_TAB
- Call with transfer of PLAVR, OTYPE, ISTAT, BEGDA and/or ENDDA as well as OBJEC_TAB with or without OBJID_TAB
Parameters
BEGDAENDDA
ISTAT
OBJEC_TAB
OBJID_TAB
OTYPE
PLVAR
Exceptions
INTERNAL_ERRORINVALID_DATE_RANGE
INVALID_OTYPE
INVALID_PLVAR
NOTHING_FOUND
Function Group
HRBAS00SEARCHSUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 3965 Date: 20240523 Time: 183713 sap01-206 ( 44 ms )