Error "The sales document is not yet complete" when using SD_SALES_DOCU_MAINTAIN

Hi there,
I have built an update program for updating the sales documents (VA42). In that program I am using the BAPI-SD_SALES_DOCU_MAINTAIN. It works fine except for the sales docs that are incomplete. For those sales docs I have the following messages in the Return-internal tab. from the BAPI:
V4
233
VBAKKOM has been processed successfully
V4
233
VBAPKOM has been processed successfully
V4
233
VBAPKOM has been processed successfully
V4
233
VBAPKOM has been processed successfully
V1
555
The sales document is not yet complete: Edit data
V1
311
Collection Contract 55259592 has been saved
The sales doc is indeed incomplete. What is missing in this sales doc is the prices. After discussion with the people from the business, I found out that it is impossible to complete those sales docs.
In the transaction-VA42 it is possible to save such sales docs, after clicking the "Save" button in the pop-up "The sales doc is incomplete. (Save - Edit - Cancel)".
The standard reports SDVBUV00 and SDVBUK00 do not help.
Is there any other possibility or other BAPI that I could use to save such sales docs?
Thanks,
Dimce

no issue anymore. On the QA-system it didn't work and on the production one it works.

Similar Messages

  • Post order processing for sales document is not yet complete

    hi,
    sap gurus,
    i am facing the error while saving the sales order and this ticket is unique and it is saying that
    "post order processing for sales document is not yet complete".
    please help me in this regard.
    and it is blocking the order for further processing.
    regards,
    balajit

    I dont think this is a standard error message.  Some exit is applied for sale order to meet some requirements.  You need to check with your ABAPer.
    In fact, you can conclude yourself based on the error message number.  If it starts with Z, then the above holds good.
    thanks
    G. Lakshmipathi

  • Warning 'sales document is not yet complete' with BAPI_SALESORDER_CHANGE after deleting correspnding delivery

    Hi,
    I'm trying to change a sales order (add some positions) after deleting the corresponding delivery to it.
    But I get the warning "sales document is not yet complete: Edit Data", because of incomplete dates in schedule lines.
    The schedule lines are filled correctly.
    When I have a Sales Order without corresponding delivery, this Order could be changed successful with BAPI BAPI_SALESORDER_CHANGE.
    But if there is a Sales Order with corresponding Delivery (where I do delete the delivery first with BAPI BAPI_OUTB_DELIVERY_CHANGE ), than the BAPI for changing the Order gives a warning "sales document is not yet complete: Edit Data".
    This is confusing.
    Is there something I have to consider when changing a sales order after deleting its delivery?
    Coding:
    "1. delete delivery to sales order
    CLEAR ls_header_data.
       CLEAR ls_header_ctrl.
       ls_header_data-deliv_numb = iv_vbeln.
       ls_header_ctrl-deliv_numb = iv_vbeln.
       ls_header_ctrl-dlv_del    = abap_true. "set flag for deletion
    * call BAPI to delete delivery
       CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
         EXPORTING
           header_data    = ls_header_data
           header_control = ls_header_ctrl
           delivery       = iv_vbeln
         TABLES
           return         = et_msg.
    IF ...
    COMMIT WORK AND WAIT.
    ELSE.
    ENDIF.
    "2. change Sales order (adding new item positions)
    "add new/changed data
       LOOP AT IT_NEW_ITEMS ASSIGNING <ls_new_items>.
         CLEAR: ls_order_item_in,
                ls_order_item_inx,
                ls_schedule_line,
                ls_schedule_linex.
         add 10 to lv_posnr.
         ls_order_item_in-itm_number = lv_posnr. "posNr
         ls_order_item_in-material = <ls_new_items>-matnr. "material
         ls_order_item_in-target_qty = <ls_new_items>-menge.  "quantity
         ls_order_item_in-sales_unit = <ls_new_items>-MEINH. "sales unit
         APPEND ls_order_item_in TO lt_order_item_in.
         "fill order item check table
         ls_order_item_inx-itm_number = lv_posnr.
         ls_order_item_inx-updateflag = 'I'.
         ls_order_item_inx-material   = abap_true.
         ls_order_item_inx-target_qty = abap_true.
         ls_order_item_inx-sales_unit = abap_true.
         APPEND ls_order_item_inx TO lt_order_item_inx.
         "schedule lines
         ls_schedule_line-itm_number   = lv_posnr. "posnr
         ls_schedule_line-sched_line   = '1'.
         ls_schedule_line-req_qty      = ls_order_item_in-target_qty. "quantity
         ls_schedule_line-req_date      = lv_lfdate.               "schedule line date
         APPEND ls_schedule_line TO lt_schedule_line.
         "schedule lines check table
         ls_schedule_linex-itm_number   = lv_posnr. "posnr
         ls_schedule_linex-sched_line   = '1'.
         ls_schedule_linex-req_qty      = abap_true. "quantity
         ls_schedule_linex-req_date      = abap_true.               "schedule line date
         ls_schedule_linex-UPDATEFLAG  = 'I'.
         APPEND ls_schedule_linex TO lt_schedule_linex.
       ENDLOOP.
       "call bapi to add items to sales order
       CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
         EXPORTING
           SALESDOCUMENT    = iv_sales_order
           ORDER_HEADER_INX = ls_order_header_inx
         TABLES
           RETURN           = et_msg
           ORDER_ITEM_IN    = lt_order_item_in
           ORDER_ITEM_INX   = lt_order_item_inx
           SCHEDULE_LINES   = lt_schedule_line
           SCHEDULE_LINESX  = lt_schedule_linex.
    IF....
    COMMIT WORK AND WAIT.
    ELSE.
    ENDIF.

    The first thing I would try is to use fm BAPI_TRANSACTION_COMMIT (with parameter WAIT = 'X') instead of COMMIT WORK AND WAIT which is directly put in your code (this is almost the same but not exactly).
    Then make sure that if your code performs two BAPI calls one after the other, they are separated with either a call to fm BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK.
    Then - if the above is applied and still does not help - I would suspect that some invalid / incomplete data is passed to fm BAPI_SALESORDER_CHANGE.
    regards

  • The accounting document has not yet been created Message no. VF062

    hiii
    Iam getting error in VF02.
    Error is The accounting document has not yet been created
    Message no. VF062
    And where i can do it ?

    hi
    Go to VF02
    Open the billing document
    Enviornment -- Acc. determination analysis -- Revenue accounts and see why the accounting document is not generated
    Also, from VFX3 and select the document and release the same by clicking on FLAG and then to know the cause of
    Error
    TO know cause GOTO Tab --- NOTE and u will get the error cause
    let us know the cause then only we can be able to tell exact solution if possible.

  • Deskjet 2542 all in one error: 'the specified module could not be found' when installing to USB

    Installation proceeds OK until the USB cable is connected, when the error message is displayed and installation ceases.
    I have successfully istalled and run the printer on another XP PC of a similar age - ie old.
    I have upgraded the XP OS to SP3 with numerous updates;
    Checked that the USB ports read Data sticks OK;
    run a/v and malware programs, including Microsoft Safety Scanner;
    checked that USB drivers are up to date;
    uninstalled driver software and re-installed with software downloaded from HP;
    carried out the procedures detailed in HP Support Forum 4022116
    Error message the same.  
    This is for my elderly neighbour - help please!
    This question was solved.
    View Solution.

    Hi @bodger50,
    Welcome to the HP Forums! 
    I understand that your HP Deskjet 2542 gives you the error: 'the specified module could not be found' when installing to USB, on Windows XP.
    I would recommend going through the steps in this post, Re: Install Error "The system cannot find the file specified" (hpzprl40.exe). When you get to the printer install wizard section, just use the full feature software and drivers found at this website, HP Deskjet 2540 All-in-One Printer series Full Feature Software and Drivers. As the printer install wizard is only for Windows 7 and up.
    Hope this is helpful, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • I cannot open the pages document created on my ipad when using my Mac.  I've tried downloading the update but it needs Maverick.  I've tried downloading Maverick and it fails.

    I cannot open the pages document created on my ipad when using my Mac.  I've tried downloading the update but it needs Maverick.  I've tried downloading Maverick and it fails.

    What OS version are you running?
    Try the upgrade button here:
    http://www.apple.com/osx/how-to-upgrade/

  • Request is in green, but in the monitor it says "Not yet Completed/warning"

    When I go to the manage screen of ODS I see green in "Request Status". If I go the Monitor and details couple of data packages are still in Yellow color.
    Over all it says Not yet Completed/warnings with yellow indicator..
    What it means?

    In the Monitor screen Under the Details Tab Go to any yellow marked Data Package and see if any message is available there.
    Regards.

  • Error "The WSDL document could not be understood by the rendering engine"

    I am trying to invoke a web service in an APEX page. However for various web services i get the message "The WSDL document could not be understood by the rendering engine".
    For example the web service "http://mrs.cmbi.ru.nl/mrsws/blast/wsdl". This URL returns a wsdl but APEX complains about the URL.
    Does anybody know a public web service to be used for tesing within APEX, based upon a WSDL file?

    I am trying to invoke a web service in an APEX page. However for various web services i get the message "The WSDL document could not be understood by the rendering engine".
    For example the web service "http://mrs.cmbi.ru.nl/mrsws/blast/wsdl". This URL returns a wsdl but APEX complains about the URL.
    Does anybody know a public web service to be used for tesing within APEX, based upon a WSDL file?

  • The accounting document has not yet been created

    Dear All,
    Account document has not created after Billing document creation.
    Unable to clear this billing document with payment.    What could be the reason?
    Expecting valuable guidelines.
    Regards,
    GB

    Hi,
    I hv tried thro' VF02 - Release to Accounting and the following error msg is showing :
    Posting date / period 07.10.2009/007 is earlier than existing date / period 14.10.2009/007.
    What is this existing date / period date.   How do I will check thro' Sale Order.
    Expecting few more guidelines!!
    Regards,
    GB

  • Why am I getting the error the installation package could not be opened when trying to install on Windows 7 64 bit

    I reciece the follwing message when trying to install
    "The Installation package could not be opened. Verify that the package exists, or contact the application vendor to verify that this a valid windows installer package"

    Hey there Frank0619,
    If you have not been able to install iTunes because the Windows Installer service is not available, I would recommend the troubleshooting in the following troubleshooting to help.
    Issues installing iTunes for Windows
    These in particular: 
    Make sure you have an administrator account.
    To install iTunes, you'll need to log in to your computer with an administrator password. If you're not sure if you have an administrator account, read Windows 7: How do I log on as an administrator? You could also refer to your computer's help system, contact your IT department, or visit support.microsoft.com for assistance.
    Install the latest Microsoft Windows updates.
    To download the latest updates, visit the Microsoft Windows Update website. iTunes for Windows requires Windows XP, Windows Vista, Windows 7, or Windows 8 with the latest Service Pack installed. If you can’t install the updates, refer to your computer's help system, contact your IT department, or visit support.microsoft.com for assistance.
    Download the latest version of iTunes.
    The latest version of iTunes can be downloaded at http://www.apple.com/itunes/download/.
    Disable conflicting software.
    Some Windows background processes can cause issues for other programs and processes. These conflicts can prevent applications, such as iTunes, from installing. Disable conflicting processes by starting your computer using MSConfig: 
    Using Msconfig to troubleshoot conflicts in Windows XP
    Using Msconfig to troubleshoot conflicts in Windows Vista, Windows 7, and Windows 8
    Some security software made by other companies can't be disabled using MSConfig. If you've installed security software and you're having issues installing iTunes or QuickTime for Windows, you might need to disable or uninstall security software to resolve installation issues.
    Restart your computer.
    Install iTunes.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Error : EMV115 Meter readings are not yet complete

    Hi,
    Does somebody know the cause(s) for this error message and how can I solve this.
    Thanks in advance
    FedeX

    Hi,
    yes, just do as the long text says: create the missing meter readings - or create the corresponding SM orders. This error usually occurs during move in - when a big check is performed.
    KR
    Uwe

  • Delta changes in R/3 sales document are not coming into CRM

    Hi Middleware experts,
    We are on CRM 5.0 SP 005 with ECC 5.0 SP 007 and using the scenario X for sales documents replication.
    Now the order is created in CRM and successfully transfered to R/3. I can see 3 Bdocs in SMW01 with green lights. First Bdoc says 'R/3 adapter is called', second Bdoc says 'the order is successfully saved' and displays a warning 'The sales document is not yet complete: Edit data' and third Bdoc has no messages. Also I do not see any struck queues in CRM and in R/3
    I am able to edit the sales document in both the systems as per the scenario X. Now I have completed and saved the document in R/3. Surprisingly these changes are not coming into CRM and no new entries in SMW01. Also R/3 SMQ1 and CRM SmQ2 doesn't show any entries. I am also not able to debug, since I do not see any Bdocs in SMW01.
    Now, if I changes the document in CRM and these changes are coming into R/3.
    Also all documents created in R/3 are successfully going into CRM including delta changes in R/3.
    I do not have any clue on what is happening? Highly appreciated, if you can help me.
    Thanks,
    PK

    Hi PK,
    In R3AC1 only we put the filter. So if you do not have any other filter then make sure that you are changing the order which was created not before the date mentioned.
    I would recommend you to just deregister the CRM system in R/3 Transaction SMQS and do some changes in the orders and check any queues are getting created corresponding to that order, If yes that means filter is not an issue. Then debug the queue and find the exact problem. Also make sure that the order you are changing in R/3 is of the same order type what you have mentioned in the filter.
    Make sure to registor back the CRM other wise all the queues will get stuck in R/3 outbound.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.
    Message was edited by: Vikash Krishna

  • HT4859 Can't backup my Iphone to Icloud. Keep getting error message, "The last backup could not be completed".  Any suggestions?

    I keep getting error message, "The last backup could not be completed" when trying to backup Iphone to Icloud.  I have plenty of storage space.  Phone is plugged in, connected to WI-FI & is locked.  Does anyone know what is wrong?  Thanks

    HELP!  Is there anyone out there who knows how I can fix this????
    Thanks!

  • The sales document cannot be blocked

    Hi,
    Our client has deleted some shipment directly from the R/3 system. The Client is using CRM  System for Sales and Marketing. Now whenever we are opening the system in the change mode it is giving error "The sales document cannot be blocked" Error Message v1043.
    This is happening for some material. We have checked the Notes and found some. We came to know that the shipment related to the order has been forcefully deleted from the r/3 system after releasing the shipment.
    Can anybody tell me is there any way to solve the issue without applying notes.
    Thanks
    Subrato Chowdhury

    Dear friend,
    As our friend says check the schedule line first is it confirmed order qty and try delivery before that see if you have any delivery block in order if you don't have any block in sales order, once you get that error double click and see what response you get from performance assistant, see if you could locate the area were u get the problem.
    Regards,
    Arun.

  • The following items have not been completely assigned to shipping group

    I am getting the below error:
    "The following items have not been completely assigned to shipping groups."
    We are using simple checkout with only shipping group applicable for order(HardgoodShippingGroup). It seems during some scenarios, ATG is creating one more shipping group of same type due to which I am getting the above error.
    Any pointers will be helpful

    HI,
    The error is displayed when the withholding tax has been changed in the master record of the vendor or customer. The change has been made after posting the invoice document, then at moment of payment there is a difference between withholding tax information in the invoice and the new withholding tax information changed in the master record.
    In order to prevent the system from the inconsistencies and to avoid the error message, please run report RFWT0010.
    Also, I would like to clarify the functionality of the report RFWT0010. If you have posted a vendor invoice relevant to withholding tax at time of invoice and later you change the master data so this withholding tax type is not longer relevant, this change will not take affect for the already posted invoice, althought you run report RFWT0010. Withholding tax amount at time of invoice is already posted and deducted If you later modify vendor master record and add a new withholding tax
    type relevant at time of payment, you will need to run report RFWT0010 before payment in order to take this withholding tax type into consideration, since it is relevant for payments.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

Maybe you are looking for