cancel
Showing results for 
Search instead for 
Did you mean: 

Converting problem for fund center derivation from cost center

Former Member

Hi experts,

Our cost center and fund center open with same code so i wrote a assignment derivation rule for cost center to fund center. For example; my cost center and fund center have 8 char like 12345678. When i creat a record for cost center, the derivation see cost center like 0012345678. Because of this reason i changed derivation as below. It is works now, but when i executed acacact,system see cost center 12345678 and my derivation failed. I updated manually acacact customizing for same cost center and saved, problem solved.

My main question is how can i prevent extra zeros of cost center for derivation assigment rule?

Regards,

Esra.

Accepted Solutions (1)

Accepted Solutions (1)

iklovski
Active Contributor
0 Kudos

Hi,

You have three possibilities:

a) Try using FMDT_READ_MD_COST_CENTER instead of 'assignment'; maybe, the system would behave differently for leading zeros

b) Make a lookup rule. But, then you would need to maintain every new cost centre there

c) Create a user-exit rule, where you can convert your cost centre value to character type and assign it to fund centre

Regards,

Eli

Former Member
0 Kudos

Hi Eli,

Thank you for quick response. I tried "a", but it doesn't work, it still contains zeros. I will try userexit.

Regards.

Esra.

Answers (0)