cancel
Showing results for 
Search instead for 
Did you mean: 

saving web dynpro data into a custom db tabl

Former Member
0 Kudos

Hi experts,

Using editable alv i am editing alv fields , modified alv data is there in my internal table ( lt_contact).

How can i move internal table data to Z-table...

DATA: node_cont_dtls TYPE REF TO if_wd_context_node,

elem_cont_dtls TYPE REF TO if_wd_context_element,

lt_contact TYPE if_main=>elements_cont_dtls.

CHECK r_param->t_error_cells IS INITIAL.

node_cont_dtls = wd_context->get_child_node( name = `CONT_DTLS` ).

  • get data from context node <NODE_FLIGHTTAB>

node_cont_dtls->get_static_attributes_table(

IMPORTING table = lt_contact ).

  • Modified data is there in it_contact

modify table ZBAS_CONTACTS from lt_contact TRANSPORTING name1.

Here when i am using above modify statement it show in error

field ZBAS_CONTACTS is unknown

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is a syntax error.

Correct statement will be 'MODIFY ZBAS_CONTACTS FROM TABLE lt_contact '.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Rakhi

Use this statement

MODIFY ZBAS_CONTACTS FROM TABLE lt_contact .

Thanks and Regards

Chaitanya.A