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

Creating IDocs

I am creating an IDoc (ORDERS05) from an ABAP application. What is the best way to retrieve the format layout of the data portion of the IDoc to populate the elements for each format? For example, if I want to populate the data for the E1EDKA1 format, what is the best way to retrieve the layout for this format?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2005 at 01:27 PM

    Hi Denise,

    SM31 should do the job. It will list all fields with their data-elements for the segment given.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2005 at 01:29 PM

    WE60 is the transaction to see all segments and fields and some explanation as well.

    Else you can also use WE30 ( IDOC Type ) & WE31 ( Segment Type ) , or if you know the segment name just goto SE11 .

    Cheers.

    Message was edited by: Sanjay Sinha

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Not sure what your requirement is ??

      Wont you define structures directly like

      WA_E1EDKA1 LIKE E1EDKA1 ,

      fill structure WA_E1EDKA1 and then pass it to IDOC data records EDIDD-SDATA.

      Or if you want to get fields of a structure you can use FM DDIF_FIELDINFO_GET

      Cheers.

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.