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

INVOIC02 Idoc error ME708

Former Member
0 Likes
10,744

Hi,

I am using IDoc INVOIC02 to create invoices relating to purchase orders. Some of the IDocs are in error with message ME708 e.g. "Item 00001 for purchasing document 4900006028 not selectable". What does this mean? I have tried comparing entries in tables EKKO and EKPO for the affected orders and haven't seen any significant differences.

Many thanks in advance,

Peter

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
6,388

May be this item deletion indicator in Purchase order. If it has you may get this message.

11 REPLIES 11
Read only

Former Member
0 Likes
6,389

May be this item deletion indicator in Purchase order. If it has you may get this message.

Read only

0 Likes
6,388

All the PO lines are not deleted. Having browsed around a bit more, it seems that those IDocs with the error relate to PO lines without a goods receipt note. If a GRN exists, the error does not appear.

Is it possible to use INVOIC02 to create invoices against PO lines which have not yet been GRN'd?

Peter

Read only

0 Likes
6,388

Please check items in PO those are blocked or not? If Items were blocked means then Invoice is not possible to create..

Read only

0 Likes
6,388

In the PO, if IR based on GR then you cann't create a IR unless and until an GR is created for that line item, in that case you get this error. Create an GR and then try to invoice and you will not get this error.

Thanks,

Mahesh.

Read only

0 Likes
6,388

Many thanks Mahesh - that is what I suspected. However, my client wishes to find a way of parking such invoices where the GRN doesn't exist on the PO and trigger an existing workflow to a user to prompt them to enter a valid GRN (this is what they currently do using MIRO). I appreciate that this is not standard functionality, so I would need to change the IDoc code in some way e.g. get the GRN processing to follow the same route as the non-GRN (i.e. where the flag is not checked)?

Peter

Read only

0 Likes
6,388

Hi Peter Applestone,

I want of your guidence. This is related to thread INVOIC02 you posted long back. As you are actively working on this i take liberty to post this.

I am also working on this Invoice receipt thru EDI-IDoc. I have configured the same way you have explained below. Those steps were really helpful. But i am always getting the error again and again. The error is:

Customer , Vendor XXXXXXX not known

Message no. FD110

I have tried to trigger IDocs using basic types INVOIC01 and INVOIC02. But all in vain.

Please rush your answer, Peter !!

Cheers

Maruthi

-


your message----


Re: INVOIC02

1) In OBCA, maintain an external company code for each of the SAP company codes used in table T001. Although the field called "Company code name in the invoice" is a free text field, it must be identical (it is case sensitive too!!) to the value in the Idoc segment E1EDKA1 with qualifier ‘RE’.

2) In OBCB, set up a relationship between each SAP company code and the vendor reconciliation account. Specify a goods/services number of *

3) In OBCC, you can maintain additional account assignment details

4) In OBCD, maintain the name of the tax code from the external system and the SAP tax codes - even if you don't need to actually change the values between the systems. Maintain a tax type and rate for each country's tax codes you intend to use. These match up with the values in the Idoc segment E1EDP04.

5) In OBCE, maintain the posting keys and document types for each company code. This is where the invoice document type is taken from. There are some other interesting flags here, such as park document and create a BDC session - I've played around with the parking flag but the invoice was always posted!

Finally, make sure that your partner profile for the external system in WE20 has a process code INVL and calls function module IDOC_INPUT_INVOIC_MRM (as I was initially using INVF!)

Hopes this helps everyone as it took me 3 weeks to work out!!

Peter

Read only

0 Likes
6,388

Peter,

Just a thought - have you tried changing the OBCE setting to park the document ? I haven't played with this flag, but was wondering whether this might allow the iDoc to process, even if the GRN had not been posted.

I'd be interested to hear what you put in place for EDI Invoices arriving prior to the GR. We were looking either to monitor the failed INVOIC iDocs daily (ignoring any 'recent' items), or use ERS instead.

Cheers, Paul.

Read only

0 Likes
6,388

Hi All,

This is an issue which comes up over and over again with client - has anyone found a solution ?

Can you create the invoice but have it parked IF the GRN is not there ?

Cheers

Jon

Read only

0 Likes
6,388

Hi Peter

Ive a questions :

4) In OBCD, maintain the name of the tax code from the external system and the SAP tax codes - even if you don't need to actually change the values between the systems. Maintain a tax type and rate for each country's tax codes you intend to use. These match up with the values in the Idoc segment E1EDP04.

Q1: If the external system can provide the tax code directly, we dont need this table anymore . If yes, which field in E1EDP04 segment can be used ?

5) In OBCE, maintain the posting keys and document types for each company code. This is where the invoice document type is taken from. There are some other interesting flags here, such as park document and create a BDC session - I've played around with the parking flag but the invoice was always posted!

Q1 : How to overwrite the document type ? Are we allowed to use function module to change this ? Reason why, we have 1 partner system with same company code, but when come to different upstream, user want to have different doc type and number ranges.

Read only

andy_dingfelder3
Participant
0 Likes
6,388

Hi all,

5 years after initial post we encounter the same problem.

Is there a solution for posting (parking) INVOIC without GR.

Regards Andy

Read only

beat_fuchs
Explorer
0 Likes
6,388

Hi

I can delete the segment for a free item in the IDOC. ok...

Did anybody found a "customizing-solution" or something similar?