Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to call a function in Update Rules to reverse a key figure sign

We would be appreciated if someone could provide a sample code in Update Rule by calling a function called NEGATIVE which is in BW to reverse a sign of a key figure!


Former Member
Former Member replied

hi Kevin,

it should like

Debit/Credit Amount * 1-

you can switch 'expert mode', click the icon beside checking syntax, here we are allowed to directly enter the formula and technical name is used.

another way is use 'routine' and code is

result = comm_structure-deb_cre_dc * -1.

hope this helps.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question