Application Development 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: 

HR_INFOTYPE_OPERATION PARAMETERS

Former Member
0 Kudos

Hi,

can anyone explain me what are the parameters NOCOMMIT, VIEW_IDENTIFIER, SECONDARY_RECORD used in FM HR_INFOTYPE_OPERATION? Thanks.

Is there any site where this kind of questions are explained?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Just go through the example given below.

l_p0169-barea = '7A'.

l_p0169-pltyp = 'RRSP'.

l_p0169-bplan = 'RRSP'.

l_p0169-elidt = '20000101'.

l_p0169-enrty = 'M'.

l_p0169-perio = '4'.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0169'

subty = 'RRSP'

number = p_pernr

record = l_p0169

validitybegin = '20021001'

validityend = '99991231'

operation = 'INS'

  • dialog_mode = '0' "Use default

  • nocommit = '1' "Use default

IMPORTING

return = l_bapireturn

key = bapipakey_tab.

Now to answer your question.

NOCOMMIT is COMMIT control at BAPI interface, if you need to commit or not.

VIEW_IDENTIFIER

The view indicator is used to combine infotypes to views.

The feature IVWID assigns an infotype view indicator to organizational data such as personnel area, employee group, employee subgroup and country grouping.

Example

In the "Basic Pay" infotype (0008), additional data for the German Civil Service is stored in the structure P0230. This data is maintained in view V008.

SECONDARY_RECORD its an optional parameter.

Vinodh Balakrishnan

1 REPLY 1

Former Member
0 Kudos

Just go through the example given below.

l_p0169-barea = '7A'.

l_p0169-pltyp = 'RRSP'.

l_p0169-bplan = 'RRSP'.

l_p0169-elidt = '20000101'.

l_p0169-enrty = 'M'.

l_p0169-perio = '4'.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = '0169'

subty = 'RRSP'

number = p_pernr

record = l_p0169

validitybegin = '20021001'

validityend = '99991231'

operation = 'INS'

  • dialog_mode = '0' "Use default

  • nocommit = '1' "Use default

IMPORTING

return = l_bapireturn

key = bapipakey_tab.

Now to answer your question.

NOCOMMIT is COMMIT control at BAPI interface, if you need to commit or not.

VIEW_IDENTIFIER

The view indicator is used to combine infotypes to views.

The feature IVWID assigns an infotype view indicator to organizational data such as personnel area, employee group, employee subgroup and country grouping.

Example

In the "Basic Pay" infotype (0008), additional data for the German Civil Service is stored in the structure P0230. This data is maintained in view V008.

SECONDARY_RECORD its an optional parameter.

Vinodh Balakrishnan