cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP class as abap webdynpro model

Former Member
0 Kudos

Hello Folks,

I have small requirements that needs to be developed in OO ABAP and ABAP Webdypro. I have created class that fetch data from database and would like to use this class as webdypro model.

I appraciate if you can provide me materials related to this.

Thanks,

Robert

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can correlate ur class mthods to webdynpro by declaring the reference variable for the class under the Atticbutes tab of the Component controller in se80 as

Attribute : <ref_variable>

Asssociated type : <class_name>

and tick the Public and RefTo checkbox.

Now using the reference variable,one can access the class methods .

Also, u can find list of tutorials in the below link for the webdynpro beginners,

https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]

Thanks,

Divya.S

Former Member
0 Kudos

This is very helpfull for beginners like me. Thanks.