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

Problem with sentence modify

adrian_mejido
Contributor
0 Likes
750

Hi,  I have a problem with the sentence modify. I have a sentence TABLES for a database table in my top. Then I fill this structure with some information and finally when I try to update my database I have a problem. I try to use the modify sentence like this:

MODIFY zbfc_table FROM zbfc_table.  

But this sentence don´t update the database. I think that It is because the structure and the database have the same name and this sentence doesn´t indentify them.

Is there any other sentence that could help me?

Thanks for your time.

Best Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
712

Hi,

Option 1: Try changing the work area name.

MODIFY zbfc_table from wa_zbfc_table.

Options 2: If you are using this in a report, try using COMMIT WORK after the modify statement.

Cheers

~Niranjan

4 REPLIES 4
Read only

Former Member
0 Likes
712

Hi Adrian

You can Try MODIFY <zdbtab> FROM TABLE <itab>.

And maybe for safety at the end of your processing also do a Commit Work.

Regards

Vic

Read only

mahesh_madhavan
Participant
0 Likes
712

Hi,

Since you have declared TABLES, just write this statement.

MODIFY zbfc_table.

Cheers,

Mahesh

Read only

Former Member
0 Likes
713

Hi,

Option 1: Try changing the work area name.

MODIFY zbfc_table from wa_zbfc_table.

Options 2: If you are using this in a report, try using COMMIT WORK after the modify statement.

Cheers

~Niranjan

Read only

Former Member
0 Likes
712

Hi

  try this 

     Modify zbfc_table.  or

      Modify *zbfc_table.