on 04-28-2009 12:12 AM
Hi,
I wrote a piece of code in method SEARCH for my WD Application.
Instead of diectly callling the method I would like to create a class and then call the method.
How do we proceed?
Do we use SE24 first or can we start creating class from WD application itself?
Rgds
vara
Hi,
You can use concept of ASSISTANCE CLASS for using custom classes in your Web Dynpro Application.
While creating Web Dynpro Component, just enter the custom class name in Assistance class tab of your component controller & double click. From there you can directly create it & use in your WDA Component.
Regards
Shruti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this [Link|http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer the standard Component : DEMO_COMMON_ASSISTANCE1
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vara,
Either way it is possible if you are creating from web dynpro then you can create assistance class from component properties there you can write one method and to access that method always you have an instance wd_assist.
From se24 create a class and declare a method. if you declare level of method is instance then you have to create object first in application and then access your method using created instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can have the code in the Assistance class.
http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.