on 08-02-2007 8:47 PM
hallow
im learn web dynpro and i wont to call to metod cl_wdt_flight_model=>read_sflight
how i call it i try with code wizard but i cant sucsess,
the code wizard is the only way to call to metod ?
Regards
hi shnya........
what is the error you are getting while using code wizard. because code wizard works perfect.
-
regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
You do not really need the code wizard to call the method.
You can simply write
call method cl_wdt_flight_model=>read_sflight
exporting
....
importing
...
.
However, it would obviously be simpler to use the code wizard. To do so, when you are at the place where you would like to place the call, click on 'PATTERN' button next to WD code wizard button, select ABAP Object Patterns, select Class/Interface, write 'CL_WDT_FLIGHT_MODEL' in Class/Interface, write 'READ_SFLIGHT' in Method (leave Instance blank) and click ok.
Regards,
Neha
<i><b>PS: Reward if helpful</b></i>
hi,
you can call the class method directly as well.
Use the PATERN otherwise.
You can give the name of the class and its instance and pick a method from the F4 help of the class.This will generate the signture of the method you want to call.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyna,
The code wizard is only to read context nodes, attributes, methods within the webdynpro component. Here you are trying to read an external class and you need to use the <b>pattern </b>feature. Not the code wizard.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.