Resume Application using BSP:
Create a BSP application as “Zres_app” in transaction SE80 and create 3 pages(Page with flow logic) for the created BSP application as follows
Page with flow Logic:
First.htm, Second.htm, Third.htm
Scenario:
User can fill their details in ‘first.htm’ and he/she has 3 options Save (or) Submit (or) Display their details via button event.
First.htm:
<%@page language="abap"%>
*For Reset Button
<%@ extension name="htmlb" prefix="htmlb" %>
width = "550px" >
columnSize = "2"
rowSize = "7" >
columnIndex = "1">
design = "EMPHASIZED" />
columnIndex = "2" >
type = "string"
size = "10"
value = "<%= i_name %>" />
<br/>
columnIndex = "1">
design = "EMPHASIZED" />
columnIndex = "2" >
type = "string"
size = "2"
value = "<%= i_age %>" />
<br/> <br/>
columnIndex = "1" >
text="Sex"/>
columnIndex = "2" >
text="Male"
onClick="myClick">
text="Female"
onClick="myClick">
<br/><br/>
columnIndex = "1" >
design = "EMPHASIZED" />
columnIndex = "2" >
cols = "30"
rows = "4"
text = "<%= i_address %>" />
<br/><br/>
columnIndex = "1" >
design = "EMPHASIZED" />
columnIndex = "2" >
onSelect = "ListBox1Event"
selection = "<%= selection2 %>"
>
<br/><br/>
columnIndex = "1" >
design = "EMPHASIZED" />
columnIndex = "2" >
text = "Self Confidence"
checked = "<%=i_check %>"/>
<br/>
text = "HardWorker"
checked = "<%=i_check %>" />
<br/>
text = "Creativity Sense"
checked = "<%=i_check %>" />
<br/>
text = "Flexible to Surroundings"
checked = "<%=i_check %>" />
<br/> <br/>
columnIndex = "1" >
design = "EMPHASIZED" />
columnIndex = "2" >
cols = "30"
rows = "4"
text = "<%= i_act %>"/>
<br/> <br/>
text = "Submit Ur Details"
onClick = "myDetail" />
text = "Save Ur Details"
onClick = "mysave"
onClientClick="alert('Ur details are updated!')" />
text = "Display Details"
onClick = "myDetails" />
Types:
TYPES: table_res type ZRES_TT.
Page attributes:
c_text TYPE STRING
itab TYPE ZRES_TT
i_act TYPE CHAR40
i_address TYPE CHAR40
i_age TYPE NUMC2
i_check TYPE STRING
i_name TYPE CHAR40
i_qualify TYPE CHAR5
i_sex TYPE CHAR6
selection1 TYPE STRING
selection2 TYPE STRING
Output (first.htm):
Second.htm:
<%@page language="abap"%>
<%@ extension name="htmlb" prefix="htmlb" %>
<h3><b><font size="16" face="courier new" color='green'><u> Your Details