Skip to Content
0
Former Member
Nov 28, 2006 at 04:59 AM

SAPScripts problem with amprehand

28 Views

Hi all,

when user types a '&' in the header text (&header&) in a sales order, it becomes '<(>&<)>' internally. when i want to limit the output length, say &header+0(10)&, it counts the length including '<(>&<)>' .

simply speaking,

&header& = 'abc & def'

internally it becomes: 'abc <(>&<)> def ' and the output becomes: 'abc <(>&<)' which is not desired....

How can I correctly output the length of the header text with sapscript program with length 10 ?

Thanks.