Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

help with modify table.

Former Member
0 Likes
544

hi all,

i have a Table control (TC) and internal table (it) so when i modify the TC in a dynpro and i put save the code is:

loop at it_zhola.

move-corresponding it_zhola to zhola.

modify zhola.

endloop.

when this code is execute in the table are 3 fiels with 0 in the date field so insert 3 new rows. how can i insert this modification in the transparent table?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

Hi

You can use the

UPDATE <table>

SET <field> = <value

where <cond>

4 REPLIES 4
Read only

Former Member
0 Likes
523

Hi

You can use the

UPDATE <table>

SET <field> = <value

where <cond>

Read only

jayanthi_jayaraman
Active Contributor
Read only

Former Member
0 Likes
522

Hi

loop at it_zhola.

update zhola set f1 = it_zhola-f1...

endloop.

commitwork.

please make the above mentioned changes.

Unless you commit work your data will not be updated in Database

BR,

Ravi

Read only

Former Member
0 Likes
522

Hi ,

you can use this update statement

<b>UPDATE <databasetable>

SET <field> = <value

where ><cond></b>

or

loop at it_zhola to wa_zhola.

<b>modify zhola(database table) from wa_zhola.</b>

endloop.

<b>

reward pts if helpful.</b>

Rgds,

Ajith