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

Inbound Sales Order IDoc ORDERS05

Hi there,

I'm using the Idoc ORDERS05 Process Code ORDE to create Sales Order, all the process it's working perfectly. I would like to know if I can fill the header text of the order using the Idoc. The FM that I'm using is IDOC_INPUT_ORDERS

I have included in the idoc the following segments:

E1EDKT1 003 EN 0001 0001

E1EDKT2 XXXXXXXXXXXXXXXXX

but the header text in the order created is empty.

Any idea about this, thanks in advance.

Alexis Ramirez

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 21, 2008 at 08:01 PM

    Hello Alexis

    I assume the text ID and object are not correct.

    Take an existing sales order and check the entry in STXH (do not forget leading zeros). There you will find the correct values (should be something like VBBK and/or VBRK).

    Regards

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Alexis

      Below you see part of the XSLT mapping (on SAP-XI) for EDI purchase orders which are mapped to ORDERS.ORDERS05 IDocs (-> sales order).

      I assume that in your case the name of TDOBJNAME (here = 'String') is missing.

      					<E1EDKT1 SEGMENT="1">
      						<TDID>Z091</TDID>
      						<TSSPRAS>D</TSSPRAS>
      						<TSSPRAS_ISO>DE</TSSPRAS_ISO>
      						<TDOBJECT>VBBK</TDOBJECT>
      						<TDOBNAME>String</TDOBNAME>
      						<E1EDKT2 SEGMENT="1">
      							<TDLINE>
      								<xsl:if test="../S_UNB/C_S002/D_0004='12345'">
      									<xsl:value-of select="S_BGM/D_1004"/>
      									<xsl:text>/RY</xsl:text>
      								</xsl:if>
      								<xsl:value-of select="S_FTX/C_C108/D_4440"/>
      							</TDLINE>
      							<TDFORMAT/>
      						</E1EDKT2>
      					</E1EDKT1>
      

      Regards

      Uwe

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2008 at 07:54 PM

    This was the solution:

    You need to populate the header text segments in the following manner.

    Segment E1EDKT1:

    TDID: (Text ID)

    TSSPRAS: EN

    TDOBJECT: VBBK.

    Segment E1EDKT2:

    TDLINE: <Text>.

    Let me know if you have any problem.

    Regards,

    Alexis

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 01:03 AM

    Hi,

    The pass the below values in the idoc segment.

    In the IDoc Segment- E1EDKT1.

    Text ID - RMAT.

    Language - en

    TdObject - VBBK

    E1EDKT2 - Text Description

    Regards,

    Dinesh

    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.