Skip to Content

Converting problem for fund center derivation from cost center

Feb 21 at 01:10 PM


avatar image

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?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Eli Klovski
Feb 21 at 01:33 PM


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



Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Eli,

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