on 12-13-2005 6:26 PM
Hi all
I am new to the NW Developer Studio.
I am facing trouble in creating a New File/Project/Java/J2EEE....
What i meant was 'I dont know When to Go with What' ??
ie When should i choose J2EE development / Java Simple etc ????
Bit confused....
What I am planning to Do?????
Basically i am planning to DEVELOP and TEST a new SAP JCO development explained in the help.sap.com.
Could anyone help me out ????
Please explain me and try to avoid links to SAP Help Portal!!!!
Forgot to inform u, Points assured......
Thanks
Kam
Hi Kam,
it seems that you are not only new to NWDS but also to Java and J2EE development. Though you want to see links here there is no other way. One can´t explain J2EE development in a forum like this.
So I would suggest to buy a good book about Java and one about J2EE development.
If you don´t have the time and therefore want to go an easier way you should have a look at the Web Dynpro tutorials (https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d)
here at SDN.
There is also a tutorial that describes how to program an application that uses ABAP functionality via JCO.
After going through several of the tutorials you may have a better understanding of NWDS and the different perspectives. But if you want to use them you have to know more about J2EE.
Regards
Helmut
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Helmut
I am basically an certified ABAPer. And i am new to SUN environment.... I am learning JAVA from the ABAP/OO perspective.....
Thanks for the advice. But there are some actions(for advice ) are already in Place....
My current requirement is to have a SAP JCO for executing a Fucntion Module in R/3.... So i searched the Help Doc and got a Sample (Example) program doing the same. With somany options in the Net Dev Studio, i am not sure whether the new SAP JCo development should be Simple Jave package or a J2EE application... I am sure it should be a Package. But to confirm, i have posted the query in the Forum.
Could you please guide me in this requirement ???
Thanks
Kay
What kind of application is it gonna be? Possible answers:
1. A standalone application
2. A J2EE application running on a Web AS server or any other J2EE server
3. An iView in a SAP Enterprise Portal. If so, is it Web Dynpro based or Portal Component based?
The answer to this question determines what type of project you need to create.
Pascal,
I am planning to use this SAP Jco function in the Portal Development.....
In the LOGON screen of the Portal, we planning to have a CLIENT field which get the list of possible SAP clients available... And we made a Default SAP system will hold all the List of SAP Clients(100,200,300,...).
To read these values, we have a Z function module that is to be executed throgh JCO !!!! This is my original requirement....
Initial i thought to develop and test SAP JCO separately (Standalone) !!!
Could you please help me in these two TYPE of development????
Thanks
Kay
Pascal,
Thanks for that !!!
I have already done and i am able to run the Package..
But i am facing the following Error when the stmt
<b>mConnection.connect();</b> was called.
Error is: <b>java.lang.NoClassDefFoundErrorat
com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:841)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3159)
at mySapJco.TutorialConnect1.<init>(TutorialConnect1.java:31)
at mySapJco.TutorialConnect1.main(TutorialConnect1.java:43)
Exception in thread "main" </b>
Could please help me in this ????
Thanks
Kay
This means that you are missing a class file. This class file will most likely be provided in a jar file. You probably did not link to this jar. Find out what jar you are missing and include it in the build path of the project (right click -> properties -> build path -> add external jar).
Christophe
Chrsitophe
The only import in my Package is <b>import com.sap.mw.jco.*;</b> I have already imported it.( properties -> build path -> add external jar).
Currently i getting a Pop up message saying " I am using an Obsolete Method in my program". But i have developed the program as per described in the Help.sap.com/
Anymore help....
Thanks
Kay
Hi Kay,
the build path is (like the name says) only used at buildtime, not at runtime. The build path enables the compiler to find the classes and ensures that you used correct classes, methods and their signatures.
You have to tell the runtime environment where to find the classes as well. This is done at the classpath tab of run configuration.
Regards
Helmut
P.S.: I would suggest to post your questions in the java forum. Because here we are dealing with NWDI problems and you definetly do have java questions.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.