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

UC_OBJECTS_NOT_CHARLIKE dump in describe statement

Former Member
0 Likes
985

After upgrade getting this error when calling FM  'SX_TABLE_LINE_WIDTH_CHANGE' in describe statement

     DESCRIBE FIELD CONTENT_OUT LENGTH LINE_WIDTH_DST IN CHARACTER MODE.

Dump : For the statement   "DESCRIBE" only flat, character-type data objects are supported at the argument position "CONTENT_OUT".

In this case, the operand "CONTENT_OUT" has the non-character-type or non-flat type "SSFBIN". The current program is a Unicode program. In the Unicode context, the type 'X' or structures containing not only character-type components are regarded as non-character-type.

. Code is as folloiwng

1. Convert from OTF format obtained from close_form into PDF format
  CALL FUNCTION 'CONVERT_OTF_2_PDF'
       IMPORTING
            bin_filesize   = bin_filesize
       TABLES
            otf            = otfdata
            doctab_archive = doctab
            lines          = pdfline
       EXCEPTIONS
            OTHERS         = 0.

2.     DATA: it_pdfline       TYPE STANDARD TABLE OF tline,
                  it_pdf_line      TYPE STANDARD TABLE OF ssfbin,

   CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
       TABLES
            content_in                  = it_pdfline
            content_out                 = it_pdf_line
       EXCEPTIONS
            err_line_width_src_too_long = 0
            err_line_width_dst_too_long = 0
            err_conv_failed             = 0
            OTHERS                      = 0.

3. Using this it_pDf_line in sending mail as pdf

How to convert data and resolve this.

Thanks

ap

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
727

First check if Note 1021957 - Archiving binary documents is implemented on your system, then use transfer_bin to indicate that your structure is to be considered as binary and not character like.

Regards,

Raymond

Read only

0 Likes
727

Note is not implemented. then how to resolve this

Read only

0 Likes
727

Either ask basis to implement the note so the FL will be able to adjust binary tables and not only char tables in an Unicode system.

Or use another structure without non-charlike field, so not ssfbin but a structure like CHAR255. You require two structures of same type binary (eg SSFBIN) or character (CHAR255, TLINE) but not a mix in Unicode.

Regards,

Raymond