Application Development 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: 

Error while posting Idoc for customer invoice.

Former Member
0 Kudos

hi,

I m posting Customer Invoice through LSMW using IDocs.

Basic type is FIDCCP02 and message is FIDCC2.

While posting the Idoc I m getting error as:

'Document or line item does not exist for invoice reference'.

I m not getting the error why it is asking for invoice reference because

in FB01 it is not asking for any reference or anything.

In Idoc all the item level values are coming prorperly.

If anybody worked on such issues then please reply.

-Thanx.

-Umesh

2 REPLIES 2

Former Member
0 Kudos

Hi Umesh,

Try posting customer invoice through TCode - F-22. There it may be asking for reference number. Generally we post customer invoice by F-22 not from FB01.

If you are getting error you can add reference field in your LSMW it may be mandatory in F-22.

Ashven

0 Kudos

Hi,

I tried with F-22, but it also not asking for Reference number.

Thanx

-Umesh