Check the number assignment is External or Internal based on Account group?

I want to validate in my program whether the given account group in vendor creation XK01 will accept External number or internal number range.
Scenario:
I want to create some vendor's with SAP internal number range and some vendor's with external number which is given in the excel sheet.
Functional:
External number range allowing is configured in SPRO to Account group.
Technical:
The flag for external number range is saved in NRIV table.
Question;
Is there any FM to find the given account group allows external number
or which all are the related tables which i can join to get the number range flag by passing Account group as the condition.
Thank you

Thanks for the reply,
I fetched the (NUMKR) number from T077K table for the Account group and passed the NUMKR and the object 'KREDITOR' to the FM
call function 'NUMBER_GET_INFO'
  exporting
     nr_range_nr        =
     object                   =    'KREDITOR'
  importing
    interval           =  ls_number_get_info
   exceptions
    interval_not_found = 1
    object_not_found   = 2
    others             = 3.

Similar Messages

  • How to find the number of columns in an internal table DYNAMICALLY ?

    Hi,
    How to find the number of columns in an internal table DYNAMICALLY ?
    Thanks and Regards,
    saleem.

    Hi,
    you can find the number of columns and their order using
    the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'ITAB'
       I_INCLNAME                   = sy-repid
      changing
        ct_fieldcat                  = IT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif
    now describe your fieldcat . and find no of columns.
    and their order also..
    regards
    vijay

  • Spilt the number of records in a internal table

    Hi all,
            I have a requirement where i must spilt the number of records in my internal table itab .Say if i have 2000 records , i must spilt it taking the first 990 records and doing some posting using Bapi and again take the next 990 records and do the posting .Can some one help me out.
    Good answers will be rewarded with points.

    Hi,
    You can use these instructions using two internal tables, but please be aware to not forget any line.
    REFRESH my_table2.
    APPEND LINES OF my_table FROM 1 TO 990 TO my_table2.
    CALL FUNCTION 'BAPI'....
                 (with my_table2)
    REFRESH my_table2.
    APPEND LINES OF my_table FROM 991 TO my_table2.
    CALL FUNCTION 'BAPI'....
                 (with my_table2)
    Regards,
    Mathieu

  • Visio 2010 Validation for Checking the number of a specific type of shape.

    I have written a rule for flowchart for checking the number of Start/End Shapes in a document.
    The FilterExpression is as follows:
    AGGCOUNT(FILTERSET(SHAPESONPAGE(), HASCATEGORY("Start/End"))) > 0
    The TestExpression is as follows:
    AGGCOUNT(FILTERSET(SHAPESONPAGE(),HASCATEGORY("Start/End"))) = 2
    (Since totally there are 2 shapes: 1 Start and 1 End Shape)
    However, it is not working. Can anybody tell me what is wrong in the expressions.

    Well, it worked for me, so I want to check that you modified the Start/End master to have the User.msvShapeCategories row with the value "Start/End", as I did?
    A Category is not a Master
    David J Parker MVP (Visio) http://blog.bvisual.net

  • Hello my name is vicky i have an ipod classic 160 gb  when im syncing songs to ipod classic it is get stucked and a small noise is coming from back endof the ipod  i even checked the number of reallocs and pending sectors so please help me......for t

    hello my name is vicky i have an ipod classic 160 gb  when im syncing songs to ipod classic it is get stucked and a small noise is coming from back endof the ipod  i even checked the number of reallocs and pending sectors so please help me......for this

    Make an appointment at the genius bar.
    If you went without an appointment, then it would make sense that you could be turned away.

  • How do I check the number of prints per laserjet cartridge

    HP Color Laserjet CM1312 MFP nfi
    Operating System: XP SP2
    How do I check the number of prints on the printer

    Hi Delroyaw, 
    This is a commercial line product. For the best answer to your questions you will need to repost your question to the following links. 
    http://h30499.www3.hp.com/t5/Business-Support-Forums/ct-p/business-support 
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413 
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • How check the number range buffers in bw..

    can any one tell me the procedure...
    how to  check the number range buffers in sap bw,,,,can any one help me on this???
    regards

    Please follow the steps mentioned below for checking the number ranges:
    TCODE: /nse37
    FUNCTION MODULE: RSD_CUBE_GET
    Then click F8
    From there I_INFOCUBE : Cube name(Here we can give the cube names from /nrsa1(click on infoprovider on leftside menu…)
    I_INFOCUBE                      Cubename
    I_OBJVERS                       A
    I_BYPASS_BUFFER                 x
    I_WITH_ATR_NAV
    Click on F8
    In Export Parameters : select below one
    E_T_DIME
    There we will get the Time stamp and number range
    Regards.
    Message was edited by:
            cnu babu

  • How to check the number of licences for ODI

    Hi,
    I would like to know , how to check the number of licences exists for my current OID.
    ODI Version: 11.1.1

    ODI licensing is similar to Oracle DB licensing. Its licensed by the number of cores in your target database.
    So, count the number of CPUs in your target box. Multiply them by the core factor (x86 vs sparc, etc) and then match with the paperwork you have :D

  • How to check the privileges assigned to a role

    Hi All,
    Can you please let me know how to check the privileges assigned to a role in Oracle?
    When I query the dba_tab_privs it says no rows returned.
    Please help..
    Regards,
    Dan

    user9212851 wrote:
    Can you please let me know how to check the privileges assigned to a role in Oracle?
    When I query the dba_tab_privs it says no rows returned.
    When you've checked the manuals and identified the views suggested by other posters you will find that it's still not a trivial problem since a role may be granted to another role - which means you need to do some recursion to uncover all the privileges available to a role.
    Pete Finnigan - who specialises in Oracle security - published some appropriate scipts a few years ago; they are probably still relevant. Here's a starting link: http://www.petefinnigan.com/weblog/archives/00001243.htm
    Regards
    Jonathan Lewis

  • When I try to FaceTime on my ipad it says face time failed please check the number but it says this on every number

    When I try to FaceTime on my ipad it says face time failed please check the number but it says this on every number and I know thier correct

    Read this
    http://support.apple.com/kb/TS5419
    As of april 16 every device that uses facetime must be updated to acertain level or it won't work. And the 'catch' is that it applies to your device and the person you're calling.

  • Checking the number of concurrent user?

    Hi all,
    We are using FMS 4.5 to provide f4m & m3u8 live streaming and VOD to user via http.
    How can i check the number of concurrent user connected to the live and VOD?
    Many thanks!

    A few random thoughts...
    1) Check the system documentation for how RAM needs to be populated in the V240.
    I seem to recall that platform needs them two-at-a-time.
    2) Your prtdiag report would not have eight lines of information for the Memory Module Group unless there were eight DIMMs in existence. Empty slots would not be mentioned.
    Use Google and search for a perl script utility named memconf_.
    It's a handy third-party tool to get a text report of how RAM is populated in a system.

  • How to check the number of connections to MySQL DB

    Hi,
    Is there some way to check the number of applications connected to a mysql database?
    I have two different Java applications that will be using the same instance of MySQL.
    My requirement is that, I want to close the MySQL instance while closing the Java application.
    But before doing so, I want to make sure the other application is not connected to it.
    Is there some way I can achieve this?
    Your suggestions will be of great help.
    Thanks,
    Sandeep

    Hi,
    Thanks for your response.
    "Show processes" definitely serves my need.
    Basically what I am trying to do is to check if there are any other open connections to a MySQL instance before closing it.
    In our application suite, if there is a MySQL instance running, then the applications connect to it by default which results in some undesirable behavior sometimes.
    Hence, we are making sure that we close the MySql instance before exiting the application.
    Thanks,
    Sandeep

  • How to check the number of remaining downloads on DPS dashboard?

    I think that after the renewal of Adobe DPS,
    Professionl/ Enterprise Edition users can chek the number of remaining downloads on DPS dashboard.
    How to check the number of remaining downloads on DPS dashboard?
    shimoawazu

    Is there a way to determine how many downloads have occurred on a professional account?  We have multiple apps on the Apple and Android app stores and would like to know how many downloads from our first 5,000 have been used.  Is there a way to view analytics from all of our apps at one time instead of having to log in to digitalpublishing.acrobat.com separately for each app?
    Andrew

  • How to check the number of colors in the file???

    How to check the number of colors in the file ai ???

    The Recolor Artwork tool will list all colors used in a document and the flyout menu in the Swatches panel also provides tools for managing colors.
    Mylenium

  • How to check the number of contacts with segment level 'food and beverage' in the segment builder?

    How to check the number of contacts with segment level 'food and beverage' in the segment builder?
    Do we have any table to check this.

    How to check the number of contacts with segment level 'food and beverage' in the segment builder?
    Do we have any table to check this.

Maybe you are looking for