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: 

Modifying infotype 1001

Former Member
0 Kudos

I am trying to add a qualification (relationship type A032) to table HRP1001. A BDC program is not an option so I need to update the table in some other way - perhaps by using a suitable function module.

Does anyone have any advice on the best way to do this?

Thankyou.

1 ACCEPTED SOLUTION

LucianoBentiveg
Active Contributor
0 Kudos

Try FM 'HR_INFOTYPE_OPERATION'. Example:

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = p2006-infty

number = pernr-pernr

subtype = p2006-subty

validityend = p2006-endda

validitybegin = p2006-begda

record = p2006

operation = 'MOD'

nocommit = 'X'

IMPORTING

return = l_return

key = l_key.

2 REPLIES 2

LucianoBentiveg
Active Contributor
0 Kudos

Try FM 'HR_INFOTYPE_OPERATION'. Example:

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

infty = p2006-infty

number = pernr-pernr

subtype = p2006-subty

validityend = p2006-endda

validitybegin = p2006-begda

record = p2006

operation = 'MOD'

nocommit = 'X'

IMPORTING

return = l_return

key = l_key.

former_member181966
Active Contributor
0 Kudos

Check out FM "RH_CHECK_POSITION_FOR_UPDATE"

OR

Why dont you write own program which insert values in HRP1001?

Hope this’ll give you idea!!

<b>P.S award the points.!!! !!!</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"