on 01-10-2013 3:48 PM
Dear HTML Business gurus,
In SRM 5.0 in a Z-HTML template I'd like to have the output in German or English whatever the user's language is.
So far the coding looks like that (ONLY German):
`if ((REQUEST-LINES.value != "0") && (REQUEST-LINES.value != ""))`
`BBPGroupBegin()`
`TABLECUST(class="list", title=" ", width="20%")`
`TR(tableName="Anfragen")`
`TR(class="heading")`
`TD(nowrap="x", width="60%")` `"Einkaufsbeleg"`
What I want to do is if the system language is English...the output for
`TR(tableName="Anfragen")` should be `TR(tableName="RfQs")`
`TD(nowrap="x", width="60%")` `"Einkaufsbeleg"` should be `TD(nowrap="x", width="60%")` `"Purchasing document"`
I'm not so familiar with HTML Business coding. ABAP coding like below does not work:
if sy-langu = 'D'.
`TR(tableName="Anfragen")`
else.
`TR(tableName="RfQs")`
I hope someone can give me a hint how to do the language "if else condition" in HTML.
Thanks and best regards,
Henning
Hello Henning,
The following SAP HELP link might be useful to you here:
Developing IACs with the Integrated SAP ITS
Under the "HTMLBusiness Language Reference -> HTMLBusiness Statements -> if Statement"
OR go directly to it
Regards,
Oisin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.