Error while creating AR Invoice from Sales order

Hi All,
I have created a sales order ,when i try to create AR Invoice through Copy To option i am getting an error
Business partner of copied down payment document must be the same as business partner of target document
Please help me to solve this issue
Thanks in Advance
Regards
Arun

Hi Arun,
Check if you have Down payment AR Invoice created from this Sales order.
Thanks,
Gordon

Similar Messages

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • Change in document type while creating billing document from sales order

    While creating billing document from Sales order it is creating with document type RV which is standerd one but i want to change Document type.
    How can i change it?
    Regards
    Raj

    Hi
    If you use another existing document type, check that it has a number range suitable to you.  Else create a new 'z' type and assign an entirely new number range, not used in the other doc types.
    It is useful to make the FI document number the same number.  If I understand from the forums, the FI number range must be external.  Search the forum for this.  It is very useful for the Finance people.
    Kind regards
    Dawn
    Edited by: Dawn Verrell on Sep 9, 2010 4:10 PM

  • Create Billing Document from Sales Order (Without Delivery)

    Dear Experts,
    Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
    But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
    So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type  to meet above requirement.
    Thanks in advance.
    Best Regards.
    Ripon

    Hi
    There are two most important configuration:-
    1) In VOV8 for your Order Type maintain the Order Related Billing Document
    2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
    Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
    Regards
    Amitesh Anand
    Edited by: Amitesh Anand on May 24, 2010 5:09 PM

  • Creating Excise Invoice from Sales Delivery using DI API.

    Hi Experts,
    I have been searching a lot for any Business Object for creating Excise Invoice base on Sales Delivery using DI API.. But have not yet found any one.
    I want to create Invoice for excisable items from Sales Delivery using DI API.,for Excisable items we cannot create standalone A/R Invoice . We need to create Excise Invoice also . But How to create Excise Invoice based on Sales Delivery using DI API. Is there any Business Object for that.
    Please suggest me.
    Thanks and Regards,
    Pooja Singh.

    Hi all,
    I have not received any reply for this thread. Does this mean that there is no provision for creating Excise Invoice from Sales Delivery ? Actually I was asked to create sales delivery and then Outgoing Excise Invoice and then Sales Invoice using DI API.
    But I don't find any Business Object for this in SDK ? Is it really not possible to create Outgoing Excise Invoice from Sales Delivery using DI API.? If possible then how?
    Please reply me if anyone has got any idea in this regard.
    Thanks and Regards,
    Pooja Singh.

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • Error while creating Excise Invoice

    Hi All,
    Can any one help me on CIN?
    I am getting one error while creating "Excise Invoice [T.code J1ILN]" i.e. "System failure during locking GL account Cocode by 13113910"
    Regards
    Chowdary

    Dear Raghavendra
    Please make a try with the following but I am not sure whether it will solve your problem.
    Go to FS00, give the G/L account which has the problem and select "Control Data" tab.  Here punch as asterisk in the field "Tax category" and save.
    Now try to create the excise invoice.
    Thanks
    G. Lakshmipathi

  • 8I 681 Error While Creating Excise Invoice

    Dear All,
                Am getting error 8I 681 error while creating excise invoice,when i analysed since in the document flow the delivery document is not there, only J delivery will be allowed in creating excise invoice.
    Our client wants item level milestone,so in oder to activate that i have assigned the billing plan in the item category.But when i assighn the billing plan the system will not allow to put the billing relavance delivery relavant.So i made oder relavan in the billing relavance.So i create an oder and with that reference delivery.But when i create billing i have to refer the oder number,since in the item ctegory i have made oder relavant billing.So the result is in the billing document flow the delivery document is not flowing.Henceforth i could not be able to create J1IN.
    But this was not happening in the sand box,but only in the quality since it is superior.when we debugged we found only J(Delivery) is allowed to create excise invoice.
    Please help me to solve this issue,is there any possiblity to make the delivery document flow in the billing document.If it is done it 100%possible to create the excise invoice.
    Please share your ideas to solve this issue.....
    Best Regards,
    Venugopal

    Dear Lakshmi,
                         Thanks for your Prompt reply...
    In our case delivery is there,but when we create the invoice the delivery document is not flowing,since in the itemcategory oder relavant billing.We have billing milestone at the item level,for activating that i have to make the billing relavance as I.Other wise the system is not allowing me to select delivery relavant and billing plan.Please help me to make the delivery document flow in the billing document.Then this 8I error will be solved.
    I have alsochecked the update document flow,everything is perfect.
    Regards,
    Venugopal

  • Error while creating a delivery from a sales order

    Hi Folks,
    when i try to create delivery of a sales order, i am getting following error:
    " Item 000030: delivery split due to conflicting header data (FKARV: ZF2C <-> F8) "
    please help me in correcting this error.
    thanks in advance.

    Hi,
    The field FKARV is for Proposed billing type for a delivery-related billing doc.
    Now here in your case billing document if ZF2C and another is F8 so it is splitting, check this
    Kapil

  • Condition type - Freight value is copied into invoice from sales order

    Hi All,
    I have a Issue while copying freight value  to Invoice.
    I have created Freight condition type - XYZ where i have maintained "Group condition, Header condition & Item condition" in the definition of the condition type.
    I have placed this condition type in Pricing Procedure (Ex: ABCD) and also in Delivery Pricing Procedure (PQRS) - Checked "Manual check box".
    When i place this manual condition type in Delivery --> conditions tab(Item level), then it is copying to Invoice. However when I am placing this condition in Sales Order it is not copying into Invoice???
    I have maintained copying control between delivery document and Billing document and I have maintained "Price Source" as E - Delivery/Order.
    My requirement is when I am maintaining Freight value in delivery, then it has to consider the Delivery Freight..If freight is not maintained in Delivery then it has to copy from Sales Order?? Is it possible ?
    Please help me in this regard.
    Thanks in Advance.

    Hi,
    Thank you very much for your response.
    If i used price source as "D" then other conditions like price & tax are not copied sales order. Freight value is copying from delivery. I want system has to consider the sales order in case of freight value Zero in delivery.

  • Error while creating "RETURNS" as ERP Sales transaction type

    Description: We are getting error while creating ERP SLO type "Returns-ZRE". Message prompts as "Creation of ERP Transaction failed". We do not get the message for other order types for example "Standard order".
    Please suggest. Please note that this is an ERP sales order in CRM UI not a CR< sales order.
    Thanks
    Shree

    Is this only for a particular order type?
    As stated above this can be to do with user authorisations or the trusted RFC set up. Some things to check are:
    - ST22 dumps in ECC
    - ST01 authorisation trace for the user in ECC
    - Trusted RFC connection set up

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • Can we create service po from sales order

    HI
    can we create sales order from service po. if yes then how can we do so.

    Hi,
    we can create po from sales order in cross docking functionality.
    The steps are
    Sales order > Purcahse requistion > Purchase order > Inbound delivery with reference to purchase order and PGR > Outbound delivery with refernce to sales order and PGI > Invoice and billing.
    Br,
    Tushar Patankar

  • Tax condition not copying to invoice from sales order

    Dear All
    I have created condition record fro material. In that i have mentioned tax condition types.During Sales order creation the tax condition type copying into sales order. But from sales order to invoice it is not getting copied.Kindly guide me.
    My order type is OR and my invoice type isF2.
    Shobana

    Dear Shobana
    Go to VTFL, select the combination of your billing type / delivery type and select "Item" tab on your left screen.  Now select the item category and click on blue lens on top left.
    Here see what is maintained for the field "Pricing Type".  Please maintain "B" if this is not maintained and retry.
    thanks
    G. Lakshmipathi

  • Append condition type to Invoice from sales order

    Hello,
    We have some condition types which are entered manually in sales order. When invoice is created, we want to copy the data of these condition types to the invoice.
    Pricing procedures are different for sales order and invoice.
    So how can we achieve this functionality? 1) copying requirement 2) BADI or 3) any formula.
    Please advice.
    Rgds,
    Anand

    Hi Anand,
    this is done through copy control.Tcode-VTFA [sales order to invoice].Here u maintain ur source document i.e ur order type, destination i.e invoice type.give ur item category and then set pricing type as - C [copy manual pricing and redetermine tax] .all the data will be copied from sales order to invoice irrespective of ur different pricing procedures.
    Assign points if helpfull.
    Regards
    sharad
    Edited by: Sharad Kaliya on Aug 1, 2008 8:22 AM

Maybe you are looking for

  • . How to put Check box in every row in Table

    Hi Friends, I have one doubt in Webdynpro with java. How to put Check box in every row in Table? For Exam My requirement is I am getting BAPI from ECC System. So I have to go given input details in first view and output details in SecondView. So in S

  • Loss of Sound on Video download and Trailers.

    Help Please, Recently upgraded to the latest Itunes 6. whatever and now any downlaoded videos visually work no sound and trailers are the same vieo ok no sound. Everything else is fine.....Been using Ipod and Itune year and half now this is the first

  • Multiple onboard inp

    My son-in-law wants an inexpensi've card that will allow him to connect the audio out from both internal DVD and CD. His current mobo only has one input. Which SB card would be right for him? Thanks, Rocco

  • Excisable and non-excisable goods

    Hi all, what is the difference between excisable and non-excisable goods? And in the sales delivery if the item is excisable then what is the next compulsory step we have to take? can u please explain me. Thanks, Varalakshmi.

  • How can I retrieve lost pictures on my ipad

    How can I retrieve lost pictures on my iPad?