on 02-16-2009 3:59 PM
Hi, expert:
In the internet service, there is some code such as the following in the HTML template:
<TD>`Button(okcode="MBEW", label=#b_label_mbew, SubMenu="inactive")` </TD>
I would like to know where to define Button
Thanks,
Hi,
Pls.try with the two cases given below:
Case-1
If you create the button say statistics on the screen on ABAP side,then in the HTML template you can define the button as follows:
<input type=submit name="~OkCode(ANAL)" value="Statistics">
where as for exit button you can directly define without any button on ABAP side:
<input type=submit name="~OkCode(/NEX)" value=" Home ">
Case-2
For other buttons also you can directly define in the template without any button defined on ABAP side
<form action="http://`~HTTP_HOST`/sap/bc/gui/sap/its/zess_service/" method="post">
<input type="submit" value="Cancel">
</form>
Normally,for case-1,the function code is cotrolled on BAP side(mainly on module pool screen to call other transaction(screens) and in case-2,you can access other services directly from the template.
Good luck.
Santanu
Edited by: Santanu Dehury on Mar 3, 2009 4:15 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yunfa,
Could you please be more specific? Button is a function of the HTMLBusiness so if you're looking to define the function then it's not possible. But if you want to change the text of the button then you usually can on the ABAP side. This though should be in a language resource file sine the name is preceded by the #, look for "b_label_mbew" in an .htrc file.
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.