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

Need to get spaces in table

I need to uplaod some data in a table, for one field iam getting some data from flatfile but i need to uplaod blank spaces instead of that data in my table.

Any one can guide me in this issue ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jun 09, 2006 at 05:50 PM

    use CLEAR <field name>. and then upload the field into your table..

    Cheers,

    Abdul Hakim

    Mark all useful answers..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 06:06 PM

    First upload data to your internal table.

    Loop it_table where <field_name> ne space.

    It_table-<field_name> = space.

    Modify it_table.

    Endloop.

    After this you can upload the internal table to the transparent table.

    Please, mark ALL useful answers if it helps you.

    Regards,

    Felipe Cunha [Fpdc]

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2006 at 06:11 PM

    If you need space in one field in all records, then you use the following statement.

    clear itab-field1.

    modify itab transporting field1 where field1 <> space.

    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.