Application Development 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: 

Getting Short Dump while using the FM"SAP_CONVERT_TO_TEX_FORMAT"

Former Member
0 Kudos

Hello Experts,

I am using the FM SAP_CONVERT_TO_TEX_FORMAT to convert the data in text format and use

that converted data to create the file on application server. When I used this FM to convert the data from T0599Z table then it's giving me dump for other tables it's working fine.

Can anyone suggest why this is happening?

Thanks

1 ACCEPTED SOLUTION

tarangini_katta
Active Contributor
0 Kudos

Hi Chetan,

Can you please correct table becuase table name 'T0599Z' which u specified is not in DD.

Thanks,

7 REPLIES 7

tarangini_katta
Active Contributor
0 Kudos

Hi Chetan,

Can you please correct table becuase table name 'T0599Z' which u specified is not in DD.

Thanks,

0 Kudos

i guess its T059Z.

and can u please post the dump description here?

0 Kudos

Yes table name is T059Z.....

Error description is ' The Current Statment is only defined for character-type data objects."

0 Kudos

Table name is T059Z

0 Kudos

Can you write the codes...of how you are calling the function module...?

0 Kudos

Hello Chetan

Table T059Z contains fields having DEC or INT2 type which are not compatible with using this fm because these are not character-like types.

Regards

Uwe

former_member212005
Active Contributor
0 Kudos

Can you write the codes...

Try something of below sort..


  CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
   EXPORTING
     i_field_seperator          = ','           "For CSV Files
    TABLES
      i_tab_sap_data             = gt_outtab1
   CHANGING
     i_tab_converted_data       =  gt_outtab.