Bapi for MIRO: INVFO-WMWST with value and INVFO-XMWST blank
Hi,
for bapi_incominginvoice_create or bapi_incominginvoice_park,
is it possible to create an invoice with value in header field
"Tax amount in document currency" INVFO-WMWST
and at the same time
keeping header field
"Calculate tax automatically" INVFO-XMWST
blank ?
Could someone please give some hint?
Best regards
Edited by: Pablo Casamayor on Apr 13, 2010 12:20 PM
it is possible using table taxdata in the bapi call.
Similar Messages
-
BAPI for MIRO Incoming Invoice
Hi All,
I want BAPI for MIRO Posting ie for Incoming Invoice.
.here MIRO is being done with Delivery Note number
Following are the necessary entries for MIRO Posting
Invoice date
Reference
Amount
Calculate Tax
Tax amount
Delivery Note
Vednor
Business Area
Please suggest me suitable BAPI for MIRO Incoming Invoice Posting with sample code.
immediately.Please give some sample code for my reference.
Rewards will be given.
Regards.
UlhasHi,
BAPI for Invoice Verification: Post Invoice
BAPI_INCOMINGINVOICE_CREATE
The method can only carry out your function if no error messages were
generated in the Return table. This is the case if the header data and
all the items were processed successfully.
Transaction control is not implemented. The calling program therefore
has to execute the Commit Work itself after this method has been
successfully called (in other words, if no errors were reported in the
Return parameter). -
Please,
Somebody know if it is possible make MIRO automatic (utilizing BAPI ) to received of the supplier XML.
Because, I'm having problems with difference measurement unit.
If anybody use this transaction BAPI for MIRO, please could send a example of the BAPI.
Thank you very much.
Daniela SoaresHow to find a BAPI?
Go to Tcode BAPI>Materials Management>invoice Verification>Incoming Invoice
Click on BAPI>press F8 >Menu GoTo>Documentation
Here you can read thru the documentation about BAPI to see thr functionality and limitations. -
BAPI for Outbound Delivery Creation with reference to Sales Order
Dear all,
I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
Thanks.
Steven
Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
Edited by: Steven Khoo on Mar 25, 2010 7:14 AMNot required anymore
-
BAPI for creating scheduling agreement with reference to Contract agreement
Hi All ,
Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
Thanks for your help.
VadivukkarasiHi,
Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
check these
BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
Regards -
I downloaded the new software for mac book pro with retina and the office doesn't work
I downloaded the new software for mac book pro with retina and the office doesn't work
cynthia alia wrote:
I downloaded...
... but did you INSTALL it?
Office::2008 was drag & drop, but Office::2011 has an installer you need to run. -
http://www.adobe.com/devnet/flex/pdfs/getting_started_with_Flex3.pdf
what is prereq for reading above, and for start develop/reading with flex and cf(level?) ?The Flex Quickstarts will be a place for starters, if you want to know
about Flex/CF integration the first to know would be some basics of CF.
Sincerely,
Michael
Sent from my iPhone -
Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.
Yes - well you have to make the file in a word processing Application.
You could use TextEdit (it's free) Pages (words only), or Numbers (data base) (they are part of iWorks - and may or may not be free (included) on your machine. You could use MS Office (it is not free) You could use any Open source word processor that plays well with Office (NeoOffice, StarOffice) they are free.
That's how you create content and copy/paste URLS. Then you save the file to the desktop. If you are going to make more than one file... you make a folder on the desktop and save, or drag the file(s) into it.
You attach it to your e-mail client which will compress it and e-mail it. An excellent reference is to use Help, from the menu bar, also from inside any application. From your library or book store the OS X for Dummies has a lot of useful information (you don't read it cover to cover but look up chapters about what you'd like to do)
You can also make appointments at your local Apple store for individualized help (if a store is nearby) -
BAPI For listing alternative routing with sequence details.
Dear all,
I want to use BAPI For listing alternative routing with sequence details.
Pl' tell BAPI function Module for routing .
Thanks.I am not sure ,but check with BAPI_ROUTING_CREATE
-
Create a Z-table and fill it with value and transport everything
Hi
I would like to create a Z-table, fill it with values and then transport everything.
This table will not be updated in the productions system.
Delivery class = C Customizing table, maintenance only by cust., not SAP import
Data Browser/table view maint = Display/maintenance allowed
Field: MANDT, etc. etc.
Technical settings: Data class = APPL1, Size = 0, Buffering switched on, Fully buffered.
I also create the Table maintenance generator
When I fill my table with values, these will not be saved in my change request.
What I'm doing wrong?
Thanks // Peter BGo to
se11>utilities>table maintenance generator-->there u fill
Fungroup group (inthe function group u give any a z name related to ur table name it create automatically)
package
maintenance screen type and screen name
After this save and activate.
Then goto
Utilities>TABLE CONTENTS>CREATE ENTERIES -
BAPI for article extension to WM, Sales and STORE
Hi Gurus,
I'm developing a GUI application on Article. Can you please let me know if there are any BAPIs for article extension to WM, sales and Store. I'm able to create a basic article thru a standard BAPI but not able to figure out the BAPIs for article extension.
Appreciate help.
Thanks,
David.Hi David,
the BAPI_MATERIAL_SAVEDATA should do what you want.
Regards
Dirk -
Please link for skype 6.21 with spellcheck and wit...
Please link for skype 6.21 with spellcheck and with Modern UI ?
Thanks
Solved!
Go to Solution.Yeah, why there is no links to all versions of skype.. Now we need Skype 6.21.64.104 or Skype 6.21.73.104 where we don't know the differece... Please create a better download sectuon or just post links with info for all vers...
Edit (found links):
Normal GUI
http://download.skype.com/a22041668cd904272aeed6da1d43a7a0/SkypeSetup.exe
New GUI
http://download.skype.com/a22041668cd904272aeed6da1d43a7a0/partner/64/SkypeSetupFull.exe
Spellcheck (only win 8.1)
http://download.skype.com/a22041668cd904272aeed6da1d43a7a0/partner/59/SkypeSetupFull.exe
Живота е като терена или ставаш силен, блокираш, сваляш и оцеляваш или се отказваш, падаш и си заминаваш ! beBoss™ -
BAPI for doing MIGO along with capturing excise values.
i am doing good reciept for stock transfer through MB01 through BAPI_GOODSMVT_CREATE . In BAPI_EXCINV_CREATE_FROMDATA there is no code AVAILABLE as this bapi is not released . HOW TO GET CODE FOR IT
how to do this with bapi only TO UPDATE EXCISE INV VALUES IN GOOD RECIEPT DOCUMENT
Edited by: deepika jain on Mar 11, 2010 8:59 AMHi,
Here is the code for the FM and Country India Version:
FUNCTION BAPI_EXCINV_CREATE_FROMDATA .
""Local interface:
*" IMPORTING
*" VALUE(OBJ_HEADER) LIKE BAPI_J_1IEXCHDR STRUCTURE
*" BAPI_J_1IEXCHDR
*" VALUE(PROCESS_FLAG) LIKE BAPI_J_1IEXCHDR-REF_INDICATOR
*" TABLES
*" OBJ_ITEM STRUCTURE BAPI_J_1IEXCDTL
*" RETURN STRUCTURE BAPIRET2
ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G8 SPOTS ES_SAPLJ1IBAPI STATIC.
$$-Start: BAPI_EXCINV_CREATE_FROMDATA_G8----
$$
ENHANCEMENT 5 MGV_GENERATED_SAPLJ1IBAPI. "active version
DATA: T_MGV_FNAMES1 LIKE MGVBAPIFNAMES OCCURS 0 WITH HEADER LINE.
ENDENHANCEMENT.
$$-End: BAPI_EXCINV_CREATE_FROMDATA_G8----
$$
ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G6 SPOTS ES_SAPLJ1IBAPI.
$$-Start: BAPI_EXCINV_CREATE_FROMDATA_G6----
$$
ENHANCEMENT 1 MGV_GENERATED_SAPLJ1IBAPI. "active version
*{BAPI Begin} generation http://intranet.sap.com/materialversion
*Do not change coding between begin and end comments. ANI 20050118
T_MGV_FNAMES1-INT = 'MATERIAL'.
T_MGV_FNAMES1-EXT = 'MATERIAL_EXTERNAL'.
T_MGV_FNAMES1-VERS = 'MATERIAL_VERSION'.
T_MGV_FNAMES1-GUID = 'MATERIAL_GUID'.
APPEND T_MGV_FNAMES1.
CALL FUNCTION 'MATNR_BAPI_TABLES_CONVERSION'
EXPORTING
INT_TO_EXTERNAL = ' '
TABLES
T_FNAMES = T_MGV_FNAMES1
T_MATNR = OBJ_ITEM
*{BAPI End} generation
ENDENHANCEMENT.
$$-End: BAPI_EXCINV_CREATE_FROMDATA_G6----
$$
*This function takes input from external system regarding the
Excise invoice header and item. The process_flag tells whether
*the invoice is incoming or outging. The transaction type is to be
*set accordingly. Excise invoice number is generated externally
*This function generates an internal number, Part 2 numbers and
*creates an FI document for the CENVAT posting. The logical system
*details coming from the external application needs to be updated
*into the excise data as well as accounting data
ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G7 SPOTS ES_SAPLJ1IBAPI.
$$-Start: BAPI_EXCINV_CREATE_FROMDATA_G7----
$$
ENHANCEMENT 2 MGV_GENERATED_SAPLJ1IBAPI. "active version
*{BAPI Begin} generation http://intranet.sap.com/materialversion
CALL FUNCTION 'MATNR_BAPI_TABLES_CONVERSION'
EXPORTING
INT_TO_EXTERNAL = 'X'
TABLES
T_FNAMES = T_MGV_FNAMES1
T_MATNR = OBJ_ITEM
*{BAPI End} generation
ENDENHANCEMENT.
$$-End: BAPI_EXCINV_CREATE_FROMDATA_G7----
$$
ENDFUNCTION.
cheers
Aveek -
Stock report with value and qauntity for given date not month wise
Hi gems,
can any body give me the standard report for Stock value and qauntity for given date not month wise at storage location levelHi
check the report S_P00_07000139 with the option inventory and raw material report- detail and selection date (from, to date same). List will give opening & closing balances with goods movment and their values.
Thanks -
Bapi for miro document creation
Hi,
can any one help me on how to use bapi " BAPI_INCOMINGINVOICE_CREATE" FOR UPLOADING TRANSACTION OF MIRO . IF POSSIBLE SAMPLE CODE
THANKSHi,
You can see the documentation, See below
Please give me point if you find it is useful
Thanks
Ramesh
FU BAPI_INCOMINGINVOICE_CREATE
Short text
Invoice Verification: Post Invoice
Functionality
You can use this method to create and post invoices.
When passing on the header data, you use the field INVOIC_IND to determine whether the system posts a credit memo or an invoice. If the field is blank, the system posts a credit memo. If you enter an X, the system posts an invoice.
If you want to enter an incoming invoice for a returns order, you should leave the INVOICE_IND field blank.
As in the online transaction, the system updates the purchase order history and stock valuation data in Materials Management. The system creates accounting documents in Accounting.
Using this method, you can:
Enter and post invoices with multiple account assignment
Change the account assignment of invoices, add account assignments, and post the invoices
Enter invoices for blanket purchase orders
Enter and post invoices for purchase orders containing planned delivery costs
Enter and post invoices containing unplanned delivery costs
Enter and post subsequent debits/credits
Use document types with external number assignment
Enter and post invoices with withholding tax
Enter and post invoice with more than one vendor line and different payment methods and terms of payment
Enter and post invoices for returns orders
Enter and post invoices for transportation service providers
Enter and post invoices for external service purchase orders
Post to G/L accounts
Post to material accounts
Enter and post invoices for a one-time vendor
Enter and post invoices with a different payee
Restrictions
The following fields in Financial Accounting are not passed on:
POR subscriber number
Bank details
Payment reference
House bank ID
Nota Fiscal
Notes
The following authorization object is checked using activity 01:
M_RECH_WRK Authorization to create invoices in certain plants
Transfer
You use the structure HeaderData to transfer the invoice header data.
You use the structure AddressData to transfer the address data of a one-time vendor or a different payee of the incoming invoice.
Tables ItemData and AccountingData contain the invoice item data. The table TaxData contains the tax information for theinvoice.
Tables ItemData and AccountingData contain the item data and the incoming invoice.
The table TaxData contains the tax information on the incoming invoice.
The table GlAccountData contains data on posting to a G/L account and the table MaterialData contains data on posting to a materialaccount.
Using table WithTaxData you can transfer withholding tax information.
Using table VendorItemSplitData you can distribute the gross amount to several vendor line items with different methods of payment and terms of payment.
Return
The invoice document number and the fiscal year are returned as key fields for the invoice.
Return messages
Messages are returned in the parameter return. The parameter documentation shows the return codes and their meanings.
Further Information
The method can only carry out your function if no error messages were generated in the "Return" table. This is the case if the header data and all the items were processed successfully.
Transaction control is not implemented. The calling program therefore has to execute the 'Commit Work' itself after this method has been successfully invoked (i.e. if no errors were reported in the Return parameter).
Example: Incoming Invoice
This example shows the header data that you need to enter in table Headerdata and the item data that you need to enter in table Itemdata to post an invoice.
Purchase order: 10 pieces of material A at 10 USD/piece
Goods receipt: 10 pieces of material A
You receive an invoice against this purchase order, with reference to purchase order number 4500007491, order item 10, for a quantity of 10 pieces of material A and an amount of 116 USD including 16% sales tax. Enter the following data:
Table HeaderData
INVOICE_IND (Post invoice/credit memo): X
DOC_DATE (Document date): 05.20.2000
PSTNG_DATE (Posting date): 05.23.2000
COMP_CODE (Company code): 1000
GROSS_AMOUNT (Gross amount): 116.00
CURRENCY (Currency key): USD
CALC_TAX_IND (Calculate tax): X
Table ItemData
INVOICE_DOC_ITEM (Invoice document item): 00001
PO_NUMBER (Purchase order number): 4500007491
PO_ITEM (Purchase order item): 00010
TAX_CODE (Tax code): VN
ITEM_AMOUNT (Item amount): 100
QUANTITY (Quantity): 10
PO_UNIT (Unit of measure): PC
For more information, see the parameter documentation for tables HeaderData and Itemdata.
Example: Incoming Invoice in Foreign Currency, Goods-Receipt-Based
Invoice Verification and Tax Information
This example specifies the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata and the tax information that you need to enter in table TaxData to post an invoice in a foreign currency.
Purchase order: 10 pieces of material A at 10 USD/piece
First goods receipt: 4 pieces of material A
Second goods receipt: 6 pieces of material A
You receive an invoice against this purchase order, with reference to purchase order number 4500007505, order item 10, goods receipt document 50010095, 2000, item 1. The invoice is for a quantity of 4 pieces of material A, a gross amount of 46.60 USD and 16% sales tax (6.60 USD). Enter the following data:
Table HeaderData
INVOICE_IND (Post invoice/credit memo): X
DOC_DATE (Document date): 05.20.2000
PSTNG_DATE (Posting date): 05.23.2000
COMP_CODE (Company code): 1000
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 46.60
Table ItemData
INVOICE_DOC_ITEM (Invoice document item): 00001
PO_NUMBER (Purchase order number): 4500007505
PO_ITEM (Purchase order item): 00010
REF_DOC (Goods receipt document): 50010095
REF_DOC_YEAR (Fiscal year of current period): 2000
REF_DOC_ITEM (Goods receipt document item): 1
TAX_CODE (Tax code): VN
ITEM_AMOUNT (Item amount): 40.00
QUANTITY (Quantity): 4
PO_UNIT (Unit of measure): PC
Table TaxData
TAX_CODE (Sales tax code): VN
TAX_AMOUNT (Tax amount in document currency): USD 6.60
For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.
Example: Incoming invoice for blanket purchase order
This invoice shows which header data you need to enter in table HeaderData, which item data you need to enter in table ItemData, and which account assignment data you need to enter in table AccountingData in order to post an incoming invoice for a blanket purchase order.
You receive an invoice for the blanket PO 4500015172, PO item 10 for an amount 110 USD incl. sales tax at 10%. You want to distribute the invoice amount to the cost centers 1200 and 1500. Enter, for example, the following data:
Table HeaderData
INVOICE_IND (Post invoice/credit memo): X
DOC_DATE (Document date): 02.19.2001
PSTING_DATE (Posting date): 02.21.2001
COMP_CODE (Company code): 1000
GROSS_AMOUNT (Gross amount): 110
CURRENCY (Currency): USD
CALC_TAX_IND (Calculate tax): X
Table ItemData
INVOICE_DOC_ITEM (Item in the invoice document): 00001
PO_NUMBER (PO number): 4500015172
PO_ITEM (PO item): 00010
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Item amount): 100
Table AccountingData
1st line: Change account assignment data
INVOICE_DOC_ITEM (Document item in invoice document): 0001
SERIAL_NO (Serial number for the acc. assignment): 01
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Amount in document currency): 30
GL_ACCOUNT (G/L account number): 890000
COSTCENTER (Cost center): 1200
2nd line: Add unplanned account assignment
INVOICE_DOC_ITEM (Document item in invoice document): 0001
XUNPL (Unplanned acct. assignment from IV): X
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Amount in document currency): 70
GL_ACCOUNT (G/L account number): 890000
COSTCENTER (Cost center): 1500
In the case of a blanket purchase order, the following fields for quantities and units of measurement must not be filled in the tables ItemData and AccountingData:
Quantity (QUANTITY)
PO_UNIT (PO unit of measure)
PO_UNIT_ISO (PO unit of measure in ISO code)
PO_PR_QNT (Quantity in PO price unit of measure)
PO_PR_UOM (PO price unit of measure)
PO_PR_UOM_ISO (PO price unit of measure in ISO code)
For more information, see the parameter documentation for tables HeaderData, ItemData, and AccountingData, or in the SAP Library under Logistics Invoice Verification.
Example: Change account assignments and add unplanned assignments
This example shows the header data that you need to enter in table Headerdata, the item data that you need to enter in table Itemdata, and the account assignment information that you need to enter in table AccountingData to change, add, and post account assignments for an invoice. If you want to change or add account assignments, there must be a non-valuated goods receipt or no goods receipt in the system. Goods-receipt-based invoice verification is specified.
Purchase order: 300 pieces of material A at 1 USD/piece
Goods receipt: 300 pieces of material A
This purchase order is subject to account assignment. You receive an invoice for it, refering to purchase order number 4500006846, order item 10, goods receipt document 50008849, 2000, item 1. The invoice is for a quantity of 100 pieces of material A, with a gross invoice amount of USD 116.00, including 16% sales tax. You want to change the planned account assignment for the second account assignment item and add an unplanned account assignment. Enter the following data:
Table HeaderData
INVOICE_IND (Post invoice/credit memo): X
DOC_DATE (Document date): 08.05.2000
PSTNG_DATE (Posting date): 08.08.2000
COMP_CODE (Company code): 1000
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 17.40
CALC_TAX_IND (Calculate tax automatically): X
PMNTTRMS (Terms of payment key): 0001
Table ItemData
INVOICE_DOC_ITEM (Invoice document item): 00001
PO_NUMBER (Purchase order number): 4500006846
PO_ITEM (Purchase order item): 00010
REF_DOC (Goods receipt document): 500008849
REF_DOC_YEAR (Fiscal year of current period): 2000
REF_DOC_ITEM (Goods receipt document item): 1
TAX_CODE (Tax code): VN
ITEM_AMOUNT (Item amount): 100
QUANTITY (Quantity): 100
PO_UNIT (Unit of measure): PC
Table AccountingData
Row 1: Change second account assignment item
INVOICE_DOC_ITEM (Invoice document item): 0001
SERIAL_NO (Account assignment serial number): 02
TAX_CODE (Tax code): VN
ITEM_AMOUNT (Amount in document currency): 10.00
QUANTITY (Quantity): 10
PO_UNIT (Order unit): PC
GL_ACCOUNT (G/L account number): 890000
COSTCENTER (Cost center): 1200
Row 2: Add unplanned account assignment
INVOICE_DOC_ITEM (Invoice document item): 0001
XUNPL (Unplanned account assignment in Invoice Verification): X
TAX_CODE (Tax code): VN
ITEM_AMOUNT (Amount in document currency): 5.00
QUANTITY (Quantity): 5
PO_UNIT (Order unit): PC
GL_ACCOUNT (G/L account number): 890000
COSTCENTER (Cost center): 1200
For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData, or Logistics Invoice Verification in the SAP Library.
Example: Invoice with Planned Delivery Costs
This examples shows the header data that you need to enter in table HeaderData, the item data that you need to enter in table ItemData, and the tax information that you need to enter in table TaxData to post an invoice containing planned delivery costs.
Purchase order: 100 pieces of material A at 1 USD/piece
Goods receipt: 100 pieces of material A
You receive an invoice for this purchase order refering to purchase order number 4500006986, order item 10, for a quantity of 100 pieces of material A and 136 USD, including 16% sales tax and 20 USD planned delivery costs. Enter the following data:
Table HeaderData
INVOICE_IND (Post invoice/credit memo): X
DOC_DATE (Document date): 08.10.2000
PSTNG_DATE (Posting date): 08.12.2000
COMP_CODE (Company code): 1000
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 136,00
Table ItemData
Row 1: Posting the purchase order item
INVOICE_DOC_ITEM (Invoice document item): 00001
PO_NUMBER (Purchase order number): 4500006986
PO_ITEM (Order item): 00010
TAX_CODE (Sales tax code): VN
ITEM_AMOUNT (Item amount): 100.00
QUANTITY (Quantity): 100
PO_UNIT (Unit of measure): PC
Row 2: Posting the planned delivery costs
INVOICE_DOC_ITEM (Invoice document item): 00002
PO_NUMBER (Order number): 4500006986
PO_ITEM (Order item): 00010
ITEM_AMOUNT (Item amount): 20.00
QUANTITY (Quantity): 100
PO_UNIT (Unit of measure): PC
COND_TYPE (Condition type): FRB1
Table TaxData
TAX_CODE (Sales tax code): VN
TAX_AMOUNT (Tax amount in document currency): 16.00
For more information, see the parameter documentation for tables HeaderData, ItemData, and TaxData.
Example: Incoming invoice with withholding tax.
This example shows you what header data you can enter in table HeaderData, and what item data and withholding tax information you can enter in table TaxData in order to park an incoming invoice with withholding tax.
Purchase order: 10 pieces of material A at $10
Goods receipt: 10 pieces of material A
You receive an invoice for this delivery with reference to purchase order number 4500007505, PO item 10, GR document 50010095 2000, Item 1. The invoice is for a quantity of 10 pieces and a gross amount of 100 USD. You have to pay 10% withholding tax for the gross amount. Enter the following data:
Table HeaderData
INVOICE_IND (Invoice/Credit memo): X
DOC_DATE (Document date): 05.20.2000
PSTNG_DATE (Posting date): 05.23.2000
COMP_CODE (Company code): WT01
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 100 USD
Table ItemData
INVOICE_DOC_ITEM (Item from invoice document): 00001
PO_NUMBER (PO number): 4500007505
PO_ITEM (PO item): 00010
REF_DOC (GR document): 50010095
REF_DOC_YEAR (Fiscal year of the current period): 2000
REF_DOC_ITEM (Item in a GR document): 1
TAX_CODE (Tax code): V0
ITEM_AMOUNT (Item amount): $100
QUANTITY (Quantity): 10
PO_UNIT (Unit of measure): PC
Table WithTaxData
SPLIT_KEY (Grouping key for withholding tax split): 0001
WI_TAX_TYPE (Code for withholding tax type): R1
WI_TAX_CODE (Withholding tax code): 01
WI_TAX_BASE (Withholding tax base amount): 100
WI_TAX_AMT (Withholding tax amount in doc. currency): 10.00
For more information, see the parameter documentation for tables HeaderData, ItemData, and WithTaxData.
Example: Incoming invoice with amount split.
This example shows you what header data you need to enter in table HeaderData, what item data you enter in table ItemData, and what information you can enter in table VendorSplitData in order to create an invoice with an amount split.
Purchase order: 10 pieces of material A at 10 USD
Goods receipt: 10 pieces of material A
You receive an invoice for this purchase order with reference to PO number 4500007505, PO item 10, GR document 50010095, item 1. The invoice is for a quantity of 10 pieces and a gross amount of 100 USD. You want to distribute the gross amount to two vendor lines. 40% of the gross amount should be paid immediately by check, and 60% of the gross amount should be paid within 14 days, taking into account a 3% cash discount. Enter the following data:
Table HeaderData
INVOICE_IND (Invoice/Credit memo): X
DOC_DATE (Document date): 05.20.2000
PSTNG_DATE (Posting date): 05.23.2000
COMP_CODE (Company code): 0001
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 100.00
Table ItemData
INVOICE_DOC_ITEM (Item from the invoice document): 00001
PO_NUMBER (PO number): 4500007505
PO_ITEM (PO item): 00010
REF_DOC (GR document): 50010095
REF_DOC_YEAR (Fiscal year for the current period): 2000
REF_DOC_ITEM (Item from a GR document): 1
TAX_CODE (Tax code): V0
ITEM_AMOUNT (Item amount): 100
QUANTITY (Quantity): 10.00
PO_UNIT (Unit of measure): PC
Table VendorItemSplitData
1st vendor line
SPLIT_KEY (Grouping key for split in the vendor line): 0001
SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 40.00
PYMT_METH (Payment method): S
TAX_CODE (Tax code): V0
PMNTTRMS (Payment terms key): 0001
2nd vendor line
SPLIT_KEY (Grouping key for split in the vendor line): 0002
SPLIT_AMOUNT (Gross invoice partial amount in doc. currency): 60.00
PYMT_METH (Payment method): U
TAX_CODE (Tax code): V0
PMNTTRMS (Payment terms key): 0003
For more information, see the parameter documentation for tables HeaderData, ItemData, and VendorItemSplitData.
You recieve an invoice with reference to the order number 4500006846, order item 10. The invoice is for a 100 pieces of material A, with a gross amount of 150.80 USD, including 16% value-added tax. The invoice includes a G/L account posting of 10 USD to account 400000 in company code 1 and a material account posting of material MAT01 for 20 USD.
Enter the following data:
Table HeaderData
INVOICE_IND (post invoice/credit memo): X
DOC_DATE (Document date): 05.08.2000
PSTNG_DATE (Posting date): 08.08.2000
COMP_CODE (Company code): 1000
CURRENCY (Currency): USD
GROSS_AMOUNT (Gross amount): 150,80
CALC_TAX_IND (Calculate tax): X
PMNTTRMS (Terms of payment): 0001
Table ItemData
INVOICE_DOC_ITEM (Invoice document item): 00001
PO_NUMBER (Purchase order number): 4500006846
PO_ITEM (PO item): 00010
TAX_CODE (tax code): VN
ITEM_AMOUNT (Amount in document currency): 100
QUANTITY: 100
PO_UNIT (Unit of measure): ST
Table GlAccountData
INVOICE_DOC_ITEM (Document item in invoice document): 00001
GL_ACCOUNT (G/L account): 400000
ITEM_AMOUNT (Amount in document currency): 10,00
DB_CR_IND (Debit/credit indicator): S
COMP_CODE (Company code): 0001
TAX_CODE (Tax code): VN
COSTCENTER (Cost center): 1
Table MaterialData
INVOICE_DOC_ITEM (Document item in invoice document): 0001
MATERIAL (MATERIAL): MAT01
PLANT (Valuation area): 0001
DB_CR_INP (Debit/credit indicator): S
ITEM_AMOUNT (Amount in document currency): 10,00
QUANTITY (Quantity): 1
PO_UNIT (PO unit of measure): ST
You can find further information in the parameter documentation for tables HeaderData, ItemData, GlAccountData and MaterialData or in the SAP Library under Logistics - Invoice Verification
Example: Invoice for a purchase order for external services and service-based invoice verification.
This example shows you which header data to enter in table HeaderData, which item data to enter in table ItemData, and which account assignment data to enter in table AccountingData in order to enter and post an incoming invoice.
You receive an invoice with reference to the PO number 4500000191, PO item 10. Two services A and B are invoiced, each with a quantity of six service units. Service A has a gross amount of 580 USD incl. 16% tax. Service B has 812 USD incl. 16% tax. Service A has an account assignment of 50% to both cost centers 1000 and 2000. Service B also has an account assignment to cost centers 1000 and 3000. The service acceptance was made for both services jointly with the service entry sheet number 1000000022.
Enter the following data:
Table HeaderData
INVOICE_IND (Post invoice/credit memo): X
DOC_TYPE (Document type): RE
DOC_DATE (Document date): 01.10.2002
PSTNG_DATE (Posting date): 01.10.2002
COMP_CODE (Company code): 0001
CURRENCY (Currency key): USD
GROSS_AMOUNT (Gross amount): 1392.00
CALC_TAX_IND (Calculate tax automatically): X
PMNTTRMS (Payment terms key): 0002
Table ItemData
First Entry for Service A:
INVOICE_DOC_ITEM (Item in invoice document): 000001
PO_NUMBER (PO number): 4500000191
PO_ITEM (PO item): 00010
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Item amount): 250.00
QUANTITY (Quantity): 1
PO_UNIT (Unit of measure): LE
SHEET_NO (Service entry sheet number): 1000000022
SHEET_ITEM (Line number) : 10
Second Entry for Service A:
INVOICE_DOC_ITEM (Item in invoice document): 000002
PO_NUMBER (PO number): 4500000191
PO_ITEM (PO item): 00010
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Item amount): 250,00
QUANTITY (Quantity): 3
PO_UNIT (Unit of measure): LE
SHEET_NO (Service entry sheet number): 1000000022
SHEET_ITEM (Line number) : 10
First Entry for Service B:
INVOICE_DOC_ITEM (Item in invoice document): 000002
PO_NUMBER (PO number): 4500000191
PO_ITEM (PO item): 00010
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Item amount): 350.00
QUANTITY (Quantity): 1
PO_UNIT (Unit of measure): LE
SHEET_NO (Service entry sheet number): 1000000022
SHEET_ITEM (Line number) : 20
Second Entry for Service B:
INVOICE_DOC_ITEM (Item in invoice document): 000004
PO_NUMBER (PO number): 4500000191
PO_ITEM (PO item): 00010
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Item amount): 350,00
QUANTITY (Quantity): 3
PO_UNIT (Unit of measure): LE
SHEET_NO (Service entry sheet number): 1000000022
SHEET_ITEM (Line number) : 20
Table AccountingData
First account assignment for service A:
INVOICE_DOC_ITEM (Document item in invoice document): 000001
SERIAL_NO (Sequential number of the account assignment): 01
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Amount in document currency): 250.00
QUANTITY (Quantity): 3
PO_UNIT (PO unit of measure): LE
GL_ACCOUNT (G/L account number): 400000
COSTCENTER (Cost center): 1000
Second account assignment for service A:
INVOICE_DOC_ITEM (Document item in invoice document): 000002
SERIAL_NO (Sequential number of the account assignment): 02
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Amount in document currency): 250.00
QUANTITY (Quantity): 3
PO_UNIT (PO unit of measure): LE
GL_ACCOUNT (G/L account number): 400000
COSTCENTER (Cost center): 2000
First account assignment for service B:
INVOICE_DOC_ITEM (Document item in invoice document): 000003
SERIAL_NO (Sequential number of the account assignment): 01
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Amount in document currency): 350.00
QUANTITY (Quantity): 3
PO_UNIT (PO unit of measure): LE
GL_ACCOUNT (G/L account number): 400000
COSTCENTER (Cost center): 1000
Second account assignment for service B:
INVOICE_DOC_ITEM (Document item in invoice document): 000004
SERIAL_NO (Sequential number of the account assignment): 03
TAX_CODE (Tax code): V1
ITEM_AMOUNT (Amount in document currency): 350.00
QUANTITY (Quantity): 3
PO_UNIT (PO unit of measure): LE
GL_ACCOUNT (G/L account number): 400000
COSTCENTER (Cost center): 3000
For more information, see the parameter documentation for the tables HeaderData, ItemData, and AccountingData, or see the SAP Library under Logistics Invoice Verification.
Example: Incoming invoice for a one-time vendor
This example demonstrates the procedure for entering and posting an incoming invoice for a one-time vendor.
You do not need to provide table AddressData with data to do this. If you do not enter any data in the table AddressData, the address data for the one-time vendor is transfered exactly from the purchase order to the invoice.
If you use table AddressData to transfer the data, the system copies the address data for the one-time vendor from the purchase order to the invoice and then overwrites or adds to the data with the fields from table AddressData.
The name 'SAP AG', postal code '60000', and street and house number 'Neurottstraße 16' are stored in the purchase order for the one-time vendor. You receive an invoice with the one-time vendor address 'SAP AG', postal code '69190' and city 'Wallorf'.
You enter the following data:
Table AddressData
ACC_1_TIME (Indicator: One-time vendor): X
NAME (Name): SAP AG
POSTL_CODE (Postal code): 69190
CITY (city): Walldorf
The invoice is posted with the following one-time vendor address data: Name 'SAP AG', street and house number 'Neurottstraße 16', postal code '69190', city 'Walldorf'.
For more information, see the parameter documentation for table AddressData
Example: Incoming invoice for a different payee
This example demonstrates which data you must enter in table AddressData in order to enter and post an invoice for a different payee.
You receive an invoice for a different payee with name 'SAP AG', postal code '69190', city 'Walldorf', bank number '38070724' and account number '4711'.
Enter the following data:
Table AddressData
ACC_1_TIME (Indicator: One-time vendor): ' '
NAME (Name): SAP AG
POSTL_CODE (Postal code): 69190
CITY (City): Walldorf
BANK_NO (Bank number): 38070724
BANK_ACCT (Bank account number): 4711
For additional information, see the parameter documentation for table AddressData
Parameter
HEADERDATA
ADDRESSDATA
INVOICEDOCNUMBER
FISCALYEAR
ITEMDATA
ACCOUNTINGDATA
GLACCOUNTDATA
MATERIALDATA
TAXDATA
WITHTAXDATA
VENDORITEMSPLITDATA
RETURN
Exceptions
Function group
MRM_BAPI
Maybe you are looking for
-
Getting error while creating expense sheet in Oracle internet expenses
Hi, while creating new expense sheet i am getting following error Approver: The specified approver is not defined as a user of the application. Please enter another approver, or select one from the list of values. can you please enlighten on it. Than
-
I'll start by saying my problem is similar to this one: http://discussions.apple.com/thread.jspa?threadID=498798 with a few differences. I'm running Windows XP Pro. After updating to the lastest version of iTunes, I can no longer open it. Whenever I
-
Hi all, Oracle 11 g I have the following table and data CREATE TABLE dummy_data ( ID number NOT NULL ,test_Timestamp timestamp NOT NULL insert into dummy_data (id,test_TimeStamp) values (1,'08-MAR-10 09.43.30.922000000'); insert into dummy_data (id,t
-
Windows XP, Firefox 4, hardware acceleration on. Download with firefox in background, continuing browsing and the download status without frame will flash in foreground of the browser every 10-15 seconds.
-
In adobe premiere elements 9, in my project timeline I mixed approximately 15 audio tracks together of an instrumental. Whenever I export the second time, a certain part of the 2 track would start to get out of sync and delay at times throughout play