We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] Field-symbols question

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Neil Gardiner (Senior Consultant)
on May 13 at 6:18 PM
Mark this reply as helpfulMark as helpful
Change the tables to hashed and change the developer! :o)

On 14 May 2010 06:27, horacio zapettini via sap-dev <
sap-dev@groups.ittoolbox.com> wrote:

> Posted by horacio zapettini
> on May 13 at 4:26 PM
> Wes,
> a hashed table would perform such changes really faster.
> The only difference you have, is that the table must have a unique key.
> But you'll gain in performance.
> Anyway, if you're talking about 13 mins.... I'd like to know more about the
> table structure, and the loop. If You'd post them, maybe we could help you
> better. (otherwise, the profesional network of toolbox is a good place to
> talk, you're invited to join it)
>
> HTH
> Horacio
>
> ---------------Original Message---------------
> From: sapwes
> Sent: Thursday, May 13, 2010 9:27 AM
> Subject: Field-symbols question
>
> > The SAP performance guide indicates that using the assigning command when
> looping on an internal table improves performance.
> > eg LOOP AT ITAB ASSIGNING <WA>
> > <WA>-FLAG = 'X'.
> > ENDLOOP.
> > I have seen this to be true.
> > I'm working with a devloper who insists on derefencing the field
> symbol and using the dereferenced varible
> > eg
> > LOOP AT ITAB ASSIGNING <WA>
> > DerefVal = <WA>
> > DerefVal-Flag = 'X'.
> > ENDLOOP.
> > Other than style issues do you folks have any thoughts how it will affect
> performance? or any other general thoughts about whether this is a good idea
> or not?
> > Thanks
> > Wes
__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251

0 comments:

Post a Comment

T r a n s l a t e to your language