Skip to Content

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

Message Mapping


In my Source structure iam getting values as

100.00- ( minus sign after the number)

and in the target structure iwant the value as

-100.00 (minus sign before the number)

is there any way we can do it in Mapping.



Former Member

function myudf(String a,Container container)


int ind = a.indexOf("-");

if (ind >= 0)


String ret="";

ind = a.indexOf("-");

ret = "-" + a.subString(0,ind);

return ret;


return a;


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