Application Development and Automation 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: 
Read only

BAPI_INCOMINGINVOICE_CREATE for miro

Former Member
0 Likes
10,648

hi experts ,

iam running the bapi BAPI_INCOMINGINVOICE_CREATE for increase price incresing the material W1069020180

fot this i passed the data

Table HeaderData

u2022 INVOICE_IND (Post invoice/credit memo): X

u2022 DOC_DATE (Document date): 11.02.2011

u2022 PSTNG_DATE (Posting date): 11.02.2011

u2022 COMP_CODE (Company code): 1000

u2022 CURRENCY (Currency key): inr

u2022 GROSS_AMOUNT (Gross amount): 100000

u2022 CALC_TAX_IND (Automatically calculate tax): X

u2022 PMNTTRMS (Payment terms key): 0001

Table ItemData

u2022 INVOICE_DOC_ITEM (Invoice document item): 00001

u2022 PO_NUMBER (PO number): 30022691

u2022 PO_ITEM (PO item): 00010

u2022 TAX_CODE (Tax code): ( V0)

u2022 ITEM_AMOUNT (Item amount): 10000

u2022 QUANTITY (Quantity): 10000

u2022 PO_UNIT (Unit of measure): KC

Table GlAccountData

u2022 INVOICE_DOC_ITEM (Document item in invoice document): 00001

u2022 GL_ACCOUNT (G/L account) :53121922

u2022 ITEM_AMOUNT (Item amount): 1000

u2022 DB_CR_IND (Debit/credit indicator): H cresit

u2022 COMP_CODE (Company code): 0001

u2022 TAX_CODE (Tax code): V0

u2022 COSTCENTER (Cost center): A212

u2022 INVOICE_DOC_ITEM (Document item in invoice document): 0001

u2022 MATERIAL (Material): W1069020180

u2022 PLANT (Valuation area): AP01

u2022 DB_CR_INP (Debit/credit indicator): S debit

u2022 ITEM_AMOUNT (Item amount): 1000

u2022 QUANTITY (MENGE_D): 1000

u2022 PO_UNIT (PO quantity unit of measure): PC

u2022 TAX_CODE (Tax code): (V0)

when ever i excute its giving error

Enter goods receipt data only when working with GR-based IV

Fill in mandatory field REF_DOC, REF_DOC_YEAR, REF_DOC_IT (table parameter ITEMDATA, row 000001)

Enter the line numbers in table ACCOUNTINGDATA in ascending order

  • please if any one know inform me

hi experts ,

iam running the bapi BAPI_INCOMINGINVOICE_CREATE for increase price incresing the material W1069020180

fot this i passed the data

Table HeaderData

u2022 INVOICE_IND (Post invoice/credit memo): X

u2022 DOC_DATE (Document date): 11.02.2011

u2022 PSTNG_DATE (Posting date): 11.02.2011

u2022 COMP_CODE (Company code): 1000

u2022 CURRENCY (Currency key): inr

u2022 GROSS_AMOUNT (Gross amount): 100000

u2022 CALC_TAX_IND (Automatically calculate tax): X

u2022 PMNTTRMS (Payment terms key): 0001

Table ItemData

u2022 INVOICE_DOC_ITEM (Invoice document item): 00001

u2022 PO_NUMBER (PO number): 30022691

u2022 PO_ITEM (PO item): 00010

u2022 TAX_CODE (Tax code): ( V0)

u2022 ITEM_AMOUNT (Item amount): 10000

u2022 QUANTITY (Quantity): 10000

u2022 PO_UNIT (Unit of measure): KC

Table GlAccountData

u2022 INVOICE_DOC_ITEM (Document item in invoice document): 00001

u2022 GL_ACCOUNT (G/L account) :53121922

u2022 ITEM_AMOUNT (Item amount): 1000

u2022 DB_CR_IND (Debit/credit indicator): H cresit

u2022 COMP_CODE (Company code): 0001

u2022 TAX_CODE (Tax code): V0

u2022 COSTCENTER (Cost center): A212

u2022 INVOICE_DOC_ITEM (Document item in invoice document): 0001

u2022 MATERIAL (Material): W1069020180

u2022 PLANT (Valuation area): AP01

u2022 DB_CR_INP (Debit/credit indicator): S debit

u2022 ITEM_AMOUNT (Item amount): 1000

u2022 QUANTITY (MENGE_D): 1000

u2022 PO_UNIT (PO quantity unit of measure): PC

u2022 TAX_CODE (Tax code): (V0)

when ever i excute its giving error

Enter goods receipt data only when working with GR-based IV

Fill in mandatory field REF_DOC, REF_DOC_YEAR, REF_DOC_IT (table parameter ITEMDATA, row 000001)

Enter the line numbers in table ACCOUNTINGDATA in ascending order

  • please if any one know inform me

3 REPLIES 3
Read only

madhu_vadlamani
Active Contributor
0 Likes
4,124

Hi Raghavenda,

Enter goods receipt data only when working with GR-based IV

Fill in mandatory field REF_DOC, REF_DOC_YEAR, REF_DOC_IT (table parameter ITEMDATA, row 000001)

Enter the line numbers in table ACCOUNTINGDATA in ascending order

1) For the first line check did you entered any data for Gr.

2) You can use this method to create and post incoming invoices.

3) These are fileds form ITEMDATA .Fill those data.

4) increase price incresing the material what it means?

Regards,

Madhu.

Edited by: madhurao123 on Feb 11, 2011 8:37 AM

Read only

0 Likes
4,124

thanks madhu ,

we are updating the material price changeing using this transcation this miro transcation .

ref document and ref item where its store .

we have purchse order data and material and gl account .

Read only

0 Likes
4,124

Hi,

Check these fields in ITEM DATA.That contains REF_DOC,REF_DOC_YEAR,REF_DOC_IT.

Regards,

Madhu.

Edited by: madhurao123 on Feb 11, 2011 9:44 AM