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

FM SAP_CONVERT_TO_CSV_FORMAT

Former Member
0 Likes
841

I am trying to use FM SAP_CONVERT_TO_CSV_FORMAT but when I declare an internal table of type TRUXS_T_TEXT_DATA I get a syntax error. I do not have that type installed in the system.

Davis

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
775

Hi use type pools.. like this it will work

<b>TYPE-POOLS : truxs.</b>

DATA : i_tab_converted_data TYPE truxs_t_text_data.

Thansk

Mahesh

I am trying to use FM SAP_CONVERT_TO_CSV_FORMAT but when I declare an internal table of type TRUXS_T_TEXT_DATA I get a syntax error. I do not have that type installed in the system.

Davis

4 REPLIES 4
Read only

Former Member
0 Likes
776

Hi use type pools.. like this it will work

<b>TYPE-POOLS : truxs.</b>

DATA : i_tab_converted_data TYPE truxs_t_text_data.

Thansk

Mahesh

Read only

0 Likes
775

Thanks! I forgot the type-pools statement.

Davis

Read only

former_member194669
Active Contributor
0 Likes
775

Hi,

In the top inlcude declare


type-pools: truxs.

Then you will not get the error

aRs

Read only

Former Member
0 Likes
775

Hi Davis,

Declare this in your program:

TYPES truxs_t_text_data(4096) TYPE c OCCURS 0.

And then refer this for your table..

Or you can define your own table like this only..

DATA : itab_out(4096) TYPE c OCCURS 0.

Thanks and Best Regards,

Vikas Bittera.

**Points for useful answers**