2009 Aug 20 2:17 PM
Hi
I have 2 standard tables one having 27 fields and other have 30 fields.I want all the fields from the 2 tables to dispalyed in the output table.So,how can I declare the output table.I should not use occurs 0 in the declaration.
Thanks in advance.
Regards,
Kiranmai.
Hello Kiranmai,
This is very basic question. You can check with SAP help. It has detailed topic on internal table declaration.
Thanks,
Augustin.
2009 Aug 20 2:53 PM
See the help files on DATA and INCLUDE STRUCTURE. OCCURS 0 has nothing to do with it and shouldn't be used anyway because it's deprecated syntax.
2009 Aug 20 2:53 PM
declear an type having two structure in it
like
types begin of itab_type ,
stu1 type line of table1,
stu2 type line of table2,
end of itab_type.
declear itab here
data: itab type standard table of itab_type.
2009 Aug 20 3:39 PM
Hello Kiranmai,
This is very basic question. You can check with SAP help. It has detailed topic on internal table declaration.
Thanks,
Augustin.
2009 Aug 20 5:25 PM
HI, Kiranmai
Please Always Search Before Posting, I think Searching is better than Posting what you think ?
Regards,
Faisal
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |