‎2008 Jul 25 3:35 PM
Hi,
The scenario is, by giving two input parameters such as customer Id and Month and when submit button is pressed in EP a bapi should be called from EP which displays the details stored in the ztable which is in R/3.
IF the import parameter is taken as 'submit' . If submit = 'X', then bapi should be called from EP itself. How can we call the bapi.Bapi is in R/3.How do we link that when submit button is pressed, bapi to be called.Please explain.
Rgds,
khadeer.
‎2008 Jul 25 3:38 PM
‎2008 Jul 25 3:38 PM
‎2008 Jul 25 3:45 PM
‎2008 Jul 25 4:20 PM
I think youre taking about Enterprise Portal and developing applications using WebDynpro.
If so, you can use one of these two methods.
1 - You can use "on input processing" event in Event Handler tab in WebDynpro
for example,
Page x.htm layout:
<html>
<body>
<form method="POST">
<input type=submit name="oninputprocessing(whatdoyouwant)" value="Submit">
</form>
</body>
</html>Page x.htm Event of On Iput Processing :
case event_id.
when 'WHATDOYOUWANT'.
call function 'BAPI_XXX'.
endcase.2 - You can use form action property to redirect another page.
Page x.htm layout:
<html>
<body>
<form method="GET" action="y.htm" >
<input type=submit name="submit" value="X">
</form>
</body>
</html>Page y.htm Event of On Request:
value = navigation->get_parameter('submit').
if value = 'X'.
call function 'BAPI_XXX'.
endif.
‎2008 Jul 25 4:24 PM
His Question is related WebDynpro Java, And You are Giving the BSP stuff.
This Question should post in Application server area.