Getting Texts from the SAP System
Use
The easiest way to retrieve texts for an HTML page is to take advantage of language information in the SAP system.
When you log on to the SAP system, language-specific texts are displayed on the screens. You can evaluate these texts in an HTML template and include them in the resulting HTML page by using the .label attribute.
Example
<table>
<tr>
<th> `text-posnr.label` </th>
<th> `text-matnr.label` </th>
<th> `text-arktx.label` </th>
<th> `text-kwmeng.label` </th>
</tr>
`repeat with index from 1 to xlist-posnr.dim`
<tr>
<td> `xlist-posnr[i]` </td>
<td> `xlist-matnr[i]` </td>
<td> `xlist-arktx[i]` </td>
<td> `xlist-kwmeng[i]` </td>
</tr>
`end`
</table>
The above example is adequate only if all the texts fit on the HTML page. If this is not the case, use one of the methods described in: