2007 Apr 06 8:55 AM
Hi All,
I am posting accounting document through IDocs with reference to Billing Document & Output type.
Every thing is ok but I am facing problem when I am trying to multiple delivery assignments in FI Documents.
Right now FI Document is generating through IDocs and delivery assignment is only one delivery but I want multiple delivery assignment in FI Documents if invoice have multiple Delivery.
I am using IDocs: Document header reference data(E1EDK02) for delivery Assignment in FI Documents.
WHEN '009'. "Add QUALF 014 - accounting doc.
CLEAR: e1edk02, bkpf.
SELECT SINGLE * FROM bkpf WHERE awtyp = 'VBRK'
AND awkey = e1edk01-belnr.
IF sy-subrc = 0 AND bkpf-belnr NE space.
e1edk02-qualf = '014'.
e1edk02-belnr = bkpf-belnr.
e1edk02-datum = bkpf-budat.
int_edidd-sdata = e1edk02.
APPEND int_edidd.
ENDIF.
But how to handle IDocs: Document Item Reference Data(E1EDP02).
Could anybody help me.
Thanx in advance.
Regards
Vijay
2007 Aug 31 11:19 AM