‎2008 May 26 12:28 PM
Hi, I need delete an infotype.
Can someone tell me how woks this funtion??
What is the mean of the parameters?
Thanks
‎2008 May 26 12:37 PM
hi,
Short Text
Delete Infotype Records
Functionality
This function module lets you delete multiple infotype records for OM objects from the Personnel Planning database (HRPnnnn). The infotype records in the table parameter INNNN must all have the structure Pnnnn (logical structure for nnnn infotype). The records you want to delete must all exist in the Personnel Planning database table. If not, the exception ERROR_DURING_DELETE is triggered.
The individual parameter values VTASK (update type) have the following meanings:
'D' -> update in dialog
'S' -> synchronous update via update task
'V' -> asynchronous update via update task
'B' -> update internal in buffer only, no DB update
In HR applications, the parameter is set to 'D' for update in dialog. However, if you want an internal buffer update first of multiple operations that are logically connected and should be written to the daabase together, you should set the parameter to 'B' for internal buffer update only. The database update is then carried out by calling FM 'RH_UPDATE_DATABASE'.
Parameters
LOAD
VTASK
ORDER_FLG
COMMIT_FLG
AUTHY
PPPAR_IMP
KEEP_LUPD
WORKF_ACTV
INNNN
ILFCODE
Exceptions
ERROR_DURING_DELETE
NO_AUTHORIZATION
DELETE_FIRST_RECORD
CORR_EXIT
Function Group
RHAP
reward if helpful
mahesh
‎2008 May 26 12:37 PM
hi,
Short Text
Delete Infotype Records
Functionality
This function module lets you delete multiple infotype records for OM objects from the Personnel Planning database (HRPnnnn). The infotype records in the table parameter INNNN must all have the structure Pnnnn (logical structure for nnnn infotype). The records you want to delete must all exist in the Personnel Planning database table. If not, the exception ERROR_DURING_DELETE is triggered.
The individual parameter values VTASK (update type) have the following meanings:
'D' -> update in dialog
'S' -> synchronous update via update task
'V' -> asynchronous update via update task
'B' -> update internal in buffer only, no DB update
In HR applications, the parameter is set to 'D' for update in dialog. However, if you want an internal buffer update first of multiple operations that are logically connected and should be written to the daabase together, you should set the parameter to 'B' for internal buffer update only. The database update is then carried out by calling FM 'RH_UPDATE_DATABASE'.
Parameters
LOAD
VTASK
ORDER_FLG
COMMIT_FLG
AUTHY
PPPAR_IMP
KEEP_LUPD
WORKF_ACTV
INNNN
ILFCODE
Exceptions
ERROR_DURING_DELETE
NO_AUTHORIZATION
DELETE_FIRST_RECORD
CORR_EXIT
Function Group
RHAP
reward if helpful
mahesh