Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding cl_gui_movie class in abap

Former Member
0 Kudos

hello all,

I am intrested to know how to make this class work, i need to build a small applcation where i need to display a movie, i tried using different methods

If any one could tell me how to make this work, to browse a file and display a movie.

Thanks,

Raju N.

5 REPLIES 5

Former Member
0 Kudos

There is no cl_gui_movie class, there is a class called

CL_GUI_PICTURE

Using the method LOAD_PICTURE_FROM_URL u can load picture.

I have not tried yet.

0 Kudos

This class is definetly there, i know about the class

'picture' and even used it

thanks

raju N

Former Member
0 Kudos

Hi,

if YOU HAVE FOUND THE SOLUNTION TO YOUR QUERY.PLEASE LET ME KNOW,I AM ALSO INTERESTED IN USING THIS CLASS AND EVEN TRIED BUT FAILED.;

Former Member
0 Kudos

Hi Raju,

You can go through this weblog of Thomas Jung to work with Windows Media Player to view videos in ABAP.Though I didn't give the code for Play , Stop and other options, it worked.

/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework

<b>Award points if found useful.</b>

Regards,

SP.

0 Kudos

you cannot use CL_GUI_MOVIE.

check the code in the consutructor method of the class.

first its checks whether system supports activex

call function 'GUI_HAS_OBJECTS'

exporting

object_model = sfes_obj_activex

importing

return = return

exceptions

others = 1.

if sy-subrc ne 0.

raise error.

endif.

and set a variable

if return = 'X'.

guitype = 1.

endif.

later it explicitly raises error message means you cannot use it at all

case guitype.

<b> when 1.</b>* Vorlaeufig

<b> raise error.</b> clsid = 'SAPGUI.MovieCtrl.1'.

when 2.

clsid = 'com.sap.components.controls.sapMovie.SapMovie'.

when others.

raise error.

endcase.

where the german comment

Vorlaeufig

means "Provisionally"

we are on was 6.40 sp11 may be in later sps/releases it will be working.

Regards

Raja