Skip to Content
0
Former Member
May 20, 2010 at 03:59 PM

Read from Input_Field and Save

22 Views

Hi. I have some input_field. The client will write inside and I want to save the information in my data base. I have the child_node with the information in the context, but now i need to export and import before saving to the data base, but after trying i couldn't and I'm a little bit lost. Here is the code:

 DATA: client_wa TYPE ZCLIENT,
        client_tab type hashed table of ZCLIENT with unique key ID,

        Node_CLIENT type REF TO IF_WD_CONTEXT_NODE.
        
    Node_Client = wd_Context->get_Child_Node( Name = 'CLIENT' ).
    Node_Client->get_Attribute( Name = 'ID' ).
    Node_Client->get_Attribute( Name = 'FULLNAME' ).
    Node_Client->get_Attribute( Name = 'ADDRESS' ).
    Node_Client->get_Attribute( Name = 'PHONE' ).
    
    INSERT client_wa INTO TABLE client_tab.

Thank you!