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

RH_UPDATE_DATABASE issue

Former Member
0 Likes
685

hi

i use rh_cut_infty to delimiter OM object and relation!

but in one case what i to change position's cost(in my company have two company code ) when change cost company will get error:

Entry is not allowed (due to K 0010206607 and P 11999888)

Message no. 5A195

Diagnosis

This entry would result in a structure containing the cost center and person specified. However, the person has been previously assigned to a controlling area or company code different from that of the cost center, or the cost center is locked for primary posting.

None of the above cases allows this cost center to be assigned.

Procedure

Check your entries. If the controlling area assignment or company code assignment of the person is to be changed, you can do so using Personnel Administration transactions.

my code sequence is:

using RH_CUT_INFTY delimite old relation about position and cost (A011)

next using RH_INSERT_INFTY to insert new data about position and cost relation!

the object HRP1008 have do some!

who can give me som resolve method!

thank you very much!

3 REPLIES 3
Read only

Former Member
0 Likes
572

no answer!

Read only

Former Member
0 Likes
572

Requirement is not clear

Regards

Sas

Read only

Former Member
0 Likes
572

thank you !

when to change cost's company attribute in position will get this information!