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

Modify DB table -

Former Member
0 Likes
581

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

4 REPLIES 4
Read only

ThomasZloch
Active Contributor
0 Likes
551

Very unclear. Please describe your problem in all detail, as we don't like to guess around here.

Thomas

Read only

Former Member
0 Likes
551

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

Read only

Former Member
0 Likes
551

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

Read only

Former Member
0 Likes
551

I´m guessing this:


IF not WA is initial.
  modify dbtable from wa.
ENDIF.