Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BSP Input Box Not Passing values

Former Member
0 Likes
387

Dear all,

I have developed a small BSP Application.

I have defined two input box Matnr and Matnr2

<html>
  <body BGCOLOR="#B5E1D2" >
    <h2> <B> MATERIAL DETAILS </B> </h2>
<form method="post">  Material Number
  <input type=text   name="matnr"   value="" >
  <input type=text   name="matnr2"  value="" >
<p>
  <input type=submit name="onInputProcessing(select)"  value="Get Details">
<p>
  <input type=submit name="onInputProcessing(materials)"  value="Get All"><p> <center>

But my select Query based on these two variable is fetching no results.

case event_id.
  when 'select'.
  navigation->set_parameter( 'matnr' ).
  SELECT * FROM MARA INTO TABLE I_MARA WHERE MATNR BETWEEN MATNR
                                         AND MATNR2.
  when 'materials'.
  select * from mara into table i_mara.
  when others.
  endcase.

Please help.

Regards,

Gaurav sood

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
341

Hi,

Just click the auto input....

Dear all,

I have developed a small BSP Application.

I have defined two input box Matnr and Matnr2

<html>
  <body BGCOLOR="#B5E1D2" >
    <h2> <B> MATERIAL DETAILS </B> </h2>
<form method="post">  Material Number
  <input type=text   name="matnr"   value="" >
  <input type=text   name="matnr2"  value="" >
<p>
  <input type=submit name="onInputProcessing(select)"  value="Get Details">
<p>
  <input type=submit name="onInputProcessing(materials)"  value="Get All"><p> <center>

But my select Query based on these two variable is fetching no results.

case event_id.
  when 'select'.
  navigation->set_parameter( 'matnr' ).
  SELECT * FROM MARA INTO TABLE I_MARA WHERE MATNR BETWEEN MATNR
                                         AND MATNR2.
  when 'materials'.
  select * from mara into table i_mara.
  when others.
  endcase.

Please help.

Regards,

Gaurav sood

1 REPLY 1
Read only

Former Member
0 Likes
342

Hi,

Just click the auto input....