Skip to Content

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

Creation of OTR texts in default.htm

Hi,

I am studying BSP prog. and I have run into a problem when creating a OTR text. I have typed a line in the layout for default.htm like this:

<H2> <%= OTR(Z_FLIGHT_US/HELLO) <%= name %>, </H2>

If I doubleclick the Z_FLIGHT_US/HELLO. it should tell me that the text does not exist and ask me if I want to create it.

Instead I get this error:

The package in the alias name does not correspond

to current package Z_BSP_BOOK.

What am I doing wrong ?

replied

You get the error because the package of your BSP application is Z_BSP_BOOK, so you need to change the code according your BSP application package.

<%= OTR(Z_BSP_BOOK/HELLO) <%= name %>

Now double click on the OTR alias and see..

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