2008 May 29 1:54 PM
Hi,
i want to understand some part of code. i have a structure, aaa based on which an internal table is created as given below
DATA *xaaa TYPE HASHED TABLE OF aaa WITH HEADER LINE.
what does the * mean before xaaa ?
also if i need another such internal table can i just say
Data *yaaa LIKE *xaaa.
will this work ?
thaanks
2008 May 29 2:05 PM
well the * is in this case just a character like any other. could be a o or a p as well or anything else.
your suspicion about the data declaration of another internal table of same structure is correct, this will work.
BUT back to the * problem. There is a certain scheme behind this. When you scan some SAP programms you will very often come over itabs like *vbap, xvbap, yvbap.
i dont really know the scheme behind this but there is something like in xtable are the old records BEFORE changing or stuff like that. you may inform yourself about that topic.
2008 May 29 2:05 PM
well the * is in this case just a character like any other. could be a o or a p as well or anything else.
your suspicion about the data declaration of another internal table of same structure is correct, this will work.
BUT back to the * problem. There is a certain scheme behind this. When you scan some SAP programms you will very often come over itabs like *vbap, xvbap, yvbap.
i dont really know the scheme behind this but there is something like in xtable are the old records BEFORE changing or stuff like that. you may inform yourself about that topic.
2008 May 29 2:07 PM
Hi Friend ,
1 . This type of programs and declarations is generally done by Basis people , such type of programs are
dynamically generated . And their naming convention is also different like '$P00005B' ,
2. some programs developed before few years back , like in sap 3.0 version or even lower versions , such
type of coding is possible .
Thanks ,
Reward if usefull.......
2008 May 29 2:17 PM
hmm. so it does not carry any special meaning like pointers in c/c++ ? its just another naming style ?
2008 May 29 2:19 PM
2008 May 29 2:26 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |