Creation of Unkown Number of Vectors

I'm trying to take items from a vector and placing each into their own vectors. How do I go about creating an unkown number of vectors to hold all the items?

If feasible, try to go with a simple two-dimensional array of booleans, or alternatively a one-dimensional array of BitSets. Alternatively, I have this for you:
import  java.util.*;
public class Point  implements Cloneable {
    private int  x;
    private int  y;
    public Point(int x, int y) {
     this.x = x;
     this.y = y;
    } //* Point(int, int)
    public boolean equals(Object o) {
     if(o instanceof Point) {
         Point  other = (Point)o;
         return  (other.x == x) && (other.y == y);
     return  false;
    } //* equals(Object)
    public int hashCode() {
     int  s = x + y;
     return  ((s * (s+1)) >> 1) + y;
    } //* hashCode()
    public String toString() {
     return "(" + x + ", " + y + ")";
    } //* toString()
     * Input: Set of Points
     * Output: List of Sets of Points, each Set representing touching Points
    public static List group(Set points) {
     Set   pts = new HashSet(points);
     List  res = new ArrayList();
     try {
         while(!pts.isEmpty()) {
          Set   group = new HashSet();
          List  roots = new LinkedList();
          Point  root = (Point)pts.iterator().next();
          roots.add(root);
          pts.remove(root);
          do {
              root = (Point)roots.remove(0);
              group.add(root.clone());
              root.x++;
              if(pts.remove(root))  roots.add(root.clone());
              root.y++;
              if(pts.remove(root))  roots.add(root.clone());
              root.x--;
              if(pts.remove(root))  roots.add(root.clone());
              root.x--;
              if(pts.remove(root))  roots.add(root.clone());
              root.y--;
              if(pts.remove(root))  roots.add(root.clone());
              root.y--;
              if(pts.remove(root))  roots.add(root.clone());
              root.x++;
              if(pts.remove(root))  roots.add(root.clone());
              root.x++;
              if(pts.remove(root))  roots.add(root.clone());
          while(!roots.isEmpty());
          res.add(group);
     catch(CloneNotSupportedException e)  {}
     return  res;
    } //* group(Set)
    public static void main(String[] args) {
     //* quick and dirty - I know
     System.out.println(group(new HashSet(Arrays.asList(new Point[] {
         new Point(1, 2), new Point(1, 4), new Point(3, 4), new Point(1, 1),
         new Point(1, 5), new Point(6, 4), new Point(6, 3), new Point(7, 3)        
    } //* main(String[])
//* CLASS: Point
//*****************************************************************************

Similar Messages

  • Structural authorization - creation of employee number

    Hello Experts,
    We are facing an issue with strutural authorization in creation of employee number,
    I have tested without assigning stuctural authorization and it process the hiring action and generates the employee number
    (Hiring action is carried through the adobe form which inturn calls the ABAP Function module),
    for the same user if i assign Strctural profile with Function module RH_GET_MANAGER_ASSIGNMENT ( User is assigned to an employee who is Chief ) the hiring action which has to happen through adobe form is not happening and when we check in the program it is throwing an error as Failed strutural authorizations.
    I checked whether the employee which has to generate lies within the organization unit of the manager ( who is chief) and it does lies with in the same org unit.
    can you please help me in analysing why the employee is not getting gereating though the user is having proper HR authorizations and Strutural authorization assigned.

    Hi.
    After 2½ days of frustration I finally nailed this.
    Function group RHAC, that handles the authority checks, initially buffers a table called VIEW containing all objects available for the user. As stated earlier in this conversation, SAP handles creation of relations in HRP1001 (links PA and OM). At this point the new employee number is appended to buffered table VIEW in function group RHAC.
    When execution the PA40 activity through CALL TRANSACTION, the creation of the relations are not handled - and the same goes for updating the buffered table VIEW. The table can be updated using the function module RH_VIEW_ENTRY_INSERT from the same fundtion group:
    This example might be useful
      data: ls_view_entry type hrview,
            ls_related_object type hrobject.
      ls_view_entry-plvar = '01'.
      ls_view_entry-otype = 'P'.
      ls_view_entry-objid = lv_pernr.
      ls_view_entry-begda = '18000101'.
      ls_view_entry-endda = '99991231'.
      ls_view_entry-maint = 'X'.
      ls_related_object-plvar = '01'.
      ls_related_object-otype = 'S'.
      ls_related_object-objid = lv_ny_objid.
      call function 'RH_VIEW_ENTRY_INSERT'
        exporting
          view_entry     = ls_view_entry
          related_object = ls_related_object.
    Best regards
    Poul Steen Hansen
    Senior Technical Consultant
    EDB Consulting Group A/S, Denmark

  • Automatic creation of serial number

    Hello guys,
       In serial number profile, in serializing procedure for PPAU and PPRL i have maintained 4-automatic(creation of serial number) and this serial number profile i have given in workscheduling view of material master.When i create the production order for this material of qty 20,it gives serial number from 1 to 20.And again  i create the production order for it of qty 20,it gives serial number to it from 20 to 40.
       Now my question is,in automatic creation of serial number from where it takes the number ranges.
      Does it take from equipment category which we assign to serial number profile?If not than from where it takes?
             Thanking you guys.

    Dear Jitendra,
    Automatic Serial Numbers come from Number Range Object which is defined in Tcode SNRO. Number range is also defined in SNRO only under number range object for specific purpose.
    You can check in SNRO----> Overview which gives you Overview of Number Range Objects & Number Ranges defined from them.
    So your serial numbers are coming automatically actually defined there only.
    Pls. go through the above.
    Hope this will clarify your doubt.
    If any doubt , pls. revert and reward if useful.
    Regards,
    Tejas

  • Structural authorization - creation of employee number in webdynpro or abap

    Hello Experts,
    We are facing some problems with the combination of structural authorizations and the creation of a new employee.
    When we use PA40 to create a new employee this does not give any problem.
    In the webdynpro we first execute a call transaction PA40 to apply infotype 0000 and 0001. This works well.
    Except that the call transaction does not set the connection between PA and OM. (so we did program this ourselves)
    In PO13 and the table HRP1001 the same relations are made as when we use PA40 in the sap gui.
    After this we do call transactions PA30 for the next infotypes.
    When we check the SU53 it gives a message: problems with structural authorizations object P (with the employeenumber) starting at 01.01.1800, enddate is empty.
    The employee is manager and connected with his userid in infotype 0105.
    We use in the structural profile the function module  RH_GET_MANAGER_ASSIGNMENT
    We checked with transaction HRHAUTH.
    User has been adjusted to the tables T77UA etc.
    We do not use workflow in this webdynpro
    We used the trace function when this was executed, but it did not give more information about missing structural authorizations.
    This issue was before on SDN (Structural authorization - creation of employee number) but unfortunally there was no solution there for the issue!
    Hope one of you can help me to find the solution!
    With kind regards,
    Rita Mensink

    Hi.
    After 2½ days of frustration I finally nailed this.
    Function group RHAC, that handles the authority checks, initially buffers a table called VIEW containing all objects available for the user. As stated earlier in this conversation, SAP handles creation of relations in HRP1001 (links PA and OM). At this point the new employee number is appended to buffered table VIEW in function group RHAC.
    When execution the PA40 activity through CALL TRANSACTION, the creation of the relations are not handled - and the same goes for updating the buffered table VIEW. The table can be updated using the function module RH_VIEW_ENTRY_INSERT from the same fundtion group:
    This example might be useful
      data: ls_view_entry type hrview,
            ls_related_object type hrobject.
      ls_view_entry-plvar = '01'.
      ls_view_entry-otype = 'P'.
      ls_view_entry-objid = lv_pernr.
      ls_view_entry-begda = '18000101'.
      ls_view_entry-endda = '99991231'.
      ls_view_entry-maint = 'X'.
      ls_related_object-plvar = '01'.
      ls_related_object-otype = 'S'.
      ls_related_object-objid = lv_ny_objid.
      call function 'RH_VIEW_ENTRY_INSERT'
        exporting
          view_entry     = ls_view_entry
          related_object = ls_related_object.
    Best regards
    Poul Steen Hansen
    Senior Technical Consultant
    EDB Consulting Group A/S, Denmark

  • MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)    -   NOT TO BE ALLOWED

    MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)   -  NOT TO BE ALLOWED while creation of Process Orders.

    Hi,
    Check t code OMCZ whether internal Batch no assignment is active or not.
    From F1 help
    In this step:
    you activate internal batch number assignment
    you define whether internal batch number assignment is allowed for goods receipts that have an account assignment
    Standard settings
    The standard version of the SAP system contains a predefined number range.
    Further notes
    Batch number assignment uses two function model exits with which you can define templates for batch numbers. You make the necessary settings in work step function module exits for internal batch number assignment.
    The system checks whether the assigned batch number already exists in the system. Should the number already exist, the function is terminated.
    When creating a client by copying another client, please note that internal number assignment is not active in the target client. You must activate it manually.
    Regards
    Anupam Sharma

  • Disable Automatic Creation of Serial Number at GRN

    Dear Gurus
    All my materials are subjected to serial numbers and the serial number profile is activated in the material master.
    At the time of GRN, the serial numbers to be selected from the already uploaded list.
    But there is a option to craete serial numbers automatically ( a check box to tick at MIGO GRN serial number tab)
    Need to deactivate the same as the users tend to tick this by mistake.
    Please guide me on the process.
    Thanks in Advance.
    NalindaR

    Hi  Nalinda,
    You got solve this question? I have the same problem, and I need disable de automatic creation of serial Number in all transactions, because serials nrs are always external. And I could not do anything with the profile of the serial nr in t-code OIS2.
    You can give me some  information that help in this question.
    Thanks in advance.
    Mary

  • BOM changes(Not creation) with EC Number

    Hi
    I want to make the ECN as mandatory while changing the BOM,not for creation.
    I tried by setting OS27,OS25 settings for BOM. I tried BOM creation with status 3(With history requirement). System gives only warning message,not the error message.(Message no. 29045)
    I tried to make the Change number field as mandatory,but it applies it to CS01 & CS02. I want only in CS02.
    Plse help me out if any knows the soultion.

    Dear Sudhar,
    1.Please check in OS27 - Tick mark is included for EC Management Active &
    BOM validity manitained and History Requirement.
    2.In OS25 - For History Requirement.
    3.Get the help from ABAP consultant,to make use of field exit for the particular
    screen CS02 ,which has got a screen number.The system will not allow the user
    to enter into the next screen unless that field is not filled.
    4.Check for the Auth.Object C_STUE_NOH
    With this Logic only we are using in my present project.
    Check & reply.
    Regards
    Mangal

  • What is the maxium number a vector can handle

    Hi,
    Well since I have not recieved any replies as of yet to my
    other question, and since I need to push my project along, I
    decided to use the behaviour scripts given at director-online/havok
    site, and I applied them to my car. In additioin, I am also trying
    to use the create terrain behaviour that is included in the raycast
    jeep demo. However, I would like to set my terrain size to 6000
    units in width and 6000 units in depth. So when I attach the
    behaviour to the 3d scene, the getPropertyDescriptionList dialog
    window opens to allow you to set the terrain's size, which it asks
    you to set the upper left corner vector which I set it to
    vector(3000, 0, -3000) and then it asks you to set the lower right
    coner vector which I set this to vector(-3000, 0, 3000) which in
    total should give me the size of 6000 units in width and 6000 units
    in depth. However, after I click on the "OK" button my values
    change to the following...
    upper left corner = vector(3.00000e3, 0, -3.00000e3)
    lower right corner = vector(-3.00000e3, 0, 3.00000e3)
    In addition, not only that the whole number changed from 3000
    to 3, but the biggest problem is that because the end values have
    the e3 added to it I get a script error when I play the movie. So I
    was wondering if there is a maximum number that a vector unit can
    handle? If so then is there another type of format I could use that
    handle larger numbers? Or is this a bug in Director 8.51. Yeah I
    know, I am way behind in the software versions, but I do not have
    $1200 to shovle out for a new version of Director.

    Oh I see. So I guess what you are saying is that is
    Director's way of compressing vector numbers. Also, as to what you
    were saying about the number 3000 is sure not the limit for vector
    units, I think I was just jumping the gun considering that I only
    glanced at the script error, and then clicked on the debug button
    to see where the error happened. Then once I looked at the varibles
    in the varible window, I saw these weird numbers with the e3 at the
    end of them, and I just thought that it could not add the vectors
    together with the e3 at the end of each vector unit. However, to
    make a long story short, I detached the script and reattached it
    which did no create the error again, and I learned that Director
    can add vector units together that have an e3 at the end of each
    vector unit. So thanks for clarifying what the e3 means.

  • Enhancement point in billing doc creation at invoice number generation

    I need to find an enhancement during billing document creation.
    This is my requirement.      Within function module RV_INVOICE_DOCUMENT_ADD, standard SAP determines the invoice number using Function Module NUMBER_GET_NEXT.  now, there is an enhancement point available immediately after the standard SAP invoice number has been determined.
    I need to find that enhancement point.
    Please advice what enhancement points are available at this point.
    Any advice is appreciated. Thanks in advance..

    Hi
    Here is a little program that when you type in the t-code it will give you all the user exits available.
    <Code>
    *& Report Z_FIND_USER_EXIT *&
    REPORT z_find_user_exit NO STANDARD PAGE HEADING.
    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.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-001.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    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) 'Transactie 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 'User exit', 21 sy-vline , 22 'Omschrijving', 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:/ 'Aantal gevonden user-exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No user-exit Found'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transactie code bestaat'.
    ENDIF.
    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.
    <Code>
    Hope it helps.
    Regards
    Vic

  • Creation of Batch number

    Hi Experts,
    I have a probelm with the Transaction MIGO to restrict the ignore the batchnumber entered by the user.
    If the user is not enter the batch number, then i can generated the new number by using the following 2 UE's
    EXIT_SAPLV01Z_001 (ZXVBZU01)  & EXIT_SAPLV01Z_002 (ZXVBZU02) and it is working fine.
    If the user enters , then System first check that whether it is already exist in the Database . If it won't find then automatically it is considering the same number.Which needs to be stopped.
    Any body has an idea about this requirement, to ignore the user entered value.
    Actually, there are 2 more exists, EXIT_SAPLV01Z_011& EXIT_SAPLV01Z_012 there i can't change the value of the batch number.
    Any suggestion or Any alternative way or Any idea Please......?
    Warm Regards,
    Vijay

    Hi,
    I think you can restrict by using FM EXIT_SAPLV01Z_001, this i copied the FM documentation for your reference. Just read the FM documentation you will get an idea
    You can restirict by using automatic generation using number ranges
    <<Function module Documentation>>
    Functionality
    You can use this customer function call (CFC) to replace the standard number range (object, subobject, number range, and year) with one of your own. This is used subsequently to determine a new batch number.
    Number assignment is carried out using the central number assignment.
    The communication structure X_BNCOM contains the application data known up to this time. You can extend this structure in the DDIC using structure BNCOMZ.
    Using the parameter CUST_NO_INTERNAL, you can suppress the number assignment function. Then you can either generate a batch number in function module EXIT_SAPLV01Z_002 using your own criteria or suppress the entire number assignment function.
    Using the parameter MESSAGE_WHEN_AUTO, you can decide if a dialog box is to appear before a new number is assigned. This only happens during online processing.
    Example
    You can define internal batch number assignment according to your requirements via the enhancement SAPLV01Z with the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002
    SAP delivers a total of 6 examples for batch number assignment:
    1. Copying the production order number to the batch number
    2. Copying the sales order number to the batch number
    3. Material-type-dependent batch number assignment
    4. Material-number-dependent batch number assignment
    5. Including the date in the batch number
    6. Including the plant number in the batch number
    For examples 1 and 2 you have to use the exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002.
    For examples 3 and 4 you have to use the exit EXIT_SAPLV01Z_001.
    For examples 5 and 6 you have to use the exitEXIT_SAPLV01Z_002.
    For a detailed description of the examples, see below.
    Prerequisites
    1. Internal batch number assignment via the customer exit is activated:
    To do this, in Customizing, choose Logistics general -> Batch management -> Batch number assignment -> Activate internal batch number assignment.
    2. Maintaining the number range object
    Two number range objects are provided for batch number assignment:
    Standard number range for batch number assignment BATCH_CLT
    Number range for material-type-dependent or material-number-dependent batch number assignment BATCH_MAT
    Activities
    1. Use the SAP enhancement SAPLV01Z:
    a) In transaction CMOD, create either a new project or use an existing project.
    b) Add the SAP enhancement SAPLV01Z to the project.
    2. Copying the example code:
    a) Choose Component.
    b) Choose Change.
    c) Choose:
    EXIT_SAPLV01Z_001 for examples 1-4
    EXIT_SAPLV01Z_002 for examples 1-2 and 5-6
    d) Choose Edit -> Copy SAP source text.
    The example code is copied to the relevant table in the function module exit.
    e) To copy the example, remove the comment symbol before the include it pertains to.
    3. Activate the project.
    When you activate the project, the enhancement with the function module exits EXIT_SAPLV01Z_001 and EXIT_SAPLV01Z_002 comes into effect.
    Examples
    Example 1
    Copying the production order number to the batch number
    When a batch is produced, the process order number or production order number is copied as the batch number. This type of assignment is only possible in connection with process orders or production orders.
    Outwith an order, a number range is determined for batch number assignment. In this example, it is the standard number range BATCH_CLT.
    If the order has not yet been saved (for example, when a number is assigned when the order is created), a temporary number is created. A message appears prompting you to save the order. The system then assigns an order number which is accepted as the batch number.
    The system checks whether a batch already exists with this number. If this is the case, the system aborts internal batch number assignment with a corresponding error message.
    Note:
    In this example, note that the include LXVBZB21 in EXIT_SAPLV01Z_002 has to be activated at the same time, as actual batch numbers are not assigned until this is activated.
    Example 2
    Copying the sales order number to the batch number
    If a batch number is assigned in connection with a sales order, the sales order number is accepted as the batch number.
    If there are no sales orders, a number range object is defined with a number range from which the batch number is taken. If a batch already exists with this sales order number, the batch number is assigned externally.
    Note:
    In this example, note that the include LXVBZB22 in EXIT_SAPLV01Z_002 has to be activated at the same time before actual number assignment can take place.
    Example 3
    Material-type-dependent batch number assignment
    In the number range object BATCH_MAT a separate sub-object is created for each material type. Note that the number range object is maintained accordingly or batch number assignment cannot take place.
    For example, if the material "flour" belongs to raw materials, it is maintained in the sub-object ROH, and the batch number is taken from the same number range as the material "eggs" which also belongs to the raw materials group.
    Example 4
    Material-number-dependent batch number assignment
    In material-number-dependent batch number assignment, materials that are handled in batches must be maintained in the table BNMAT, which specifies the assignment of the material to the number range.
    If there is no assignment in the table, the system aborts batch number assignment. An error message appears informing you that batch number assignment is not possible and specifying the table that has to be maintained.
    Each material number is assigned a number range object, a sub-object, and a number range in the table BNMAT. This is how each material receives its own batch number range.
    The number range object BATCH_MAT is an example of this. The material numbers are divided into groups via their material type that match the sub-object. Each material number is then assigned its own number range by table BATCH_MAT. The number ranges used must be maintained in the number range object.
    Examples 5 and 6
    Including the date or plant number in the batch number
    The number ranges for the batch numbers must be defined in a way that ensures that no characters are overwritten by the templates.
    Parameters
    X_BNCOM
    CUST_NO_INTERNAL
    NR_RANGE_NR
    OBJECT
    SUBOBJECT
    TOYEAR
    MESSAGE_WHEN_AUTO
    MESSAGE_DONE
    Exceptions
    CANCELLED
    Regardas
    Krishna

  • Provision for Automatic Creation of BP number whenever user id is created

    Dear Experts,
    Is it possible to create the business partner Number Automatically, whenever a userid is created in Solution manger system, if any custom developments done for the same share the things.
    Thanks in Advance,
    Regards,
    Thirukumaran. R

    Hi Keshav,
    Thanks for your prompt response,
    exits found when creating user id in sap:
    ADDRESS_SUBSCREEN
    ADDR_PRINTFORM_SHORT
    i'm not getting how to generate the bp number automatically, is there any f.m or we have to do it with BDC,
    update task means i'm not getting can u explain little clear,
    Thanks in Advance,
    Regards
    Thiru. R

  • Creation of Large Number of Workbooks within short span

    Hi,
    In my Production server, User has created many Workbooks for their convenience.
    Now, I am working on upgrading project. I want to create same amounts of workbook to my Development server. I know how to create but as quantity in thousands and connected with respective roles.
    I would like to know if, there is any process to create workbooks other than usual manual process.
    (I can check the list and not availability of Workbooks from TABLE AGR_HIER and after creating I can check the existence in same table.)
    If any, let me know... shorted method to create lots of workbook in less time.
    Thanks in Advance.
    Devendra Meshram
    Osaka

    Hi,
    I suppose there is no such process to Create Large number of Workbook in short Span.
    I am marking it as Unasawered But, If anybody knows, then Let me know...
    Thanks in Advance..
    Devendra Meshram

  • Creation of Unique Number Ranges for Organizational Objects

    Hi Gurus,
    As per our client's requirements, We need to create unique number ranges for Organizational Objects such as O,S,P to distinguish based on the Object ID. Could you please help me out to create the same.
    And also to create unique number ranges for Personnel Development Objects such as QK & Q.
    Thanks in Advance
    Regards
    Vinoth Kumar.R

    Hi,
    To maintain object specific number ranges, go to customising node Personnel management --> Org. management --> Basic settings --> Number range manitenance --> Maintain Number ranges
    Here there will already be a default entry as $$$$.
    To create different range for object say O you can use the following options:
    Create entry as $$O - number range applicable to all Org units across all plan versions.
    Create entry as 01O - number range applicable to all Org units under plan version "01"
    Then under Interval maintenance create the desired number ranges under IN for internal or EX for external (check the external tick box for external number ranges)
    In the similar manner you can create the number ranges for objects C, S , Q & QK.
    Hope this is helpful.
    Regards,
    Shreyasi.

  • Creation of Auto Number while creating Masters

    Hi Experts
    Please let me know the process of creating Auto Generated Numbers while creating Masters.
    I have requirement of creating Masters for -
    1. Customers
    2. Items
    (Where Auto Generated Numbers are required).
    Regards

    Hi Prashant,
    If you want auto generated number then as sugeested in the above post you have to go for Key Generation.
    In Console where you define remote system ,there you have to make keygeneration Yes and specify the start and end limit in from and to.
    Now whenever a record is created and syndicated to this particular remotye system for which key generation is set ,system will assign a autogenerated number.
    Without syndication number will not be generated.
    And if you want to maintain different number ranges for different lookup values then go for qualified number range.
    Or  if you simple want auto generated number starting from 1 to maintain count of records in MDM then maintain a field with type autoid.
    Regards,
    Neethu Joy

  • Creation of random number through system fields

    Hi ,
    I like to create a random number generation program.(apart form system time) .
    I have noticed  that system response time differs (minimal variation in terms of milliseconds) every time
    when we execute a program .
    In that case could i know how to get the  system response time and interpretation time from system fields in program !
    Note : I like to know the table in which these values can be retrieved (like TRDIR for other system fields)

    use these function modules.
    QF05_RANDOM
    RANDOM_AMOUNT.

