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: 

IDoc Problem

former_member303185
Participant
0 Kudos
98

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

1 REPLY 1

former_member303185
Participant
0 Kudos
39

Solved Through User Exit