cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC fails with error Delivery note/service entry sheet XXXXXX does not exist

Former Member
0 Kudos
7,213

Hi Guys,

We are facing issue  while posting accounting document in SAP via IDOC its fails in status 51 with subject mentioned error. Its STO scenario where after performing goods issue, Goods receipt is also done but still we are facing this issue.

GR based IV indicator is checked. Why system shows the Delivery no xxxxx which i can see in vl03n it exists. Though delivery and delivery note are different things.

Also in Delivery note field in MIGO i can see its blank

Please suggest what might be causing this error

Thanks in Advance

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi all,

The issue got resolved. I removed GR based IV indicator and now IDOC posted successfully but still i am not sure why this happened . Though GR was already done so how it can have such impact.

Thanks

JL23
Active Contributor
0 Kudos

I wonder even more how you could remove the indicator after the GR was posted, as this is usually not possible in standard SAP.

Usually intercompany invoices are done without the GRbasedIV since the invoice via EDI arrives much quicker than a truck with the goods.

Former Member
0 Kudos

I had to cancel the GR then i removed GR based IV and then IDOC posted the invoice successfully. . It worked but i am not sure why?

If i go back and have a look at GR, Delivery note field is blank. Does it mean we will have to always create GR with reference delivery note no or everytime we are bound to create PO with GR based IV unchecked

JL23
Active Contributor
0 Kudos

GR based IV just means that you need a Goods receipt before you can enter an invoice.

The error message means that the IDOC processing program cannot find a receipt based on the given reference.

So I would be more concerned about the reference if the goods receipt is there.

As already said before, invoices are usually quicker than trucks and for that reason it is anyway better to have no GR based IV for intercompany business.

For the error message check this wiki and the OSS notes that are mentioned within

Former Member
0 Kudos

One last question and i am good to close this thread , I think that answers my question. Thank you Juergen.

In my system trying to post invoice with reference to intercompany billing document. So whats happening on removing GR based IV that system do not throw Delivery note does not exist error.

Please correct me if i am wrong. Function module looks for Delivery note number in GR( And Delivery note field is blank in GR so throws error) if GR based IV is checked and if its unchecked it goes and finds it in EKBE which is always there in EKBE and do not throw any error and IDOC posts invoice

Thanks!

JL23
Active Contributor
0 Kudos

With GRbasedIV it looks for a goods receipt based on the given reference, without this indicator it does not care about a GR and posts just in reference to the PO, no EKBE check at all.

shashank_agarwal
Participant
0 Kudos

Hi Ashutosh,

Thats true if you are creating GR document with reference to delivery you have to provide the delivery no in Delivery Note field.

Thanks.

Former Member
0 Kudos

Then why i am able to create invoice manually? GR can be dong with or without reference to Delivery note

shashank_agarwal
Participant
0 Kudos

Hi,

What value is passed under Delivery note Field?

Thanks.

Former Member
0 Kudos

Hi shashank,

In GR general tab delivery note field is blank. and In IDOC i can see delivery note number which is same as outbound  delivery.

JL23
Active Contributor
0 Kudos

you usually get this error if the information is not in the shape as expected by SAP.

An IDoc does not have a user interface, it is a technical medium, hence conversion exits that are in place for manual entries are not run through if you post IDocs.

IF the field for the delivery note number is 10 digit then and your number only 5 then you have to have leading zeros in the IDoc and not just the 5 digits a users sees in the screen.

Former Member
0 Kudos

Hi Juergen,

Yes we do have leading zeroes in the IDOC and not just the digits in delivery no.

Thank you!

JL23
Active Contributor
0 Kudos

you initially said "Also in Delivery note field in MIGO i can see its blank"

What does that mean in detail? Did you check an existing material document to this STO? Why would you then need a second receipt?

Former Member
0 Kudos

I think i was not clear enough. . i am not doing second receipt. Yes i can see in existing Material document generated after MIGO , Delivery note field is blank. And in intercompany billing , RD04 output type triggers this inbound idoc which fails with above mentioned error.

I think it might be related to GR based IV indicator in PO , what impact it might have if remove this indicator in PO in Production.

Former Member
0 Kudos

When i am doing the intercompany billing then RD04 output type triggers which in turn generates inbound IDOC which post invoice in SAP. . Therefore, invoices are not being posted