Skip to Content
0
Jan 28, 2022 at 04:45 AM

Replace semicolon in the input string using groovy script for SAP CPI

883 Views

Hello All,

in message mapping,The name value is coming from source and i need to check name having semicolon(;) if there then i will send output in

quotations ("").

Name ----> Name_DE

EX:

intput output

ABCDS; "ABCDS;"

EFG; THE "EFG; THE"

for the same need a groovy script in message mapping.

Regards,

Kumar.