BAPI FOR Billing Document Creation

Hi ,
I want to create an Invoice from one or more Sales Orders. Is there a STD BAPI or FM to do this ?
Thanks in Advance

Hi
Try these Fm:
BAPI_BILLINGDOC_CREATEFROMDATA
BAPI_INCOMINGINVOICE_CREATE
PLZ REWARD POINTS IF HELPFUL

Similar Messages

  • BAPI for billing doc. creation with ref to outbound delivery

    Hi,
    I'm looking for BAPI to create pro forma invoice billing doc with red. to outbound delivery.
    I have tried using BAPI_BILLINGDOC_CREATEMULTIPLE entering the outbound delivery as ref. document and all other required data. Pro forma is create but pricing is not copied since the bapi considers the delivery number as external doc.
    It seems that BAPI_BILLINGDOC_CREATEMULTIPLE is designated to billing doc. with ref to sales orders
    Would appreciate any suggestions,
    Assaf

    Hi,
    In Function Module initial screen, there is no input parameter. Directly choose execute.
    system will give the create billing document screen enter delivery document number and execute.
    Why are using BAPI  to create billing document with reference to delivery document.
    you can create background job for billing through VF06.
    Regards,
    Chandrasekhar.S

  • 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
    THANKS

    Hi,
    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

  • Exit for Billing document

    HI ,
    I need an enhancement point for billing document creation.
    SAP uses FM RV_INVOICE_DOCUMENT_ADD to determine the invoice number using Function Module NUMBER_GET_NEXT.
    I need an enhancement point immediately after the standard SAP invoice number has been determined where I can put my own code and use

    Hi
    See in customizing (trx SPRO):
    Sales and Distribution->System Modifications->User Exits->User exit for billing
    Max

  • Maintain output condition table for billing documents

    Hi
    I need to create new output condition table for billing document with the key combination of "Billing type and Export Indicator". In Field catalog: Messages for billing documents I am able to find field Export Indicator but the same field i am not able to find creation of new condition table (V/63).. Kindly let me know is there any settings required to show the same in V/63.
    Thnaks
    Srinivas

    Hi Ram
    The filed already is there in in structure" KOMKBV3" ....
    Thanks
    RAO

  • How to see the change logs for billing document

    Dears,
    Could you please how to see the change logs for billing document.
    My client is using ECC 6.0 & if i use VF03 > Environment > changes > does not show the changes i had made.
    Thanks in advance
    Ranjan

    hello, friend.
    you should be able to see changes done after the initial creation and saving, by going thru Environment > Changes.  try it again, and this time make sure that changes were done to the billing document prior to posting to accounting.
    normally, when configuration of Billing is done correctly, there will be little or no instances of changing anything in the Billing document,  as saving the document after creation will post this to Accounting.  of course, inclusion of a posting block in the billing type will provide you the opportunity for changes. 
    regards.

  • Sales order, Delivery and Billing document creation

    Hello Experts,
    I am working on credit management and am in need of creating sales order, delivery and billing document.
    Can some one send me the screen shots or any doc which outlines order,delivery and billing document creation.
    Will award points definitely.
    Also what are the t.codes for these creation?
    Regards,
    Sriram

    Order Create:
    Transaction VA01
    Give the order type , If standard order use OR or ZOR, which ever is maintained
    Then give the sold to and press enter
    In the Items screen Give the material and quantity and press enter. This should be enough to create an order, if u need u can give order reasons...etc. Then save the Order. Note down the order number.
    Go to VL01N-
    and give the above order for which u are doing delivery, In the pick quantity enter the amount in the order and press enter. and make sure the delievry date should be the same in the Sales Order Schedule line- REquested delivery date. Save the document.Note down the document number
    Go to VL02N - Open the above delivery document and click on PGI - done
    Now go to VF01 and this should bring up the delivery document number., If it doesnt , give the delivery document number and hit enter. then save the document. Billing is done.
    Regards
    Sai

  • Exclude items at billing document creation

    Hello everyone,
    Our team receive the follow user request: at the moment of billing document creation, exclude all itens from delivery where quantity is igual zero.
    What's the best approach, use user-exit at VF01 to exclude all itens with quantity=zero or try to find some customazing (SPRO) to do that?
    Are there someone that had the same problem or like that? Is it prossible to do that by customizing?
    Thanks!
    Flávio

    You should be able to do it using config. Follow the path
    Implementation Guide for R/3 Customizing (IMG)
    -->Sales and Distribution
       -->Billing
          -->Billing Documents
             -->Maintain Copying Control For Billing Documents
                -->Copying control: Delivery document to billing document
    Here select your source delivery type and the target invoice type. Then click on 'item'. Select the appropriate item categories and do a display. You can play with the settings there to exclude the items that you don't want in the invoice. If nothing from standard settings work for you, you can still use the 'copying requirements' field to enter your own requirement there.
    Srinivas

  • IDOC/BAPI for Production order creation from Legacy system

    Hi all
    We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
    thanks a bunch

    Hi John,
    For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
    If there is an inbound IDoc available, I would recommend to use an IDoc.
    IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
    BAPI is also good approach to use and fast in term of  processing.
    For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
    Hope this will help.
    Regards,
    Ferry Lianto

  • Print Excise invoice in Series grp 111 using J1IP for Billing document 1234

    Dear Gurus,
    I have an issue in which I create Sales Document>>Delivery Document and after that if I save my Billing Document a message pops up like:
    Print Excise invoice in Series grp 111 using J1IP for Billing document 12345
    And Excise Invoice gets generated automatically without J1IIN, to which I can view in the display mode in J1IIN.
    I wish to Create Excise Invoice by using T Code: J1IIN not automatically.
    I have checked all the number ranges and search the forum extensively but couldnu2019t found a possible solution.
    Please help me!
    Regards,
    Ashu

    Hi,
    Create Excise Invoice Automatically
    Instructs the system to automatically create an outgong excise invoice immediately you create a commercial invoice or a pro forma invoice.
    The system creates the excise invoice in the background.
    Dependencies
    If you want to make use of this function, you must also define the default plant, excise group, and series groups in Customizing for Excise Duty, by choosing Business Transactions -> Outgoing Excise Invoices -> Maintain Default Excise Groups and Series Groups
    SPRO>Logistics General>Tax on Goods Movement>India>Basic Settings-->Maintain Excise Groups.
    Under the Outgoing Excise invoice tab there is a check box (Excise invoice during billing)
    Regards,
    Saju.S

  • Excise Invoice List-Pending for ARE document creation

    Dear All,
    Is there any standard Tcode for getting the list of excise invoice which are pending for ARE documents creation or with the status of ARE documents.
    Thanks & Regards,
    Antima

    Hi,
    No there is no standard report available for this requirement.  You may need to develop a Z report.
    J1ARE_AGE gives u the status after creation of ARE1.
    Thanks
    Krishna.

  • Number Range (series) for Billing Document (F2) and Excise Invoice

    Hi All,
    I want to know how the number ranges / number series is defined for billing documents (F2) and excise invoice, for India business scenario.
    In India, the excise invoice is given to the customer so that he can the excise duty/ cenvat. This invoice acts as the Tax invoice (having all pricing elements apart from excise duty) against which customer outstanding is considered. That is, the payment due will be tracked against this Tax (excise) invoice.
    But in SAP, the accounts posting is done (customer a/c debited) when we creaate and post the billing document (type F2). Hence, the outstanding amount is tracked against the billing document created. This billing doc/invoice will have all the pricing components like price, discount, freight, etc apart from excise duty.
    The excise invoice is created separately....with ref to the above billing doc....for posting the excise duty.
    If the number ranges for billing document and excise invoice are different then it is difficult to trace the outstanding amount from a particular customer on the basis of excise invoice created in the system.
    Can somebody provide inputs/solution on this?
    Thanks indvance.
    Rgds,
    Amit

    Hi Saurabh,
    My question is not how to define number range for billing doc and excise invoice? i mean what procedure / tcode to be used for the same?
    My question is whether we need to define same number range for Billing doc (F2) as well as Excise Invoice.
    For example: number range 1000 to 1999  --- same for F2 and excise invoice....
    Lets say billing doc 1000 is created. Further, when we create excise invoice w.r.t. this billing doc....the excise invoice created will also need to be 1000. ....so that we can identify that against this excise invoice, we need to collect the payment from customer.
    If the number ranges for billing doc and excise invoice are different, then it is difficult for the user to trace the outstanding payment .....because genarally the excise is treated as Tax invoice by companies in India ...(so that the customer can claim the excise duty....when he purchases the goods from the company).
    Whereas the customer account is hit when the billing doc is posted .....hence i feel, we need to keep the same number range for billing doc and exice invoice.
    Hope the question/scenario is clear now.
    I would appreciate the inputs on the above, from the consultants/experts who have worked on SAP implementation projects in India.
    Rgds,
    Amit

  • No tax information exists for billing document

    Hi
    We have a problem. In our scenario, we create a service order followed by service confirmation and bill from service confirmation. All prices including taxes are maintained in r/3. prices and taxes are picked in the service confirmation also.
    When we create an invoice from crm (CRM billing), the correct price and tax is picked . But when we try to maintain billing documents, we get an error as follows.
    " No tax information exists for billing document 90000108-0000000010, condition type JIVC". Document are not getting posted to R/3.
    JIVC is the tax condition type created in r/3 and downloaded to crm. GL account determination settings have been maintained in CRM.
    However when i do a billing in CRM without tax, accounting documents are generated and hitting the right GL account. Also, when we do a billing in in r/3, the tax is hitting the right GL account.
    I have not maintained any TTE settings in CRM. Are TTE settings required at all in this scenario? If so could you inform what needs to be done.?
    We are on CRM 5.0 and R/3 4.7.
    Thanks and regards
    Bhaskaran

    Hi Bhaskaran,
    In CRM according to the taxes there r two ways of calculation,
    in ur scenario u r using the R3 billing so it according to downloading of condition types and cond records it will shows the taxes in the invoice
    if u r maining u need to call the TTE
    i hope u r with indian client if follow in backend
    check these settings in R3
    TAXINN (India):
    Following are the condition types:
    Define New Condition Type
    IMG > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define Condition Types > Maintain Condition Types (V/06)
    T.Code - Details of Condition Types
    V/06 – JIVP copy of JLST (A/R VAT Payable) & change condition category to ‘D’ & Access Sequence ‘MWST’
    V/06 – JIVC copy of JLST (A/R CST Payable VAT) & change condition category to ‘D’ & Access Sequence ‘MWST’
    OBQ1 - JIVP copy of JLST (A/R VAT Payable)
    OBQ1 - JIVC copy of JLST (A/R CST Payable VAT)
    Define Account Key JN6,JN7 & JN8 (T.Code: OBCN & also in SD)
    IMG> Financial Accounting> Taxes on Sales and Purchases> Basic Setting> Check & change setting for Tax Processing (OBCN)
    IMG> Sales & Distribution> Basic Function> Account Assignment / Costing> Revenue Account Determination> Define & assign Account Keys> Define Account Keys.
    and check the proper condition records r downloaded or not check middleware settings for that.
    If u r doing CRM billing i am not sure of indian client, as i know u need to do maintain the Pricing procedure in CRM also and u have to call the TTE
    Regards
    Manohar

  • Can u tell me any predefined BAPI for change and creation of Material

    Hi,
        Can anybody tell me  predefined BAPI for change and creation of Materialmasterand Pricing?
    Thanks & regards,
    Gopianne.

    you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
    When changing material master data, you need enter only the material
    number.
    In the header data, you must select at least one view for which data is
    to be created. Depending on the view selected, you must maintain other
    required parameters. If you do not enter values for all of the required
    parameters, the method is ended with an error message.
    The corresponding fields in the tables (such as CLIENTDATA) must first
    be supplied with data by the calling program. An indicator must also be
    set for each of these fields so that the data is written to the database
    by the method. This requires the calling program to supply the
    corresponding field with the indicator in a checkbox table (for example,
    CLIENTDATAX). Checkbox tables exist for tables that do not contain any
    language-dependent texts (MAKT, MLTX), International Article Numbers
    (MEAN), or tax classifications (MLAN). Several data records for a
    material can be created in these tables.
    regards
    vivek
    reward points if it helps

  • 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 AM

    Not required anymore

