on 02-28-2008 9:58 AM
Hi,
Could anyone show me step by step how to connect to SAP to get data from BAPI/FM to Web Dynpro Java? (What kind of connection method, how to configure, which API I should use)
Thank you.
Hi kebab,
please follow these step are :
1. first create a model in your project.
2.then right click on this model and select the reimport model.
3.next screen you choose single server option and provide this details.
host name: ip of your backend system
system number:00
client :client number of your backend system.
logon name:userid
password:password.
4.next screen you choose your function module and press next and then finish.
5.after that build and deploy your project.
6.then double click on your component and open the diagram view.
7.after that right click on your component controller and choose service controller and press next.
8.then choose your backend function module and finish.
9.now click implementation tab of your component controller and you can see a method is created same name of your backend function module .
10.now just set all import parameter and call this method.you can get all backend value.
thanks,
dibyendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for your quick answers.
But I would like to know how many ways to connect to SAP (JCO, adaptive RFC, ...)? Could you give me the difference between them? Which one is prefered? And if I use that kind of connection, which steps do I need to do to configure it in Portal (for ex: adaptive RFC)
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hai kebab,
In the case of adaptive rfc when the structure of the bapi ur using is changed and you reimport your model you need to restart your server.but as the jco directly connects to server thats not needed.
adaptive rfc is more easy to use and good compared to jco.
use this link also
Thanks n Regards
Sharanya.R
hai kebab,
the following link will take you to a video presentation guiding you to connect to backend ,give input and get output.
go thru this link.
Thanks n Regards
Sharanya.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this link..
[Accessing ABAP Functions|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/webdynpro/wd%20java/wdjava%20archive/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf]
-
Shyam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
See the following link for getting data frm the backend.
(Accessing ABAP Functions in Web Dynpro)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.