Skip to Content
0
Former Member
Nov 27, 2009 at 07:47 AM

Invoice List data(VF21/VF22) as IDoc

446 Views

Hi,

We have a typical scenario of converting Invoice List data in SAP into IDoc and to transmit it as an XML to the third party system. In the data to be transmitted, sub-totalling at the material (in the invoice items) and material+invoice date level is required and the sub-totals are to be populated in two kind of segments (for each of the sub-total type) in the IDoc.

That is, a new IDoc structure will be defined with the segments/fields that the customer wants viz., a header segment with only few fields from the invoice list header, an item segment with only few fields from the invoice list item, and a sub-total segment with two fields, each to hold sub-total at material and material+date level respectively.

We have output types which, when assigned in the invoice list should create the required Idocs.

Invoice lists will be created for several partners, but each list will have only one partner.

What are the steps to be carried out in order to achieve this objective? Please stress upon the FM parameters to be provided and NACE options to be selected.

Vish.