cancel
Showing results for 
Search instead for 
Did you mean: 

Where is Method documentation located for Webdynpro ABAP

Former Member
0 Kudos

Hi,

I went through this help link:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/9f029ae1062883e10000000a422035/frameset.htm

but inside it says:

"For a description of the individual parameters for these methods, see the method documentation in the system."

But I cant find such documentation,

Hope somebody knows where it is.

Kind Regards,

Gerardo J

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gerardo ,

You can find documentaion of any class or interface in SE24 transaction.

Execute SE24 TCode. There you can find a tab named like INTERFACE DOCUMENTATION

or CLASS DOCUMENTATION . If you clicked, it will display documentation related to the class or interface.

Again you can find various method in method tab.

You can click on a particular method and then check parameter button to check the parameters related to that method.

Thanks & Regards,

Monishankar C

Answers (2)

Answers (2)

gill367
Active Contributor
0 Kudos

When you use these classes or interfaces in the web dynpro projects then in the code if you double click on them. It will take

you the method list of the interface or class there select a method and click on the parameter button to see the parameter.

and if you want full documentation on the object use SE@$ give the class or interface name and then click on documentation.

Thanks

Sarbjeet Singh,

Former Member
0 Kudos

Hi All!

Thanx Alot for the help! I tryied with the SE24 but I cant have the complete documentation, ie. I want to know the input I have to enter for the Parameter WINDOW_HEIGHT of the interface IF_WD_WINDOW_MANAGER and I just can see that WINDOW_HEIGHT is of TYPE string but I don´t know if it has to be in pixels or how to give the input to this parameter.

Thanx Alot!

Kind Regards,

Gerardo J

Former Member
0 Kudos

Hi Gerado,

You just need to pass '300' or '400' type value in the WINDOW_HEIGHT and WINDOW_WIDTH parameters.

Please check this code for reference.

[



DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component  TYPE REF TO if_wd_component.
DATA lo_popup_window         TYPE REF TO if_wd_window.
DATA lt_string TYPE string_table.
DATA ls_string like LINE OF lt_string.


ls_string = 'Show_Window'.
APPEND ls_string to lt_string.

lo_api_component  = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).

lo_popup_window = lo_window_manager->create_popup_to_confirm(
* your window name
text = lt_string
button_kind = if_wd_window=>co_buttons_okcancel
window_height = '100'
window_width = '400'
)
.

lo_popup_window->open( ).

Please revert back in case of issues.

Regards,

Sumit

Edited by: Sumit Oberoi on Jan 11, 2011 7:23 PM

Former Member
0 Kudos

Hi Sumit,

Thanx alot for the help, I did try to use the window_height parameter without success, and looking for some documentation about it is when I decided to go back to this thread, I can´t find a more complete documentation related to the WDA methods.

I also opened another Thread about the Window issue:

Thanx alot for the help already given, hope you can jump in the other Thread about the window, there I posted my code, maybe you can find something wrong on it.

Kind Regards,

Gerardo J

gill367
Active Contributor
0 Kudos

so the problem is with the relase level.

Former Member
0 Kudos

Hi again Sarbjeet,

indeed the problem was the version I´m using, not supported on 7.0.

Still don´t know where can I find another source for the documentation, do you know if there is another source of documentations on methods in WDA beside the se24 ?

kind Regards,

Gerardo J

Former Member
0 Kudos

Hi Gerardo,

As such the documentation is only available in SE24, when you click on the Interface Documentation link.

Also you can try right clicking on the method name and choose ' Component Documentation' which gives you the purpose of the method and the general description of the parameters.

I hope it helps.

Regards,

Sumit

Former Member
0 Kudos

Hi Gerado,

When you are seeing an interface or class in SE24 transaction.

In the top toolbar thei is a button called 'Documentation'.

On click of it you will see the documentation of that interface method.

If there is no documentation mentained then you will see a message at the bottom.

I hope it helps,

Regards,

Sumit