Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in declaration

Former Member
0 Likes
587

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.

4 REPLIES 4
Read only

brad_bohn
Active Contributor
0 Likes
564

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.

Read only

Former Member
0 Likes
564

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.

Read only

Former Member
0 Likes
564

Hello Kiranmai,

This is very basic question. You can check with SAP help. It has detailed topic on internal table declaration.

Thanks,

Augustin.

Read only

faisalatsap
Active Contributor
0 Likes
564

HI, Kiranmai

Please Always Search Before Posting, I think Searching is better than Posting what you think ?

Regards,

Faisal