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

Types outside class

Former Member
0 Likes
604

hi all,

I wanna use a types defined inside a class in an external program.

Let's supposed i have something like this.

CLASS abap DEFINITION.

PUBLIC SECTION.

TYPES: abap_table TYPE STANDARD TABLE OF zabap.

ENDCLASS.

START-OF-SELECTION.

DATA: my_var TYPE abap->abap_table

How can i do this?

Thanks in advance

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
504

Try like this:


DATA: my_var TYPE abap=>abap_table .

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
505

Try like this:


DATA: my_var TYPE abap=>abap_table .

Regards,

Naimesh Patel

Read only

0 Likes
504

It works.

Thanks