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

web dynpro update Z table



 
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 Sep 24, 2008 12:28 pm    Post subject: web dynpro update Z table Reply with quote

Подскажите plz...
как через input_field изменить поле в Z таблице?

* navigate from <CONTEXT> to <INPUT_NODE> via lead selection
lo_nd_input_node = wd_context->get_child_node( name = wd_this->wdctx_input_node ).
* get element via lead selection
lo_el_input_node = lo_nd_input_node->get_element( ).
* get single attribute
lo_el_input_node->get_attribute(
EXPORTING
name = `NEWPASS`
IMPORTING
value = lv_newpass ).

Дальше полученое значение хачу записать в Ztab-pass... и здесь начинаются грабли)
Back to top
View user's profile Send private message Blog
John Doe
Модератор
Модератор


Age: 46
Joined: 05 Nov 2007
Posts: 725
Location: КраснАдар

PostPosted: Wed Sep 24, 2008 3:58 pm    Post subject: Reply with quote

В чем грабли то? Вроде бы значения из экрана нормально считали.
Для апдейта таблички БД только два варианта существует - INSERT и MODIFY. Ну и UPDATE еще.
Back to top
View user's profile Send private message Blog
Shaman
Участник
Участник


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

PostPosted: Wed Sep 24, 2008 5:49 pm    Post subject: Reply with quote

John Doe,
спасибо за отклик.
Трудность была в формировании строки для изменения line.
Все работает
update Ztab from line.
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.