cancel
Showing results for 
Search instead for 
Did you mean: 

convert text to otr?

Former Member
0 Kudos

Hello all,

In my BSP application i am using vbscript to transport data to excel.

In this excel i am giving a disclaimer which i am hardcoding using vbscript.

it's as follows:

wb.Activesheet.Cells(row,col).Value = "Disclaimer: SAP AG does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP AG shall not be liable for any special, indirect, incidental or consequential damages,including without limitation, lost revenues or lost profits, which may result from the use of these materials.The information in this documentation is subject to change without notice and does not represent a commitment on the part of SAP AG in the future."

Now i want to convert this text in to otr.

Can anybody tell me how to convert this paragraph into "otr" text?

Thanks in advance,

Mahima.

Accepted Solutions (0)

Answers (3)

Answers (3)

raja_thangamani
Active Contributor
0 Kudos

Mahima,

I'm not sure whether <otr>...</otr> will work or not. But "<%= otr(disc1) %>" should work.

If the text doesnt fit in one OTR, you can break the text into many OTR and concatenate into

VBscript variable and assign it to wb.Activesheet.Cells(row,col).Value.

Like


var otr_text = "<%= otr(disc1) %>" +  "<%= otr(disc2) %>"  + etc...

Raja

former_member184111
Active Contributor
0 Kudos

Hi Mahima,

Long Text OTR can not be created by forward navigation.

Go through [this thread|] for information about long text OTR.

Regards,

Anubhav

Former Member
0 Kudos

Hi Anubhav,

Thank you for your help..

But,as i have mentioned in my query, i am writing this disclaimer or long text inside "Vbscript".

So, i dont know wether just adding "<otr> </otr>" tag simply will work for vb script also or not.

Hope you understand my point.

former_member182416
Active Contributor
0 Kudos

Hi

where you want to have OTR Text,

put this <%= otr(msgalias) %>

Double Click on the otr and it will ask you to enter the message text and save.

Regards

Rajendra