Create Invoice with RV_INVOICE_CREATE

hi buddies, I want to create invoice with reference to sales orders and delivery notes, Can I use FM:RV_INVOICE_CREATE for both?
I have tested this FM, and seems no errors, but  no documents created when check the invoice table vbrk...
thanks!

Hi,
you can use RV_INVOICE_CREATE, you can do commit only after checking the XVBFS internal table , and look for Success message then only you need to use COMMIT.
Note: XVBFS is the log internal table, here you can see success and error log.
check this internal table after execution of the FM for log details(success/error).
Regards
vijay

Similar Messages

  • Bapi to create Invoice with reference to SalesOrder

    Hi All,
    I want to create Invoice with reference to SalesOrder ,
    can anybody help me regarding
    --> what is the Bapi to Create Invoice with reference to SalesOrder
    --> what are the import parameters
    Thanks in Advance
    Regards
    Srinivas

    Hi Giuseppi,
    Thanks to your reply,
    i have used BAPI_BILLINGDOC_CREATEMULTIPLE , i have given the following input values in the BILLINGDATAIN
      -- salesorg,distrchan,division,doc-type,sold-to,plant,material,doc-number,item-number , when  i execute the Bapi , i got the DocNo:0090021983 , but i did not find that DocNo. by executing the Bapi BAPI_BILLINGDOC_GETLIST.
    i found the short description for
    BAPI_BILLINGDOC_CREATEMULTIPLE -- is for Individual Customer Billing Document, is it the correct Bapi to create invoice
    what is the correct Bapi to create invoice based on the salesorder.
    RV_INVOICE_CREATE OR GN_INVOICE_CREATE OR BAPI_BILLINGDOC_CREATEMULTIPLE.
    Can u specify the import parameters for that Bapi.
    Thanks & Regards
    Srinivas

  • How to create Invoice with ref to PO

    Dear sd gurus..
    i know we can create invoice with ref to sales order not with po
    But i want to create Invoice with ref to po only
    please guide me
    Thanks a lot

    Venu, thanks for your reply.
    So in this case your idea wont work but the main imp thing is we cant create invoice with ref to po
    Please read my post once again, i never said we can create customer invoice with ref  to Purchase order. I said very clearly, " you can follow the normal 3rd party sales process", which means we create customer invoice with ref to sales order only.
    Coming into another query,
    but some time PO Is generated 110 qth to vendor but vendor  may be  he will send  105 due to shortage ... and he will tell i will send the the remaining stock after next 10 days now Generally miro will happen only for 105 not 110 ( even we can do MIRO110 also ) but i am talking generally because he received the stock 105 only
    But company wants billing for 110 not for 105 because here customer accepted to pay full money
    and vendor gave promise to delivery 5 qty in next 10 days
    Why will the customer  agree to be billed the full qty, when he receive the partial qty?
    Let us assume as you said customer agree to pay for full qty, then there are two options.
    1. Do the MIRO for full qty since you would be invoicing the customer for full qty
    Or
    2. Do the MIRO for partial qty and customer should agree for partial invoice
    Please note in the normal case also if there is if condition then you don't have other option.
    Example:
    Order = 100 qty
    PO = 100 qty
    MIGO = 50 qty and remaining 50 qty Vendor delivery in next 10 days
    MIRO =50 qty
    But here also customer agreed to pay for full qty, then what will you do ? you don't have other option but to bill the partial qty in standard.
    And let me know if you need any more clarity?
    thanks,
    Srinu.

  • Create invoice with out sales order or delivery

    Hi,
    is it possible to create invoice with out sales document or delivery. A scenario, where you buy some article and get the invoice and pay the money.

    need to raise direct VF01 for a customer. Is there any Bapi
    Go to SE37, input BAPI_BILLINGDOC_CREATEMULTIPLE and execute. 
    1)  There press F8
    2)  Double click on the value "BILLINGDATAIN"
    3)  Input Sales Organization, Dis.Chnl, Div, Order Type, Bill date, Sold to etc., and press F3
    4)  Now execute (F8)
    5)  Press "Success"
    thanks
    G. Lakshmipathi

  • I don't want to create Invoices with net price = zero

    Hello,
    I use VF04 ( prog. SDBILLDL ) to create the invoices,
    how to not create the invoice with net price = zero ( it's not a bug)
    User exit ? Badi ?
    1) I can't anticipate if the created invoice will be set to 0 (complex price schema).
    2) I want to execute VF04, for these invoices, to clean the VKDFS table.
    3) I don't want to delete these invoices if they are set to 0 ( making some holes in the number ranges, forbiden in some countries)
    Thx a lot !
    Ramdane
    NB : I have posted this question on "ABAP general" thread, it was a mistake
    sorry

    Hi,
    Here are the existing exits .
    J_3RSINV
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line in transfer to accounting
    SDVFX003  User exit cash clearing in transfer to accounting
    SDVFX004  User exit G/L line in transfer to accounting
    SDVFX005  User exit reserves in transfer to accounting
    SDVFX006  User exit tax line in transfer to accounting
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Check Badi like this for tcode VF04
    1) Go to the transaction SE37 to find your function module.
    2) Locate the function SXV_GET_CLIF_BY_NAME.
    3) Put a breakpoint there.
    4) Now open a new session.
    5) Go to your transaction.
    6) At that time, it will stop this function.
    7) Double click on the function field EXIT_NAME.
    8) That will give you name of the BADI that is provided in your transaction.
    Rhea.

  • Error Creating Invoices with more than 1000 positions

    Hello.
    I am creating invoices in SD module with VF01 transaction.  When the document has more than 1000 positions an error is displayed.
    The text of the error is:
    Memory area p.status GUI SAPMV60A SM is too small.
    área memoria p.status GUI SAPMV60A SM demasiado pequeña.
    I would like to know if there is any way to correct this error. If it happens because memory is too small, how could it be increased?
    Thank you.
    Diana Carolina.

    Hi Diana
    As far as I know, standard SAP has restricted the no. of line items in an accounting document to 999.
    So, this is in turn impacts the no. of line items you can have on a Sales invoice,
    Since every invoice  line item can have atleast 2 accounting entries, the max. no. of  invoice line items you can have is 499.
    I dont think there is no work around for this
    Rgds

  • Creating Invoices with Numbers exporting as PDF

    I'm using numbers to create my invoices.
    Using sheets/tables to create the Customer information section 2 columns and a few rows for their Name, Address, Email, Etc
    Then I use the invoice table chart to put their products and a service charge on there as well.
    It works out perfectly...however I just noticed that when I export as PDF to email my customers their invoice/receipt the PDF lines are completely editable.
    Giving me a very uneasy feeling should a customer want to make adjustments and cause a concern over something that they changed on the invoice.
    So it is possible to lock those fields when exporting as a PDF or is it just by default that way?
    Thanks!

    Are you sure in basic PDF readers your customers can edit your content?  Actually I think you can modify most any document.  If your customers are really modifying the invoices you send to them I would say that makes your relationship with them very difficult. 
    Acrobat Pro X does allow editing.
    http://www.adobe.com/products/acrobatpro.html
    You can embed and image which is still modifiable but more difficult to make it look good.
    I don't think there is a better way to emit a pdf than what you are doing.   FYI you can also use the menu item "File > Print", then select "Save as PDF…":

  • ERS - transaction MRRL creating invoices with value ZERO service

    Hello!
    I have a service sheet, then a 101 movement,I reverse it and created the 102.
    By mistake the ERS was run and created a IR with zero value.
    I tried to reverse de IR document in MR8M and I get the error:
    You are not allowed to have zero lines only
    If I try to modify the Service Sheet I get:
    An invoice already exists for this entry sheet
    According to note 385905:
    ERS zero documents cannot be cancelled. As these are documents without an update to FI, such a cancellation process is also not useful.
    How can I post this invoice correctly??
    I need the IR backed out so I can re post the invoice correctly. If I try to create a new service enry sheet the system tell me it is complete.
    THANKS!!!
    Edited by: SussyO on Jun 29, 2010 12:55 AM

    Dear Sandra,
    For every purchase order with flag 'ERS' a table entry is generated.
    If a goods receipt is posted, this GR should be invoiced via ERS
    (Tr. MRRL). Manually posted invoices should be avoided, because
    the table entry will not be deleted. A new invoice receipt must be
    created while running ERS (but with amount and quantity zero and without
    FI documents) in order to give a message to the vendor because he
    has sent you an invoice by mistake.
    The different handling has intentionally been implemented because
    in Tr. MRRL, you can use the message determination.
    Using Tr. MRRL, a message to your vendor is created (because he may
    have sent you an invoice probably by error). Now he'll get a zero bill.
    Also, please verify the SAP note 385905 which explains that these invoices are
    visible in your PO history. It goes onto say that these  documents cannot be cancelled and anyway, because they have no FI docs, such a cancellation would be useless. And please verify more one SAP note 415286.
    Regards,
    Paulo Evaristo

  • Create invoices with xml data

    I have a production systems that generates a XML file wih data for a complete Invoice. Can i design a acrobat form and import the xml file to fulfill the invoice?

    We don't support data injection in Formscentral but it is supported for Acrobat based forms. I would suggest you look at using Acrobat based forms for your solution. The injection of data via an xml file is supported there. In general this type of workflow is beyond the current scope of Formscentral.
    Andrew Yarborough

  • ERP invoice with reference to SRM Basic Contract?

    Hi
    In SAP SRM you can create a shopping cart or a PO with reference to a SRM Basic Contract by setting the item number to 0 like: 4700000107/0
    But with the new Ehp1 SAP states that ERP invoices can be created with reference to a SRM central contract (via SRM_SERVICE_PROC_1). But can you create the invoice with reference to contract item 0?
    The idea is to have the non PO related invoices registrered on the basic contract in SRM along with the PO's. A basic contract can't be copied to ERP, as there is no lines on it, but is the ERP contract copy needed for this scenario?
    So two questions:
    - is the ERP contract copy from SRM needed to use the Ehp1 functionality of creating invoices with reference to a SRM contract?
    - can the ERP invoice be created with reference to a basic SRM contract by giving the contract item as 0 or in another way?
    BR
    Jacob

    Hello,
    With SRM 70 EHP1 you can create ERP invoice against your SRM Central Contract distributed to ERP.
    To enable this you need to do few settings in ERP, for the same you can refer to the config guides available at Service market place for SRM701 releases.
    Configuring Contract Handling for Invoices : You use this procedure to configure contract handling for invoices in the SAP ERP system. You have activated the Procurement - SRM Integration 2 (LOG_MM_P2PSE_2) business function in the SAP ERP system.
    Steps :
    1. In Customizing for SAP ERP, perform the activity under :  Materials Management -- Logistics Invoice Verification -- Incoming Invoice -- Activate Direct Posting to Contracts , to allow direct references to contracts when creating invoices and parking documents.
    2. In Customizing for SAP ERP, perform the activity under : Materials Management -- Logistics Invoice Verification -- Invoice Block -- Set Tolerance Limits , to set the tolerance key for contracts (PC: Price variance for contract).
    The feature is termed as Invoice Reconciliation here.
    Best Regards,
    Rahul

  • Error when creating Invoice via DI API

    Can you help me, I have a problem about DI
    When I create invoice with serial number and create transaction with 1 item in many serial number itu2019s no problem but
    If i create transaction with 2 diffrent item with many serial number has error the error code -5002([inv1.docentry][line:0],u2019item serial us not found in whseu2026.u2019)
    I using sap 2005 pl 40, I have debug my coding there is nothing wrong with it, than I suspec this is bug in DI is that rightu2026
    This is my code
      Dim oInvoices As SAPbobsCOM.Documents
            Dim iRetVal As Integer = -1
            Dim sErrMsg As String = ""
            Dim isAddHeader As Boolean = True
            Dim iRow As Integer = 0
            Dim sWhsCode As String = ""
            Dim iAddedQty As Integer
            Dim iCurrLine As Double = 0
            Dim iBasedDoc As Integer = 0
            Dim sNewDocNum As String = ""
            Dim sCardCode As String = ""
            Dim isdocnum As String = ""
            Dim CompleteOrder As DataRow
            Try
                oInvoices = myCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                For iRow = 0 To myOrderDetailsTable.Rows.Count - 1
                    Console.WriteLine(myOrderDetailsTable.Rows(iRow).Item(ISSCANNED_FIELD))
                    If myOrderDetailsTable.Rows(iRow).Item(ISSCANNED_FIELD) = 1 Then
                        Console.WriteLine(myOrderDetailsTable.Rows(iRow))
                        CompleteOrder = myOrderDetailsTable.Rows(iRow)
                        Console.WriteLine(sWhsCode & "   " & CompleteOrder(WHSCODE_FIELD))
                        sWhsCode = CompleteOrder(WHSCODE_FIELD)
                        With oInvoices
                            If isAddHeader Then
                                isdocnum = CompleteOrder(DOCNUM_FIELD)
                                iBasedDoc = CompleteOrder(DOCENTRY_FIELD)
                                sCardCode = CompleteOrder(CARDCODE_FIELD)
                                '.DocObjectCode = SAPbobsCOM.BoObjectTypes.oInvoices
                                .Reference2 = CompleteOrder(DOCENTRY_FIELD)
                                .DocDate = Today.Date
                                .DocDueDate = Today.Date
                                .TaxDate = Today.Date
                                Console.WriteLine("cardcode : " & sCardCode)
                                .CardCode = sCardCode
                                Console.WriteLine("ibasedDoc :" & iBasedDoc)
                                .Reference1 = iBasedDoc
                                isAddHeader = False
                            ElseIf isAddHeader = False Then
                                ' .Lines.Delete()
                                .Lines.Add()
                            End If ' isAddHeader
                            iAddedQty = 0
                            iCurrLine = 0
                            Console.WriteLine("CompleteOrder(ITEMCODE_FIELD) : " & CompleteOrder(ITEMCODE_FIELD))
                            .Lines.ItemCode = CompleteOrder(ITEMCODE_FIELD)
                            Console.WriteLine(".Lines.WarehouseCode = CompleteOrder(WHSCODE_FIELD) : " & CompleteOrder(WHSCODE_FIELD))
                            .Lines.WarehouseCode = CompleteOrder(WHSCODE_FIELD)
                            Console.WriteLine("Lines.UnitPrice = CompleteOrder(PRICE_FIELD) " & CompleteOrder(PRICE_FIELD))
                            .Lines.UnitPrice = CompleteOrder(PRICE_FIELD)
                            Console.WriteLine("CompleteOrder(ISUSEBATCH_FIELD) : " & CompleteOrder(ISUSEBATCH_FIELD))
                            If CompleteOrder(ISUSEBATCH_FIELD) = 1 Then
                                For iCurrLine = 0 To CompleteOrder(QUANTITY_FIELD) - 1
                                    If iCurrLine > 0 Then .Lines.BatchNumbers.Add()
                                    .Lines.BatchNumbers.SetCurrentLine(iCurrLine)
                                    .Lines.BatchNumbers.Quantity = 1
                                    Console.WriteLine("CompleteOrder(SCANNED_FIELD) :" & CompleteOrder(SCANNED_FIELD))
                                    .Lines.BatchNumbers.BatchNumber = CompleteOrder(SCANNED_FIELD)
                                    '.Lines.BaseEntry = iBasedDoc
                                Next
                            ElseIf CompleteOrder(ISUSEBATCH_FIELD) = 0 Then
                                Console.WriteLine("CompleteOrder(WHSCODE_FIELD) :" & CompleteOrder(WHSCODE_FIELD))
                                While sWhsCode = CompleteOrder(WHSCODE_FIELD)
                                    If iCurrLine > 0 Then .Lines.SerialNumbers.Add()
                                    .Lines.SerialNumbers.SetCurrentLine(iCurrLine)
                                    Console.WriteLine("CompleteOrder(SYSSERIAL_FIELD)" & CompleteOrder(SYSSERIAL_FIELD))
                                    CompleteOrder(SYSSERIAL_FIELD) = IIf(IsDBNull(CompleteOrder(SYSSERIAL_FIELD)), 0, CompleteOrder(SYSSERIAL_FIELD))
                                    .Lines.SerialNumbers.SystemSerialNumber = CompleteOrder(SYSSERIAL_FIELD)
                                    Console.WriteLine("CompleteOrder(SCANNED_FIELD) :" & CompleteOrder(SCANNED_FIELD))
                                    .Lines.SerialNumbers.InternalSerialNumber = CompleteOrder(SCANNED_FIELD)
                                    ' .Lines.BaseEntry = iBasedDoc
                                    iCurrLine = iCurrLine + 1
                                    iRow = iRow + 1
                                    If iRow <= myOrderDetailsTable.Rows.Count - 1 Then
                                        CompleteOrder = myOrderDetailsTable.Rows(iRow)
                                    ElseIf iRow > myOrderDetailsTable.Rows.Count - 1 Then
                                        Exit While
                                    End If
                                End While
                                iRow = iRow - 1
                            End If
                            .Lines.Quantity = iCurrLine
                        End With ' oInvoices
                    End If ' CompleteOrder(ISSCANNED_FIELD) = 1
                Next iRow
                iRetVal = oInvoices.Add()
    thnx for your attention

    Hello tony,
    Please check the following:
    1.Make sure the item is managed by serials
    2.The serials number have been auto created in GRPO/AP invoice etc puchase document
    3.You need to set the system serial number for the lines. How do you know the system serial number of the serial number? refer to the Serial Number Details form
    Inventory=>Item management=>Serials Numbers=>Serial Number Details
    SystemSerialNumber Sets or returns the successive numerator starting from1 issued for each item with serial numbers management. This numerator progresses according to the creation of new units of the same sort (for the same item).
    This property is mandatory when using Serial Numbers for outgoing documents. Field name: SysSerial.This is a foreign key to the SerialNumbers object
    Sample code to add invoice with items managed by serials:
    Private Sub btnSerials_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSerials.Click
            ConnectViaDI()
            Dim oInvoice As SAPbobsCOM.Documents = Nothing
            oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oInvoice.CardCode = "C001"
            oInvoice.DocDueDate = Date.Now
            Dim oLines As SAPbobsCOM.Document_Lines = oInvoice.Lines
            oLines.ItemCode = "S00002"
            oLines.UnitPrice = 1500
            oLines.Quantity = 2
            oLines.TaxCode = "CA"
            'Set the system serial no. for the 1st item
            oLines.SerialNumbers.SystemSerialNumber = 3
            'Set the system serial no. for the 2nd item
            oLines.SerialNumbers.Add()
            oLines.SerialNumbers.SystemSerialNumber = 4
            lRetCode = oInvoice.Add
            If 0 <> lRetCode Then
                oCompany.GetLastError(lErrCode, errMsg)
                MsgBox(errMsg)
            Else
                MsgBox("AR Invoice with serials number added.")
            End If
        End Sub
    Kind Regards, yatsea

  • Can it be possible to create invoice without billing plan date?

    Hi Gurus,
    I have made settings for billing plan in contracts. But, client wants billing plan at contract level only for the sake of reporting. Client doesnt want invoice to be created according to these billing plan.
    Now, consider this scenario,
    I have created contract A with billing plan values in it.
    I have created sales order B with reference to contract A. There are no billing plan values in sales order B.
    There is no delivery and PGI.
    Now, when I try to create invoice with reference to sales order B, system doesnt allow me to save the same and says "No billing plan date found".
    Will it be possible to create invoice irrespective of the billing plan in contract?
    Please guide.

    Hi,
    Then in that case i would advise not to use billing plan for your contract document type.
    If you intend to create a sales order in reference to your contract document which has billing plan type attached, then in that case you need to maintain billing plan for your sales order document too.
    Reward if helpful.
    Regards
    Ravi

  • Unable to Create Invoice from iSupplier

    I am unable to create invoice from isupplier module,
    the moment i click on create invoice "with a PO" or "without a PO" under finance Tab,
    i get this error "You cannot complete this task because you accessed this page using the browser's navigation button(the browser Back button, for example).
    But I have not accessed the pages with any browser navigation buttons at all.
    please advise what may be preventing me from creating invoice?

    This is caused by the incorrect setup of the browser.
    The browser's "Temporary Internet Files" setting for "Check for newer versions of stored pages" was set to "Never". This caused the browser to pull up the old data instead of querying the server.
    Please make sure the browser's "Temporary Internet Files" setting for "Check for newer versions of stored pages" is set to "Automatic".
    You Used Your Browser's Navigation Buttons To Get Here (Doc ID 1214138.1)

  • Using BAPI_ACC_INVOICE_RECEIPT_POST to create Invoice Receipt

    Hi,
    I'm using the above BAPI to create invoice receipts (to mimic MIRO) but if I enter the OBJ_TYPE RMRP it gives me an error:
    'Incorrect entry in field OBJ_TYPE: RMRP'
    I've checked table TTYP and this object type does exist.  Has anyone come across this error before?
    Basically I want to be able to pass it a Purchase Order document number and it should create an invoice receipt document like it does in MIRO.  I'm on version 4.6c but do have access to 640 and I know nothing about financials (I leave that to the FI/CO consultants).
    Any help would be appreciated.
    Gill

    Hi Gill,
    I need to meet the same requirement 'Enter Invoice with Reference to Purchase Order MIRO'. I was reading the threat you created. Which BADI did you use to create invoice with reference to PO? If you can provide and tip or test program that which fields I need to provide in BAPI.
    Thanks for ur help

  • Automatic Release of invoice with price differance

    Hi
    All price differences when matching the PO, GR and invoice ends up in MRBR with price difference block. It works fine for POs with goods. But when a service is entered in the PO we can not get it released automatically.
    We create a PO (service)
    Service entry sheet of the full amount of the PO
    Create invoice with price difference
    Change PO to invoice price
    Run MRBR....
    But it is not released. The price difference is still there even though we have  changed the PO.
    What have I not thought of?
    Sincerely
    Anders

    Hi
    Standard SAP states:
    During the entry of an invoice for a service, the system proposes the value from the service entry sheet but not the purchase order value.Correspondingly, the invoice value is compared with the value of the entry of services during the invoice release and not with the purchase order value, as is the case with another purchase order.
    Will I have to change the price in the service entry sheet for the invoice to be released?
    Sincerely
    Anders

Maybe you are looking for

  • Mac Mini Switch

    Hi, I currently have a iMac G4 flat panel. I am thinking of getting the intel mac mini. I have a few questions. 1. Can I replace OS 10.4 tiger with 10.3 panther because I have found that tiger does not suppost the internet connection I have qhich is

  • How To Avoid MPEG-2 Conversion "Motion Streaking"

    I've noticed a problem artifact I'm having when converting an existing QuickTime MPEG-2 clip to .mov, or .avi. In the original MPEG-2 the motion, in say children playing hop scotch with eachother where their motion (or moving) legs, have a nice smoot

  • Document types - number range

    Hi Experts, I have following query. I am doing project  which has three company codes and each company code has a manufacturing plant. I have created document types for P.R., P.O.,Contract,Scheduling agreement and assigned the number ranges for the s

  • Jython scripting and ODI variables

    Hi, I've had a look through the documentation but wans't able to find the answer to this, apologies if it's in there. Some ETL tools that we've used previously have their own scripting language embedded within the tool. This allows us to populate, re

  • My MacBook doesn't want to charge

    how to charge my Mac book air