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

Flat File Extraction

hi i have a doubt

i have a flat file like

JAN FEB Mar Apr May Jun July Aug Sapt oct Nov Dec

100 200 300 400 500 600 700 800 1000 1002 10012 945

100 200 300 400 500 600 700 800 1000 1002 10012 945

100 200 300 400 500 600 700 800 1000 1002 10012 945

which has all 12 months data . do i need to create for each month separate infoobject or is there any way i can use only one infoobject . and upload the data for 12 months separately.

thnaks in advance .

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on May 04, 2005 at 07:24 AM

    Hi Veda,

    Why don't you use one IO 0CALMONTH and load your data in one cycle:

    DATA MONTH

    100 200501

    200 200502

    300 200503

    etc?

    Best regards,

    Eugene

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 07:25 AM

    veda,

    you have two options:

    JAN FEB Mar Apr May Jun July Aug Sapt oct Nov Dec

    100 200 300 400 500 600 700 800 1000 1002 10012 945

    100 200 300 400 500 600 700 800 1000 1002 10012 945

    100 200 300 400 500 600 700 800 1000 1002 10012 945

    if you want the result in this way you must create 12 infoobject.

    if you want to use only a infoobject you must generate for only record 12 records with a result table in start routine of transfer structure

    gen 100

    feb 200

    mar 300 i.e

    alessandro

    alessandro

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 07:25 AM

    Hi Veda,

    Before I give my answer, What are the figures stands for? Are they sales per Article on a given month? For January with 3 X 100, does it mean that keyfigure = 300?

    I think the best way is to create only <b>ONE</b> Info Object for the Calendar Month. These keyfigures can be summarized easily in the query if you only have one Info Object to contain it.

    If you can revise the Flat File to be like this:

    Month Value

    -


    -


    Jan - 100

    Jan - 100

    Jan - 100

    Feb - 200

    Feb - 200

    Feb - 200

    Mar - 300

    Mar - 300

    Mar - 300

    Dec - 945

    Dec - 945

    Dec - 945

    This will be the optimum approach...

    --Jkyle

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2005 at 07:30 AM

    You will have to transform your data. One place to do it is the start routine of an update rule.

    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.