Skip to Content
avatar image
Former Member

Very Urgent - Sales order IDOC

Dear Experts,

My client have a requirement to enhance the Sales order and Delivery outbound IDOC types to address the customer address data.

In the standard ORDERS05 and DELVRY05 IDOC structure, customer address (SP, SH, BP, PY) is not completely copied to IDOC. Especially, Street 4 and 5. Also, the street field (STRAS) is being copied upto 35 CHAR of the data (SAP Standard) out of the 60 CHAR (ADRC-Street) length allowed in customer master.

I tried to look at the IDOC segments E1EDKA1 and found that the partner information is being copied from below data elements. But I am really not sure if I enhance the IDOC structure by adding IDOC extension and include the fields from ADRC fields (I believe the sales order partner address data is being recorded in ADRC table)

Field Name Data Element STRAS EDI3042_A STRS2 EDI3042_C

Could any one please advice, the best approach to get the complete street information in sales order and Delivery?

Appreciate your responses. Krishna.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 19, 2012 at 08:24 PM

    HI  krishna..

    IF some data is not getting copied from one business document to another in normal or standardized way, it means that the system has to show some error which should be rectified and checked what is the IDOC status Code..

    OR

    have you checked with the run time components for IDOC like control records ,data records and status records...i feel variable name and data elements should be analyzed for the segment type and also check with Administrative selection and data selection of data records ... identify the process to make sure that the sales order IDOC is correct according to standard settings...

    do you think there is problem with structure and format of basic IDOC type....coz originating data is not in format to get copied ...

    If you want to make use of extension IDOC or enhancement u need to make use of user exit ...User exits are an important aspect of enhancing the IDoc interface to accommodate extended IDocs

    if you require to use enhancement ..might be the below details  would be useful for you

    User Exits in the IDoc Interface: SMOD Enhancements

    IDoc Message--  Description---               Direction--          Enhancement

    DEBMAS  ---     Customer master.--          I/O----                 VSV00001

    User Exits in the IDoc Interface: SMOD Enhancements

    Thanks

    ash

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Ash, Thanks for your response.

      It is the SAP standard behavior ORDERS05 IDOC structure. The address data of customer is not completely copied in outbound IDOC (ORDERS05). Hence, I need to modify with IDOC enhancement where I can get the complete address of customer as it is maintained in customer master while sending the outbound order IDOC. But my concerns are

      1. While creation of sales order in SAP, the outbound IDOC is getting triggered and updating the partner address data into IDOC segments EDKA1. Need to understand where the partner address data is recorded in sales order and from which table this address data is copied to IDOC segments (data element EDI3042_A  and EDI3042_C).

      2. Can ADRC table hold the sales order Partner data after creation? and can I make use of this table fields (Street, street2 etc..) to copy in to my IDOC extension?

      Kindly advice. Krishna.