I have deleted a sales order,how to retreve the same document number

Hai,
    I have deleted the sales order,so that document number is out.When i craete the next order will i get the same number which i have already deleted.
I want the same number again,for that what should i do...
I dont want that number be missed,the reason is there should be a flow in number,with out missing some numbers in between.
Thx
Venu
Edited by: venugopal on Aug 6, 2008 9:12 AM

Dear Venu
Yes this is possible but should not hand over the responsibility to end users.
B4 implementing this in production, please test a document and proceed.
Go to VOV8, select your order type and execute.  There see what numeric value is maintained against the field "No.range int.assgt".  Now go to VN01, [click on Status]  tab and go to that number.  On your right, you can see the last generated sale order number with editable option.  You can change it.
For example, if your last created sale order reference is 805, you will see this 805 in the above area.  Change it to 804 and save.  Now if you create a new order, the reference of that particular sale order will again be 805.
But as I already mentioned, each and every time, you need to go and change this area which is not recommended. 
thanks
G. Lakshmipathi

Similar Messages

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • How to get the Material-Document-Number wie the delivery-Number+Position???

    Hi,
    we want to connect mseg and likp+lips.
    But therefore we need the Material-Document-number concerning this
    delivery and in likp+lips isn't a Material-Document-Number!
    Could anybody help me to connect likp+lips with mseg!

    ok, NICE!!! But how should I get with these information a unique Material-Document-Number for a delivery+deliveryposition?

  • Where Can I settle an enhancement to delete a sales order item according to the data in BDOC from CRM?

    Hi expert,
    I have an urgent requirement from the client.
    Delete the sales order item totally in ECC.
    I planned to implement this enhancement in ECC. Check the data in BDOC from CRM middleware, according to the user status in the order item,decide whether the item can be deleted.
    My question is,where can I settle this enhancement? The BADI name,user exit?
    Thanks in advance.
    Jerry.

    Hi Jerry,
    It may be delayed. you may found the solution.
    Use BADI CRM_DATAEXCHG_BADI and try the code in MBDOC_FILL or BAPI_FILL method.
    Regards,
    Bala

  • How to club many sales orders in to one single invoice document number

    Dear Team,
    We are in to contract for 12 years with our client for a particular service,so we will raise a contract order for a particular item,with this we generate the order number,here we are generating some 150 orders numbers,this 150 order number I want to combine in to one single invoice document number,I have tried this in vf01 I am giving the all 150 document numbers,and excuting this but here for each sales order document number it is creating one billing document number,but I need one single invoice number for all this order numbers.
    My copy controls are
    In VTFA
    Header data
    Sales doc type-                                 zabc
    Target billing tye-                            zmv
    Copy requirement-                           001 header/order related
    Determination export data-               blank
    Assignment number-                         b
    Reference number-                            b
    Copy item number-                            tick box was selected
    Item category
    Copy requirements-                        Item/order related
    Data vbrk/vbrp-                              003  single invoice
    Billing quantity                               A
    Pos/neg                                            +
    Pricing type                                      c
    Pricing type exchange rate              blank
    Price source                                     blank
    Can any one guide what to do

    Hi
    In VTFA, please do the following changes,and then test by creating the sales orders then do collective billing.
    Keep Assignment number blank
    Keep Reference number blank
    Copy item number- Uncheck the box where tick box was selected
    Also make sure that PO Number in sales order is same
    Regards
    Srinath

  • Need to run sales order planning manually in the same day.

    Hi guys,
    My PP/DS planning horizon has deifned for 24 hours time period. If sales order comes today, it will be planned tomorrow. If I need to run planning manually of particular sales order same day, when it comes. How should I do?
    If the answer is to run product heuristic, Can anyone tell me how product heuristic should be run (the right steps)?
    Thanks
    Shaan

    Hi,
    You just open product view in transaction  /SAPAPO/RRP3. in edit mode, press "product heuristic" button.
    Claire

  • How to create multiple Purchase Order  using the same document number?

    HI Friends,
    I m in a product which extracts data from SAP and stored in Access database.
    For that,while i extracting Purchase Order from the Demo Database (SBODemo_US)for OEC Computers,the same DocNum is used for several Purchase Order using Index Line numbers.
    eg:
    DocNum for Purchase Order1 -->3000   0 (Index)
      DocNum for Purchase Order2 -->3000   1 (Index)
        But i can't create multiple Purchase Order using same DocNum manually in SAP B1,Could anybody please help me <b>to create a Purchase Order using same DocumentNumber?</b>
    Thanks in Advance
    SooriyaKala.P

    Hi,
    The problem statement is not quite clear to me.
    As far as I understand your statement, I think you want to club multiple orders into one purchase order using the index incrementally.
    For this I think once you have created the first purchase order, open the purchase order in edit mode the second time and append the new line items.
    If I am getting you wrong please explain the problem statement in more detail.
    Regards,
    Rara.

  • How to see the DMS document number in PO / PR?

    Dear experts,
    I am using DMS. I have created a document in DMS and I have linked it to the PR & PO line items. Till it is fine.
    But I am not able to find out this document in PR / PO. Can some one help me how can I find the document number in PR / PO??
    Thanks in advance.
    Regards,
    Praveen

    In the ME23N screen , there is icon which likes a pin on paper between the Item over screen and the Item screen . If you click this icon , a new window with all the DMS documents linked to the PO would appear.
    This is in the same line of the delete , lock , copy etc ..sequence .
    -Hari.

  • How to get the final document number?

    Hi,
    How do I retrieve the document number of a document (e.g. delivery note) that is just added?
    Currently, I use the following event listener:
    [B1Listener(BoEventTypes.et_FORM_DATA_ADD, false)]
    in which I retrieve the document number by reading out the text field on the form:
    EditText text = (EditText)form.Items.Item("8").Specific;
    string deliveryNoteNumber = text.Value;
    This works perfect if only one person is adding documents.  But if two persons are posting a document, they both see the same (temporary) document number in the form while entering the data.  The latest person who finalizes his document, will get another number than the one that was displayed in the form (because the first person already used that number).  So, how can I retrieve the number of a document that is just finalized?
    Thank you very much for your help.
    Regards,
    Pieter Verhaeghe

    You can use the "ObjectKey" property of the BusinessObjectInfo object returned by the form_data_add.
    Catcth the event with BeforeAction = false - after the add event has successfully happened. Then you will see the ObjectKey property of the BusinessObjectInfo object will have an XML string in it. Inside that XML you can find the DocEntry of the newly added document, you will just need to parse it properly!

  • How to get the change document Number.

    Hi,
    We have a scenario where the any customer master changes need to be send to the agent. I thought of using CDHDR,CDPOS.I've checked the FMS CHANGEDOCUMENT_READ and position header FMS too.even for these we need to provide the object class.
    But for them we need to have the document number and object class. They can be changed from any transactions. We have many Z transactions through which he can change the customer master data too,but finally master tables only get updated. Is there any FM to find the document numbers.
    Thanks,
    Bharathi.

    Hi Bharti,
    In such situation, you can create the event based on the CDHDR table entries. In fact, based on the object ID and object class, the recent change document can be picked up. If standard change object does not work, a Z change document can be created. This practice can help in picking the change in selected fields as the master tables can be updated in many fields which are not relevant for the requirement.
    Do let me know in case you need more help on it.
    Thanks,
    Jyoti

  • Has anyone else lost pages when they have downloaded a book? I recently downloaded a book that was meant to have 300 pages, it only downloaded 290, I have deleted and re-installed it, but still the same number of pages?? Help!!

    The pages are also jumbled up when I get to near the end of the book, very frustrating!!

    Use the Report a Problem link on your receipt.

  • Deletion of sales orders

    hi all
    how can i delete the list of sales order from a particular date to particular date.
    regards
    venkat.

    Hi Tarun
    you can delete sales orders only if there are no subsequent documents.
    if accounting documents are generated for a sales order then
    after reversing the accounting documents with the help of FI guys then
    cancel the invoice by VF11
    reverse PGI thru VL09 and making the picking qty '0' in the delivery doc
    delete the delivery using VL02N
    then delete the sales order by VA02.
    Hope this will help you.
    Rewards point if helpful
    Regards
    Hansraj meena

  • Create Sales order with reference to a Billing Document - Net price issue

    Hi Everyone,
        The Billing Document has one line item with Net value of 16,000. However, when I create the Sales Order with reference to the Billing Document, the net price shows 64,000.  When I check the Document flow of the Billing Document, there were two Contracts on top of my Billing Document. One is a contract with the overall status of "Being Processed" and this is where I checked the net value is 64,000. The next contract invoice is already completed (net value is 16,000).
        Has anyone encounter such case? How would I be able to create the sales order with reference to the Billing document and have the net value of what is in the Billing Document (16,000). Which part of the configuration is setting this up. Thanks!

    Hi,
    This is a very rare case, if you are sure of the scenario, would suggest you two alternatives:
    1) whenever you go against the flow of SAP, you have customize it, so its better you discuss this matter with your ABAP person.
    2) never tried it out but you can:
    you cannot see that in Billing Document that which is the sales document assigned to it, but to estblish that relationship,
    we do copy control setting from Billing Document to Sales Order type (T.Code:VTFA).
    Menupath: SPRO >> IMG >> Sales & Distribution >. sales >> Billing Document >> Copy Control >> Copy Control from Billing Document to Sales Order Type.
    Hope this will help you.
    Regards,
    Siddharth.

  • Credit Managment: Sales Order last in update the Credit Limit

    Hello,
    I have a problem. When creating sales order with a few seconds of difference (from 1 to 5), the first sales order (that consumes all the credit limit) doesn´t reach to update the credit limit and for that reason the system permits to create the second one.
    I have an other case of two sales orders created in exactly the same time, so the system permited to create both of them.
    Do you think there is some solution for those cases?
    Thank you.
    Regards
    Jimena.-

    Hi Praveen,
    We use this functionality in that case for example you have two customer A and B.
    You want to maintain the credit limit 2000$ for both the customers.
    So we use this functionality, we assign the customer as credit account in another credit account.
    Now doesn't matter customer A buy the goods from you or customer B.
    System consider only 2000$ not 4000$.
    Hope it helps,
    Regards,
    MT

  • How can I use two different page orientations in the same document?

    I am trying to have both portrait and landscape page orientations in the same document.  Pages doesn't seem to like this.  Is there a way?

    I tried to comment on another thread about this same issue, but the thread was closed.
    In the other thread; however, some asked why rotating one pages was necessary, and if they knew then maybe there would be reason to create the function.
    Well, I don't know about why anyone else needs it, but for me it's for the papers I have to write for my masters program. The professors like to have the rubric attached to the bottome of the document so they easily grade and keep things organized. They of course give directions on how to easily change the orientation of the last page in Word, but not all of use Word, or even want to use Word. Maybe I need to ditch Pages and go to Word? I'd really hate to do that!
    So, come on Apple, let's get this feature added, stat!

