on 08-02-2005 6:47 AM
hi all,
I try to create a webdynpro with a table by using a sample of the tutorials. I have a problem to create the java class SomeBOL.java. Even when I copy the sample class it does not work.
What is my problem and how do I solve it.
My sample is:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/ap... of context programming and data binding.pdf
Kind Regards,
Richard Middelburg
Hi Richard,
Write this line of code in the Begin others of the <yourview>.java
//@@begin others
public SomeBol someBol = new SomeBol();
//@@end
And now check whether the method initialise is available or not.
Regards,
Jaydeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good hint.
If you use the class itself, you will only see static public members. If you use an instance of the class, you'll see all public members.
Richard, is this the first time you develop a Java application? If so, I suggest you go through some Java tutorials on http://java.sun.com first.
Message was edited by: Pascal Willemsen
Hi Pascal,
Your name sounds dutch, This is not my first java application. almost a year ago I had a car accident that cost my a brain damage. I was a long time out of the running, but now I'm trying to get back in the SAP developer world. So I need al lot of help.
Kind Regards,
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Problem is solved!, Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I tried everything but nothing helps. I copied the someBOL.java to my own application and I create the file by myself. When I looked in the outline view the both everything is the same.
I made the correct declaration in the implementation sourch. but when I try to get someBOL.initialize(); it is still not in the list. I only get a list with
SomeBOL.class
customer
order
street
Only what I see as a different is that the use someBOL instead of SomeBOL. I never declared this and I don't were to do that.
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check weather your SomeBOL.java constains that method or not.
Please oncegaian copy whole contents into the file and try
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
thanks for your quick reply. I fasing the next problem. When I created the file, I copied the text to this new file. It has the same name and the same input. Only the package is different. I have declared the package import in the webdynpro implementatiion. But when I try to get someBOL.initialize();, someBOL. gives no list containing initialize() only customer, street and order.
Please tell me what I did wrong or what did I forget?
Kind Regards
Richard Middelburg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As mentioned page no 17 of the documnet , you need to create the file manually .
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Richard,
For creating that class you have to do it in the navigator view which will be besides web dynpro explorer. Here right click on the package where you want to create this class, then select new-> other -> Java -> Class and then write the code.
The package will be under src->Packages->your package name
in the navigator view.
Hope this helps.
Regards,
Jaydeep
Message was edited by: Jaydeep Kalmankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
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.