Deleted sales Document - Unique issue

Hi Experts,
We have created a contract (VA41)in the system, but failed to save or deleted by somebody. How can I see the document whether it is deleted?
I treid with tables Tables CDHDR, CDPOS
Use Change doc. Obje = VERKBELEG (sales documents)
But no results, can anybody suggest?
Prase

Try this,
GOTO SE16—Enter table name VBUK—Press table contents (F7)—GOTO Settings and Field for selection—select Field name BLOCK and enter
In BLOCK enter ‘A’ i.e. Document has been selected for archiving and execute.
Sthen

Similar Messages

  • How to eliminate deleted sales document?

    Hello experts,
    I have a report based on 2LIS_11_VASCL and 2LIS_11_V_SCL. The problem I have is there was a sales document in R3 which was deleted (0doc_number) this deleted sales document is also shown in the report. How do I avoid this?
    Thanks in advance
    Fazal

    Hi,Fazal:
        You can use field ROCANCEL to eliminate the delete document.
    Best Regards
    Martin Xie

  • Deleted sales documents

    hi,
    I want to get report based on the deleted sales order documents. I know CDPOS/CDHDR stored all the deleted documents. how can i get all those deleted documents in BW side with old values. is it possible? and give me a suitable information. guide me....
    Thanks,

    Hello,
    You can get cancellation indicator from the VBAP and VBAKas well as I guess.Did you looked into these tables??
    CDHDR and CDPOS dopes keep trace of all the changes but then you will have to keep the track for change numbers and from the CDPOS you will have to track the field which is getting changed.
    I am not sure how will you related change numbers to sales document because these tables do not contain sales doc and you need an object type to as a key for these tables to trace the changes related to sales doc to a particular attribute in document.
    Also these are very very huge so you need all the keys of the tables to make a selection and for a good performance.
    Thanks
    Ajeet

  • Sales document not able to save with rection reasons after delete the reference order

    Hi Experts,
    Good day!!
    My user wrongly created a sales order with sales document type as ZOR instead of ZORS.
    Then with reference to ZOR sales order, user created another sales order with sales document type as ZORS.
    Once he created sales order(ZORS)  with document type ZOR, he has deleted ZOR sales order.
    But after deletion of ZOR sales order user has to make those sales order line items as reasons for rejection but system not allowed to change.
                          Request you to please help how to over come this issue.
    Test case on above scenario:
    Same above scenario am trying to do but system not allowing to delete the sales order and the information message shows as "
    Item 000010 cannot be deleted (CRM does not allow deletion) Message no. V2251" Plz help this one also.
    Regards,
    Sree

    Hi,
    I've tried to simulate the scenario you were in in standard SAP system, but failed to have it reproduced, and therefore, I suppose this issue could be something relevant to the specific environment you have
    my exercise:
    create a sales order with type OR, and then create another one with OR with reference to the first one, and then have the first one deleted, check in document flow from the second order and make sure the first one is marked 'archived', and then set rejection code for the line item in the second order - I was able to save it => at last, I've got two orders, the first one archived, while the second one completed

  • Deleted Sales Orders Issue

    Hi,
    I have a typical issue with Sales Order deletion in R/3
    In R/3,the Sales Orders have been physically deleted due to which the sales orders are not available in the tables.
    In R/3 reports those Sales Orders are not reflected. But in BI, since they have already been loaded, they are showing in the results since the SOs at that time were loaded to BI. Once documents are deleted in R/3  those changes are not reflected  in to BI. This discrepency is not acceptable by the customer. Plz help in how to resolve the issue.
    Many Thanks
    Uday

    Hi Uday,
    It seems the same issue has been discussed sometimes back ,but no solutions were given.
    Deleted sales order items and delta direct
    As I said earlier,extractor will not capture those deleted items. Even enhancement may also not work for this case. Anyway,please check with OSS whether any solutions available for this problem .I convinced my users to go for the cancellation (not mark for deletion) of the items. 
    Below link will give you the info about why it is not a good practise to delete the item .
    deleted sales order
    All the best.
    Thanks.

  • Issue With Sales Document Type in BW.

    Dear Experts,
    I am facing an Issue with Sales Document Type(Object name is 0DOC_TYPE).
    when i am loading data from R/3 to BW It is converting Sales Document type as follow
    Sales Document Type in R/3                         Sales Document Type in BW
    OR                                                                        TA
    CR                                                                        G2
    DR                                                                        L2
    I check with an ABAPer and he told that there is conversion exit for this Object so that's why it is converting when sending to BW. But the user wants to see in Report same as it is in R/3 like OR, CR DR ... etc.
    I have done some investigation and found that the conversion exit (CONVERSION_EXIT_AUART_INPUT and CONVERSION_EXIT_AUART_OUTPUT) are converting the values based in the table TAUUM
    The staructure of TAUUM is
    MANDT(Client)  SPRAS(Language) AUART(Sales document type (not converted)   AUART_SPR(Language key for sales document type)
    and values are
    100 E TA OR
    100 E G2 CR
    etc....
    The same Conversion exits(CONVERSION_EXIT_AUART_INPUT and CONVERSION_EXIT_AUART_OUTPUT) and table TAUUM are available in BW as well. So i thought I can Use InfoObject 0DOC_TYPE by changing it's conversion Routine as AUART(which runs based on the above mentioned conversion exits).
    but the the problem is table TAUUM(Pool Table) does't have any data in BW.
    So can anyone tell me is there any option to load data into table TAUUM from R/3 or any other option to solve this issue.
    Your ideas will really help's me.
    Thanks in advance,
    Dara.

    Hi Venkat,
    Thanks a lot for your immediate response.
    The InfoObject 0DOC_TYPE was without conversion exit by default. but when data coming from R/3 it is converting and sending to BW So that's why i am planning to use conversion exit "AUART" in the info Object.
    I checked data in R/3 using RSA3 it is showing sales document type as "OR" and for the same transaction data when i checked in PSA it is showing as "TA".
    Could you please let me know if there any other options.
    Thanks in advance,
    Dara.

  • Issue with saving sales document.

    Hi,
         I have an issue with saving the sales document.
    When I save any sales document ( Order, Quotation, Contract, Delivery) its successful and showing document no in the information bar.
    But when I try to view or change the document, it shows no document exist in the database. Its not even in the archive.
    Any solution for this issue.
    Cheers
    Senthil

    Dear Senthil,
           This is related to technical issue (Database Updating) so you please take help from BASIS or ABAP people they will help you to fix this issue.
    I hope it will help you
    Regards,
    Murali.

  • To view the reference sales document of a deleted delivery

    Is there a table in SAP where I can see the reference sales document of a deleted delivery?
    Or is there a way that I can see the reference sales document of a deleted delivery.

    I dont think it is possible to track sale order reference for a deleted delivery through standard tcode.  Of course, you can see the deleted delivery details in MB51.
    thanks
    G. Lakshmipathi

  • Sales document is deleted still billing plans are in billing due list

    Hello,
    Sales document is deleted which have billing plans, But still billing plans are showing in billing due list for billing. Please let me know how to delete the entries in billing due list.
    Thanks and Regards
    Vikram.M

    Run program  RVV05IVB in SA38 to correct the billing index. Before running the program read OSS Note 128947 - Correction of SD document indexes with RVV05IVB on the checks to be done before running the program.
    Regards,

  • 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

  • Deleted sales order remains in document flow

    Hello!
    The problem:
    We had sales order with reference to a contract. We deleted the sales order (it doesn't appear in VBAK anymore), but, the sales order still appears in VBFA (if we see the document flow for the contract, the sales order still appears there as archived!!!)
    I deleted  the sales order in a regular way via VA02.
    I heared that there is a function module or another solution to fix the document flow.
    I also saw a solution for this kind of problem for delivery (SAP note 74513).
    Please assist,
    Thanks

    Hi!
    Thanks to Jelena!!!
    As she wrote that in these cases OSS can solve the problem and it happens a lot, we opened an OSS and got an answer:
    OSS answer:
    when you delete an order the corresponding entry in VBFA is not
    deleted. The system is not able to differ between archived and deleted
    orders, so to ensure that the document flow is also showing archived
    documents the entries in VBFA remain. This is also described in
    attached note 390905. When you are sure which entries in VBFA can be
    deleted you can use report SDVBFA00 to delete the entries.
    What we need to do:
    go to SE38 and run report SDVBFA00.
    Sales document is a contract number (preceeding document)
    "Delete" - put X or leave empty.
    The logic is:
    You put the preceeding document and leave the field "Delete" empty.
    The program finds by himself all the sales orders (following documents) that are connected to this contract and are deleted.
    You check that the system suggests to delete the correct sales orders
    Run this report again, but this time put X in "Delete" field and the sales orders will be deleted.
    Apparently there are several reports exist to solve VBFA problems SDVBFA00,SDVBFA01 etc.
    Thanks!

  • Sales document flow(vbfa) entries are deleted

    Hi Guys,
            I am facing a problem with VBFA table. Actually for some delivery i am able to get Sales order number from VBFA table but for some delivery there is no records exists in VBFA table. So just want to know is there any program or Funtion module which delete entries from VBFA table if not then is there any functional configuration which not allowed to enter data in VBFA table. In my system i searched for all the programs and function module  but no luck.
    I can saw the Sales document flow in VL03N but no entries in VBFA table.
    thanks,
    Baidya

    Hi  Guys,
          Thanks for the replies.
    But this is true for some delivery there is no entries in VBFA table but entries are exist in LIKP and LIPS. We are using userexit in sales order program for creating delivery. The Function module  which creates delivery inside the USER-EXIT is : BAPI_OUTB_DELIVERY_CREATE_SLS.
    If anyone face this type of problem please reply..
    Thanks,
    Baidya

  • Cross currency issue in Sales Document

    Hi,
    We have two company code whose local currency are INR for company one and USD for company two.At present we maintain USD to INR and INR to USD.But we want to maintain only USD to INR.And system should automatically determine the INR to USD rate in the sales document.
    How should i go about it?
    Regards,
    SATYA

    Hi,
    Ya,we maintain it that way only.
    But its not happening.Whenever i make a sales order for a company code whose local currency is USD and if i make a order in INR then system is throwing an error message saying"Exchange rate from INR to USD not maintained for a a date".
    Is there any other configuration need to be done ?
    Thanx for your reply
    Regards,
    SATYA

  • Issues in creating Sales Document Type

    I am creating a new Sales Document Type, but the problem is this that the "Probability"  &
    "Incompl. Proced"  fields are disabled and I am unable to enter record in this field , please help me out that how can I enter values in these fields.

    Hi shadab ali
    You will be configuring  the Incompletion procedure in SPRO->basic functions->Incompletion log procedure.
    There to your sales document type an incompletion log will be assigned and that incompletion log will be getting grayed out. So if you want to change you need to change in in Incompletion log procedure. And the probability will be getting grayed out as it is determined by the Sales document  category .That is the reason if you see for document type IN the probability will be different and if you see for document type QT probability will be different but if you see for document type OR the probability will be 100%.Generally it gets copied from the CMR also.
    Regards
    Srinath

  • Sales document 400136021 is currently being processed (by user MNAUSHAD (C2

    Hi Friends,
       Iam using Mobile Sales and iam getting an error when iam opening the sale order created in laptops
       Scenario : Sale order created in laptop got replicated in CRM and R/3 and delivery got created in
                       R/3.
                       The replicated sales document is not seen in the Document flow in CRM enterprise
                        I could not find any queue's in SMQ2 or in SMQ1 both in R/3 or in CRM.
                        when i open the same sale order in VA02 iam getting the error.        
       Sales document 400136021 is currently being processed (by user MNAUSHAD (C2)
       Let me know if any of you has faced the same issue,
       Regards,
       Satish Kumar

    Hi Wolfard,
    Please find my answers,
    1. Does this error also occur when creating a similar sales document in CRM directly (i.e. it is rather a   CRM related issue than mobile related)? -  No from CRM enterprise to R/3 i dont find an error-  It is more of a Sync issue between Mobile> CRM> R/3.
    b) Do you know a user or batch name in CRM resp R/3 with that name mentioned by you?
        I know the user name - but this user name is not at all related.
    c) Please be aware that those queues smq1/2 are dynamical i.e. after processing the data the entries were deleted again; only in case of a sys fail the queues would be stopped; in the particular case of waiting for processing in R/3 there would be a queue status "WAITUPDA"
    I accept the queues are dynamic and it will deleted after it is processed,, The issue is that i dont find any queue in SMQ1 in R/3 and also in SLG1 on that particular date i could find the Log number with the error
    With the help of Log error i can find out the sale order.
    Trust it is ok
    satish

Maybe you are looking for

  • Can't connect to Home Network and Printer

    hi, I just bought my first mac, its a macbook with leopard, and am having quite a bit of trouble connecting it to our home network. I'm not much of a computer whiz, so i have no idea what to do. Our network doesn't have any security, but does need a

  • Why do you need a usb bootable drive to do a clean install of Mavericks (or any other OSX)?

    I have had a few minor bugs with Mavericks, and I finally got an external hard drive, so I decided to do a clean install of Mavericks. Every single tutorial I've found online has suggested making a usb-bootable drive to reinstall the os with.  Howeve

  • How to create a transport for sapscript translations

    Hello, does someone knows how to create a transport for sapscript translations which can then be released to the other system via SE10? In 4.6C when I changed a translation for a sapscript form it created automatically a transport. Now in 6.0 it wont

  • UVision Build Tools Error

    I consistently receive the following error message when trying to compile LVE: "Failed to Script uVision Build Tools" Once I receive the error, I will get it every time until I quit LV and restart. Bill F

  • Several chain steps loaing the same table

    I have several files coming from different places that my chain will use to update a table. I have set up a file arrival event for each file, so that when it arrives it is loaded into the same table. The problem is i don't know when each file will be