07-11-2012 9:49 AM
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
07-11-2012 9:57 AM
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
07-11-2012 9:55 AM
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
07-11-2012 9:56 AM
Hi,
Since you have declared TABLES, just write this statement.
MODIFY zbfc_table.
Cheers,
Mahesh
07-11-2012 9:57 AM
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
07-11-2012 10:00 AM