Skip to Content
0
Apr 18, 2008 at 02:08 PM

Class within method

37 Views

Hi,

I am studyng the SAP´s Web Dynpro Tutorial 4 and I saw the error about CL_WDABAP_FLIGHT_MODEL=>get_bookings is unknow or not found.

And the resolution:

• Simply create a ZCL_WDABAP_FLIGHT_MODEL class in your get_bookings

method.

Its purpose is only to select from the SBOOK table.

select * from sbook into table bookings where

carrid = carrid

connid= connid

fldate = fldate.

->>bookings is the return parameter of type TY_BOOKINGS

But, how can I do this?

ps.: I am begginer in ABAP too. 😉

Thanxs a lot!