How can prevent the number range of document skip

Dear friend,
     I want to preverify the cancel billing document process via VF11. If the FI period is closed, the cancel billing document (which refers to closed period) process  is not permitted.
     I found the user exit: SDVFX001 (User exit header line in delivery to accounting) and implemented / activated it already.
     My user exit is work, the cancel process of old billing document is denied, but !!! I found that the number range of cancel document is reserved already (but the document is not create). So the number range of cancel document is skip  in the next time when I cancel other billing document....
     Are there any exit or BTE to prevent this case?
Thank you in advances,
Sam.

Hi,
In your user exit itself, try finding out any FM available for closed period.
Thanks,
Sriram Ponna.

Similar Messages

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • User-Exit - MIGO How to get the Number of Material Document

    Hi everyone!!
    I'm looking for an user-exit after saving in MIGO transaction. I need the Number of Material Document (MKPF-MBLNR) to generate an IDOC.
    Does anybody knows an user-exit to get this number?
    Regards,
    Rubens Kumori
    Edited by: Rubens  Kumori on Oct 20, 2008 3:26 PM

    In BADI definition [MB_DOCUMENT_BADI|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badi&adv=false&sortby=cm_rnd_rankvalue], you may use interfaces [MB_DOCUMENT_BEFORE_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_BEFORE_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (before update task) and [MB_DOCUMENT_UPDATE|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=mb_document_badiMB_DOCUMENT_UPDATE&adv=false&sortby=cm_rnd_rankvalue] (in update task)
    Regards

  • How to confg the number  ranges i.e started from an alphabet

    number rages started froman alphabet
    ex:aa123...... for an production order

    Hi,
      You need to define the order type for a production orders in tcode opjh
      For this order type you need to define the number ranges as external number range.
      The defined number ranges should not overlap with the existing ones
      Reward points if useful
      Regards,
    nandha

  • How to get the number of created document?

    Hi all,
    My first program in ABAP works very well. Thanks to all who helped me
    I would like only one function to it.
    The program read data from excel file and generates document using BDC. 
    I use this statement:
    call transaction 'F-65' using bdcdatafile
    I count the number of documents which have been generated or refeused because of error using the sy-subrc function.
    if sy-subrc <> 0.
        counter for errors
    else.
        counter for generated documents
    endif.
    Finally program displays these number on the last screen and the user knows if there everything is ok. For example this is a sample screen:
    1. OK.
    2. OK.
    3. Error.
    Number of imported documents (2)
    Errors (1)
    However, I would like to add one information to these screen. If the document is saved it gets its own number.
    Is any possibility to get this number for displaying?
    Maybe there is a function which returns this number.
    I want to get the scren like this:
    1. OK. Document No. 10000001
    2. OK. Document No. 10000002
    3. Error
    Best regards
    Arek

    The document number should be being passed back via a message.  You need to specifiy to return any messages in the messtab when calling the transaction.
    DATA: MESSTAB type table of BDCMSGCOLL WITH HEADER LINE.
    call transaction 'F-65' using bdcdatafile
                            messages into messtab.
    Messtab will have the messages after the call, you can then read this internal table and check for the success message, usually the document number is in the first variable field, MSGV1.
    Regards,
    Rich Heilman

  • Previously, I could have many links in a tab, but suddenly each tab only remembers 11 links. How can increase the number of links in a tab?

    Running Firefox 33.0 on Windows XP. Problem suddenly appeared last week. I made no configuration changes..

    Do you mean with restoring tabs from the previous session via "Show my windows and tabs from last time"?
    You can set that via the <b>browser.sessionstore.max_serialize_back</b> pref on the <b>about:config</b> page.
    The default is 10 and a value of -1 will disable this maximum and allows to keep all back history entries.
    See the description of this pref in this file (open via the location bar):
    * resource:///defaults/pref/firefox.js
    You can open the <b>about:config</b> page via the location/address bar.
    You can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • How to change number range for document type ?

    Dear All
    Experts
    How to change the number range for document types for entry view? I am trying to change the number range for all document type as per defined ranges in FBN1, but at the time of saving document type and number range the system is throwing error message as 
    Doc. type C1: Number range 07 is used for ledger L6 with doc. type AE
    Message no. FAGL_LEDGER_CUST093
    I have defined a leading ledger in system too with these settings
    1)     Define ledger for accounting.
    2)     Defining currencies for it.
    3)     Defining ledger group for the same.
    4)     Defining accounting principles
    5)     Assignment of principles to leading ledger.  
    Are there any extra settings required for leading ledger settings?
    I have some doubts those are :-
    How document types defined at ledger level?
    How to define them at leading ledger level?  (Like my case)
    Focus on this will be appreciable.
    Regards,
    Sharvari Joshi.

    hi ,
    The document numbers in the leading ledger and the non leading ledgers should be in sync, they should not have any differences, so incase you are trying to change the number range for C1, the  number range 07 is already been assigned to doc type AE. i guess you have cant use 07 for C1. may be you can try out with an other number range. check this and let me know if you are able to do this.
    coming to
    1.How document types defined at ledger level?
    2.How to define them at leading ledger level? (Like my case)
    Ans 1. please try defining document types for entry view in a ledger.
    path : SPRO- financial accounting new -financial accounting global settings new - document -document types -define document types for entry view in ledger.
    upon prompt enter the ledger and go ahead creating the number ranges for the document types.
    Hope this helps.
    Regards
    amrutha

  • How check the number range buffers in bw..

    can any one tell me the procedure...
    how to  check the number range buffers in sap bw,,,,can any one help me on this???
    regards

    Please follow the steps mentioned below for checking the number ranges:
    TCODE: /nse37
    FUNCTION MODULE: RSD_CUBE_GET
    Then click F8
    From there I_INFOCUBE : Cube name(Here we can give the cube names from /nrsa1(click on infoprovider on leftside menu…)
    I_INFOCUBE                      Cubename
    I_OBJVERS                       A
    I_BYPASS_BUFFER                 x
    I_WITH_ATR_NAV
    Click on F8
    In Export Parameters : select below one
    E_T_DIME
    There we will get the Time stamp and number range
    Regards.
    Message was edited by:
            cnu babu

  • Number Range-Billing document -Urgent

    Dear SAP Guru,
    Case1
    When I create credit or debit note (first I create credit/debit request then Credit/debit note) with reference to existing billing documents I do not see any error & getting correct number range for credit/debit note.
    Case 2
    But when I try create the credit & debit note with refernece to existing billing document & modify the incoterm in credit/debit memo request & then, when I try to create debit/ credit note & save the document system is not generating correct number range for credit/debit note.
    However the credit/debit note document type is same in both the cases 1 & 2
    I am not able to understand when I am changing the Incoterm only,  how this is effecting number range of document?
    How I can rectify this issue? Please help me.
    Points will be rewarded.
    Thank you very much in advance.
    Regards

    Hello,
    Just a thought: when you change the incoterms, maybe the system considers the docs in question as new CR/DR docs and hence assigning a different no. range? since I blv, the CR/DR have to be created with ref to the original invoice doc and changing incoterms might mean newly created documents? plz check..
    Rgds,
    Raghu.

  • Find the Number range

    Hi all;
    Can any one help me on this issue !!
    How to find the Number Range for Customer / Venodor.
    we have already assign the Number range and how to find the next availabilty number.
    I .e   I need the next  Availability  number for  Customer/ Vendor Nuber.
    Thanks
    -Ravi.

    Hi,
    Refer
    Aphanumeric number range for customer/vendor
    To get the next available number:
    Go to SNRO-> Click on Number Ranges button -> Click on status -> u will get the current number
    Also you can use FM "NUMBER_GET_NEXT" to get the next number
    CALL FUNCTION 'NUMBER_GET_NEXT'
    EXPORTING
    nr_range_nr = '01'
    object = 'ZDOCNUM'
    QUANTITY = '1'
    SUBOBJECT = ' '
    TOYEAR = '0000'
    IGNORE_BUFFER = ' '
    IMPORTING
    number = v_docno
    QUANTITY =
    RETURNCODE =
    EXCEPTIONS
    interval_not_found = 1
    number_range_not_intern = 2
    object_not_found = 3
    quantity_is_0 = 4
    quantity_is_not_1 = 5
    interval_overflow = 6
    buffer_overflow = 7
    OTHERS = 8.
    Regards
    Sumana

  • Increase the number range of characteristic

    hi while browsing the ODS i get this error message "Characteristic 0IOBJNM: Status of number range BIM9999991 is too small by 00000000000000000404"
    can any one tell me how to increase the number range of characteristic.
    i m uploading a date field in the date infoobject-keyfig which contains value "01.01.0001".is the date value is a problem area.
    any suggestion
    gaurav

    After Performing RSRV as per suggestion,and after fetching the data into query i m facing this error
    This report displays the details of consumer address details. The data is successfully browsed from data tgt browser in ODS.while creating the reporting and query it gives me these 3 errors.
    Note: Z_CRDAT is key fig of date type / ZADD_ODS is the ODS .
    1. Error in SQL Statement: SAPSQL_FIELDLIST_SUM_TYPE /BIC/Z_CRDAT
    2. System error in program SAPLRSDRC and form RSDRC / FORM DATA_GET_ODS
    Message no. BRAIN299
    Diagnosis
    This internal error is a targeted termination since the program has an incorrect status.
    Procedure
    Analyse the situation and inform SAP.
    3. System error: RSDRC / FORM DATA_GET_ODS ERROR IN RSDRO_READ_ODS_DATA ZADD_ODS 99
    Message no. DBMAN100
    Diagnosis
    A system error with the following parameters has occurred in the data
    Manager:
    Parameter 1 = &v1&
    Parameter 2 = &v2&
    Parameter 3 = &v3&
    Parameter 4 = &v4&
    does any one suggest me something
    gaurav

  • How to increase the number of data Business Object can pull for a report?

    Hi,
    I would like to ask around how to increase the number of data Business Object can pull for a report. I have a report which pulls data depending on the date range (ex. From 01/01/2007 - 01/10/2007). But, when the data that is pulled exceeds 5000, the report fails. Is there anyway to increase the number of data that BO can pull?
    Thanks

    Bobby,
       to my knowledge we can't change that. Let me explain this, we have setting in the source system for DS default Data Transfer. there we will assign the processes. if you want to assign 4 you need to change the setting in the source system. For flat files we can change in BW System. We can maintain the setting in the Infopackage level(wht we are assigned in the Source System), but we can't change the process.
    in order to check the setting in source system  SBIW--> General Settings --> Control Parameters for Data Transfer.
    we need to change here, this will effect to all the Data Sources. Before making changes check with your basis.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • How to split the IDOCS based on document number change whit out BPM

    Hi all,
    Thanks,for giving the responce..
    Scenario:File to IDoc.
    Problum1 : How to Split the IDocs based on document number change in the source file with out BPM.My file contains document numbers like
    20000092
    20000092
    20000092
    50000050
    50000050
    50000065
    I want 3 IDocs in target system.i.e 1 for 20000092,20000092,20000092
                                                       2 for 50000050,50000050
                                                       3 for 5000006
    By using external definations i am getting 6 IDOCs insted of 3.
    Problum 2:Is there any chnges/modifications in Directory when we are using external definations.
    Could u plz provide me the step by step process(Repository/Directory) with using of external definations.
    Thanks in advance.
    Regards,
    KP

    HI,
    for this no need of BPM.
    You can think of Idoc bundling concept to acheive this-just you need to do the external definition to change the idoc occurence
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    to achieve for each document no, one idoc, you can write small user defined function in the mapping with context handling you an achieve this.
    For this e.g
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee89b34
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • Hello , FMS is how to prevent the client into a large number of bytes?

    Hello , FMS how to prevent the client to pass a large number of bytes , such as one person put a 1G file in the argument , I also silly to receive ?Although there Client.setBandwidthLimit ( ) limit his maximum traffic per second , but is there a way , one more than the maximum amount of bytes to disconnect his.I assume that methods to determine the length is also obtained all of his transfer is finished , in order to determine out of it .

    How to limit the size of the parameters of the method.I wrote a method in the main.asc then the client NetConnection.call assignment, but if the client is malicious to upload very large data, how to limit it, I view the document did not find the clues, I hope that those parameters up to100KB.

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

Maybe you are looking for

  • My Business Catalyst panel is not working even after re-importing the site. How do I fix it?

    The only thing displayed in the panel is "siteNameTooltip(x)" I have also reinstalled dreamweaver, since I was previously getting javascript errors on load. I was able to clear the error by adding a missing reference to bc_main.js in BCModulePanel.ht

  • The log file behavior does not follow the logging preferences I set

    I set my log file parameters to capture a large amount of information. Specifically, I wanted to capture log files as big as 1GB and keep them for 3 sets of backups. The settings I used are as follows: <P> logfile.http.maxlogfilesize 1073741824 logfi

  • Adobe Standard 9, windows 7 recommend version?

    HI can you please advise what is the recommended version of Adobe Standard 9, our current packaged applicaion is just 9.0.0 & we are rolling out Windows 7. Thanks

  • OnRollOver/Out animation

    I have assigned the onRollOver and onRollOut event handlers for a movie clip to enact an alpha animation function on an interval, and it works, but only once. http://www.kustedg.com/lincoln.swf

  • Skype and a wireless headset

    Hi, I am about to start using Skype to make international calls. I would like a decent headset that I can use at a distance from my pb. Anyone know what the best options are? I was thinking of something that uses bluetooth could be good. 1. Does a mo