cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_INCOMINGINVOICE_CREATE

Former Member
0 Kudos

hi all,

I'm trying on this BAPI_INCOMINGINVOICE_CREATE for the automating Invoice receipt. I'm doing the Invoice recepit PO based for servbice (item category - D) and cost center(Account category -K) PO. Due to this GR is not required. Only need to IR

i test the function module BAPI_INCOMINGINVOICE_CREATE, it keeps on giving me the error message " E M8 416 Quantities and units of measure (table parameter T_ITEMDATA, line 000001) not permitted ". I'm not sure why, i have input the correct price unit of measurement, but it still keep on give me this error.

Anyone can help?

thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member614205
Active Participant
0 Kudos

Hi,

Please check long text of message M8416 which explains why this message is issued.

Diagnosis

You have entered a value in one of the following quantity fields in

line of table Itemdata (reference to a service PO with non-service

based invoice verification or reference to a blanket PO), even though

this is not permitted:

- Quantity (QUANTITY)

- PO unit of measure (PO_UNIT)

- PO unit of measure in ISO code (PO_UNIT_ISO)

- Quantity in PO price unit of measure (PO_PR_QNT)

- PO price unit of measure (PO_PR_UOM)

- PO price unit of measure in ISO code (PO_PR_UOM_ISO)

Procedure

Enter an initial value in the all of the above quantity fields.

it seems that you want to create a MM-invoice with the FM BAPI_INCOMINGINVOICE_CREATE,

which is reference to a service PO/item with indicator 'Srv-based IV' = ' '(Sapce).

1. In this case you should fill the corresponding invoice item's data

with quantity = 0 and unit = blank into the BAPI interface ITEMDATA v.

2. If the multi.account assignments have been assigned in the PO/item (

for normal PO or service PO) or in the corresponding service entry (for

service PO), ou should fill also the corresponding account assignment's data ( ex.amount and account ) into

the BAPI interface ACCOUNTINGDATA .

Kind Regards,

Suneet

Former Member
0 Kudos

Hi Suneet

Thanks a lot for your help. We have tried to post the PO based invoice for service , keeping blank (initial) QUANTITY and UOM fields.

In that case invoice is getting posted, but the issue is

multiple invoices can be posted with same data through the function module.

Like for one PO , n numbers of invoices can be posted with same data . How to stop that?

Regards

Sabyasachi

former_member614205
Active Participant
0 Kudos

Hi Sabyasachi,

Is N number of invoice can be posted in online mode also.? I think you want duplicate invoice check in BAPI. You need to make duplicate check in your program using FM MRM_DUPLICATE_INVOICE_CHECK.

Kind Regards,

Suneet

Former Member
0 Kudos

Hi Suneet

Please educate me how to apply FM "Duplicate Invoice check " in function module " BAPI_Incominginvoice_ Create"

Regards

Sabya