Maybe you are looking for

  • Is it possible to add/change a ViewContainerUIElement during runtime?

    Hi all, i want to add/change the content of a ViewContainerUIElement (VCUI) during runtime, but it doesn't work as expected (or hoped;). What i got working so far for an <b>already exising</b> VCUI is: 1. Find the IWDViewContainerInfo for the VCUI 2.

  • Can I get an FFT from this?

    I am doing DAQ uaing AI S-scan.vi and wanted to know if I can take the output from it and make a power specturm. I know I can do it using AI Continuous input.vi, but the input from that is buffered so it comes out in chunks and so S-scan is preferabl

  • Having trouble with Time Machine

    I recently had to reinstall my system software. Now I am trying to restore things like my iPhoto Library, Address Book, Safari Bookmarks and settings etc But my Time Machine Back up won't seem to let me go any further back than yesterday ! What have

  • RRI - Jump query

    Hi SDN, Both queries work indepedently but refuse to work through RRI/Jump. The receiver query returns 'No applicable data found' while there is data on both sides at the most granular level. What values/parameters are passed from the sender query an

  • Turning off server side stack trace in error message for weblogic81

    Hi, I am seeing server side stack trace in getMessage() method which is being stuffed by application server. I am using weblogic 81. Could you please let me know how to turn off that in getMessage() to return my only original message? Thanks Praveen