on 09-01-2009 9:46 AM
DATA gt_itab TYPE TABLE OF <Table type>.
This would result in the definition of an internal table with rows that are themselves internal tables (of the specified table type)!
初级问题,请帮忙解释一下这句话什么意思?为什么说这种定义内表的方法是错的。谢谢~~~!!
Thanks , I know what you mean.
Would u please kindly translate "This would ..." into Chinese, then I could make it clear...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
学习了,这种定义方式我也干过,哈哈
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot.
Have a good day..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. TYPE TABLE OF <TYPE>,<TYPE>指的是internal table的line type所以应该是structure
2. <table type> 就已经定义好了internal type的line type和iaccess type以及key,所以通过DATA it_tabe TYPE <table_type>就可以直接定义internal table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use either of the following ways to define the internal table.
DATA gt_itab TYPE <Table type>.
DATA gt_itab TYPE TABLE OF <Structure>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.