Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function RH_DELETE_INFTY

Former Member
0 Likes
1,237

Hi, I need delete an infotype.

Can someone tell me how woks this funtion??

What is the mean of the parameters?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
916

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

1 REPLY 1
Read only

Former Member
0 Likes
917

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