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

problem with syntaxes and structures in unicode

Former Member
0 Likes
321

1. i have a problem with syntax

this is old syntaxes

TRANSLATE c ...FROM CODE PAGE g1 ... TO CODE PAGE g2

new systems should use this class instead of above

  • CL_ABAP_CONV_IN_CE

it reads data from a container and converts it to the system format.

my old syntax is TRANSLATE header-id FROM CODE PAGE file_tab-codepage.

i need to change to new one by using above class how to do it

2. I have a structure are_buffer and i am working on upgrade of a old report , i have used a sap predefined structure callled arc_buffer from se11, now when i am using offset in one of the perform statement like

PERFORM read_file USING handle_tab_wa-offset record_len

CHANGING arc_buffer(record_len)

error_handling

p_message.

but the system throws a error called ''the structure arc_buffer(record_length) does not start with character-type field''.

i cannot change the structure becoz its sap standard structure .

how to get out of this.

1 REPLY 1
Read only

Former Member
0 Likes
283

Moderator message - Cross post locked Rob