DOCUMENT NOS ASSIGNING

Hai,
During document number internal generation for eg GR for P.O
The no is found as follows
no 100245  - Entry date 03/02/2009 :  Doc dt 03/02/2009 ; Posting dt 03/02/2009
no 100252  - Entry date 27/01/2009 ;  Doc dt 27/01/2009 ; Posting dt 27/01/2009
from 100246 to 100251 no document is available.
Plz explain me what is the concept.
Regards,
PS

Buddy,
I think you are mixing up two things here.  SAP asks you not to set external number assignment in FAGL_DOCNR (Document number ranges for GL view); but that does not mean that your FAGL_DOCNR internal number range counter increases magically without any documents being posted into the system.
Deb,
I think FAGL_DOCNR counter increases when you have direct postings to non-leading ledgers (please check the latest document number in table BSEG_ADD for the company code in question and see if that matches with the number in FAGL_DOCNR for that company code).  Also, this number range is utilized when the fiscal year of your company code in the leading ledger differs from the fiscal year on the non-leading ledger.  You said FBN1 is not increasing but FAGL_DOCNR is.  May be the posting in the leading ledger is on a different fiscal year?  Could you check from that angle?

Similar Messages

  • Delivery document is assigned to Shipment document.

    Delivery document was assigned to the shipment document. and delivery document was deleted from SAP.
    Since the preceeding document delivery document was deleted from SAP. Now User want to delete the shipment document from SAP. But system encountered following error message.
    When I try to execute the transaction VT02N and enter the shipment number
    Following error message is triggered
    Deliveries in shipment 22207486 no longer exist
        Message no. VW 097
    Diagnosis
        The shipment contains one or several items that refer to a delivery that
        no longer exists.
    System Response
        If this shipment was generated by an external planning system, it is
        possible that deliveries in the SAP system were deleted manually.
        The confirmation for changes to this shipment made by the external
        planning system has not yet taken place.
    Procedure
        At the moment, you cannot process but only display the shipment.
        Processing is not possible until the external planning system has
        confirmed this shipment and the relevant shipment item has been removed.
    Is there any way to delete the shipment from SAP.
    Thanks
    Subramanyam Mukka

    Please read OSS note 195527 (it's a quite old  note, I'm note sure it is useful or not; if it does not help I would suggest you should contact SAP instead of deleting redcords directly from data table on your own).
    It mentions a correction program ("ZZSHPCOR") which may help.
    Edited by: Csaba Szommer on Jul 19, 2010 1:53 PM
    Edited by: Csaba Szommer on Jul 19, 2010 1:57 PM

  • User Exit/BADI/Enhancement Point  in VF01 before new document no assignment

    Hi Expert,
       I am looking for a user exit/BADI/Enhancement point which will trigger in VF01 before the new document no (Billing document no assign).
    I need to cross check few things in Billing via VF01 at billing document save and give error message accordingly. The problem is if new number assign and there is error due to my code then when user save the document next he get a new no. its mean a no skip.
    Example: The invoice no is 1000. User start creating a billing document with Vf01 and he get an error message due to my code at exit , at this point of time the next number assign to billing which is 1001 but document not save due to my error message. Now after applying correction user save data and billing document created with no 1002. So there is no skip.
    I tried BADI BADI_SD_ACCOUNTING but this will trigger after no assignment.  Can someone provide me a user exit/BADI/Enhancement point in VF01 which trigger before no range assignment and contain at least Billing header data to use in my code?
    Regards
    Swati
    Edited by: Swati Namdev on Nov 16, 2010 9:55 PM

    HI Brad and team,
       BRED is right. I check few user exit normally all of us have that list or easily available on net.
    BRED: my question is: I need to check the billing date VBRK-FKDAT of document should not be less than the sales order plan billing date VBAP-Oldate.
    If this check fail then won't allow the user to create billing document. The problem is I used one user exit SDVFX001 already define previously that's work fine but issue is that user exit trigger after the billing no assignment. That's why when user get that error message he correct the document and create billing this time he get a new number which is skip of one no.
    That why I need a User Exit/BADI/Enhancement Point  which trigger at save but before document no assignment.
    Please update more about your comment "Why not use a header level copy requirement routine to perform the checks and log the messages? This is the standard process."  .
    Suggest user exit USEREXIT_FILL_VBRK_VBRP  trigger before save. I need at save the reason is VBRK-FKDAT  this can be change.
    Feel free to contact me back if you need more clarification.
    Regards
    Swati
    Edited by: Swati Namdev on Nov 17, 2010 6:22 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:25 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:32 PM
    Edited by: Swati Namdev on Nov 17, 2010 6:47 PM

  • Get Guid of service order from Document nos !

    Hello,
    Can anybody tell me the function module which will import Document nos of service order and return me the Guid of that document.
    Similarly i need function module which would accept document nos and return me the process type.
    I know its directly available from table crmd_orderadm_h.
    However its not efficient since the tables contains over lacs of records.
    Also this table has primary key guid, so if we search this table using nonprimary key like document nos( object_id) the system wil scan for all records and thus it will be inefficient.
    Any FM's ??
    Helpfull answer will be handsomely rewarded.
    Regards,
    Anand.

    Hi Anand,
    Try
    SE38---CRM_ORDER_READ-Display-Enter the transaction number.
    Regards,
    Satish Mathala

  • Document type assigned for other goods receipts(MB1C)is WA why?

    Hi,
    Document type assigned for other goods receipts(MB1C)is WA why?
    Thanks

    Document type for Goods Receipt is WE but I found in standard(Default) system it is assigned WA?
    Can anyone help me on this?
    Thanks

  • Document number assignment can be found in the critical area (MATNRUnknown)

    Dear all,
    Pls advice me to resolve mention error which is pertaining to msg no -vf205 in sap.
    while creation of idoc associated document (article and billing) is not generating by our system. when ill see the error its showing "upper limit of number range is exceeded" but in spro in not exceeding.
    kindly advice .
    Regards
    Sunil kr.savita

    dear raju,
    we dont want to increase upper limit coz document  no generated by system is within the no. range limit .
    but when we double click on this error its showing.
    Document number assignment can be found in the critical area
        Message no. VF205
    Diagnosis
        Document number assignment for the number range object RV_BELEG in
        number range 49 is found in the critical area.
    Procedure
        You can either increase the upper limit of the number range interval o
        set the current status back. You must, however, make sure that infutur
        no number is entered more than once.
    regards

  • How to flip the FI document type assigned in sales billing type

    Hi Expart,
    We have a special requirement here,as per client requirement we need to flip the FI document type assigned in sales billing type screen (VOFA). The requirement has came because the billing type is used for one company code XXXX, and we need to use the same billing type with different FI document type  for another company code YYYY. Since we can't assigned two FI document types in biling document, i belive this can be done only through user exit, pl help me to get the applicable user exit in SD.
    Thanks
    Garima.

    Hi,
    The user exit (T.Code SMOD) u201CEXIT_SAPLV60B_001u201D, with include u2018ZXVVFU01u2019, will be  implemented. In user exit code will be written, as if company code found as u2018YYYYu2019 and Sales Doc type found as 'AAA' the FI document determine as u2018Z2u2019 in place of default value coming from one-to-one mapping u2018Z1u2019 (FI Document).
    IF VBRK-FKART EQ 'AAA' AND VBRK-BUKRS EQ 'YYYY' AND XACCIT-BLART EQ 'Z1'.
    XACCIT-BLART = 'Z2'.
    hope this will help.
    regards
    Vivek.

  • External Document Number assignment using Bapi_acc_document_post

    Hi All Experts and Max,
    We want to post th same external document no using BAPI_ACC_document_post, but we are unable to post thatexternal  Document no.
    Note: If we are posting the same no using transaction FB01 , we are able to post the document , if we are passing the Acc_do_no field as the external Document no.
    Our requirement is to post the document no of the e.g A system to B system with th esame document No .
    Kindly provide what value we need to pass in the obj_type , obj_key and obj_sys fields of BAPI_ACC_Document_post.
    I am aware about the scenario that in case of internal document no creation we will get all these 3 fields from th eBAPI, but we need the values in case of external document no assignment.
    We tried with obj_type as 'BKPFF' but we are not able to post the document with that obj_type, In that case Bapi is clearing the exterbal document no acc_doc_no field in the first subroutine.
    Note: We are uploading a file in different system  with the .dat format and we are using BAPI_ACC_DOCUMENT_POST method.
    Please refer the below link for more issue details.
    Link:[External Document Number assignment using Bapi_acc_document_post;
    Kindly provide the solution.
    Thanks,
    Rahul Sisodia

    Hi All,
    Please suggest if you came across such situation. <removed by moderator>
    Thanks,
    Rahul Sisodia
    Edited by: Thomas Zloch on Sep 19, 2011 10:18 PM

  • Gaps in Document Number Assignment

    Hi,
    can somebody tell me what is the exact use of the report " Gaps in Document Number Assignment -S_ALR_87012342"
    In what sort of instances we use this report/?
    Thanks,
    Regards
    Gayani

    The report is used mostly by SOX and Internal auditors to check if there are any gaps in the document number assigment. This could be possible if due to various reasons certain numbers have been skipped and document numbers are not in sequence. Also as per some of the local reporting GAAPs there hsould not be any gap in the document numbers assignment. To ensure all this this report is checked.
    Thanks and regards
    Kedar

  • Gaps in Document Number Assignment & Invoice Numbers Allocated Twice

    In Period End Closing Financial Accounting there is Gaps in Document Number Assignment & Invoice Numbers Allocated Twice for day-end closing. I understand the difference between the two, but why is the business process procedure a process decision between the two as opposed to a process flow that includes one after the other?
    T-Codes:
    S_ALR_87012342 vs. S_ALR_87012341
    Thanks in advance for you help!

    The report is used mostly by SOX and Internal auditors to check if there are any gaps in the document number assigment. This could be possible if due to various reasons certain numbers have been skipped and document numbers are not in sequence. Also as per some of the local reporting GAAPs there hsould not be any gap in the document numbers assignment. To ensure all this this report is checked.
    Thanks and regards
    Kedar

  • CO Document number assignment

    Dear Sir,
    CO document number assignment not possible for business transaction COIN in CO area xxxxxxx And how to assign business transaction COIN to a number range group? How to create a new number range group?
    points will be rewarded

    Hi,
    The number range for CO document is maintained at controlling area level.
    Use T-code KANK for maintaing the number range.
    Regards
    Amit Parkhi

  • Tracking of Document Nos. with its revarsal document nos.

    By which T-code can I get the List of document nos. (Created with MIRO or FB60 or F-02) with its reversal document no. in a particular period?

    Hi,
    Please go to FB03. Now Click on Document list. Enter the company code and Fiscal year. Also enter the posting date and document type to filter your criteria. Now execute. Now click on change layout. insert the field for reversed with.
    Now it will show the reversal document if it exists.
    Regards,
    Jigar

  • Document Splitting: Assignment of Constant

    Hi Experts,
    We are having an issue with document splitting for Incoming Payments:
    We have configured the following:
    A. Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Edit Constants for Nonassigned Processes
    - Assigned a Default Profit Center to Controlling Area
    B. Financial Accounting (New) > General Ledger Accounting (New) > Business Transactions > Document Splitting > Activate Document Splitting
    - Document Splitting Active for Method 0000000012
    - Inheritance is on 
    - Standard a/c assignment is on, and the constant in A above is assigned  <<<ISSUE>>>
    The F1 Help on the 'Standard a/c assignment' check box states "Do not set this indicator if you have defined it as a required entry field in the activity for defining document splitting characteristics ."
    Profit Center is flagged as required in "defining document splitting characteristics "
    What is the risk of doing the above?
    Posting are as follows:
    1. Post Customer Invoice - Profit Centre is derived from GL line
    Posting Key
    Posting Type
    Profit Centre
    Amount
    01
    Customer
    571305
    100
    50
    GL
    571305
    100
    2. Incoming Payment via Bank Statement - Profit Centre is derived from Constant
    Posting Key
    Posting Type
    Profit Centre
    Amount
    40
    GL Main Bank
    Default from Constant
    100
    50
    GL Sub-Account
    Default from Constant
    100
    3. Posting to Bank Sub A/C and clearing Invoice from Customer - Profit Centre is derived from Customer
    Posting Key
    Posting Type
    Profit Centre
    Amount
    15
    Customer
    571305
    100
    40
    GL Sub-Account
    571305
    100
    4. Clear Bank Sub-Account via SAPF123
    Posting Key
    Posting Type
    Profit Centre
    Amount
    40
    GL Sub-Account
    DocSplit
    100
    50
    GL Sub-Account
    571305
    100
    40
    ZeroBal. Clear Acct
    571305
    100
    50
    ZeroBal. Clear Acct
    DocSplit
    100
    Thanks for your assistance.

    Hi,
    Since you have not provided any profit center during bank statement upload (as it just a posting, not referring any line item), profit center should be derived from either default (FAGL3KEH) or from constant assignment.
    I would suggest to update the profit center through EBS search string (target as 'profit center) based on any reference from bank statement instead of going for a constant only for this scenario. You may refer below link for search string set up.
    Define Search String for Electronic Bank Statement - Bank Accounting - SAP Library
    http://scn.sap.com/docs/DOC-30234
    Regards
    Shanid

  • ORACLE.FDK.ServerError while creating document and assigning category

    Hi,
    I try tro create a new Document in Content Services and assigning an existing category
    here is the code snippet:
    public static Item createDocumentWithCategory(Item parent, Item category)
    throws FdkException, RemoteException
    // get the Manager instances
    FileManager fm =s_WsCon.getFileManager();
    System.out.println("Ok document");
    RechercheCategorie categorie=RechercheCategorie();
    categorie.catValeur2();
    Item cat=categorie.getCat();
    Item workspace =fm.resolvePath("/solaria/E-TOP2", null);
    System.out.println("id dans create document:"+cat.getId()+"workspace name:=
    "+workspace.getName()+ "workspaceid:"+workspace.getId());
    // create Category definition for category instance
    NamedValue[] categoryDefs =WsUtility.newNamedValueArray(new Object[]=
    { Options.CATEGORY_ID, new Long(cat.getId()) }/*,
    { Options.CATEGORY_DEFINITION_ATTRIBUTES,
    WsUtility.newNamedValueArray(new Object[][] {
    { "CUSTOM_Attribute", "Value One" } }) }*/
    System.out.println("Ok document");
    // create document specifying category definition
    Item newDoc =fm.createDocument(
    WsUtility.newNamedValueArray(new Object[][] {
    { Attributes.NAME, "MyDoc41" },
    { Options.CATEGORY_DEFINITION, categoryDefs },
    { Options.DESTFOLDER, new Long(workspace.getId()) } }), null, null);
    System.out.println("Ok document2");
    return newDoc;
    It throws an Exception essage d'erreur:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:=
    faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
    faultActor:=
    faultNode:=
    faultDetail:=
         {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="x=
    sd:string">ORACLE.FDK.ServerError</detailedErrorCode><errorCode xsi:type=
    "xsd:string">ORACLE.FDK.UnexpectedError</errorCode><exceptionEntries xsi:ty=
    pe="ns1:ArrayOfFdkExceptionEntry" xsi:nil="true"/><info xsi:type="ns1=
    :ArrayOfNamedValue" xsi:nil="true"/><serverStackTraceId xsi:type="xsd:s=
    tring">139-1170838513360</serverStackTraceId>
    What is wrong with the code?
    Please advise
    Jo

    The stack trace is incomplete. Please post the complete exception stack trace.
    regards,
    -sancho

  • Creation of Documents and assigning it to WBS Elements

    Hi all,
    I have a question regarding creation of documents.
    I am using T-code CV01N.....
    How to create the document and how to assign it to a WBS Element?
    Do we have any BAPIs or FM available for this?
    Thanks in advance....

    Hi Raj,
    Documents can be created/checkin  from WBS/activity without going to CV01N. For this, you need to have the DMS configured.
    Another way, Create document using transaction CV01N and attach manually in WBS/activity from Project Builder.
    Srinivasan Desingh

Maybe you are looking for