SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

WD methods



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Shaman
Участник
Участник


Age: 40
Joined: 11 Jan 2008
Posts: 27
Location: Киев

PostPosted: Wed Nov 26, 2008 4:29 pm    Post subject: WD methods Reply with quote

Подскажите plz...
Как получить значение WDEVENT " ret to CL_WD_CUSTOM_EVENT
в методе WDDOMODIFYVIEW ???
Back to top
View user's profile Send private message Blog
imp
Участник
Участник



Joined: 14 Oct 2007
Posts: 12

PostPosted: Thu Nov 27, 2008 5:19 pm    Post subject: Reply with quote

А какое тут событие должно быть-то? Этот метод вызывается непосредственно перед каждым рендерингом view.
Back to top
View user's profile Send private message
Shaman
Участник
Участник


Age: 40
Joined: 11 Jan 2008
Posts: 27
Location: Киев

PostPosted: Thu Nov 27, 2008 8:38 pm    Post subject: Reply with quote

Хочу получить доступ к view's UI по событию on_scroll.
Back to top
View user's profile Send private message Blog
imp
Участник
Участник



Joined: 14 Oct 2007
Posts: 12

PostPosted: Fri Nov 28, 2008 11:44 am    Post subject: Reply with quote

Если я правильно понял задачу, тебе нужен доступ к view (тот, что в WDDOMODIFYVIEW) в обработчике onScroll для таблицы?
Ну тогда никто не мешает запомнить ссылку на view в атрибутах при первой отрисовке, и использовать ее потом где угодно:

Code:

METHOD wddomodifyview .

IF first_time = abap_true.
  wd_this->gr_view = view.
ENDIF.

ENDMETHOD.


Если нужно не это, опиши задачу подробнее.
Back to top
View user's profile Send private message
Shaman
Участник
Участник


Age: 40
Joined: 11 Jan 2008
Posts: 27
Location: Киев

PostPosted: Fri Nov 28, 2008 12:43 pm    Post subject: Reply with quote

Спасибо за понимание Very Happy
Back to top
View user's profile Send private message Blog
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.