Program/User exit to maintain the number ranges at plant level

Hi Everybody,
Could u please tell me program/user exit to maintain the number ranges at plant level.
Thanks & Regards,
Piyush

Hi
Do you want to maintain all the number range Objects
For Material Master you can use the enhancement  MGA00002
For PO Nu,ber ranges you can use the enhancement MM06E003
Thanks & Regards
Kishore

Similar Messages

  • 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

  • Regarding Number ranges at plant level

    Hi all,
       We have a requirement for number ranges at plant level for purchase orders. How it can be done ? whether to go for this with userexit or directly from config. it can be done.
    Thanks And Regards

    Amit,
    Check with this BADi ME_PURCHDOC_POSTED
    Method:POSTED
    use FM NUMBER_GET_NEXT and get number and assign to parameter IM_EKKO-Ebeln which is PO number.
    Create a Number Range in SNRO Transaction.
    Amit.
    Edited by: Amit Gujargoud on Sep 5, 2008 8:32 AM

  • User Exit for Purchase Requisition Number Range

    Dear Experts,
    I searched on sdn, i got M06B0003 &M06B0004 this 2 user exit for PR Number range.
    I have activated both User exits but while creating PR is not getting effect of that user exit.
    I have checked by putting Break-point in respective user exit but while saving the PR it should go to that break-point but it not going there aslo.
    And also i have checked user exit MM06E003 but it is for Purchase Order number range.And for PO it is working.
    Please help me to solve this issue.Solution will be appreciated.
    Regards,
    Sanket.

    Hi,
    Sorry that badi will not help try this one ...EXIT_SAPLMEREQ_009 in MEREQ001 where the export parameters is purchase requisition number....
    Thanks,
    Shailaja Ainala.

  • The number range is not maintained for Object/Year: J_1ILIC/

    Hello,
    I am facing the problem as
    After Created the No range object j_1ilic for excise bond, for capturing the CT3 form in J1ILIC01 and maintain the required fields in J1ILIC01, following error is occuring
    "The number range is not maintained for Object/Year: J_1ILIC/"
    Kindly advice on the same
    Thanx in advance
    Shailesh

    Hi,
    You will have maintain the Number range for the Lisence for the object J_1ILIC through SNRO.
    Regards,
    Murali

  • How to find user exit implemented in the program

    how to find user exit implemented in the program or standerd transaction

    try this program to get the list of all the user exits for a transaction...
    *& Report  Z_USER_EXIT                                                 *
    *REPORT  Z_USER_EXIT                             .
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
      TABLES : tstc,     "SAP Transaction Codes
               tadir,    "Directory of Repository Objects
               modsapt,  "SAP Enhancements - Short Texts
               modact,   "Modifications
               trdir,    "System table TRDIR
               tfdir,    "Function Module
               enlfdir,  "Additional Attributes for Function Modules
               tstct.    "Transaction Code Texts
    *& Variables
      DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
      DATA : field1(30).
      DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
      SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
      SELECTION-SCREEN SKIP.
      PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
      SELECTION-SCREEN SKIP.
      SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
      START-OF-SELECTION.
    Validate Transaction Code
        SELECT SINGLE * FROM tstc
          WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM tadir
             WHERE pgmid    = 'R3TR'
               AND object   = 'PROG'
               AND obj_name = tstc-pgmna.
          MOVE : tadir-devclass TO v_devclass.
          IF sy-subrc NE 0.
            SELECT SINGLE * FROM trdir
               WHERE name = tstc-pgmna.
            IF trdir-subc EQ 'F'.
              SELECT SINGLE * FROM tfdir
                WHERE pname = tstc-pgmna.
              SELECT SINGLE * FROM enlfdir
                WHERE funcname = tfdir-funcname.
              SELECT SINGLE * FROM tadir
                WHERE pgmid    = 'R3TR'
                  AND object   = 'FUGR'
                  AND obj_name = enlfdir-area.
              MOVE : tadir-devclass TO v_devclass.
            ENDIF.
          ENDIF.
    Find SAP Modifactions
          SELECT * FROM tadir
            INTO TABLE jtab
            WHERE pgmid    = 'R3TR'
              AND object   = 'SMOD'
              AND devclass = v_devclass.
          SELECT SINGLE * FROM tstct
            WHERE sprsl EQ sy-langu
              AND tcode EQ p_tcode.
          FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
          WRITE:/(19) 'Transaction Code - ',
          20(20) p_tcode,
          45(50) tstct-ttext.
          SKIP.
          IF NOT jtab[] IS INITIAL.
            WRITE:/(95) sy-uline.
            FORMAT COLOR COL_HEADING INTENSIFIED ON.
            WRITE:/1 sy-vline,
            2 'Exit Name',
            21 sy-vline ,
            22 'Description',
            95 sy-vline.
            WRITE:/(95) sy-uline.
            LOOP AT jtab.
              SELECT SINGLE * FROM modsapt
              WHERE sprsl = sy-langu AND
              name = jtab-obj_name.
              FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WRITE:/1 sy-vline,
              2 jtab-obj_name HOTSPOT ON,
              21 sy-vline ,
              22 modsapt-modtext,
              95 sy-vline.
            ENDLOOP.
            WRITE:/(95) sy-uline.
            DESCRIBE TABLE jtab.
            SKIP.
            FORMAT COLOR COL_TOTAL INTENSIFIED ON.
            WRITE:/ 'No of Exits:' , sy-tfill.
          ELSE.
            FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
            WRITE:/(95) 'No User Exit exists'.
          ENDIF.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'Transaction Code Does Not Exist'.
        ENDIF.
    Take the user to SMOD for the Exit that was selected.
      AT LINE-SELECTION.
        GET CURSOR FIELD field1.
        CHECK field1(4) EQ 'JTAB'.
        SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
        CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • Getting Error: The number range is not maintained for Object/Year: J_1ILIC/

    Hi Gurus,
    When I try to capture deemed export license from J1ILIC01 I get this error
    The number range is not maintained for Object/Year: J_1ILIC/
    I tried to maintain number ranges in SNRO & SNUM  there the changes are saved but I am not able to capture the license and receive the same error again. Please help.

    Hi
    Just check if you have maintained number range for the correct year as shown in error.
    Goto SNRO/SNUM enter the object ID and click on number range .Maintain there for that particular year.

  • Why most of the number range are maintain year wise

    Hi,
    I want to know why most of the number range like Part1 and part2 57F4 Challan goods issue , GR, number range are maintain year wise.
    regards,
      zafar

    Hi ,
    There may be a lots of documents in a business . But SAP has provied limited no for documents ( upto 999999999). So if you are running your business for a long time , it may happen that the no. of documents may go beyond this no.Year wise no range allows us to use the same no . in another year . So that the combination of fiscal year and document no is sufficient to uniqly identify one document .
    Regards,
    Anupam

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • Restting the number ranges

    Client Copy: Each time a client copy is made, material movement postings cannot be processed until several number ranges are reset and the user gets the message Express document “update was terminated”. These number ranges can be reset thru SNRO. But identifying what objects need to be reset also difficult. I don’t know how to identify what objects need to be reset the number ranges. This problem occurs each time a client copy is made (The user faces). I am trying to reset all the objects number ranges automatically by writing a custom program. Each time the client copy is made, the user can run this program and be able to reset the number ranges for all objects automatically. Can anyone help me if I can write a program to achieve this and how?
    Thanks,
    Sobhan.

    HI,
    Try to use the program RSSNR0I0 for resetting the number range object. This will accept only one number range object.
    Otherwise create a new program and call the FM NUMBER_RANGE_INTERVAL_INIT with the number of objects one by one.
    Please let me know if it works.
    Thanks,
    Naren

  • 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.

  • User exit upon saving the customer

    Hi
    can any one tell me what user exit is triggered upon saving the customer in XD01,XD02,VD01 & VD02 Tcodes.
    Thanks
    Sonali

    Hi sonali
    Check these user exits which are used at partner determination level. May be this inputs  will help you
    EXIT_SAPLV09A_001
    You can use this user exit to control whether an address that was entered manually and has already been used in other documents (referenced), should be referenced again if it changes or whether a new address should be created (duplicated).
    EXIT_SAPLV09A_002
    Call up this user exit if a customer has not been maintained in the current sales area.
    EXIT_SAPLV09A_003
    Use this user exit to control the origin of partners in the partner determination procedure (origin X, Y or Z). If X, Y, or Z has been entered in the Origin field, this user exit is automatically called up during partner determination.
    EXIT_SAPLV09A_004
    Use this user exit to integrate your own check in a program that runs before the partner is saved in the document.
    For more detailed information, see the program documentation for each of the user exits
    Regards
    Srinath

  • User-exit wich modify batch number in vl31n

    Hi,
    I have another question.
    What is user-exit wich modify batch number in vl31n transaction ?
    Regards,
    Greg.

    Hi
    Find the available exits with the following program:::
    *& Report  ZFINDUSEREXIT
    report  zfinduserexit.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    execute this code.
    <b>type the transaction. u will get the user exits</b>
    If there are no available user exits you could go for badi's.
    To search for a badi, go to se 24 display class cl_exithandler. double click on method get_instance, get a break point on case statement. execute and start the required transaction in new session. look for variable exit_name. It would show the available badi's.
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • CRM exit or BADI for Number range in follow up documents

    Dear Experts,
    Our requirement is to assign formatted number range to followup document which triggers automatically.
    Kindly suggest me the badi or exits for the number range in CRM 4.0.
    Thanks in advance.
    with regards,
    Rajesh C

    Dear Experts,
    Our requirement is to assign formatted number range to followup document which triggers automatically.
    Kindly suggest me the badi or exits for the number range in CRM 4.0.
    Thanks in advance.
    with regards,
    Rajesh C

  • 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

