on 2023 Feb 02 7:02 AM
Hello Experts,
I am trying to read internal table on request event of bsp application and display it as input fields of form.
This code is working as expected in SAP WEB GUI but it is not working on SAP GUI.
Are there any limitations on BSP ?
The application is generally accessed from SAP GUI, so have to make it work.
Following is the code
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<html>
<head>
<title>Main menu</title>
</head>
<body>
<h1>Main menu</h1>
<form method="post" action="<%= ls_httpnvp-value %>" target="_top">
<input type="text" name="~caller" value="CTLG">
<input type="text" name="NEW_ITEM-DESCRIPTION[1]" value="BNCM(12)-BNCM(12),735A-12 COAX,60FT">
<table border="1">
<%
data: ls_h1 type ihttpnvp,
ls_d like line of lt_data.
loop at lt_data into ls_d.
data(lv_tabix) = sy-tabix + 1.
%>
<tr>
<td>
<input type="text" name="NEW_ITEM-DESCRIPTION[<%= lv_tabix %>]" value="<%= ls_d-description %>">
</td>
</tr>
<%
endloop.
%>
</table>
<input type="submit" name="Checkout" value="Customer list">
</form>
</body>
</html>
Output from SAP Web GUI
Output on SAP GUI
Thanks,
Rahul
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.