Hi,
I have not found the solution in CRM but i have written this in HTML( thtmlb code ).
Its working fine. Thank you for reply.
I am Sharing my Code. It may be helpful to anyone.
<thtmlb:gridCell columnIndex = "1"
rowIndex = "1"
colSpan = "1"
width = "12%"
horizontalAlignment = "RIGHT" >
<thtmlb:label design = "LABEL"
for = "//SMATERIAL/UPCCODE"
text = "Serial Number" />
</thtmlb:gridCell>
<thtmlb:gridCell columnIndex = "2"
rowIndex = "1"
colSpan = "1"
width = "5%"
horizontalAlignment = "LEFT" >
<input type="text" name="UPCCODE" id="UPCCODE" size=4 value="<%=l_upccode%>" onKeyup="if(UPCCODE.value.length=='6') SERIAL.focus()" maxlength=6/>
</thtmlb:gridCell>
<thtmlb:gridCell columnIndex = "3"
rowIndex = "1"
colSpan = "1"
width = "25%"
horizontalAlignment = "LEFT" >
<input type="text" name="SERIAL" id="SERIAL" value="<%=l_serial%>" size=9 maxlength=9/>
</thtmlb:gridCell>
**Get the value from the Input field:
<%DATA: data_input TYPE REF TO cl_htmlb_inputfield,
l_upccode TYPE string.
data_input ?= cl_htmlb_manager=>get_data(
request = runtime->server->request
name = 'inputfield'
id = 'UPCCODE' ).
IF data_input IS NOT INITIAL.
l_upccode = data_input->value.
ENDIF.%>
**Write the same code to fetch the SERIAL as above(Same as UPCCODE ).
Regards,
Srikanth