‎2010 Jun 30 3:21 PM
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.
‎2010 Jun 30 4:27 PM