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

LSMW > F-02

Hi Friends,

Tcode > F-02

Method > LSMW

Program Used :RFBIBL00 ( Financial documents)

No of Files > 2 ( Header and ITEM )

<b>Header file -</b>-

BLDAT BLART BUKRS BUDAT MONAT WAERS XBLNR BKTXT

2062006 SA RU11 1072006 7 RUB Test Uplod Russia Test Uplod Russia

<b>ITEM file -</b>

NEWBS NEWKO WRBTR ZUONR SGTXT

40 101000 25000 Test Uplod Russia

40 131010 3000 Test Uplod Russia

40 132010 8000 Test Uplod Russia

50 239010 36000 Test Uplod Russia

<b>PROBLEM</b>

1. While assigning file one information message comes -

" Using different sequential files is not allowed"

2.While READ DATA Info msg -

"Ensure field sequence is correct for data for mutiple source structures."

Please Help

Sonal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on May 29, 2006 at 01:27 PM

    hi sonal,

    what indicator are you using for differentiating between header and line items.it seems your file has nothing like this.you should have some indicator for distinguising between header and line items say for eg H for header and I for item.

    Well you should assign your header records file to the corresponding structure and the item records also to the corresponding structure.then you wont find any problem..

    Cheers,

    Abdul Hakim

    Mark useful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 29, 2006 at 01:30 PM

    HI Sonal,

    Instead of having two different files ,one for header and the other for item, have all the data in one file only, with some indicator to differenciate between the header and item records.

    The file should have this format:

    Header1

    item1

    item2

    item3

    Header2

    item1

    item2

    .

    ..

    Regards,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 29, 2006 at 01:32 PM

    hi

    ur file should contain the indicator as follows..

    Header file --

    BLDAT BLART BUKRS BUDAT MONAT WAERS XBLNR BKTXT

    H2062006 SA RU11 1072006 7 RUB Test Uplod Russia Test Uplod Russia

    ITEM file -

    NEWBS NEWKO WRBTR ZUONR SGTXT

    I40 101000 25000 Test Uplod Russia

    I40 131010 3000 Test Uplod Russia

    I40 132010 8000 Test Uplod Russia

    I50 239010 36000 Test Uplod Russia

    also add a new field with the name "indicator" or ur choice in your source structure creation with char type and length 1..

    Cheers,

    Abdul Hakim

    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.