Skip to Content
author's profile photo Former Member
Former Member

Tab carachter at the end of line

Hello!

I am trying to upload a text file separated by Tab into SAP by an Abap program, but I have the following problem:

- Code:

constants: l_tab type x value '09'.

split vl_line_file at

l_tab

into

vl_type_h

vl_cod_fla.

- Problem: in the vl_cod_fla, I always get ## after data.

I have tried to change l_tab to cl_abap_char_utilities=>horizontal_tab but the problem persists.

Any suggestion would be appreciate,

Thanks!

Michel Khouri

Mars, Inc

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 01, 2006 at 06:07 PM

    These may be carriage returns. This may get rid of them for you.

    data: another_field(10) type c.
    
    split vl_cod_fla at  cl_abap_char_utilities=>cr_lf into vl_cod_fla another_Field.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2006 at 06:05 PM

    HI,

    IF U R USING GUI_UPLOAD...

    DID U GIVE HAS_FIELD_SEPARATOR = 'X'.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.