cancel
Showing results for 
Search instead for 
Did you mean: 

Accounting Document not mapped in Invoice02 Idoc

Former Member
0 Kudos

Dear All,

We're mapping data from invoice in order to send an EDI message.

In order to do the mapping we're analyzing the standard data of the idoc INVOIC02 generated by an output message attached to the billing document just released in accounting.

It seems that both in the segment E1EDK01 and E1EDK02 (qualifier 009) the field BELNR is the SD invoice number.

My expectation is that also the FI invoice number is traced inside the idoc. Do you know where the info is stored inside the standard idoc? ( I have not found after a few tests on idocs generated form output type, I've also checked  WE60 for documentation)

Let me know,

Many thanks

Best Regards

Angelo Gaiatto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

invoice number is mapped in E1EDK02, qualifier 009, field BELNR from field VBDKR-VBELN and is filled by function IDOC_OUTPUT_INVOIC > perform FUELLEN_IDOC_INTTAB > perform FILL_E1EDK02. I suggest to set a break point and debug.

Regards,

JM

Former Member
0 Kudos

Hi,

in  VBDKR-VBELN is managed SD billing document. My need is FI billing document.

Thanks,

Former Member
0 Kudos

Hi,

not sure of the meaning of FI billing document. This is the list of different values for qualifier field:

E1EDK02

 

QUALF  001 Customer purchase order

QUALF  002 Supplier order

QUALF  003 Customer inquiry

QUALF  004 Supplier quotation

QUALF  005 Customer contract number

QUALF  006 Supplier contract number

QUALF  007 Collective number for quotations

QUALF  008 Last purchase order number (SPEC2000 Acknowl.)

QUALF  009 Invoice number

QUALF  010 Internal number (document)

QUALF  011 Referenced document number

QUALF  012 Delivery number

QUALF  013 Internal PO number

QUALF  014 Accounting document

QUALF  015 Billing document number used by presenter of invoice

QUALF  016 Number of preceding document

QUALF  017 Assignment number

QUALF  018 Customer order number

QUALF  019 POR number

QUALF  020 Invoice list number

QUALF  021 ID for cost assignment

Regards,

JM

ivano_raimondi
Active Contributor
0 Kudos

Hi Angelo,

please check the SAP note 42269

Best regards,

Ivano.

Former Member
0 Kudos

Ivano,

many Thanks.

Answers (0)