cancel
Showing results for 
Search instead for 
Did you mean: 

steps and sample code for JSP to call ABAP function module

Former Member
0 Kudos

Hi,

Can somebody guide me through the steps /or with sample code for calling ABAP function modules from JSP?

Thanks,

Paul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Paul,

you should connect BAPIs via normal JCo programming from your JSP. Though it is always suggested that you execute the BAPI from the Java side not the JSP in order to seperate business logic from display logic. Anyway - if you are bound to do it from JSP just put the code snippet of Java in side it to execute the BAPIs. Following links would be extremely helpful for understanding what needs to be done:

<a href="http://www.i-barile.it/SDN/JCoTutorial.pdf">Generic JCo Tutorial</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm">SAP JCo Client Programming</a>

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/8c/d7d6409ff68631e10000000a1550b0/frameset.htm">Connector Framework Basics</a>

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/a2/15d240c2c28531e10000000a1550b0/frameset.htm">Connector Framework Structure</a>

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/ab484e76c74052b615224051769ec5/frameset.htm">Connector Framework Architecture</a>

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/89/8a185c148e4f6582560a8d809210b4/frameset.htm">SAP System Connector - Code Sample</a>

Regards,

Shubhadi