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

remove leading space(blank) REGUH-RWBTR in script

hi,

i am now dealing with cheque priting in word issue.

the output format should be :

<b>USD 111,000 AND CENT 45 ONLY.</b>

the amount field i use is REGUH-RWBTR in script. but the output come with leading of space.

<b>which is as : USD 111,000 AND CENT 45 ONLY,</b>

which this is not i want. how am i going to remove the blank space leading and ending for REGUH-RWBTR?

below is my current code:

&'***RM'REGUH-RWBTR(.0)&&' AND SEN 'SPELL-DECIMAL(2)& ONLY ***

please any one can help me. either using this field, or any other way to do display it?

Tags:
replied

try

REGUH-RWBTR(<b>C.0</b>)&&

if this is not working move the amount field into a variable declared as type char and use the option(C.0)

regards,

Vijay.

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