Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDoc Errors - Need solution

Former Member
0 Likes
9,488

Hi,

We have been receiving several POs from other SAP systems which will be created as SO in our sytem.

The following error occurs for the IDocs and the IDoc could not be processed automatically. This needs to be processed in foreground.

"The material number for the item 0100 could not be identified".

Msg Id VG, Message Code 203, Message Type E

The reason for this fallout is if the Purchase info record is not maintained for the Material in the counter part, the segment E1EDP01 - E1EDP19 002 Field - IDTNR of IDoc Message Type (ORDERS) data will be missing.

Can anyone suggest the solution for this, since this is SAP standard error. Can this be fixed in our system or is it required to be fixed in counterpart?

Thanks in advance.

Rgds,

AK

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
6,011

Hi AK,

You need to create customer material info record in your system (CMIR) using transaction VD51 to map the customer materil number to your material number.

Inbound function module implementation is such a way that it looks for the table KDMAT to find the corresponding SAP material number for the customer material number.

let me know if you are still facing any issues with this.

Thank you.

Regards,

Karun.M

12 REPLIES 12
Read only

Former Member
0 Likes
6,011

What is item 0100? Is it the material number or the line item number? The message is indicating that the system could not determine the material number that goes onto the line item of the Sales Order. But it also looking for Purchase Info Record, which is needed if you are creating a PO. Are you sure, the incoming IDoc is recognized as a sales order for your system?

How are these IDocs transmitted? Are they all SAP systems and using ALE or are they coming from non-SAP system via a third-party EDI subsystem?

Srinivas

Read only

0 Likes
6,011

Hi Srinivas,

Thanks for your response.

The item 0100 indicates the line item in a sales order.

We get these IDocs thru ALE and from SAP system only.

I didnt get your question: Are you sure, the incoming IDoc is recognized as a sales order for your system?

The incoming IDocs are ORDERS05 and message type ORDERS. Is any specific setting needs to be maintained?

Rgds,

AK

Read only

Former Member
0 Likes
6,012

Hi AK,

You need to create customer material info record in your system (CMIR) using transaction VD51 to map the customer materil number to your material number.

Inbound function module implementation is such a way that it looks for the table KDMAT to find the corresponding SAP material number for the customer material number.

let me know if you are still facing any issues with this.

Thank you.

Regards,

Karun.M

Read only

0 Likes
6,011

Hi Karun & Venu,

Thanks for the useful info.

I have some more queries.

More details:

I checked the configuration and the process code DELO (Delviery Order) is used for processing Inbound IDocs.

If the segment E1EDP19 - Qual 002 does not exist this error occurs. If the counter part maintains the Purchase Info record in the IDoc. Now we request our counter part to create Purchase Info record for the material and create new order. (Other we need to manually process every IDoc).

Other solution is which is given by you. I tried maintaining the Customer Info record for the material and the IDoc is automatically processed in the system.

My question is:

1) How is the Purchase Info Record in Source system and Customer Info record in our system are related. Idoc got processed automatically if we follow any one of the possibilities?

2) What is the exact difference between Inbound process codes DELO and ORDE?

Rgds,

AK

Read only

0 Likes
6,011

Hi AK,

In purchase info record we maintain the vendor's material number.So when we send out a purchase order , we are sending the actual material number used by the Vendor which would allow them to post the sales order with out any additional input.

If we are not maintaining the purchase info record , then the vendor needs to maintain the CMIR for the inbound sales order getting posted in their system.

In a nutshell one of the business partners involved should either maintain purchase info record or CMIR in any of those systems involved in EDI transaction.

Difference between DELO and ORDE is DELO is meant for creating delivery orders which is normally referenced with a scheduling agreement to create it.

ORDE is basically meant for creating standard sales order.

Hope this helps you out.

Thank you.

Regards,

Karun.M

Read only

0 Likes
6,011

Hi Karun,

Thanks a lot.

I have one more question related to your answer.

We are currently using DELO process code to Create Sales Order from Inbound IDoc ORDERS. How is this possible?

Rgds,

AK

Read only

0 Likes
6,011

Hi AK,

Delivery order is one of the sales order types only.

DELO process code uses the message type DELORD which is used to control the program flow at the IDOC_INPUT_ORDERS function module to intrepret the IDOC and create the sales orde (Order type - Delivery order).

Hope this answer your question.

Thank you.

Regards,

Karun.M

Read only

Former Member
0 Likes
6,011

Hello AK,

Customer-Material Info Record is required to do the pricing during SO creation. Is it possible to create this in advance for the materials in question?

If not, you should customize the inbound processing function IDOC_INPUT_ORDERS to accomplish one of the following:

1)Skip the the Materials without Inforecord (with appropriate message so that this can be resolved manually later) and create SO for the others

2)Create Inforecord on the fly prior to SO creation

Thanks,

Venu

Read only

0 Likes
6,011

Hi AK,

If you do not use the customer material number. ie. if you are getting the data from one SAP system to other which has the same material maintained in both systems, then change the qulifier in E1EDP01 segment to 001 (which is SAP material) instead of 002 = cust material.

This will avoid the lookup to KDMAT table and will post the IDOC without checking the cust material.

Hope this helps. Kindly reward points if you are satisfied.

Read only

0 Likes
6,011

Sorry, I meant E1EDP19-QUALF not E1EDP01.

Read only

0 Likes
6,011

Hi Chandrika,

Thanks for the info.

Here the point is, IDoc will fail only if E1EDP10 Qual 002 segment doesnt available. So there is no point in changing the qualifier to 001.

Rgds,

AK

Read only

former_member555369
Discoverer
0 Likes
6,010

Hi AK ,

We too had similar issue where in Segment ( E1EDP01-E1EDP19-001) itself was missing in the IDOC because of which it was not updating in Accounting Document as well. Please find attached structure difference between both the IDocs.

Pic 1 : Structure of Idoc which was able to create Accounting Document.

Pic 2 : Structure of Idoc which was having missing segment with Qualifier '001'.

For fixing above issue , you need to map the new material number with old material number. In case below mapping is missed in CMIR(Customer Master Info Record)(Transaction Code VD51) as in case of below image segment with qualifier is :

For inserting Customer Material Number pick the same from Material Master(MM03)(Old Material Number) as shown in below image:

Thank You ,

Shweta.