Skip to Content

Batch in sales order through ORDERS05 interface

Hi There,

Our customer sends us an interface which we translate to an ORDERS05 interface and process in our SAP 6.0. The sales order is then created.

We are trying to find out in which segment and field of the ORDERS05, to map the batch number which the customer sends in the interface.

This in order to populate the batch in the sales order.

Can anyone help us out?

Thanks a lot.

Kind regards,

Tim

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2010 at 05:17 PM

    Hello Tim

    Not very clear when you say 'Batch' you are referring to traditional batch (CHARG) for the material or to a group of orders.

    If you are looking for material's batch , then it is E1EDP19-idtnr. It works with a qualifier E1EDP19-qualf. If this qualifier is 10, then the content of E1EDP19-idtnr is moved to the batch ( VBAP-CHARG D) field of the order item.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 09, 2010 at 08:29 PM

    Hi,

    I have just gone through the documentation for ORDERS05.

    It looks segment E2EDL44003 has a field for batch number.

    Can you check that field (position in segment 009, offset: 0173, external lenght: 10).

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 10, 2010 at 08:46 AM

    Hi All,

    Silly me.

    Segment E1EDP19 with QUALF = '010' and IDTNR = <batch>

    is indeed the proper way to populate the batch of a material to the sales order line.

    I misread the error messages I received earlier when trying to make it work and got deperate on finding a solution. Next time read error messages more in detail.

    Thanks to everyone.

    Kind regards,

    Tim

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 06, 2020 at 07:41 AM

    313925 - Example exit for EDI outbound processing (for example, purchase order)

    MM06E001 EXIT_SAPLEINM_002

    this exit can help,but we r still searching for if is there any other solution。。。

    it's better not to coding, hope any configuration can make it.

    ======================================

    DATA lw_edidd_NEW TYPE EDIDD.
    DATA LW_E1EDP19_NEW TYPE E1EDP19.

    IF INT_EDIDD-segnam = 'E1EDP20'
    AND XEKET-CHARG IS NOT INITIAL.
    LW_E1EDP19_NEW-QUALF = '010'.
    LW_E1EDP19_NEW-IDTNR = XEKET-CHARG.
    lw_edidd_NEW-segnam = 'E1EDP19'.
    lw_edidd_NEW-SDATA = LW_E1EDP19_NEW.
    APPEND lw_edidd_NEW TO INT_EDIDD.
    CLEAR: LW_E1EDP19_NEW.

    ENDIF.

    ======================================

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 06, 2020 at 07:41 AM

    313925 - Example exit for EDI outbound processing (for example, purchase order)

    MM06E001 EXIT_SAPLEINM_002

    this exit can help,but we r still searching for if is there any other solution。。。

    it's better not to coding, hope any configuration can make it.

    ======================================

    DATA lw_edidd_NEW TYPE EDIDD.
    DATA LW_E1EDP19_NEW TYPE E1EDP19.

    IF INT_EDIDD-segnam = 'E1EDP20'
    AND XEKET-CHARG IS NOT INITIAL.
    LW_E1EDP19_NEW-QUALF = '010'.
    LW_E1EDP19_NEW-IDTNR = XEKET-CHARG.
    lw_edidd_NEW-segnam = 'E1EDP19'.
    lw_edidd_NEW-SDATA = LW_E1EDP19_NEW.
    APPEND lw_edidd_NEW TO INT_EDIDD.
    CLEAR: LW_E1EDP19_NEW.

    ENDIF.

    ======================================

    Add a comment
    10|10000 characters needed characters exceeded