‎2010 Aug 31 8:18 AM
Hello All,
Do any one have any experience in which Modify DB table from WA is Not initial .
Please share what should be case.
Regards,
Kiran Kumar
‎2010 Aug 31 8:31 AM
Very unclear. Please describe your problem in all detail, as we don't like to guess around here.
Thomas
‎2010 Aug 31 8:38 AM
Hello,
Always clearly mention your issue.
Below is the code for modifying the standard table from an internal table.
So there is no need of Loop . At a time u can modify from the internal table.
Before doing the modifications do the changes in the internal table.
DATA : IT_EKKO TYPE TABLE OF EKKO.
if it_ekko is not INITIAL.
MODIFY EKKO FROM table IT_EKKO.
endif.
Hope this might solve your problem.
With Regards,
Sumodh.P
Edited by: Sumodh P on Aug 31, 2010 1:08 PM
‎2010 Aug 31 1:31 PM
What I can guess from your requirement is you want to modify DB table using work area by checking whether work area(WA) is initial or not.
<< Cut and paste from http://help.sap.com/saphelp_wp/helpdata/en/fc/eb3a6d358411d1829f0000e829fbfe/content.htm removed >>
Edited by: Rob Burbank on Aug 31, 2010 9:04 AM
‎2010 Aug 31 1:49 PM
I´m guessing this:
IF not WA is initial.
modify dbtable from wa.
ENDIF.