Number Range - even numbers

Hi Everyone ,
Is it possible to assign only even numbers by keeping the number range as internal?

Hi
Try this out
u can skip one number using LSMW prg
It automatically skipped one pernr accidently while uploading,due to some issues in LSMW
but i have touched the recording and found two pernr input ,i have deleted the one to solve this issue
i got the pernr starting form 1,3,5 etc...
u have to write the lsmw in such a way to achieve this
with regards
partha

Similar Messages

  • Root org. unit with External number range

    Hi all,
    I have a unique requirement.
    We need to create a root org. unit. I used PP0CE to do the same. But it would generate org. unit numbers internally i.e. system generated.
    We would like to assign an external number range to the root org. unit created.
    In case I try to create it using PP01, we have to provide a relationship to other org. unit while creating root org. unit in PP01.
    It would be great if someone can tell me the solution for this issue.
    Regards,
    Bharat

    Hi Bharat,
    You can maintain number range even for org units, as follows:
    Here
    01 - plan version
    A, C, O, P etc are object types
    after selecting the respective ie 01O IN Ex ,
    now click on maintain number range where you can clearly specify the number range either internal or external.
    Then u can start with TC PPOCE
    Thanks
    Sai

  • Number ranges for SD and FI documents(Invoices, credit and debit notes )

    Hi all,
    I have a requirement that that the document numbers used on  sales documents issued to customers be within the same number range.that means SD and FI documents (Invoices, credit and debit notes to customers) should be in the same number range.
    Can anybody tell me userexit for this or related solution or how should I approach to it.
    Regards,
    Azra.

    >
    Azra Husain wrote:
    > SD and FI documents (Invoices, credit and debit notes to customers) should be in the same number range.
    >
    > Can anybody tell me userexit for this or related solution or how should I approach to it.
    > Regards,
    > Azra.
    What do you mean by same number range?
    As for as i know number ranges are application specific so you cannot have both SD and FI documents in a same number range.
    What you can do with userexits is to assign a number range based on a condition. For example Plant based Billing number range, even you cannot have same number range for Sales order and billing.
    Regards
    Karthik D

  • Sales /Outgoing Excise Invoice number Range for J1IIN

    Dear Gurus,
    We are doing STO from excisable plant 1000 to plant 1100. We created a PO with document type UB ( STO) and created delivery with reference to PO and created billing document ( delivery challan). Against billing document number we created sales excise invoice in J1IIN for financial year starting from  1st April 2010. In J1I9 we have maintained number range for 2010 financial year in object J_1IEXCLOC for respective series group s1.Still when the outgoing excise created, the system continued last financial years number range. In entire flow from PO till MIGO and billing document and creation of excise invoice the input date is 6th of April i.e. current financial year. This is our first sales outgoing excise invoice creation in new financial year for which number range is maintained properly.
    My question is why system took last financial years number range even though the date in all the documents is falling in new financial year.
    Will appreciate the answer.
    Thanx in advance
    Regards
    Nilesh

    RESOLVED

  • Argentina official document number range (Changing of XBLNR)

    Hi All,
    Working on a typical requirement.
    As some of you are aware, the official document number (XBLNR) is getting generated by system based on branch, document type, document class and print character.
    Is there any posibility to change this value before the Accounting document is going to be created(after I press save)?
    Is there any userexits/BADIs/BTEs that will trigger before this official document number is going to be generated, so that I can change XBLNR value?
    Does anybody had encounter such situation? if so please let me know.
    Appreciate your help on this.
    Regards,
    Nanda.

    Please check below function modules (J_1A_OFF_NUMBER_GET, EXIT_SAPLV60B_001)and user exits. In following function module the official document number is generated. Normally you do not change this.
    Function module: J_1A_OFF_NUMBER_GET
    Text
    Official document numbering in Argentina
    Functionality
    This function module determines an Argentine official document number, it is using the input values to determine a numbering subobject for the numbering object J_1AOFFDOC and calls the numbering module NUMBER_GET_NEXT for this object and number range '01'.
    Parameters
    I_BUKRS
    I_SNR
    I_PRTCHR
    I_DOCCLS
    I_DATE
    E_DOCNR
    E_DATE
    E_DATE_ERROR
    E_XBLNR
    Exceptions
    CLASS_NOT_DEFINED
    INPUT_NOT_VALID
    PRTCHR_NOT_FILLED
    DETERM_NOT_POSSIBLE
    ERROR_NUMBER_GET
    Function Group
    J1AN
    J_1A_OFF_NUMBERING
    J_1AFONR
    Short text
    Printing of the last official documents numbers assigned
    Description
    List the last used official document numbers in the sytem for every combination of document class, branch and printing character who are self-issued (relevant for numbering) -for a certain period-
    Requirements
    Assignation of number ranges and numbering groups for self-issued document types
    The period of time where the report looks for the documents have an initial and a final date in the screen:
    u2022     The final date is obligatory field, because is the searching limit.
    u2022     The initial date field it is not obligatory.
    o     When it is not filled, the report looks for the documents in all the historical data until the final date, this can be high-time-consumer.
    o     When the first date is filled the report looks in the interval of time -recommended-.
    The resulting list present considerable changes depending on the date intenval definition
    Output
    The first list contains the following fields:
    u2022     Reference fields: describe where the document come from (document type FI, Delivery and Billing Type SD, Material Movement MM)
    u2022     KeyFields: Document Class, Branch and Printing Character.
    u2022     Result: Last official number or a legend when no document is found.
    The option for to make a variant of the list is available
    By the button SummaryLIST is possible to access a second list with the result information by the unique possible combinations of the KeyFields (Making omission of the reference fields)
    Access to a document: by clicking in the official number.
    Function module J_1A_OFF_NUMBER_CHECK
    No doc available
    'OFF_NUMBER_GLOBAL_NUMBERING'
    CALL FUNCTION 'OFF_NUMBER_GLOBAL_CHECK'
        EXPORTING
          i_fin1_param = fin1_param
          i_bkpf       = bkpf
        EXCEPTIONS
          OTHERS       = 0.
    Display/change official document numbers: transaction J1A6
    Next to substitution (tx OBBH) you can use Program LXVVFU01  User Exit AC Interface (Header Line).
    function module EXIT_SAPLV60B_001:
    FUNCTION EXIT_SAPLV60B_001.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(XACCHD) LIKE  ACCHD STRUCTURE  ACCHD
    *"     VALUE(VBRK) LIKE  VBRK STRUCTURE  VBRK
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"     REFERENCE(DOC_NUMBER) LIKE  VBRK-VBELN OPTIONAL
    *"  EXPORTING
    *"     VALUE(XACCHD) LIKE  ACCHD STRUCTURE  ACCHD
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"  TABLES
    *"      CVBRP STRUCTURE  VBRPVB OPTIONAL
    *"      CKOMV STRUCTURE  KOMV
      INCLUDE ZXVVFU01.
    ENDFUNCTION.
    Include/ userexit ZXVVFU01 (sample code):
    *for Argentinean legal document numbering the field xblnr should be used for the legal document *number.
      if vbrk-vkorg = 'ARXX'.
        case vbrk-fkart.
          when 'F2  '.
    *factura
            XACCIT-BLART = 'RV'.
    *nota de credita
          when 'GAE '.
          XACCIT-BLART = 'DG'.
          when 'ZGAE'.
          XACCIT-BLART = 'DG'.
                         retorno
          when 'ZR70'.
          XACCIT-BLART = 'DG'.
    *nota de debito
          when 'ZLAE'.
            XACCIT-BLART = 'RV'.
          when 'LAE '.
            XACCIT-BLART = 'RV'.
          when others.
        endcase.
        xaccit-xblnr = xaccit-xblnr+0(16)
      endif.
    Via customizing (cross applications Cross-Application Components / General Application Functions /  Cross-Application Document Numbering ´/  Argentina  ) you can set up the document numbering.
    Hope this helps!

  • How to display even and odd number ranges between two given inputs.

    Hi Every one,
    I am just started my career in sap abap and trying to find the solution for this.
    I am trying to display number range using select options, but I am getting an error "Memory low leave the transaction before taking a break".
    Example: when I give two number 2 and 10 , it should display set of all even and odd numbers in that range.
    Below is the code logic that I am using:
    data: a type i,
             b type i,
             c type i,
             d type i,
             num type i.
    select-options: in for num.
    a = inp-low.
    b=inp-high.
    c = inp-low mod 2.
    d = inp-high mod 2.
    while a <=b and c = 0.
    write: "even numbers:', a.
    b = a + 1.
    endwhile.
    while a <=b and c <> 0.
    write: "odd numbers:', b.
    b = a + 1.
    endwhile.
    Any help will be much appreciated.

    This is your logic...changed:
    data: a type i,
              b type i,
              c type i,
              d type i,
              num type i.
    data: even type i,
           odd  type i.
    select-options: in for num.
    a = in-low.
    b = in-high.
    c = a mod 2.
    if c is INITIAL. "It measn a is even
       even = a.
       odd  = a + 1.
    else.
       odd  = a.
       even = a + 1.
    endif.
    * Even
    a = even.
    while a <= b.
       write: / 'even numbers:', a.
    *  b = a + 1.
       a = a + 2. "The next even number
    endwhile.
    * Odd
    a = odd.
    while a <= b .
       write: / 'odd numbers:', a.
       a = a + 2. "The next odd number
    endwhile.

  • How to assign numbers in external number range?

    Dear experts,
    Since NUMBER_GET_NEXT can only be used to assign numbers in internal number range, how to assign numbers in external number range?
    So far, I only know the NUMBER_CHECK function module to deal with external number ranges and it only check a number whether it lies in any external number range or not, but it doesn't update any number range status. What I need is a function module like NUMBER_GET_NEXT that supports external number range.
    Thanks in advance.
    Regards,
    Haris
    Edited by: harissahlan on Oct 19, 2011 5:44 AM

    With external number range, there is no updating of the number range objectt. The only thing you need to know is whether the number you wish to assign is allowed according to the external number range. And also check if there isn't already an object/document with the same number in the database.

  • Number Range object skipping numbers SAP

    Hi All,
    Number Range object skipping numbers SAP "EINKBELEG" . While creating Purchase order with transaction code me21n, the purchase order is skipping odd numbers. I have checked the transaction code "SNRO" there is no buferring set on the object.
    Please help

    Are multiple users creating Purchase Orders at the same time?
    If yes then this is possible. Because Number Range (unique Number) is assigned to Purchase Order at the start of the Transaction (ME21N).
    Thus if multiple users are creating Purchase Orders at the same time & some of these users may have not saved the Purchase Order after partially creating it... This may lead to particular Number Range to be skipped as the following number is already assigned to some other Purchase Order.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Missing numbers in Number Range

    Hi all,
    I have a requirement like this. When I do a standard process I need to generate batches depending on the cuts in the cable. I'm doing this using Number Range. After I get the batches I may save the document or may not save it. Suppose my first document generated batches 100,101,103,104. At the end if I dont save and exit for the next document the batches are coming as 105,106 ans so on. However since I didnt save earlier I need from 100. How can I do this?
    Thanks&Regards,
    Manjula.S

    I don't think so. You have to understand that number ranges take care of concurrency. Hence you can have more application servers, more users running same program and SAP guarantees that you will get each number once. So generally implementing number range with possibility of returning number is really tricky thing and you have to be careful about concurrency. As I said, common approach how to avoid wasting numbers from number range is to use temporary numbers and during saving process replace these numbers by real numbers from number range.
    Good luck

  • Batch Numbers Skipping in Internal Number range Assignment

    Dear Gurus,
    We have Batch Management at Material Level. For a Material, we are facing an issue in Internal Batch Number Assignment. Systems Skipping 15-20 numbers buffer in Internal Number Assignment, we want it to be in a sequence. In OMAD for BATCH_CLT, No of Numbers in Buffer is 0.
    Kindly guide me why the system is doing this.
    Regards,
    Johi Kapoor

    No its not working. I want to set my batch number range from client level to material level. Kindly tel me how can i do that....?

  • Billing Number Range /Sales Documents Numbering Range

    HI Friends
    HI Friends
    I would like to control Numbering Range  Year Wise  Like 2008-2009 Should be Started Numberings Range From  10000000 TO  2000000 (2008-2009) , 30000000 TO 40000000 (2009-2010) Automatically. How we can control in this scenario.
    Regards,
    Udhay

    Unlike FI (RF_BELEG) and Excise (CIN),  in SD (RV_BELEG) fiscal year is not part of the number range.
    Your requirement is not possible as such.
    During closing you can change the last number to, say 199999, so the next document fetches the number 200000. But the user can make a document in year 2009-10 with document date in 2008-09.

  • Number Range Assignment for personel numbers

    In my all three clients i am getting this strange behaviour that my system is skipping the perners ,even though my number range is internal and i have maintained all necessay entries , i find that my system is skipping perners randomly sometime q is skipped and sometimes even 90+ perners are deleted.
    Please can anyone help me in this regard.?

    First try to segregate your number ranges into three companies then maintain it atleast you identification of different personnels.
    then if your doing batch loading of personnel thru BDC or lsMW the usual problem is with master data so it skip number ranges.
    try to reset number ranges but before that delete your entries to pu00 tcode.
    let see if this works..
    Thanks
    Toti

  • Numbers skipped while creating a new position (Internal number range)

    Hello,
    We have internal number range set up starting with 20000001 in PROD for Positions under OM.
    The last number used for position was 20000693. But while creating a new position, the end user got the new number as 20000705. I checked the t-code OONR and it shows the current number as 20000729.
    I have no idea why the numbers got skipped. Can anyone please let me know why this could have happened and how to correct it?
    Thanks in advance.
    Madhu

    Hi Donnie,
    The solution suggested by SAP lies in the SAP OSS Note 87865 - Buffering number ranges for personnel planning.
    Which says -
    ''During buffering of number ranges, gaps can result during number assignment. If you require a continuous number assignment, you must deactivate the buffering for the number range object 'RP_PLAN' in Transaction SNRO.
    However, this can affect the performance during numberassignment.''
    So the only way to get continuous number range assignment, the buffering option needs to be set to 'No Buffering'. But it can affect system performance and is considered a modification. So we decided to go ahead with the buffering option set in the standard configuration and not to deactivate the buffering for the number range objects.
    Hope this helps.
    Regards,
    Madhu

  • Can I enable numbers to automatically display a letter in a cell depending on a number range in another cell?

    I am a teacher and as part of my paper work it would be useful if I could use numbers to display a letter (grade A, B, C etc) depending on a number range in another cell.
    For example:
    Name
    Mark
    Grade
    John Smith
    56
    C
    Jane Johnson
    64
    B
    Michael Watson
    78
    A
    lets say for instance a Grade C was anything between a 50 and 60. Is it possible to set up a table that will automatically enter the grade depending on the numerical value in the Marks column?
    Many thanks.
    Ryan Butler.

    I apologize but my scholar English don't allow me to be more clear than iWork Formulas and Functions User Guide.
    What aren't you understanding ?
    Yvan KOENIG (VALLAURIS, France) samedi 11 juin 2011 12:32:55
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Sequential numbers in non-buffered number range object

    I need some help pointing in the right direction to analyze and prevent a problem with a NON-BUFFERED custom number range object.
    This process works well.  Once or twice however, sequences have been created with an apparent delay and are out of order.  I don't know why, or where to look to diagnose the timing, etc.  It's very difficult to recreate.
    We have a custom number range object; ZFSEQ in SNRO that is responsible for assigning a sequential number to a series of flat files produced by number of different interfaces.  Those interfaces all use the FM  'NUMBER_GET_NEXT' and then they build a file name with that sequence number.  That object is not buffered.
    During heavy volume of updates (where lots of these sequences are being called and created by different interfaces, the table NRIV is locked and released by each interface.  During this time of heavy updates, we have an infrequent problem that has occurred where a standard sales order create created a sequence number that is greater than the sequence number generated by the delivery create.  (The delivery was created a couple of minutes later than the order, yet the order created a flat file sequence number greater than that of the delivery.
    I hypothesize that the flat file call for the order (using the  FM  'NUMBER_GET_NEXT') was somehow delayed(because of heavy lock/usage of NRIV).  The actual order document and delivery document were created normally.  I also am thinking that buffering on the object would prevent this.  I cannot at this time implement buffering on the object, but we are working towards that.
    The order create originates from our e-commerce system through a webserive, and in SAP, flows like this:
    Main webservice RFC:     Z_ORDER_CREATE
              Call Z_create_order_bgd  IN BACKGROUND TASK
                                      Call BAPI_SALESORDER_CREATEFROMDAT2 )
                                       MV45AFZZ--> userexit_save_document.
                                            call Z_FUNCTION_TO_GET_SEQUENCE
                                                      CALL FM  'NUMBER_GET_NEXT'    <---- order create sequential file created
              commit work.
    The delivery sequential file is created in
         MV50AFZ1  (the Delivery User Exit)
    Where can I look to conclusively see what happened to delay our sales order sequence?  What could be done to prevent it?
    Thanks
    Jeremy H.

    Just want to post the answer that we found to this issue and close it, though more comments are always welcome!
    We are going to move forward with buffering the Z object for the range as studies have shown and all other consulting input seems to be that buffering will solve this problem.

Maybe you are looking for

  • Issue while scheduing report in Infoview

    Hi All, I need to scheduled a report where i have send it to 15 email id and there might be some more addition. when i tested report i found it is sending to everyone but it doesn't show all the email id's in the "TO" list. Please let me know if need

  • After the most recent update 9.0.1 all the website symbols for the site in my bookmarks have dissapeared... how do I get them back?

    when looking for a website in bookmarks using OS 10.6.8 on Mac Book Pro all the symbols for the website have been deleted and requires much more time locating the bookmark. What can be done to restore or reactivate the symbol?

  • How I can do this?

    Hi Peoples, I have been learning to developer applications using Java. My operational system is SuSe Linux. I want to create an application that show the state of the filesystem. ----------------------- FileSystem Check -------- | FileSystem | % used

  • Recording to one track while playing another

    Is it possible to record to one track while listening to playback from another? I have tried and the sound from the playback track seems to be full of static while recording but clears up once the recording functions is turned off. Any ideas? BTW....

  • Reports in inventory

    Hi experts, How to develop these reports based on the inventory cube 0ic_c03: -->Daily Bulk cement stock report 'date'. -->Stock statement of steel and cement. Regards, Bhadri M.