Maybe you are looking for

  • Self join to get related records in one row

    I have a table that has individual records for each family member. tPerson.LastName, tPerson.FirstName, tPerson.RelationshipCode, tPerson.FamilyUnitCode, tPerson.JobCode Smith, John,HD, 1234, AD Smith, Jill, SP, 1234, TC Olson, Fred, HD, 2345, AV Ols

  • Iphoto progress bar

    I opened iPhoto and marked all photos. I drag them all to my USB flash drive (fat32). But I can't see any progress bar, where is it? I can see that the usb flash drive is beeing filled up.

  • Views not available in Discoverer Plus

    Hi Gurus, I have created some views using Oracle 10 g Disco Admin v 9.0.4 and I am able to access them from Disco Desktop v 9.0.4 However, when I log in to Discoverer Plus, those views are not available. I am logging with the same user id that I am u

  • Migration to SDK 2.1, from HWC to IIS

    Hello, I have an azure webrole running on SDK 1.8, it has a handful WCF services and a common data access component to access an Azure SQL database and Azure Storage. It was running using the Hosted Web Core (HWC) - no Site definitions as I do not ho

  • BC4J runtime installer for Sun Solaris

    Hi, I dont know where to find the right release for BC4J runtime installer on Solaris OS. i have installed : 1 - Oracle 9iAS 1.2.2.1 on Solaris 2 - OC4J Containers for J2EE Applications And i would like to deploy my application developed under Jdevel