Maybe you are looking for

  • BPM 11.1.1.5 Dynamic assignment of task to user

    Hi, I'm working with BPM 11.1.1.5 (without feature pack). I have a requirement to assign a task to a user dynamically, based on data that I pull from a DB query. If the task expires, I will assign it to another user once again based on a DB query. I

  • SMS SRS Reporting Point - 7403 at regular time intervals

    Hi, At regular time intervals I see a 7403 error message in the "SMS_SRS_REPORTING_POINT" component appearing in my ConfigMgr 2012 SP1 environment. SQL Server 2012 is used. My reports are working fine and accessable via the Console and URL. This erro

  • How to connect time machine to macbook pro

    How do I restore info from time machine to macpro

  • Select LONG column into CLOB variable

    Hi all, I am trying retrieve the data present in a LONG column into a CLOB variable. However I am getting an error, pls let me know how I can resolve it. DECLARE v_text CLOB; BEGIN SELECT TO_LOB(trigger_body) INTO v_text FROM user_triggers WHERE ROWN

  • BW publisher is not getting started

    Hi All, I have successfully installed BOXI 3.1, Crystal reports 2008 SP1, Xcelsius & SAP Integration Kit. I also have the Single Sign on successfully working. I have also tested the connection to the BW server and able to connect to the cubes and the