Save as draft - Document Number

hi experts,
Can we reserve a document number for draft document?
I added a Purchase Order (draft) and then i created another PO but for this PO i want its number to auto-start with 2.
Document No 1 is reserved for Draft PO.
Is that possible?
I do not want to use Manual Numbering.
Thank you.
Regards,
Lim

Hi
Its not possible.if u have post one more doc. then system will increment the no. from the last post doc. no. only..
for ex: last doc no is 100.
u r saving a doc. as draft it no. will be 101.
then when u r posting one more doc. the no will be 101 only ...
now if u posted the draft doc. then no will be 102..
Giri

Similar Messages

  • Duplicate Document number in Document Draft while sending for Approval

    Hello Experts,
    In Purchase order when we create document and send for approval ... if in a single day we create 25-30 Purchase orders, system assign same number lets say: 120011 to all the 30 documents created in a single day.
    is there a way we can give unique number to all the PO drafts being created and sending for approval ... ?
    Help Required
    Regards,

    Hi Shazad,
    The document number that you refer to works as follows. If you go into Purchase Orders, it will say that the next purchase order number (OPCH.DocNum) will be for example 345. When you're done capturing the information and go to File > Save as draft, the same screen appears again and you can add another draft.
    Seeing that the first draft didn't actually create a purchase order, but only a draft, the next available number is allocated. The next available purchase order number is still 345.Only you add a actual purchase order will the number be changed again.
    Internally in the SAP database, the DocEntry field of the draft contains the actual draft internal number. You can view this number if you open the drafts. Draft No is unique, but document number isn't and doesn't matter until the actual document is added.
    Hope it helps,
    Adele

  • TextEdit won't save draft documents

    Just like the title says; I have a number of draft documents I have started in TextEdit and when I try to save the File menu highlights but it just times out with no save. I also can't  close the window without saving; it does the same thing. I tried deleting preference files and restarting but that didn't help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including your login items.
    Test. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

  • Save as Draft causing duplication of document

    Dear All,
    We are facing an issue where user updating the draft document and save it as a draft again will causing duplication of the document.  This problem occurs for most of the draft document (not every document).  So i would like to know if this is system problem or other issue.
    If you ever facing the same problem, please advise.
    PS: We are using SBO 2007B PL20.
    Thanks and Regards,
    Lailus Shobah

    HI
          This is not an Issue ,Its a functionality of SAP B1, a Draft can be created and Multiple document can be added through the Draft....If the Draft is getting Duplicated it will trigger you a Message Box as "Draft Already Added,Do u want to add it again"....
    You can restrict by seeing the message............you can delete the draft after the document is added form draft....this will also
    restrict duplication............. 
    Regards
    Naresh KS
    Edited by: Naresh K S on Jan 17, 2012 6:44 AM

  • Save document number ?

    Hi,
    when I do a tag commision I see
    the EPC with assigned document number
    later on when I move it the document is gone
    is there any way to avoid it?
    or is there any way to put material number
    during the Movement transaction?
    Regards,
    michal

    Hi
    Its not possible.if u have post one more doc. then system will increment the no. from the last post doc. no. only..
    for ex: last doc no is 100.
    u r saving a doc. as draft it no. will be 101.
    then when u r posting one more doc. the no will be 101 only ...
    now if u posted the draft doc. then no will be 102..
    Giri

  • Before save FI document , how to know FI document number(external number)

    Hello everyone.
    I need some help.
    I face problem regarding system not update document number in u201C XREF3u201D field when post LIV invoice (Tr. Code MIRO).
    SAP introduce note 618918 and note advice to use FI substitution and User exit by use function u201CNUMBER_GET_INFOu201D to get FI document
    But our system designed material document same as FI document for LIV invoice that we set FI document to be external number. Once the user exit is executed, it cannot find FI document number, the value that user exit can get that it is u201C0000000000u201D.
    how do i know FI document number before real posting ?
    or Is there any function can get MM document number or
    is there any function help ?
    please advice.

    Hi!
    I would suggest to put a breakpoint in FM NUMBER_GET_NEXT.
    There you can debug and see the parameters that this FM is receiving.
    Hope it helps.
    Esteban

  • How to Reserve Document Number for A/R Reserve Invoice

    Hi All.
    Can I reserve the document number for A/R res Inv?
    I still got 2 reserve invoices pending for the closing of Feb but I can't get the confirm information for the invoices and yet I want to create the new invoices for March. Does there any ways to reserve the numbering and yet I can continue to issue new invoices without using the 2 reserved numbers?
    Thanks.
    Best Regards,
    Xavier

    Hi Xavier,
    thanks for giving me input.
    that is the case with draft.
    Because, we have A/R invoices on approval and they go in draft mode automatically on approval.
    If not on appproval the next number from the series is picked automatically.
    In your case save all your reserve invoices always in draft mode and convert it in valid documents then there won't be a question of reserving the number.
    Otherwise , as experts said it already go for manual numbering series.
    thanking you
    Malhaar

  • Link between Material Document number & Accounting document number

    Hi All,
    For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
    Where is the link between the two(Material Document & Accounting Document) ?
    In other words i want to list those material documents only, for which accounting documents are generated.
    Regards
    Piyush Kothari

    STEP 1
    SAP query way to extract your information.
    Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
    Step 2
    From Extras
    Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
    You may use this code below and paste also (this needs authorization as well)
    data: zzawkey like bkpf-awkey.
    clear: zawkey, zzawkey.
    concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
    zawkey = zzawkey.
    Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
    data: zaccdocno like bkpf-belnr..
    clear: zaccdocno, accdocno.
    select belnr from bkpf into zaccdocno where
      bukrs = ccode and
      GJAHR = MKPF-MJAHR and
      awkey = zawkey.
    endselect.
    accdocno = zaccdocno.
    Step 3
    Include the additional fields  into the field group.
    Step 4
    Click on the selection tab and create a parameter called ccode with a description Company Code and  against
    LIKE    BKPF-BUKRS 
    Extras  OBLIGATORY 
    Step 5
    Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
    Extras  OBLIGATORY 
    Step 6
    Save, Generate and assign the infoset to a user group.
    Step 6
    Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
    The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank.

  • MX Electronic accounting - Set multiple UUID for single MIRO Document number

    Greetings everyone
    In my company already implemented the neccesary changes required by the new laws in MX Electronic Accounting inside the MIRO transaction (note 2093189), as well as the related notes requested for electronic accounting. Everything's working fine so far since right now we save the UUID field from CFDI XML file into an Invoice Document number. But now in my company request to save multiple CFDI invoices into a single Invoice document number. My approach seems to be simple because we only need to generate a new window to save the multiple UUID numbers and link the Invoice Document Number (BELNR), company code and fiscal period/year and UUID document into a Z custom table. But I have some questions that I'm not sure how will affect:
    How does affect the montly policies report that we need to send to the government (SAT).
    How do we need to handle the policies XML file in this type of scenarios
    Any of you have the same scenario?
    how do you handle this kind of scenarios?
    So far I read the following notes but I can't find a clue so far for this kind of scenario (Am I missing something?)
    (MX) Contabilidad Electrónica - RME 2014 Anexo 24
    Notes:
    http://service.sap.com/sap/support/notes/2041490
    http://service.sap.com/sap/support/notes/2093189
    http://service.sap.com/sap/support/notes/2042663
    Thanks in advance and best regards
    Lorenzo Martín Olmos

    Hi Shekhar
    Thanks a lot for you comments and I apologize for the late reply. As you point this is the most common scenario. In my case when the creditor is the Mexican Social Security Institute (IMSS), and after the payment, either IMSS and INFONAVIT (the governments institute for workers housing) generates different CFDI invoices.
    How do you currently handle this scenario?
    Thanks for your comments. Warm regards
    Lorenzo Martín Olmos

  • How to freeze the column edit in Draft document?

    Hi,
    I try the following code and want to freeze the column edit in Item code, Item description and quantity.  However, it just work in Sales Order or PUrchase Order those normal marketing document.  it doesn't work in Draft document.  Anyone can help?
      If BusinessObjectInfo.FormTypeEx = "133" And BusinessObjectInfo.Type = 112 And BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD Then
                    If BusinessObjectInfo.BeforeAction = True Then
                        oForm = SBO_Application.Forms.Item(BusinessObjectInfo.FormUID)
                        oboDS = oForm.DataSources.DBDataSources.Item("ODRF")
                        oGenvalue = oboDS.GetValue("U_InvoiceFlag", 0)
                        Dim oOrderMat As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific  'Content Row'
                        Dim oColumns As SAPbouiCOM.Columns = oOrderMat.Columns
                        Dim oItemColumn As SAPbouiCOM.Column = oColumns.Item("1")       'Item No
                        Dim oItemColumn3 As SAPbouiCOM.Column = oColumns.Item("3")
                        Dim oItemColumn11 As SAPbouiCOM.Column = oColumns.Item("11")
                        If oGenvalue.Trim = "Y" Then
                            'Set Itemcode and Quantity to non-editable
                            oItemColumn3.Editable = False
                            oItemColumn.Editable = False
                            oItemColumn11.Editable = False
                        Else
                            oItemColumn3.Editable = True
                            oItemColumn.Editable = True
                            oItemColumn11.Editable = True
                        End If
                    End If
                End If

    Hi Anna,
    Thanks for posting your code - that helps a lot isolating the issue!
    While your code could work, if the SDK would have been implemented differently, it won't do what you want it to:
    - There is no et_FORM_DATA_LOAD event fired when a draft is loaded (use EventLogger from the B1DE tools - it would have told you that you are looking at an event that doesn't get fired...).
    - Not sure how "BusinessObjectInfo" is defined, but oForm.BusinessObject.Type = "112" does not occurr:
    The business object behind the form is the "real" business object - an Invoice ("13") in your case.
    Thus your code never reaches the lines where you disable the relevant columns... - you could e.g. use .NET Profiler form B1TE to get at least a better idea of what is happening inside the add-on, if you don't like to step through you add-on code.
    - oForm.BusinessObject.Type is a string (remember UDOs!) - not a number.
    - Table "ODRF" is not a datasource behind form "133" - please check the form's XML!
    If you would like to run that check you have to do it differently - using DI API...
    HTH,
    Frank
    Edited by: Frank Moebius on Aug 3, 2009 4:28 PM

  • Resetting of FI document number during the same year

    Hi,
    Our permit for a computerized books of accounts using SAP has been issued by our Tax agency effective March 01, 2009.  Relative to this, we need to reset FI document number effective March 01, 2009.
    Our problem is we already used up document number from January 01, 2009-up to present.  Is resetting possible for the same year?
    Thanks for the help.

    Hi,
    SAP is not suggested these kind of activities, since it causes a inconsistancy in the database.
    A document in the database will identified with a unique document number, company code, and fiscal year. This is the basic logic.
    Eventhough there is a way to sort out this issue.
    For Ex: We will discuss about document number range interval 02, which is assigned to document type SA.(I think your fiscal year starts from 01.01.2009)
    in FBN1 transcation code, you will find the below intervals for the above said object.
    Obj    Year        From No.                 To number        Current Number  
    01     2007        1000000000     to     1999999999       1000007890
    01     2008        1000000000     to     1999999999       1000005463
    01     2009        1000000000     to     1999999999       1000004821
    Here you have to change the current number for the all the above intervals to 0, and then delete all the above intervals.
    Change current number---menu->interval->change numbermake 0 for the 02 object and save it and come back--again go to fbn1 and delete the objects
    Again create a number range interval for the same object with different series, as shown below
    Click on Add interval, and enter the following
    01     2009      7000000000      to      7999999999           (Any Different Series of numbers)
    save it and try to post the documents with document type SA.
    Prerequisites for the above solution:
    1) You need to complete all the transactions pertaining till the end of FEB with the old number series.
    2) Close the posting Periods for the company code upto FEB
    3) For all the number range objects use a new number series, which should not been used before for any other number range object.
    I think this will helps you a lot.
    Thanks,
    Srinu

  • Change document name on HP 6700 using Win 8.1 so that I can save with my documents on hard drive

    change document name on HP 6700 using Win 8.1 so that I can save with my documents on hard drive.
    Am new to this, so help an old man.
    I scan a document, and it comes out as  time and date, and number, but how can i give it a name, so that I can file with other documents, not just the scans.
    Thanks

    Hi,
    You need to install the HP printer software.  The installation process will place a printer icon under the Windows 8.1 Apps menu. Click on the icon and you should be able to see the Advanced setting link.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • How to populate the sales document number in FD10N or FBL5N report

    Hi Gurus,
    In the reports FBL5N and FD10N i am able to see the Billing document field(VBELN) populated with the number but The sales document number (AUBEL) is not populated with the number.
    How to get this number updated to the FBL5N or FD10N report.
    Thanks in advance.

    Hai
    Goto Settings Special Fields and add the required fields and save and come back and exceute again.
    Regards
    Raghavendra.M
    SAP-Practice

  • Permanent sorting the open items list by document number descending

    Hello,
    I want to store, that the "Sales -A/R - Sales Report - Open Items List"  is allways sorted by document number descending.
    I am able to sort the list, but the system doesn't store this configuration.
    Next time when I enter the list, I have to sort it again. We use B1 2007A SP01 Patch 7 Hotfix 1.
    Has any one an idea ?
    Regards.
    Michael

    Hi
    U can use Customised query Report to show ur report as per ur format and requirement. But in Normal Report u cant do this...always u have to sort there was no option in standard to save...
    Giri

  • How do I save a xls document in Java

    Hi!
    How do I save a xls Document from java?
    I mean, I want to specify which xls document to save and then save it.
    Any useful code would be of great help!

    This is the code!
    import java.io.*;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.util.Locale;
    import jxl.Workbook;
    import jxl.WorkbookSettings;
    import jxl.write.Label;
    import jxl.write.WritableCell;
    import jxl.write.WritableCellFormat;
    import jxl.write.WritableImage;
    import jxl.write.WritableSheet;
    import jxl.write.WritableWorkbook;
    import jxl.write.Number;
    import jxl.write.*;
    import java.io.IOException;
    import java.io.OutputStream;
      public class writeXls
            public String templateName;
            public String outputName;
          public writeXls (String t, String o)
             templateName = "c://"+t;
             outputName = "c://"+o;
          public void writeYearVolume(String []yearvolymeArray)
              WritableWorkbook workbook = null;
              try
                  // Setup workbook
                  WorkbookSettings ws = new WorkbookSettings();
                  ws.setLocale(Locale.UK);
                  ws.setEncoding("Windows-31J");
                  // Load workbook
                  Workbook template = Workbook.getWorkbook(new FileInputStream(templateName));
                  // Create new workbook
                  workbook = Workbook.createWorkbook(new FileOutputStream(outputName), template, ws);
                  // Create new sheet
                  WritableSheet sheet = workbook.getSheet(1);
                  // Create new label
                  Number amc1000= new Number(4, 1, Integer.parseInt(yearvolymeArray[0]));
                  Number amc800 = new Number(4, 2, Integer.parseInt(yearvolymeArray[1]));
                  sheet.addCell(amc1000);
                  sheet.addCell(amc800);
                  // Write wookbook
                  workbook.write();
                  workbook.close();
                catch (IOException e)
                  e.printStackTrace();
                catch (WriteException e)
                  e.printStackTrace();
                catch(Exception e)
                    e.printStackTrace();
      }The xls file is modified but not saved, how do I save the file?
    Some of the cells in the xls file contains formulas, because of that, the cells containing formulas dosen't update its value.
    if I however save the file manually then the cells are updated. I want to save the xls file automatically from Java.
    Any ideas on how to do that?

Maybe you are looking for