Re: [sap-dev] Field-symbols question
Posted by
Admin at
|
Share this post:
|
0 Comments
| | Posted by Neil Gardiner (Senior Consultant) on May 13 at 6:18 PM | |
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
__.____._ 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
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Related Content
In the Spotlight
White Papers
In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
View this thread online
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion