Wednesday, July 31, 2013
FM RH_OBJECT_CREATE is used to create Objects used in HR. Once object is created, record will be available in HRP1000 table.
FM RH_OBJECT_DELETE is used to delete objects in HR.
CALL FUNCTION 'RH_OBJECT_CREATE' EXPORTING LANGU = SY-LANGU PLVAR = '01' OTYPE = 'QK' SHORT = 'OVH Qual1' STEXT = 'OVH Qual1' BEGDA = '19000101' ENDDA = '99990101' OSTAT = '1' VTASK = 'D' IMPORTING OBJID = LV_OBJID EXCEPTIONS TEXT_REQUIRED = 1 INVALID_OTYPE = 2 INVALID_DATE = 3 ERROR_DURING_INSERT = 4 ERROR_EXT_NUMBER = 5 UNDEFINED = 6 OTHERS = 7.
CALL FUNCTION 'RH_OBJECT_DELETE' EXPORTING PLVAR = PLVAR OTYPE = $CPATH OBJID = OBJID * STATUS = '1' GDATE = GDATE VTASK = VTASK IMPORTING DEL_STEXT = STEXT EXCEPTIONS NO_AUTHORIZATION = 1 OBJECT_NOT_FOUND = 2 OBJECT_NOT_DELETED = 3 GDATE_BEFORE_BEGDA = 4 WRONG_DATE_FORMAT = 5 HISTORICIZED = 6 OBJECT_ENQUEUED = 7 UNDEFINED = 8 OTHERS = 9.
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.