Maybe you are looking for

  • New Airport Extreme and iPhone Issues

    I've had the networking day from ****. I previously had a 3rd Gen Time Capsule at our restaurant, connected to a Cisco 26port gigabit POE switch and Comcast digital voice and internet. Over the past few days, employees have reported trouble accessing

  • Newb deserving assistance with Adobe Javascript (check boxes and combo boxes)

    Hi, I'm a newb when it comes to javascript (using adobe acrobat pro 6.0). I am working on a form that will allow me to autofill checkboxes based off of information chosen. Ideally, I would like to have a selection from a combo box autofill/auto check

  • Can only save as .cptl

    2Hello! I've looked, but I didn't see any other discussions that address the particular issue that I am experiencing. I'm using Captivate 5 on a Mac and when I select "Save as" for my projects, I only have the option to save as a .cptl type file and

  • Perfomance Order in Planning

    I am trying to move dimensions in the Performance Order in Planning for my WFP database. Some dimensions will move up/down the order but I have a couple that will not move when I click on the arrows. I am trying to move Periods up (dense dimension) s

  • I need to upgrade the chipset as i am having issues with my apple itunes. how do i do this?

     I have been advised by apple as my ipod is not syncing that  i need to update the chipset on my computer. Can you please advise me how to do this without buggering up the computer! My serial number is cnu1162rc2 and product is le437ea#rbu cheers