Get number range by gtin

Is there any function to get number range by gtin number?
I know the webservice "GET_NUMBER_RANGE_IN" but it wants EPC number not GTIN or materialID*
how can i access Number Range for an device controller?
Thanks..

Hello Tuncer,
                  As you have rightfully pointed out the Web Service getNumberRange needs an EPC tag id.
Question 1:
So to suit your requirement there is a RFC Enabled Function module ie BAPI called
BAPI_AIISRV_GET_NUMBER_RANGE  which generates a number range based on the actual objects
ie GTIN
    SSCC
    GRAI
    GIAI
    DoD
So since it is RFC enabled this BAPI can also be made as a Web service and used.
Question 2:
Why do you need to access the number range for a device controller on the first place itself. Number ranges can be managed at SAP AII level but i dont think so it is possible at the device controller level.
It will be the device controller which will be accessing the service from SAP AII to generate the number range. SAP AII does not have the capability to generate number ranges and block number ranges specific to a device controller. However i think this capability can be ABAP coded and developed.
Please revert if you have any other questions.
Thnks and Regards
Yogesh Bhatia
Edited by: Yogesh Bhatia on Feb 13, 2009 8:40 AM

Similar Messages

  • Function Module for getting Number ranges between two number

    Hi guys,
    Is there any Function module which provide us the number range between two numbers?
    For Ex:If i give 1 and 10 to FM it must give me 1
    2
    3
    4.....upto 10.
    is there any FM for doing this,but i'm not able to find exact Fm for same.
    I can write small piece of code for getting number ranges, but if i get FM it could save little work.

    Hi
    But why do u need a fm, can't you do it by yourself?
    DATA: FROM_NUMBER TYPE I VALUE 1,
          TO_NUMBER   TYPE I VALUE 15.
    DATA: NUMBER            TYPE I.
    DATA: BEGIN OF T_NUMBER OCCURS 0,
                  NR TYPE I,
              END    OF T_NUMBER.
    NUMBER = FROM_NUMBER.
    DO.
      IF NUMBER <= TO_NUMBER.
        T_NUMBER-NR = NUMBER.
        APPEND T_NUMBER.
      ELSE.
        EXIT.
      ENDIF.
      NUMBER = NUMBER + 1.
    ENDDO.
    LOOP AT T_NUMBER.
      WRITE: / T_NUMBER-NR.
    ENDLOOP.
    Max

  • Getting number range interval for document type

    Hi All,
    My requirement is to display number range interval for any docnument type in SD.
    I will elaborate my req. clearly.
    We can see document type of SD in TVAK table. If we give document type for ex. ZOR the we will see number range internal assignment (NUMKI). The complete number range we can search through transaction VN01 through NUMKI value. But I didnt get any table to relate NUMKI or Sales document type and internal number range.
    Please help me in searching database table to relate Document type or NUMKI and internal number range.
    Regards,
    Suresh.

    Relation is as below:
    TVAK --> AUART = "Sales Document Type"
    NRIV --> OBJECT = "RV_BELEG" and
             NRRANGENR = TVAK-NUMKI
    Alternatively you can use FM: NUMBER_GET_INFO with the Number Range Number and Object to extract Intervals.
    Regards
    Eswar

  • Any FM for create an external number range for equipment number ????

    Hi all,
    Any FM for create an external number range for equipment number??????
    thanks & regards
    indu.

    Hi
    you can use below FM to get number range
       CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING
          nr_range_nr                   = 'Z1'
         object                        = 'ZTEST'
         object                        = 'ZFIREC'
         quantity                      = '1'
         subobject                     = p_compcd
         toyear                        = p_fisc
       IMPORTING
         number                        = v_seqno.
    thanks & regards,
    bhupal.

  • Automatic update of number ranges in FBN1 is not getting processed

    Automatic update of number ranges in FBN1 (current status) level is not getting processed.
    Tried posting a customer payment document in the system though number ranges are maintained for the year 2015 the number ranges are not overlapped last year all documents are closed but still the numbers are not been picked automatically in FBN1 kindly help in this issue

    Hello Rajesh
    Please verify if number ranges are maintained correctly, verify same using transaction OBA7. Also ensure that external assignment is unchecked in FBN1. Share screenshots if possible.
    Regards
    Aniket

  • How to get the unoccupied material number in a number range

    How to get the unoccupied material number in a number range.for example, I wang to get a number between 1500000 and 1599990 which is unoccupied as my material number to be created. Is ther any FM or codes?

    Dear,
    You can get this information from Tcode SNUM or you can access database table NRIV.

  • Billing Type Number range (  Accounting doc not getting generated )

    Hi All,
    I have created some billing types and for them I have assigned some internal number ranges. Now when I create a billing document it is getting saved with the proper number range but no accounting document is getting generated.
    Also when I try to release the invoice I am getting an error which says " *Incorrect doc.no.: 10000009. Select document number between 0090000000 and 0099999999* "
    K I N D L Y suggest as U R G E N T.
    Regards,
    Danny.

    Hi
    Check with t-code VOFA. Select the Billing document type, and Pick Detail Button.
    Here you can see one field as Posting Block, check whether it is checkedup. If it is Checked you need to release the document manually.  It Indicates whether the system blocks automatic transfer of the billing document to accounting.
    Also check for the AcctDetermProc.
    Hope it may work.
    Award if useful to you.

  • Multiple Number Ranges for AP Document Type not getting triggered

    Hi all,
    We are posting receivables in the system using BAPI_CTRACDOCUMENT_CREATE. We have huge data of 3.9 million records for which receivables has to be posted. So multiple number ranges has been configured in the system for AP document type.
    The issue is even though multiple number ranges for mass processing are configured in the below location in SPRO, none of them are getting triggered. The number range at the first level on the screen is only getting triggered, due to this it is taking lot of time to post documents. Any help on this?
    Financial Accounting(new)
         Contracts Accounts Receivable and Payables
         BasicFunctions
         Postings and Documents
         Document
         Maintain Document Assignments
         Document Types
         Maintain Document Types and Assign Number Ranges
    Regards,
    Karthick.

    Karthick:
    Mass ranges are only used for FICA parallel mass activities.  For your situation, you can define and assign multiple ranges for individual processing in the same IMG activity.  Those would then be chosen for your mass postings.
    regards,
    bill.

  • ""  No authorization for number range object type GTIN and activity SHOW ""

    While creating number range in number  range administration for GTIN system showing the error
    ""  No authorization for number range object type GTIN and activity SHOW ""
    Pls help me to solve this issue

    Hi ,
    Please check roles for user assigend as  [ This is for super administrator ]
    SAP_AIN_ADMINISTRATOR
    SAP_AIN_OER_ADMINISTRATOR
    SAP_AIN_SUPER_ADMINISTRATOR
    SAP_AIN_SUPERVISOR
    SAP_AIN_WORKER
    and profiles assgined as
    SAP_ALL          
    SAP_NEW          
    Hope it will helps
    Thanks .,
    V.Rangarajan

  • Applicant Number Ranges are getting skipped

    Hi,
    In my client's production server while entering initial applicant data the internal number ranges are getting skipped.
    For Example someone has done Initial Data Entry for the Applicant, the Applicant number generated is 40. Then in the next entry it is taking 45.
    This skipping of Applicant numbers are quite erratic sometimes 5, sometimes 7, sometimes 10 etc.
    Samriddhi

    Just wondering if you found a solution to this. I am experiencing the same issue.

  • Number range skipping & getting reassigned

    Hello All,
    I am getting a situation where the number ranges are getting skipped & then later the skipped number ranges are getting assigned again to new documents. This is happening for excise documents, customer master & material number. When i checked the number range objects in SNRO, there is no buffer assigned. What is confusing to me is that the number ranges once skipped should not get re-assigned to new documents.
    request you to please give your expert comments on this issue. Thanks in advance.

    You may need to refer OSS  1817764 - Number range skip in Customer / Vendor Master Data 
    and   1646025 - Material number skipping while creating material in transaction MM01
    Regards,

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

  • TR TO Number Ranges getting reset automatically

    Hi All,
    Can someone please help me to understand why the number range of WM objects - TR, TO, PCN, etc is getting reset automatically. Meaning even when I have 10 Trs or TOs created, when I see the current number range in OMLW it shows zero (that is initial).
    I am doing configuration in development system & while testing all of a sudden I start getting error messages when posting the material documents in IM.
    Initially I was shocked but after than I understood this. But most strangest thing is it is happening again & again. I discussed this ABAP team, but they are not able to understand.
    Thanks

    Thank You very much Juergan,
    I contacted SAP as- this appeared to be risk for Project Go-live, and below is the answer... However I was am not able to get the find the Object & Subobject for Warehouse numbers
    Hello Hiren,
    Are you resetting the number range buffers in SM56 after the imports?
    You get to the buffers using transaction SM56. Chosse there in the
    menu - goto - entries. Enter in the popup the client and the object
    number - then <enter>. The system will then display you all current
    buffers on all application servers.
    In the menu under number range buffer you should reset all the buffers
    if they also show ranges that are still below any existing
    quants/transfer orders/transfer requirements/etc.
    If you need any further help from me, just let me know.

  • Number range for network is getting skipped

    Hi,
    The number range for network is getting skipped can any one please tell me the object in SNRO or SNUM where i need to maintain the buffer?
    Thanks
    Satish.

    Hi,
    Maintain the buffer to this Object AUFTRAG.
    Adive you search for S-note on buffer maintenence in network order.
    Regards,
    Nag.

  • How to get the Next free Number for External Number Range

    Hi ,
    To get next free number for External Number Range, I have used NUMBER_GET_NEXT Function module.
    It is throws the exception like  NUMBER_RANGE_NOT_INTERN.
    How can i get the next free number for external number range object. And How to update the Current Number for External Number Range Object
    Scenario.
    Call Function module              NUMBER_GET_NEXT
    Import Parameter.
    NR_RANGE_NR : 02
    OBJECT            : RV_BELEG
    QUANTITY         : 00000000000000000001
    I am getting Exception : NUMBER_RANGE_NOT_INTERN
    Thanks in advance.
    Regards
    Ram

    Hi Anand,
    The SAP system issues the numbers for internal number range intervals automatically. This number is between the from-number and the to-number. The last number issued is logged in the current number level.
    You need to enter a number for external number issue. The number you enter needs to be between the from-number and the to-number. For external number ranges, the number number used is not logged. So the next available number is not possible in a straight forward way.
    Only for Internal number ranges, the FM NUMBER_GET_NEXT can get the next available number.
    Hope this helps.
    Thanks,
    Balaji

Maybe you are looking for