Dynamic number range

hi friends,
I'm working on module pool programming.How to generate dynamic numbers when user saves the data?
thanks in advance.

Hello Hosmath
You could create your own number range object (transaction SNRO ) for your application.
To retrieve the next number use fm NUMBER_GET_NEXT (input: range object & number range).
Regards
  Uwe

Similar Messages

  • Dynamic deal number range

    Dear experts, when we create product type Z01 (zero bond ), we want number range to include company code, is it possible?
    for example, comp code 1102 create a bond, number range will be 31102000001, then company code 1125 create a bond, it will be 3112500001.
    let me know any additional config is needed.

    configuration you want is possible in Fixed Asset module. But in TRM product types and transaction are not assigned to company code.
    If there is no any enchancement/user-exit you can follow this idea:
    1. You make you number range for securities as external.
    2. You create a Z* program: selection screen similar to the screen of the TS01, for example.
    Here you enter all the data you need to create a deal. Then press enter. The program is looking for the latest number of the deal according to you creterias (let's say - 3112500001) and increment this number (let's say 3112500002).
    Then Z* program passes all data from Z* screen (don't foreget to pass deal number) to TS01 transaction with Parameter ID and skip first screen - so the use won't see std.tr. TS01 screen.
    the user will only see this
    I hope you will understand what i wrote!

  • Having Two GR/IR  account based on Vendor Number Ranges.

    Dears,
    Requirement of our client is to maintain Two GR/IR accounts based on Vendor number Ranges. I explained, as per standard functionality of SAP we can not have 2 GR/IR accounts based on vendor number ranges since system is checking the valuation class of Material but we can have 2 GR/IR accounts based on the Materials.
    Please suggest me if there is any possiblity  of having the above scenario so that I can add more points.
    Thanks,
    Omprakash

    Hi Shahin,
    You can do this using,
    Material master QM view : Set the control for inspection lot creation as each material document,batch, storage location.
    Inspection plan: Use the dynamic modification at characteristics level.
    DMR: Create a DMR(lets say every 5 deliveries, assuming PO delivered in 5 delieveries) and assign it to each and every characteristics which you want to skip.
    Please let me know whether it helps.
    WR,
    Sanjeev

  • External number range for Billing Document

    Hi Gurus,
    Can you please let me know how to get the external number for the invoices? I know there is no standard way but if there is a way around to determine it. And the external number should be first 2 places are alphanumeric and dynamic and the next 2 places are also alphanumeric but constant and the rest of the digits should be a serial number of length 7. So, the total length of the number range should be 11. Please let me know if there is way to determine it this way.
    Example:
    AB + HY + 1000001
    CD + HY + 1000002
    Like wise.....
    Thanks in advance.
    Regards,
    Gangi

    hello, friend.
    you can define your number ranges using VN01.  in here, you can set up alpha numeric ranges and specify external.
    technically, you can assign this set to the billing type using VOFA. 
    however, it is not best practice to assign external number ranges to billing types, as it is possible to 'jump' the sequence of the numbering.  you do want to keep track of the sequence of billing docs.
    a possible exception is if you have an external billing software which generates a number, which you will then capture in SAP.  barring exceptions, it is best to retain internal assignment.
    regards.

  • Dial chart dynamic color range

    Hi
    I am trying to dynamically change range of the scalebar color.
    I see that I can give Apex a low and high value exactly for this reason.
        Invalid Dial chart query, use the following syntax:
         SELECT VALUE, MAX [, LOW, HIGH] VALUE FROM ...
        VALUE      Numeric column that defines dial value.
        MAX      Numeric column that defines Maximum dial value.
        LOW (optional)      Numeric column that defines the low value of a range to display on the dial. If this value is defined, a HIGH value is required.
        HIGH (optional)      Numeric column that defines the high value of a range to display on the dial. If this value is defined, a LOW value is required.
        This query should return one row.I would hope for Apex to use those value in the #SCALE_DATA# in the Chart XML.
    <axis start_angle="90" sweep_angle="180" >
    #SCALE_DATA#
            <labels enabled="true" align="Inside" text_align="Near" rotation="0" >
                  <format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:\,,thousandsSeparator: }%]]></format>
              <font family="Tahoma" size="10" color="#000000" />
            </labels>
    </axis>But it does not seems to work.
    I only need to add those lines
    <scale_bar enabled="false" />
    <color_ranges>
       <color_range start="0" end="25" color="Red" />
       <color_range start="25" end="90" color="Green" />
       <color_range start="90" end="100" color="Red" />
    </color_ranges>25 being the #LOW# value and 90 the #HIGH# value.
    I do not want to use custom XML everywhere.
    ANy iadea if I can modify the default XML or modify the behavior of the #SCALE_DATA# ?
    Thanks a lot
    Sebastien

    Hello,
    What do you mean by maximum value?
    The 10 in the query is to figure out values other than the dial itself there is not a graphical component that represents that number.
    The high line usually is used historical maximum value. Do you want to change the color of the dial when it hits 10?
    Carl

  • Separate BusinessPartner number ranges by authorisation

    Hi,
    I found an entry in SPRO which allows you to create own authorisation objects (kind of). I have two number ranges of BP-numbers from R/3 (1-10000 and 50000-100000). In CRM the users which are allowed to see BPs from the first range mustnt see the BPs from the seconed (and vice versa).
    Can anybody help me out why the SPRO-thing is not working? I checked the trace via TX st10 but no success. It seems nor really checked. In SPRO I can search for DynPro-Fields which should be compared to certain values but seems Im not using the right one.
    I would be very happy if anybody could help me out here.
    Thanks in advance....

    Hello,
    In CRM the business partner number range is directly lnked to the "Business Partner Grouping'. (Check SPRO>X App Functions>SAP Business Partner>Business Partner>Basic Settings>Number ranges and groupings>Define Groupings and Assign number ranges)
    For Business Partner Grouping a standard authorization object is available. Maybe you can handle your authorization via this object?
    Another option is to use CRM ACE for this kind of authorizations. ACE is "dynamic" authorizations but quite complex to explain in two sentences.
    Hope this info might give you some new/other perspectives on how to handle/model your requirement.
    Regards,
    Joost

  • Excise invoice and domestic invoice sharing same number range

    Hi,gurus,my question is addresed to the sap cin gurus
    Scenario:-- Normally sap has provided provisions that the domestic invoice and the excise for the export will have different number range object
    Transaction-snum or snro(As per the rule the no range has to be approved by excise authorities)
    Requirement:--The present requirement of the client is that as per their requirement they will be using the same excise number range both for domestic and the export(They have got the approval from the excise department as per the amendment,that specifies the same)
    so i request you to pls guide me as how can it be done in sap that two different business process will share the same number range.
    as per my knowledge local excise number range is-J_1IEXCLOC
    and for exports is-J_1IEXCEXPand the both will use the same number range and,suppose 1 local invoice is created and say if the no is 1,then if the export excise invoice is created the number will be 2,pls guide me how is it possible that the same number range should be used.
    Thanks in advance---Anshuman chakraborty

    Dear sir,Thanks for attention towards the issue,but still i need to clarify some details-
    the number range forJ_1IEXCLOC are already configured .It is not the case like i have to configure it for the first time however ,so the issue remains how shall i proceed in this case
    Sir,i have already checked the transaction j1iin,it does not give any such box to check the-use local no range
    infact the error message which the system was throwing to the user that-number range object not assigned for Object: J_1IEXCEXP.
    The question remains from my side is what are the complete configuration steps I need to do ,to make the check box appear so as to select-use local number range,and is there any thing to be conveyed to my developer,so that the same appears,
    or is it the case like the anything should earlier have been done before the number range for J_1IEXCLOC was created.i would request u to pls guide me giving the complete details of the step to be followed.
    Thanks in advance
    Anshuman chakraborty

  • Urgent : Unable to maintain the Number ranges for Excise Groups

    Hi CIN experts............
    In Development server I created 3 excise Groups (E2,E3 and E4), the same I was transported to Production.
    J_1IRG23A1, J_1IRG23A2 object number ranges are Excise Group specific.
    When I go to Tools - Number Ranges to maintain number range for J_1IRG23A1, J_1IRG23A2 objects I didn't find these excise groups.
    Im able to see these Excise groups in Tools - Number ranges in Development server, but not in Production.
    Can any one guide me something to resolving the issue ?
    regards
    Durga Ram

    Hello Nagaraju,
    Can you please tell me the customozing path for maintaining the number ranges for PM log entries.
    I require to mention customizing path in my document.
    Puneet

  • How to find next number range for project definition in tcode CJ20N

    Hai Experts,
          Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
    Note: I searched in forum before posting, but couldn't find the solution.
    Thanks
    Regards,
    Prabu S.

    Hi,
    For project defination internal number is assigned by system.
    When you saves's project then system allocate one number to project defination, you can view it,
    SE11 >>> table  PROJ >> Click on contents >>> execute,
    here you will get your project defination & number is assigned to project defination.
    kapil

  • CRM ISA R/3 Edition on AP 7.0  Pricing Routine Number range error

    Hi Experts,
    For our R/3 ISA Secenerio I have developed a Pricing Prepare Routine (PRP). I have uploaded this routine into AP 7.0 ( which runs my IPC 5.0). Now when I try to register my PRP routine I'm not able to do so because of Number range not defined for Application V Scenerio A and Routine Type PRP.
    My question are:
    <b>1)</b> For a PRP type Routine( Multiple Implementation) is it important to assign a
        routine number?    ***( according to pricinguserexit manual dummy routine no
                                      has to be assigned)******
    <b>2)</b> If yes then how can i assign Number range for this combination.
    NOTE: AP 7.0 has SP 7 ( So it fullfills requirment for Special scenerio)
    I have never recieved a reply for my query from this forum... hope someone helps this time. <b>:)</b>
    Regards,
    Dipender Singh

    go to http://www.configuration-workgroup.com/ and find technical doc about IPC 5.0 that i presented at Marco Island in 2006.

  • 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 ranges for material document (migo) and inventory  documents

    Hi Gurus,
    We need a different number ranges for goods receipt documents  and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
    If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it  is the single transaction code used by different companies and how to give different number ranges.
    Regards,
    Sri........

    Hi,
    I think number ranges of inventory documents are on client level not on company code wise . because even though  your creating new document and assigned different number ranges for the documents but  these while assigning  ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level  not at company code level.

  • Number range purchase requisitions at storage location level

    How can I define a number range for purchase requisitions at storage location level? I have one plant with several storage locations and I want a number range for purchase requisitions per storage location.

    what is the background to this request?
    I guess that the requestor can easily identify their own requisitions among many.
    I dont think that this is necessary with SAP, do not put to much importance in numbers, there are many other options to meet the users requirements.

  • Billing doc external number range

    Hi Guys,
    As per my knowledge billing doc uses only Internal number range but when i check table: TVFK i can see No. range external maintained (XX) same maintained my company where shall i config this please give me idea and steps.
    Regards
    JACK

    Hi Jack
    In VN01, number ranges for all will be maintained wherein you can see on the right side a tab "Ext".  If you tick in this box, assign to your billing types in VOFA, then whenever you do billing, external numbers will be generated.
    Reward if this helps you.
    Thanks
    G. Lakshmipathi

  • Accounting Document No Number Ranges

    I have got a requirement wherein the client has asked for the Accounting Document Numbers has to be at Plant Level, & not the Company code level...
    Kindly inform me is it possible to allocate the different Number Ranges for Plant Level

    hi ASHWIN,
    how many plants are there? If not too much, say less than ten, you can create separate document types for the plants. To the different document types you can assign different number ranges. On the other hand you have to write exits, that the proper document type is used in case of MIRO posting for example. You need to create validations as well, that a specific document can only be used for a specific plant (in case of manual posting).
    hope this helps
    ec

Maybe you are looking for

  • Registering Report Writer in Portal 10g

    Portal 10g AS software is fairly new and not a lot of books are available for it. I am looking for a guide or proper steps to registering the Oracle Report Server with Portal 10g. I have looked at this doc: http://download-uk.oracle.com/docs/html/B14

  • WRT54G v7 error when saving/ reloading configuration from PC to router

    I have configured my WRT54Gv7 via the Web-GUI. Everything works fine, but when I save the configuration to the PCs HDD and then try to reload it back to the router I get error messages such as "This is not a configuration file". I use the EU-version

  • How can i get my playlists on my pc to be the same on my laptop

    how can i get my playlists on my pc to be the same on my laptop

  • Unable to download ver 10 & 11 flash player

    flash player had crash some of the website and I uninstall it. Thought of re donwload the older version 10 but it keep prompt me to download the newest and unable to download the older. The newest version fails to initialize. What can I do? I had als

  • Multi paper format support

    Hello Gurus I need to create adobe forms that should support North-America letter format as well as Europeen A4 format. Letter format is 8.5 inches X 11 Inches (215.9 mm X 279.4 mm) A4 format is 8.26 inhes X 11.69 Inches (210 mm X 297 m) 1. Is it pos