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

Table type with include structure

Former Member
0 Likes
9,016

Hi All,

How to declare a table type with include structure

i am declaraing it in the following way its giving epc check of obselete statement,

could any one tell me how to declare a table type and internal table for the following code.

DATA:BEGIN OF TY_OUTPUT OCCURS 0.

DATA:PS_PSP_PNR TYPE EKKN-PS_PSP_PNR.

INCLUDE STRUCTURE ST_ZCDTT0005.

DATA:END OF TY_OUTPUT.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,295

Hi

TYPES: BEGIN OF TY_OUTPUT,
         PS_PSP_PNR TYPE EKKN-PS_PSP_PNR.
         INCLUDE STRUCTURE ST_ZCDTT0005.
TYPES: END OF TY_OUTPUT.

TYPES: TY_T_OUTPUT TYPE TABLE OF TY_OUTPUT.

Max

3 REPLIES 3
Read only

Former Member
0 Likes
2,296

Hi

TYPES: BEGIN OF TY_OUTPUT,
         PS_PSP_PNR TYPE EKKN-PS_PSP_PNR.
         INCLUDE STRUCTURE ST_ZCDTT0005.
TYPES: END OF TY_OUTPUT.

TYPES: TY_T_OUTPUT TYPE TABLE OF TY_OUTPUT.

Max

Read only

Former Member
0 Likes
2,295

Thank you,

Problem solved.

Read only

Former Member
0 Likes
2,295

Thank you,

Problem solved.