ABAP
acgl_item-shkzg = *acgl_item-shkzg.
I had a question about the above mentioned assignment declaration. I was wondering what the asterisk meant here. I am thinking it is how the value is passed, here it is by reference. I am not sure however.
Any idea on this will be appreciated .
thnx.
This was discussed recently in this forum. If you want to define the same table twice in TABLES section, you define once normally and with an asterisk the second time.
_________________
Sudhi Karkada
Im not sure about this, but, I think it acts just like another internal table. Such as if it had been named zacgl_item-shkzg instead of *acgl_item-shkzg. In other words, the * has no significant meaning.
_________________
MajorCats
Im not sure about this, but, I think it acts just like another internal table. Such as if it had been named zacgl_item-shkzg instead of *acgl_item-shkzg. In other words, the * has no significant meaning.
This is a hangover from the days of R2 when multiple work areas for a table and 'SELECT INTO TABLE' were unavailable and should not be used.
Instead you should use SELECT INTO TABLE, or 'LOOP AT ITAB into WA'.
R
When you declare a table by the tables statement, you
are creating a work area structure with fields = the database
table fields.
You are doing the exact same thing by using the asterix.
It is a new work area.
- svish