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 modules for operations on Info Types

Former Member
0 Likes
347

Hi All,

what is the difference between function modules HR_MAINTIAN_MASTERDATA and HR_INFOTYPE_OPERATION ??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
326

Hi vijay,

1. HR_INFOTYPE_OPERATION

It is just a wrapper function module

Inside, it finally uses

HR_MAINTIAN_MASTERDATA only.

(HR_MAINTIAN_MASTERDATA does the real work)

2. HR_INFOTYPE_OPERATION

This FM Does some small extra things viz.

a) check for infotype existence

b) check the particular record

If not found, then operation = INS (Insert)

(This kind of facility is not available in

HR_MAINTIAN_MASTERDATA )

3. SAP Recommends to use HR_INFOTYPE_OPERATION .

I hope it helps.

regards,

amit m.

2 REPLIES 2
Read only

Former Member
0 Likes
326

hi

you can read the function module documentation.

for better understanding..

regards

vijay

Read only

Former Member
0 Likes
327

Hi vijay,

1. HR_INFOTYPE_OPERATION

It is just a wrapper function module

Inside, it finally uses

HR_MAINTIAN_MASTERDATA only.

(HR_MAINTIAN_MASTERDATA does the real work)

2. HR_INFOTYPE_OPERATION

This FM Does some small extra things viz.

a) check for infotype existence

b) check the particular record

If not found, then operation = INS (Insert)

(This kind of facility is not available in

HR_MAINTIAN_MASTERDATA )

3. SAP Recommends to use HR_INFOTYPE_OPERATION .

I hope it helps.

regards,

amit m.