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

INVOIC IDOC Segment

Former Member
0 Likes
4,410

Hi Experts,

We are getting an Inbound IDOC for creating Invoice after service entry sheet is created for the service POs.

If there is 1 Service entry sheet for the PO, we can create 1 Invoice but when we have 3 service entry sheet generated for same PO line item, the requirement is to create single Invoice with 3 line items.

We are using INVOIC message type to create the IDOC, but are not able to create Invoice for the second case.

Kindly help us with which segments should be filled in & with what data. It would be great if you can help us with sample code.

Thanks in advance.

Hi Experts,

We are getting an Inbound IDOC for creating Invoice after service entry sheet is created for the service POs.

If there is 1 Service entry sheet for the PO, we can create 1 Invoice but when we have 3 service entry sheet generated for same PO line item, the requirement is to create single Invoice with 3 line items.

We are using INVOIC message type to create the IDOC, but are not able to create Invoice for the second case.

Kindly help us with which segments should be filled in & with what data. It would be great if you can help us with sample code.

Thanks in advance.

4 REPLIES 4
Read only

uwe_schieferstein
Active Contributor
0 Likes
1,948

Hello Kritesh

Looking at the documentation of IDoc type <b>INVOIC02 </b>(transaction <b>WE60</b>) you will see that the following segments belong to item details:

E1EDP01 : IDoc: Document Item General Data 
Status: Optional , min. number : 1 , max. number : 999999 


Structure 


E1EDP02 : IDoc: Document Item Reference Data 
Status: Optional , min. number : 1 , max. number : 25 


Structure 


E1EDP03 : IDoc: Document Item Date Segment 
Status: Optional , min. number : 1 , max. number : 25 


Structure 


E1EDP19 : IDoc: Document Item Object Identification 
Status: Optional , min. number : 1 , max. number : 10 


Structure 


E1EDP26 : IDoc: Document Item Amount Segment 
Status: Optional , min. number : 1 , max. number : 20 


Structure 


E1EDPA1 : IDoc: Doc.item partner information 
Status: Optional , min. number : 1 , max. number : 20 


Structure 


E1EDP05 : IDoc: Document Item Conditions 
Status: Optional , min. number : 1 , max. number : 99 


Structure 


E1EDP04 : IDoc: Document Item Taxes 
Status: Optional , min. number : 1 , max. number : 25 


Structure 


E1EDP28 : IDoc: Document Item - General Foreign Trade Data 
Status: Optional , min. number : 1 , max. number : 9 


Structure 


E1EDP08 : IDoc: Package data individual 
Status: Optional , min. number : 1 , max. number : 999999 


Structure 


E1EDP30 : IDOC: Document Item Account Assignment Intercompany Billing 
Status: Optional , min. number : 1 , max. number : 99 


Structure 


E1EDPT1 : IDoc: Document Item Text Identification 
Status: Optional , min. number : 1 , max. number : 99 


Structure 


E1EDPT2 : IDoc: Document Item Texts 
Status: Optional , min. number : 1 , max. number : 999 

Regards

Uwe

Read only

Former Member
0 Likes
1,948

We are trying to fill in

E1EDP01 segment with document item, quantity & value,

E1EDP02 segment with qaulifier 001 & PO number & line item

E1EDP02 segment with qualifier 016

E1EDP19 segment with qualifier 001 & ref doc number

E1EDP26 segment with qualifier 002 & overall amount

E1EDP04 segment with tax code

Read only

0 Likes
1,948

Can any 1 give any solution on this question. m also facing the same problem. And its very diffcult ot reolsve it. SAP gurus please show some of ur expierence....

Read only

Former Member
0 Likes
1,948

Try to check the indicator "Service based Invoice Verification" in the "Invoice" tab of PO Item details and then run the entire cycle. However this indicator can not be checked for a PO for which service entry sheets have already been posted (if you are not thinking of checking this indicator in EKPO table directly).

Guru Prasad

Edited by: Guru Prasad on Jan 25, 2011 12:43 PM