Skip to Content
avatar image
Former Member

Converting problem for fund center derivation from cost center

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 21 at 01:33 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.