Skip to Content

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

Replace a variable in a string by an internal table field value

Hi,

I have a internal table with a field message of length 1500.

I have to replace &1 and &2 in the message field with the value of year and Amount.

For example:

ITAB-Message - 'The letter is for the year &1 and the total amount to be payed is &2'.

In this, &1 should be replace with the year value.

and &2 by amount value.

Can you help me in this?

Thanks,

Vimala

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