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

Program: RSTXPDFT4 is giving a run time error

former_member591922
Participant
0 Likes
853

"ASSIGN_TYPE_ILLEGAL_CAST" " "

"SAPLSTXW" or "LSTXWFPL"

"PDFCNV_LIST_PROCESSLINE"

program is throwing a run time error and in error description it is pointing at below line of code:

when others.
         pdfcnv_listinfo-cur_event = c_abap_text.
         assign <b>(bytes_consumed) to <t> type 'C'.
         pdfcnv_listinfo-cur_text = <t>.
         pdfcnv_listinfo-cur_textlen = bytes_consumed.
*       6.10 correction for Unicode systems: DBC char width
         if chartype = c_abap_namedtextchar.
           pdfcnv_listinfo-cur_text_is_mbchar = space.
         else.
           pdfcnv_listinfo-cur_text_is_mbchar = 'X'.
         endif.
*       7.00 correction for Thai tone marks
*       In NUC, Thai tone marks are counted as 1 column (no pad blanks)
*       and we must add padding spaces when 2 spaces occur

If anybody knows about any sap note or other solution ,do reply?

we are using ECC 6.0 .SAP .ABAP release  is 702 patch level 10

"ASSIGN_TYPE_ILLEGAL_CAST" " "

"SAPLSTXW" or "LSTXWFPL"

"PDFCNV_LIST_PROCESSLINE"

program is throwing a run time error and in error description it is pointing at below line of code:

when others.
         pdfcnv_listinfo-cur_event = c_abap_text.
         assign <b>(bytes_consumed) to <t> type 'C'.
         pdfcnv_listinfo-cur_text = <t>.
         pdfcnv_listinfo-cur_textlen = bytes_consumed.
*       6.10 correction for Unicode systems: DBC char width
         if chartype = c_abap_namedtextchar.
           pdfcnv_listinfo-cur_text_is_mbchar = space.
         else.
           pdfcnv_listinfo-cur_text_is_mbchar = 'X'.
         endif.
*       7.00 correction for Thai tone marks
*       In NUC, Thai tone marks are counted as 1 column (no pad blanks)
*       and we must add padding spaces when 2 spaces occur

If anybody knows about any sap note or other solution ,do reply?

we are using ECC 6.0 .SAP .ABAP release  is 702 patch level 10

3 REPLIES 3
Read only

rajesh_kumar2
Product and Topic Expert
Product and Topic Expert
0 Likes
777

Check the note 842767 .

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
777

Check SAP note 807688 and 559323.

Read only

former_member591922
Participant
0 Likes
777

All the above notes are not working,kindly mention some other solution for same?

Is this problem related to some datatype casting?