cancel
Showing results for 
Search instead for 
Did you mean: 

How to create objects in ABAP Webdynpro?

Former Member
0 Kudos

Hi,

I want to create the object for the class: <b>CL_GUI_FRONTEND_SERVICES.</b>

then i want to call file_save_dialog method.

how shoud i write the code, plz?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I have written this code:

v_guiobj TYPE REF TO cl_gui_frontend_services.

<u> ?????????????</u>

v_guiobj->file_save_dialog( ...).

How to create object in the place of ?????????????.

Bcoz, when i run this i am getting:

<b>Access via Null object reference not possible.</b>

Former Member
0 Kudos

Hi Mog.

You create an object like this:

create object v_guiobj.

But you can not use this, cause I guess this only works in SAP GUI.

Cheers,

Sascha

Former Member
0 Kudos

Hi Mog,

why dont you use the FileDownload UI Element of WebDynpro? Just search this forum, there are some thread about how to use it.

Cheers,

Sascha