cancel
Showing results for 
Search instead for 
Did you mean: 

Error 06 313 "Material differs from material & from the info record"

0 Kudos

I create a purchase order with a material without inforecord and we assigned to purchase order another material's inforecord . I could save the purchase order, but this is wrong. I expected get the message error 06313, but this doesn't appears.

Can you help, I need to get this message when I am creating the purchase order with this wrong data.

Thank you in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

When I created the PO with the wrong inforecord and I double clic to the inforecord field i got the message, but i need it to get that message when im creating the PO.

JL23
Active Contributor
0 Kudos

can you explain your process in brief?

How is it possible to  assign a wrong info record.

I can imagine that you are able to do this if you enter it manually in ME21N, but this is not a real process from my point of view.

A process starts with PR creation - then you do the source determination e.g. in ME57 if not already in the PR creation process), this is just a double click to assign an info record, it is not possible to assign an info record for a different material.

If you enter a wrong inforecord...what happens actually? does SAP pick the values from that info record?

I am the opinion you should change your process and not manually assign info record numbers.

If you think it is a SAP bug, then you should open a call at service.sap.com/notes and see what SAP says

0 Kudos

Yes, it is possible, that why I´m trying to put an error message.

In our process we dont want the automatic inforecord creation, we need the purchase department create manually all the inforecords for the materials. Thats why we considerate if you create a purchase order you can get a mistake and put a wrong inforecord and we are trying to avoid this future error.

First you create a PO with material A with ME21N, then you assigne manually the inforecord for material B.

Sap doesnt pick the values from that inforecords.

Thank you.

JL23
Active Contributor
0 Kudos

As I said, in my opinion is the error in the process, I would never get the idea to enter an inforecord number manually in ME21N.

Report it as error to SAP and see if you get an error correction or just a consulting info.

Former Member
0 Kudos

Hi Salime,

Check in this program: MM06IF03_EINA-INFNR, Tcode:SE38

If eina-matnr NE *eina-matnr AND eina-matnr NE space.

then message will get generate as: MESSAGE e313 WITH eina-matnr.

Regards

Sanjeet Kumar

JL23
Active Contributor
0 Kudos

but this statement is only processed

IF steukz3 = ja.

which means there is already an existing EINA entry

If there is not yet an existing info record for this material/vendor combination in the purchase order, then this message is not processed, even it is a different material/vendor combination in the order than in the entered info record.

ajitkumar
Active Contributor
0 Kudos

Is STEUKZ3 a variable and at runtime N or J get assigned to it?

JL23
Active Contributor
0 Kudos

Yes it is variable,

a select at EINA is performed

and if that was positive which means an info record exists, then J is moved into this variable.