Number Range Object maintained programatically

Hi,
I have custom number range object. I need to maintain this by programatically and NOT using transaction code SNRO. (ie create new instance, maintain Maximum number , delete instance etc)
Anybody having a piece of code or info on this ?
Your help will be appreciated.
Thanks
Sa_R

hi Sa_R,
u can try using the "ABAP Debugger",
this transaction use the program "SAPMSNUM", go to SE80 and Display the Program, it's using the Function to show / edit the range's.
     CALL FUNCTION 'NUMBER_RANGE_UPDATE_INIT'
          EXPORTING
             OBJECT           = OBJECT
          EXCEPTIONS
             OBJECT_NOT_FOUND = 1.
     IF SY-SUBRC NE 0.
        MESSAGE A010 WITH OBJECT.
maybe it can help u.
Regards
Allan Cristian

Similar Messages

  • Maintain number range object for excise grp

    Hi Gurus,
    During stock transfer, while doing Goods receipt I am getting the below error
    "Maintain number range object for object J_1IRG23D, year 2010, excise group"
    Could anyone please tell me the trans code for maintaining no range for excise group...
    Thanks,
    Raja

    Go to J1I9 T Code for a particular object object J_1IRG23D, execute and then give the excise group and maintain the number series.
    Regards,
    Nagesh
    Edited by: Nagesh MS on Dec 20, 2010 3:59 PM
    Edited by: Nagesh MS on Dec 20, 2010 3:59 PM

  • Maintain number range object

    Hello Friends,
    When I am doing a Goods Receipt, system is giving the message " Maintain number range object for object J_1IRG23A1, year 2008, excise group 50". What to do for this. Please tell me.
    Regards,
    nr

    Hai
    Thank you very much, it is working , I have saved GR, but now when I go to GR display option, it is saying "document 5..... does not exist in calender year 2008", but if I go to MB03 it is displaying the document, after MB03, if I go to MIGO display, it will display the document. Why it is not displaying for the first time ?
    Thanks
    nr

  • Maintain number range object for object J_1IRG23C1, year 2008, excise

    Dear All,
    I am doing the purchase cycle for Assets, while doing GR i am getting the below error, pls guide me
    Maintain number range object for object J_1IRG23C1, year 2008, excise
    Maintain number range object for object J_1IRG23C2, year 2008, excise
    B/regds,
    CB

    Dear CB,
    Use Transaction "SNUM", and give the object name as "J_1IRG23C1" and maintain number range for the financial year.
    Do the same procedure for Object "J_1IRG23C2" and maintain the number range.
    Hope this helps.
    Njoy SAP
    -Saravanaganesh

  • Maintain number range object for object J_1IRG23A1, year 2011

    hi
    when i try to maintain no range for object J_1IRG23A1 with t code SNRO i get following error
    please specify an existing number range object how to rectify
    Thnx

    Hi
    Please use the following document to configure the CIN specific number ranges. Hope steps mentioned here help you.
    http://help.sap.com/bestpractices/BBLibrary/html/J81_ProcStockMaterial_EN_IN.htm
    Nishant

  • Maintain number range object for object J_1IINTNUM

    Dear,
    While doing GRN i am getting this error:
    Maintain number range object for object J_1IINTNUM, year 2009, excise group
    Maintain number range object for object J_1IRG23A1, year 2009, excise  group E1
    Maintain number range object for object J_1IRG23A2, year 2009, excise group E1
    What i did is:
    1) I maintained NR for Objects J_1IINTNUM,  J_1IRG23A1,J_1IRG23A2 in J1I9 Tcode.
    Still i am getting the same error in MIGO.
    Regards
    Utsav
    Edited by: Utsav.agra on Nov 18, 2009 12:24 PM

    Dear Pankaj,
    thanks actually i wans maintaining number as 1 instead of 01.
    Thanks
    Utsav

  • Maintain number range object for object J_1IINTNUM, year 2009, excise group

    Hi SAP Guru !
    Plz tell me the solutions quickly, Even after mantaining the required Objects in "J1I9" , when I am going to post GR , once again it is saying that ........
    1 - >   Maintain number range object for object J_1IINTNUM, year 2009, excise group
           Message no. "4F159" .
    2 - > Maintain number range object for object J_1IRG23A1, year 2009, excise group 21
           Message no. 4F159
    3 - >  Maintain number range object for object J_1IRG23A2, year 2009, excise group 21
            Message no. 4F159
    Regards,
    San

    dear sir
    while maintain number range , in the number column, it should be 01. other than 01, you will get same error.
    so please check it should be 01 in the number column and year and number range interval .
    regards
    jrp

  • Maintain number range object for object J_1IRG23A1, year 2007, excise

    Hi All,
    I have configured CIN in ECC 5.0. When i am doing MIGO getting errror that "Maintain number range object for object J_1IRG23A1, year 2007, " and
    Maintain number range object for object J_1IRG23A2, year 2007, excise group 10
    but i have already maintained number range for  such object.
    please guide me.
    Regards,
    Ravindra

    Hi,
    Which Number u given,
    No    year       From number       to number
    01     2007      1                          10000
    I think u allready given,this is for checking.
    Raghu

  • Number range objects not maintained properly...??

    Am doing a Purchase Requisition for asset material. While saving the PR document am getting error like
    I have went to SNRO and checked asset number range object ANLAGENNR , there intervals are maintained. i couldn't go further with the issue, Can anyone help me with the solution please?
    Regards,
    Naveen

    Hi,
    Please
    1. Go to transaction code J1I9
    2. Give object name as BANF.
    3. Click on Number Ranges.
    4. Click on Intervals
    5. Maintain Intervals
    6. Save
    Hope, your problem has been resolved else revert.
    Regards,
    Tejas

  • Number Range Object For following object is not maintained for year 2008,

    Hello Together,
    Now the 2008 year has begun.....All the number range object in Excise related process ( CIN ) has to be changed.
    I would like to know whether i need to change the only Year in SNRO or i have add new year in that setting.
    Below is the example :-
    Ranges   Year      From Number       TO Number   Current Number
    01           2007     001000000            99999999     10001013
    If i change only year i,e. insted of 2007 i will change 2008....what will be impact?
    Please guide
    Thanks in advance
    Shailesh

    go to J1I9-select the object--here maintain a new year for the same number range:
    Ranges Year From Number TO Number Current Number
    01 2007 001000000 99999999 10001013
    01 2008 001000000 99999999
    give enter---save.
    regards,
    indranil

  • Interval 01 was not created for number range object HRTEM_REFN

    Dear expert!
    Now, I'm getting some issues in Training and event management module.
    - The first, I created business event
    - Second, I process to book for business event by tcode: PSV1 --> book --> book/payment info --> activity allocation.
    But when I was booking, the system displayed error: "Interval 01 was not created for number range object HRTEM_REFN"
    Help me, please!
    Best regards, Huy!

    Go to the customization as below
    Training and event mgt>Basic settings>Number range maintanence>Define number ranges for External operation
    and maintain number ranges as 01 Internal
    Hope ur problem will solve
    with regards
    partha

  • Error in MIGO :Number range object for object J_1IINTNUM, year 2010, excise

    Dear Experts,
                              While  posting  MIGO, System throws below error : 
    Mainintain number range object for object J_1IINTNUM, year 2010, excise
    Maiintain number range object for object J_1IRG23A1, year 2010, excise
    Maintain number range object for object J_1IRG23A2, year 2010, excise
    Actually we are posting the MIGO for the  fiscal year 2009, still i am getting error  why ?
    regards
    rajakarthik.

    check the posting date what u r puting , it should be on or  before 31/03/2010
    i think this is only the issue dont looks like any other issue
    or do one thing just o\go in SNRO and for J_1IINTNUM object put 9999 year and the number range
    and try to post your transaction in 2009
    hope this helps
    Edited by: Umakant Bhangale on Apr 1, 2010 10:22 AM

  • No authorization for number range object type BTI and activity SHOW

    Hi All,
    When I try to execute
    SAP Easy Access screen - > Auto-ID Infrastructure -> Master data -> Number Ranges -> Number Range Administration
    on the next web window when I select the object type BTI , it comes up with the error
    Number range table not maintained for object BTI in customizing  
      No authorization for number range object type BTI and activity SHOW  
    I am using AIN 5.1 .  Is this an authorization issue ?. If so which all roles I should give to the user?  IF you have any idea about this please share some tips.

    Hi Sahad,
    Only few number range object types are available in the standard system:
    Follow the link for help .
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm
    Follow the for setting up the others.
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm

  • Maintenance dialog with Number Range Object

    Hello Experts,
    i want to create a maintenance dialog with some fields for maintain a db table. In this field i have a id. This i should increment automatically like a Number Range Object. How can i do this.
    E.g.
    id    name
    1    manfred
    2    steve
    When i will write a new name i only want to write the name not the id. The id should be the 3 in this case automatically. Can anybody say how i can do this?
    Regards
    Chris

    I would guess you can create a number range object and then use the NUMBER_GET_NEXT FM to get the next number as part of your event (before saving like event 01 or other events as per your requirement) ...
    Check out the following links which talks about making field READ only
    HOW TO MAKE FIELDS AS READ ONLY IN TABLE MAINTAINANCE
    and also the wiki entry on table maintenance
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609

  • Number  Range Objects

    Hi Experts,
    In which tables does the number range objects are stored and their current running number is stored in which table.
    Thanks in Advance.
    Regards,
    IFF

    tables NRIV, TNRO and TNROT hold the data for the number range objects and subobjects.
    Number range object read and maintain services :
    http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa0365493111d182b70000e829fbfe/frameset.htm

Maybe you are looking for

  • I have a hp photosmart printer. i am trying to print a page of labels avery 5160.

    When I put the label page in (Avery 5160) and click 'print', it spits out the label page and prints on a plain piece of paper instead.  Does anyone know how to fix this?  Thank you.

  • Viewer crashes if any data exists in field

    Hi there, Wonder if you would be able to help me out. We are doing a very simple query onto the database using a Data Template (see below). We've set the 3 parameters and Auto Generated a Layout. When viewing this report (clicking View) all is fine w

  • Which is the best SAP module?

    Hi, my name is vamsi and i have just completed my graduation and i am looking forward do SAP course but, as there are a lot of modules im confused what to select. Can you please suggest me which module is good and has a good demand in  the industry w

  • Error connecting 10g DB through 9i client

    I have one 10g database on a remote machine and I want to connect this database through 9i client. Would some please tell me the procedure for connection. Running netca didn't is not solving my problem. Thanks, Bikash

  • Photoshop Elements and Adobe Revel

    Can you use Revel with Adobe Photoshop Elements?