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

Creating Inbound IDoc Using LSMW

How to create the inbound IDoc using LSMWu2026

For example

Input is Flat filesu2026.

I created custom IDoc with header and items

Structure looks

Header 1

Item 1

Item 2

Header 2

Item 3

Item 4

Header 3

Item 4

Item 5

u2026u2026.

u2026u2026.

u2026u2026..

Do I need to create different flat files (item level & Header level) as input while creating IDoc using LSMW ??

Can some one guide me on thisu2026with best way to create IDoc using LSMW with flat fileu2026.

Ramesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2009 at 02:59 PM

    you have to take 2 strcutres like

    header

    fields

    item

    fields

    here the INDENT is relation between 2 files

    HEADER Header

    INDENT C(010) Identifier

    BLDAT C(008) Document Date

    BLART C(002) Document Type

    BUKRS C(004) Company Code

    BUDAT C(008) Posting Date

    ITEM Item Data

    INDENT C(010) Identifier

    NEWBS C(002) Posting Key

    NEWKO C(017) Account

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      can you please help me ... how input file to LSMS looks ..Sample file is helpful...

      My Structure

      E1EDK01 < Header Data

      E1EDK14 < Header Data

      E1EDK14 < Header Data

      E1J3K03 < Header Data

      E1EDK05 < Header Data

      E1EDK05 < Header Data

      E1EDKA1 < Header Data

      E1EDKA1 < Header Data

      E1J3P01 < Header Data

      E1J3AIM < Item Data

      E1EDP20 < Item Data

      E1J3P01 < Header Data

      E1J3AIM < Item Data

      E1EDP20 < Item Data

      Header had 3 segement E1EDK14 E1EDK05 & E1EDKA1 repeating twice.... i am facing prolem with this

      What Structure format i used for above segement in LSMW and what file format i should use..for input to LSMW...

      Edited by: Ramesh on Mar 25, 2009 1:26 AM

      Edited by: Ramesh on Mar 25, 2009 1:41 AM

      Edited by: Ramesh on Mar 25, 2009 1:44 AM

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2009 at 06:26 PM

    This message was moderated.

    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.