LOV on  item on 2nd level lookup table usages - Designer 6i

In Designer 6i, creating a module:
In a module component, I have a lookup table usage which in turn has a lookup table usage against it ...etc
e.g
MCO
- Base tab 1
- Lookup tab 1
- Lookup tab 2
- Lookup tab 3
Can I have an LOV fire up from and return into display items in lookup tab 2 and 3 ????
Currently the generator sets any item from those table which I make INSERTable, back to Display only.

Mr Short
unless the behaviour has been changed in 6i, its not possible.

Similar Messages

  • Error for table usage of diferent tablespace

    I have a module with a table usage of other tablespace, I'm tried generate but I'm getting a error on table usage (Designer doesn't found this table)
    I don't understand, How working with objects of other tablespaces?

    Mmhh... I don't think that's what OP is looking for... I'd change your solution as follows :select a.TABLESPACE_NAME,
           a.BYTES/1024/1024 MB_total,
           b.BYTES/1024/1024 + a.AVAIL/1024/1024 MB_free,
           round(((a.BYTES-b.BYTES-a.AVAIL)/a.BYTES)*100,2) percent_used
      from (select TABLESPACE_NAME,
           sum(decode(maxbytes,0,BYTES,maxbytes)) BYTES,
           sum(decode(maxbytes,0,BYTES,maxbytes)) - sum(bytes) AVAIL
              from dba_data_files
             group by TABLESPACE_NAME) a,
           (select TABLESPACE_NAME, sum(BYTES) BYTES
              from dba_free_space
             group by TABLESPACE_NAME) b
    where a.TABLESPACE_NAME = b.TABLESPACE_NAME
    order by 4 desc;

  • How to control lookup table's attributes using 'item details' iview???

    Hi Friends,
    Using 'Item Details' iview we have an option to edit, visible or non-visible. But there is no option to control visible, editable or non-editable at attribute level of the lookup table.
    Does any one know any solution for this scenario apart from custom development using Java Api.
    Thanks,
    Raghavendra

    Hi Raags,
    I know that, at moment, is not possible in MDM standard iView to control  visible, editable or non-editable at attribute level of the lookup table.
    May be it will be possible in the future. More flexibility you can obtain using Java API.
    Regards,
    Vito

  • Link between Delivery Header & Sales Order Item for extraction to 2nd level

    Hi Guys ,
    I am having a requirement that need to pull the following data to 2nd level DSO
    1.  Delivery Header Data
    2. Sales Order Item data. ( Sales Document, Item, Item RDD, Material)
    So I am planning create a 2nd level DSO on top of Delivery header and need to pull the sales order ITEM level data ( Sales document , Order ITEM, ITEM RDD date , Material)  through start routine u2026
    How can I pull the Sales Order Item data through start routine?  i.e I need the link between Delivery Header & Sales Order Item Data .
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).
    Thanks
    Edited by: krismady on Sep 22, 2010 2:26 AM
    or I need the link between LIKP ( Delivery Header) Vs VBAP ( Sales Document Item).

    Hi Krish,
    You can use VBLEN (Sales Document) to link Delivery header DS (2LIS_12_VCHDR) and Delivery item DS (2LIS_12_VCITM). Now In delivery item DS (2LIS_12_VCITM) you have VGBEL (Reference doc.) and VGPOS (Reference item) which is nothing but sales order document number and sales item in Order item DS (2LIS_11_VAITM) .
    So you need to link in above way to get other values in your DSO.
    It is proven method.
    Thanks,
    Uday Shankar.

  • OBI Joining two lookup tables. [nQSError: 14025] No fact table exists at the requested level of detail

    Hello,
    I basically have only fact tables that I need for my analysis. No dimensions, no hierarchies.
    When add two tables in OBI Answers to start the analysis I see this error:
    [nQSError: 14025] No fact table exists at the requested level of detail
    I have them defined as lookup tables. How can I join lookup tables?
    In order to pre-filter them using the user_name session variable.

    Hi Nagireddy.
    As described:
    open your rpd. go to "manage" -> Variable Manager / New / Session / Variable.  so to create a new session variable in the .rpd.
    then you create a variable NO_FORCE_TO_DETAIL_BIN and se the default to 1.
    BUT....this did actually not do the trick
    I have created a logical table that is a table made up of the two that I just want to join and as soon as I create a bi answers report that contain columns from those two tables I see the  error 14025.

  • Access level in lookup table

    I'm using Dreamweaver CS4. It seems that access levels can
    only be applied (at least through Server Behaviors) to a field
    within the same table that host the users and their associated
    passwords. I have adopted a database which contains a table which
    contains the users and their passwords but the access levels are
    stored in a lookup table. Aside from hand coding this or changing
    the table structure to include access levels, users and passwords
    in the same table, can anyone provide some insight as to how to
    handle this?

    OK i have successfully achieved the JOIN...I think. I clicked
    "Test" on the Recordset dialog and I can see records from the table
    but not the JOIN table.
    Here is the SQL statement I used:
    SELECT authuser_id, firstname, lastname, uname, passwd
    FROM authuser INNER JOIN user_access ON
    authuser.authuser_id=user_access.userID
    So once this is done, I'm not sure how to proceed. I added
    the "Log In User" server behavior but the JOIN field is not
    displayed under the "Restrict access based on:".
    I obviously have a lot to learn about how Dreamweaver helps
    streamline this process. Any help (detailed as possible) would be
    much appreciated.

  • Error while updating lookup table through PSI

    Hi,
    I am trying to update a lookuptable through PSI using following code : 
    $lookupTableGuid = $svcPSProxy.ReadLookupTables($EPMTYString, 0 , 1033).LookupTables | where {$_.LT_NAME -eq $Lookuptablename}
    $lookuptable = $svcPSProxy.ReadLookupTablesbyUids($lookupTableGuid.LT_UID, 1 , 1033)
    $lookuptablerowValues = $svcPSProxy.ReadLookupTablesbyUids($lookupTableGuid.LT_UID, 0 , 1033).LookupTableTrees
    #get lookup table count
    $lookuptableValues = $svcPSProxy.ReadLookupTablesbyUids($lookupTableGuid.LT_UID, 0 , 1033).LookupTableTrees
    $count = $lookuptableValues.Count +1
    #Insert the rows of table in Lookup Table
    foreach ($rows in $table)
    $value_Code = $rows.Item("Project_code")
    $value_Name = $rows.Item("project_desc")
    $GUID = [System.Guid]::NewGuid()
    $LookupRow = $lookuptable.LookupTableTrees.NewLookupTableTreesRow()
    $LookupRow.LT_STRUCT_UID = $GUID
    $LookupRow.LT_UID = $lookupTableGuid.LT_UID
    $LookupRow.LT_VALUE_TEXT = $value_Code
    $LookupRow.LT_VALUE_DESC = $value_Name
    $LookupRow.LT_VALUE_SORT_INDEX = ($count ++)
    $lookuptable.LookupTableTrees.AddLookupTableTreesRow($LookupRow)
    $error.clear()
    #Exceptions Handling :
    Try
    $svcPSProxy.UpdateLookupTables($lookuptable , 0 , 1 , 1033)
    Catch
    write-host "Error updating the Lookup table, see the error below:" -ForeGroundColor Red -BackGroundColor White
    write-host "$error" -ForeGroundColor Red
    Initially, I tried to run with value of $value_code as "AACL", the code worked.
    But when I tried to insert value of code as "AACL - ALKYL AMINES CHEMICALS LIMITED"
    I got following error:
    Exception calling "UpdateLookupTables" with "4" argument(s): "Response is not well-formed XML."
    I could not understand why this error is appearing as I just added ' - ' to my code value. I checked for validity of ' -  'in the targeted column. No issue with that.
    Please help.
    Thanks and regards,
    Jayesh

    Hi All,
    The entries are maintained from DB level.
    Thanks for the help.
    DVRK

  • Lookup table with a block based on a view

    Hi!
    My form contain one module component based on a view, one of the items of my block is a libelle that exist in one
    of the tables queried by the view.
    my question is :
    how can I have a LOV on this item in order that the user select a value for a query???
    or, can I make a lookup table with a view ????
    Thanks!

    You said you copied an existing item in the block, and then copied an existing item in the layout editor - is it possible you actually created 2 separate items? Remove the one in the layout editor, and set the canvas of the one in the block so it is displayed in the layout editor. That could be the problem.

  • Searching Records Following the Creation of a Lookup Table

    Hello,
    Please excuse my ignorance but I have just created a lookup table by using the wizard in SQL Workshop. All is well text has been replaced by numbers. My issue is that when I do a search now using a drop down list based on a query it returns records based on other numbers as well. That is if '2' relates to an item the search picks up anything containing a 2: 2,21,22, etc. How can I get the query to return a value for the number selected and not anything containing that number?
    and (
    instr(upper("MODEL_ID"),upper(nvl(:P40_REPORT_SEARCH,"MODEL_ID"))) > 0
    Kind Regards,
    Swelch
    Edited by: Steve Welch on Mar 9, 2012 12:03 PM

    Here are two potential solutions
    and (instr(upper('~'||"MODEL_ID"||'~'),upper(nvl('~'||:P40_REPORT_SEARCH||'~',"MODEL_ID"))) > 0)or
    AND model_id = NVL(:P40_REPORT_SEARCH, model_id)The first is often used for components such as shuttles. I think I've added the special characters in the right place - not tested/verified against my previous example
    The second may be more appropriate to your scenario, depending on your data.
    Scott

  • Leave request is not coming in 2nd level approval in MSS NWBC

    Hi all,
    I am getting the leave request for 2nd level approval in MSS work item.
    But I want that in MSS Leave approval () .
    Is there any configuration to do for this.?

    I am getting the leave request for 2nd level approval in MSS work item ?
    your getting leave request in POWL Application i.e Bulk approval list. This is correct only.
    But I want that in MSS Leave approval () . ?
    Can you explain little more clear.

  • Proper use of a Lookup table and adaptations for NET

    Hello,
    I need to create a few lookup tables and I often see the following:
    create table Languages
    Id int identity not null primary key (Id),
    Code nvarchar (4) not null,
    Description nvarchar (120) not null,
    create table Posts
    Id int identity not null primary key (Id),
    LanguageId int not null,
    Title nvarchar (400) not null,
    insert into Languages (Id, Code, Description)
    values (1, "en", "English");
    This way I am localizing Posts with language id ...
    IMHO, this is not the best scheme for Languages table because in a Lookup table the PK should be meaningful, right?
    So instead I would use the following:
    create table Languages
    Code nvarchar (4) not null primary key (Code),
    Description nvarchar (120) not null,
    create table Posts
    Id int identity not null primary key (Id),
    LanguageCode nvarchar (4) not null,
    Title nvarchar (400) not null,
    insert into Languages (Code, Description)
    values ("en", "English");
    The NET applications usually use language code so this way I can get a Post in English without using a Join.
    And with this approach I am also maintaining the database data integrity ...
    This could be applied to Genders table with codes "M", "F", countries table, transaction types table (should I?), ...
    However I think it is common to use int as PK in lookup tables because it is easier to map to ENUMS.
    And know it is even possible to map to Flag Enums so have a Many to Many relationship in an ENUM.
    That helps in NET code but in fact has limitations. A Languages table could never be mapped to a FLags Enum ...
    ... An flags enum can't have more than 64 items (Int64) because the keys must be a power of two.
    A SOLUTION
    I decided to find an approach that enforces database data integrity and still makes possible to use enums so I tried:
    create table Languages
    Code nvarchar (4) not null primary key (Code),
    Key int not null,
    Description nvarchar (120) not null,
    create table Posts
    Id int identity not null primary key (Id),
    LanguageCode nvarchar (4) not null,
    Title nvarchar (400) not null,
    insert into Languages (Code, Key, Description)
    values ("en", 1, "English");
    With this approach I have a meaningfully Language code, I avoid joins and I can create an enum by parsing the Key:
    public enum LanguageEnum {
    [Code("en")
    English = 1
    I can even preserve the code in an attribute. Or I can switch the code and description ...
    What about Flag enums? Well, I will have not Flag enums but I can have List<LanguageEnum> ...
    And when using List<LanguageEnum> I do not have the limitation of 64 items ...
    To me all this makes sense but would I apply it to a Roles table, or a ProductsCategory table?
    In my opinion I would apply only to tables that will rarely change over time ... So:
        Languages, Countries, Genders, ... Any other example?
    About the following I am not sure (They are intrinsic to the application):
       PaymentsTypes, UserRoles
    And to these I wouldn't apply (They can be managed by a CMS):
       ProductsCategories, ProductsColors
    What do you think about my approach for Lookup tables?
    Thank You,
    Miguel

    >>IMHO, this is not the best scheme for Languages table because in a Lookup table the PK should be meaningful, right?<<
    Not necessarily. The choice to use, or not to use, a surrogate key in a table is a preference, not a rule. There are pros and cons to either method, but I tend to agree with you. When the values are set as programming terms, I usually use a textual value
    for the key. But this is nothing to get hung up over.
    Bear in mind however, that this:
        create table Languages
          Id int identity not
    null primary key
    (Id),     
          Code nvarchar (4)
    not null, Description nvarchar
    (120) not
    null,
    is not equivalent to
        create table Languages
          Code nvarchar (4)
    not null primary
    key (Code),     
          Description nvarchar (120)
    not null,
    The first table needs a UNIQUE constraint on Code to make these solutions semantically the same. The first table could have the value 'Klingon' in it 20 times while the second only once.
    >>However I think it is common to use int as PK in lookup tables because it is easier to map to ENUMS.<<
    This was going to be my next point. For that case, I would only change the first table to not have an identity assigned key value, as it would be easier to manage at the same time and manner as the enum.
    >>. A Languages table could never be mapped to a FLags Enum ...<<
    You could, but I would highly suggest to avoid any values encoded in a bitwise pattern in SQL as much as possible. Rule #1 (First Normal Form) is partially to have 1 value per column. It is how the optimizer thinks, and how it works best.
    My rule of thumb for lookup (or I prefer the term  "domain" tables, as really all tables are there to look up values :)), is all data should be self explanatory in the database, through data if at all possible. So if you have a color column,
    and it contains the color "Vermillion", and all you will ever need is the name, and you feel like it is good enough to manage in the UI, then great. But bear in mind, the beauty of a table that is there for domain purposes, is that you can then store
    the R, G, and B attributes of the vermillion color (254, 73, 2 respectively, based on
    http://www.colorcombos.com/colors/FE4902) and you can then use that in coding. Alternate names for the color could be introduce, etc. And if UserRoles are 1, 2, 3, and 42 (I have seen worse), then
    definitely add columns. I think you are basically on the right track.
    Louis
    Without good requirements, my advice is only guesses. Please don't hold it against me if my answer answers my interpretation of your questions.

  • Why open items with dunning level 0 sometimes appear?

    Hi All,
    when I run the dun transaction (F150) sometimes in table MHND and MHNK open items with dunning level 0 appear. These are open items overdue, but not enough to level 1. Note that this problem appear only sometimes.
    Do you know how to avoid this?
    Many thanks

    Check if deselcting the indicator for Always Dun? in dunning level configuration in FBMP ,solves your issue.
    Thanks and regards
    Kedar

  • Dunning - 2nd level dunning is not working

    Hello Experts
    I have received a requirement from client for configuration of two level dunning (ie 14 & 35 days). I did the following configuration
    (a) Defined the Dunning Area
    (b) Defined the Dunning procedure in the following manner:
    Dunning Interval in days - 1
    No. of Dunning Levels - 2
    Total Due items for Dunning - 0
    Minimum Days arreas - 14
    Line Item grace period - 14
    Selected -> Standard transaction dunning
    Under Dunning Level Tab
    Days in Arrears - 14 & 35
    We are not using interest & no penality charges.
    Assigned the Dunning Test with the following combination
    Letter 1 u2013
    W_MHND-BUKRS = Company Name
    W_MHND-MAHNN = 1
    W_MHND_SMABER = Dunning Area
    W_MHNK-MAHNA = u2018Dunning Procedureu2019
    Letter 2 u2013
    W_MHND-BUKRS = Company Name
    W_MHND-MAHNN = 2
    W_MHND_SMABER = Dunning Area
    W_MHNK-MAHNA = u2018Dunning Procedureu2019
    (c) Maintained the Dunning Area in customer master data -> Company code data -> Correspondance
    (d) I have posted the sales invoice with posting date and due date as 01.03.2011.
    While carrying the dunning activtity through T.Code F150 (I did the 1st level run with dunning date as 22.03.2011 ) -> All the activities are going smothly like Dunning selection completed, Dunning Print out completed and Sample Printout is completed for the 1st level
    The second level dunning is carried on 26.04.2011 as dunning date. However, after completion of selection perameters.  the system is showing as Dunning Selection is completed bu the system  log says as follows:
    Date        Time               Message
    26.04.2011  15:34:12    Job started
    26.04.2011  15:34:12    Step 001 started (program SAPF150S2, variant &0000000000523, user ID AMUNNALURI)
    26.04.2011  15:34:12     ******************   Log for dunning run 20110430 / TEST1  ****************
    26.04.2011  15:34:13     =========================================================================
    26.04.2011  15:34:13    > Account D 0000000061, company code SC01 is being processed
    26.04.2011  15:34:13    >            Reading account data and document information    Phase 0
    26.04.2011  15:34:13    > Account D 0000000061 has a payment method for incoming payments
    26.04.2011  15:34:13    > Account D 0000000061 read items: 11
    26.04.2011  15:34:13    >             Processing and completing dunning lines         Phase I
    26.04.2011  15:34:13    >   Doc. 0090000052/2008/001 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Document 0090000380/2008/001 has new dunning level 1.
    26.04.2011  15:34:13    >   Doc. 0090000381/2008/001 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Doc. 0090000384/2008/001 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Doc. 0090000387/2008/001 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Doc. 0090000614/2008/001 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Doc. 1400000052/2008/002 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Doc. 1800000012/2008/001 has payment method for incoming payments, no dun.notice
    26.04.2011  15:34:13    >   Document 0064000433/2010/001 has new dunning level 2.
    26.04.2011  15:34:13    >   Document 0064000437/2010/001 has new dunning level 2.
    26.04.2011  15:34:13    >   Document 0064000438/2010/001 has new dunning level 2.
    26.04.2011  15:34:13    >           Check legal dunning procedure and credit memos     Phase II -
    26.04.2011  15:34:13    >           Minimum charges and dunning interest             Phase III
    26.04.2011  15:34:13    >             Generate dunning data                           Phase IV
    26.04.2011  15:34:14    Job finished
    If i continue the Dunning Print & Sample Print out.. the system is showing the following logs
    Date        Time      Message
    26.04.2011  15:35:31     Job started
    26.04.2011  15:35:31     Step 001 started (program SAPF150D2, variant &0000000000344, user ID AMUNNALURI)
    26.04.2011  15:35:31     >        Start print phase
    26.04.2011  15:35:31               0 dunning notices were read
    26.04.2011  15:35:31               0 dunning notices have been printed
    26.04.2011  15:35:31    End dunning printout 30.04.11 / TEST1
    26.04.2011  15:35:31    Job finished
    Kindly let me know, did i missed any steps in the configuration??
    Regards
    Anil

    Hello Renan
    Thanks for your reply, I am finding difference during 1st run and 2nd level run during selection perameters in the following area.
    (Note that, we are not using the Interest / charges)
    During 1st level dunning the system is showing as Dunning Level Log under Phase II, Phase III, Phase IV document no.
    26.04.2011  15:30:38    >           Check legal dunning procedure and credit memos     Phase II -
    26.04.2011  15:30:38    >           Minimum charges and dunning interest             Phase III
    26.04.2011  15:30:38    > Interest indicator 0N and currency GBP are missing in T056Z
    26.04.2011  15:30:38    >             Generate dunning data                           Phase IV
    26.04.2011  15:30:38    >
    26.04.2011  15:30:38    > Account D 0000000061 dunning notice/dun.area. Dunning area 58 is being processed.
    26.04.2011  15:30:38    > Account D 0000000061 dunning notice/dun.level. Dunning level 1 is being processed.
    26.04.2011  15:30:38    > Account D 0000000061 uses dunning procedure DG3
    26.04.2011  15:30:38    > Dunning level D 0000000061 is used for account 1
    26.04.2011  15:30:38    >   Document 0064000438/2010/001: Dunning level 1, days in arrears 20, status <.Dpi>
    26.04.2011  15:30:38    > Account D 0000000061 dunning data has been generated.
    26.04.2011  15:30:39    Job finished
    Where as for 2nd level dunning the system is showing under Dunning Level Log is as follows:
    26.04.2011 15:34:13   > Document 0064000438/2010/001 has new dunning level 2.
    26.04.2011 15:34:13   > Check legal dunning procedure and credit memos Phase II -
    26.04.2011 15:34:13   > Minimum charges and dunning interest Phase III
    26.04.2011 15:34:13   > Generate dunning data Phase IV
    26.04.2011 15:34:14   Job finished
    Due to this, i am presumed that some more configuration has been missed at my end.
    Kindly revert with your observations in the above log
    Regards
    Anil

  • Tab key and lookup table

    Hi,
    How to use the 'Tab' key to open a lookup table, E.g. BP Code, Name?
    Alternatively, how to use the 'Tab' key to call a formatted search? I hope to follow the standard in SBO and do away the Shift-F2.
    I am using VB and 2004B. Your input will be appreciated.

    I think you can mimic every user action with UIAPI.
    Therefore, e.g. in Sales Order Form you activate the BPCode item (.Click) and hit Tab (.SendKeys(vbTab)).
    You could also try clicking the the iconitem ("67") next to BPCode.
    If you want to assign a Choose From List (CFL) to an item of your choice using UIAPI then you should wait for 2005.
    Shift-F2 is standard in SBO UI for launching FSs, why would you like to disable it?
    If you want to enable tabbing to kick-off an existing  FS, then you should capture the tabbing event (et_KEY_DOWN) in your item and then use SendKeys for sending Shift-F2 to keyboard.
    HTH
    Juha

  • Lookup table

    Hi,
    Situation:
    I have a series of data in an arraylist. The user may input several variables and according to these variables, a calculation will be performed on the data in the arraylist. E.g.
    array = [1 2 3 4 5 6] //fixed variables of which data 1 is represented by x =10, data 2 by 20, data 3 by 30 and so on.
    The user input 10 30 50 ,....e.g.
    The program will wait until x = 10, then a pointer (A) should be placed at 1 in the array. Result (1) stored in an another array(lets say Parray).
    When x= 20, pointer is placed at 20. Result 2 stored in Parray.
    When x = 30, pointer (A) is placed at 3 and since user input is 30 another pointer((B) is placed at 1. We now have 2 pointers. The content of one is 3 and the other is 1. A multiplication is performed and the result is placed in Parray which now equals [1 2 3 ].
    When x = 40 , pointer A is placed at 4 and pointer B is placed at 2, multiplication is performed and result is stored in Parray which is [1 2 3 8].
    When x = 50, pointer A is at 5 and pointer B is at 3. Since user input is 50 another pointer C is placed at 1 in array. A multiplication is now done with the contents of all the pointers and the result is placed in Parray = 1 2 3 8 15. This process continues until all the user inputs have been exhausted.
    In C I can create dynamic pointers. In Java, as far as I know I can't.
    I tried to use arraylist to implement the problem. From a design point of view, I cannot find any suitable and efficient way of overcoming the problem in Java.
    Could you please provide a high level approach on how I could implement a lookup table with a series of pointers moving in an array? If this is not possible, could you advise an alternative and efficient approach to solve the problem in Java?

    Upon reading the description again, I think I understand the problem. I have no idea where pointers (apparently in the C-sense) come into it. As far as I can tell, A and B simply contain array indexes.
    Please allow me to paraphrase the problem to see if I got it right:
    There is a lookup table which contains 6 values:int[] lookup = new int[] { 1, 2, 3, 4, 5, 6 };There is a user input that consists of a sequence of numbers: 10, 20, 30, 40, 50
    The numbers affect two values A and B, which represent indexes in the lookup table.
    For input 10, A = 0, B = (not used)
    For input 20, A = 1, B = (not used)
    For input 30, A = 2, B = 0
    For input 40, A = 3, B = 1
    For input 50, A = 4, B = 2
    (the above could be implemented using a "switch" statement)
    The result of the operation is to multiply the values found at index A and B in the lookup table and put them in a result "array" which should grow dynamically based on the number of inputs.
    To the OP: is this an accurate representation of your problem?
    If so, I see only one "dynamic" data structure here: the results "array". Using an ArrayList would indeed solve that problem (ArrayList is basically a dynamically growing array anyway).private int[] lookup = new int[] { 1, 2, 3, 4, 5, 6 };
    private List<Integer> results = new ArrayList<Integer>;
    public static void main(String[] args) {
      processInput(args);
    private void processInput(String[] args) {
      for(String input:args) { // assuming the program is called like "java example.Lookup 10 30 50"
        int result = calculateResult(input);
        results.add(result);
    private int calculateResult(String input) {
      int indexA = -1;
      int indexB = -1;
      if(input.equals("10")) {
       indexA = 0;
      else if(input.equals("30")) {
       indexA = 2;
       indexB = 0;
      return multiplyValuesAt(indexA, indexB);
    private int multiplyValuesAt(int indexA, int indexB) {
      int valueA = lookup[indexA]; // assuming indexA is always set to a legal value
      int valueB = 1; // multiply by 1 if indexB < 0
      if(indexB >= 0) {
       valueB = lookup[indexB];
      return = valueA * valueB;
    }

Maybe you are looking for