Skip to Content
avatar image
Former Member

Calling a BAPI from web page

Hi experts,

I have a requirement that the user enters the input he wishes to call from a web page. BAPI i'm calling Z_BAPI_FM_01. I'm using JCO connector. In my web page i have created on one label, text box and a command button. Now my requirement is on clicking the command button how can i connect it to the BLS for executing the transaction. Please guide me.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 01, 2010 at 01:09 PM

    Hi Vinodh,

    Use a command query on your webpage. Create an Xacute query (wrapper around a transaction) using the transaction you created. Use the Xacute query as the query template for your command query. Execute the commnand query with a submit button or something similar. There are a number of examples in the Function Module templates (check the MM ones for the javascript, html, xacute queries, and BLS transactions to use as templates) available in the SDN MII wiki. There are other examples there as well in other downloadable projects (Batch Manufacturing, for one).

    Good luck,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      u can to select query templetes and u need to use sql query (select ,insert , update , delete ) or to do in command buttons use html or java script in ur front page , by that u can.