cancel
Showing results for 
Search instead for 
Did you mean: 

Very Urgent - Sales order IDOC

Former Member
0 Kudos

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 NameData Element
STRASEDI3042_A
STRS2EDI3042_C

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

Appreciate your responses. Krishna.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.