Assign unique ID to each row in Cube

Hi All
I want to assign a unique requestID to each row in cube. I was thinking of assigning a unique id using number range. For this i need to read the buffer and update the buffer with new requestid value
Can anyone help me out as to how to update buffer value

Hi,
you can use a characteristic relationship of type exit to achieve your requirement
https://help.sap.com/saphelp_nw73/helpdata/en/4c/b82d6b54182102e10000000a42189e/content.htm
hope it helps.

Similar Messages

  • Assigning sequential numbers to multiple rows with a common attribute

    Oracle 10i, looking to modify a query to only select a total of 96 unique compoundnames and number each group of batchids 1-96.
    Input
    Table EX
    Unique_ID, CompoundName, BatchID, Quantity
    1, EX 1000, EX 1000 100, 100
    2, EX 1000, EX 1000 101, 100
    3, EX 1000, EX 1000 102, 100
    4, EX 1001, EX 1001 100, 100
    5, EX 1001, EX 1001 101, 100
    6, EX 1001, EX 1001 102, 100
    7, EX 1001, EX 1001 103, 100
    8, EX 1001, EX 1001 104, 100
    9, EX 1001, EX 1001 105, 100
    10, EX 1002, EX 1002 100, 100
    11, EX 1002, EX 1002 101, 100
    12, EX 1002, EX 1002 102, 100
    100+, EX 1095, EX 1095 100, 100
    Using
    select distinct * from
    Select Unique_id, CompoundName, batchid, quantity, SUM(QUANTITY) over (partition by CompoundName) sumqty
    FROM EX
    where sumqty < 500
    Order by 2,3;
    Gives the data batched together by compoundnames and the total quantity of all the data sharing the same compound name (and only results whose total quantity is < 500).
    I'm looking for a way to only grab 96 unique compoundnames (not total rows of data) at a time and numbering them to look like this desired output;
    Unique_ID, CompoundName, BatchID, Quantity, SUM(Quantity), ???
    1, EX 1000, EX 1000 100, 100, 300, 1
    2, EX 1000, EX 1000 101, 100, 300, 1
    3, EX 1000, EX 1000 102, 100, 300, 1
    10, EX 1002, EX 1002 100, 100, 300, 2
    11, EX 1002, EX 1002 101, 100, 300, 2
    12, EX 1002, EX 1002 102, 100, 300, 2
    100+, EX 1095, EX 1095 100, 100, 100, 96
    Thanks in advance.
    Edited by: user13112928 on Jun 26, 2010 11:49 AM
    Edited by: user13112928 on Jun 26, 2010 11:50 AM
    Edited by: user13112928 on Jun 26, 2010 12:01 PM

    Hi,
    If you want the numbers to be assigned only to the groups that remain after the groups where sumqty >= 500 or more have been excluded, then you have to assign the numbers after the groups where sumqty >= 500 or more have been excluded. All analytic funtions in the same sub-query are computed at the same time, so if you want to use analytic functions only, you have to do something like this:
    SELECT DISTINCT
    FROM     (
              SELECT      s.*
              ,     DENSE_RANK () OVER (ORDER BY compoundname)     AS rnk
              FROM     (
                        SELECT     Unique_id
                        ,      CompoundName
                        ,      batchid
                        ,      quantity
                        ,      SUM (quantity) OVER (PARTITION BY CompoundName)     AS sumqty
                        FROM     ex
                   )     s
              WHERE     sum_qty     < 500
    WHERE       rnk     <= 96
    ORDER BY  batchid
    ,       quantity
    ;Since analytic funtions are evaluated after the GROUP BY and HAVING clauses, you could also do it this way, with only one sub-query:
    WITH     got_rnk          AS
         SELECT       CompoundName
         ,       SUM (quantity)               AS sumqty
         ,       ROW_NUMBER () OVER (ORDER BY  CompoundName)     AS rnk
         FROM       ex
         GROUP BY  CompoundName
         HAVING       SUM (quantity)     < 500
    SELECT DISTINCT
           e.unique_id
    ,       e.CompoundName
    ,       e.batchid
    ,       e.quantity
    ,       r.sumqty
    ,       r.rnk
    FROM       ex          e
    ,       got_r_num     r     ON     e.CompoundName     = r.CompoundName
    WHERE       r.rnk     <= 96
    ORDER BY  e.batchid
    ,       e.quantity
    ;I'm not sure the latter will be any faster, since it needs to make two passes through ex.

  • How to compare each row in an internal table

    Hi,
    Say I have an internal table with 3 fields in each row, num1, num2, num3, each type of integer i, now I want to get the maximum of num1, num2, num3 and put this maximum number into num4, may I know how can I do that? Also, if say I need to pull out this num4 and play around with it, sould I just loop it into my workarea of internal table and assign a variable for whatever that is in the work area? Thanks a lot!
    Regards,
    Anyi

    Hi,
    Inside a loop of the table compare each field like this:
    loop at itab.
    l_num4 = itab-num1.
    if l_num4 < itab-num2. l_num4 = itab-num2. endif.
    if l_num4 < itab-num3. l_num4 = itab-num3. endif.
    Here you can play with the maximum number
    itab-num4 = l_num4.
    modify itab.
    endloop.
    You can also do the same using field-symbols (it's faster to assignations) :
    loop at itab assigning <a>.
    endloop.
    Regards.

  • How to Genarate a Unique ID for each Payload in XI

    Hi,
    My Question is How to Genarate Unique ID for each Paylod that we send in a particular Interface.
    Is that we can do it in Mapping...If Yes, How its possible...
    Thanks
    Amaresh

    Hi Amaresh !
    XI generates and stamps a messageID to each message header. That ID is unique. You could use that one. To get that number from inside message mapping to put it in the payload, you could use a java UDF with this code:
    String msgid;
    java.util.Map map;
    map = container.getTransformationParameters();
    msgid = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
    return msgid;
    Of course you can generate another number, but maybe you will need to use a common storage to avoid repeating the assigned numbers, and that will require more work.
    Regards,
    Matias.

  • Two radio button in each row of Table view

    Hi,
    I have a issue like two radio button should come in each row of the tableview and any one only can be selected and selected value should be assigned to a variable.
    Kindly help with coding in methods RENDOR_CELL_START AND RENDER_ROW_START.
    Thanks in Advance.
    Saravanan.

    Saravanan,
    If you keep the Radiobutton in 2 different column then it wil difficult to put it in one Radiobuttong Group. I am not sure its possible or not. I would suggest you do keep both the "Approved" & "Rejected" radio button in single column as shown below so that the memont "Rejected" is selected, "Approved" will be unchecked.
    WHEN 'Your Column'.
            DATA: RAD_GRP TYPE REF TO CL_HTMLB_RADIOBUTTONGROUP,
                     RAD_BTN  TYPE REF TO CL_HTMLB_RADIOBUTTON,
                     COL_BEE TYPE REF TO CL_BSP_BEE_TABLE.
              CREATE OBJECT COL_BEE.
              RAD_GRP = CL_HTMLB_RADIOBUTTONGROUP=>FACTORY(
                      ID = P_CELL_ID COLUMNCOUNT = '2' ).
              COL_BEE->ADD( ELEMENT = RAD_GRP LEVEL = 1 ).
              RAD_BTN ?= CL_HTMLB_RADIOBUTTON=>FACTORY( ID = '1' TEXT = 'Approved' ).
              COL_BEE->ADD( ELEMENT = RAD_BTN LEVEL = 2 ).
              RAD_BTN ?= CL_HTMLB_RADIOBUTTON=>FACTORY( ID = '2' TEXT = 'Rejected' ).
              COL_BEE->ADD( ELEMENT = RAD_BTN LEVEL = 2 ).
              P_REPLACEMENT_BEE ?= COL_BEE.
          ENDCASE.
    Again to get the selected radiobutton, use method REQUEST->GET_FORM_FIELDS
    DATA: GT_TIHTTPNVP TYPE TIHTTPNVP.
    REFRESH GT_TIHTTPNVP.
    CALL METHOD REQUEST->GET_FORM_FIELDS
      CHANGING
        FIELDS = GT_TIHTTPNVP.
    For example, suppose your 3r column has 2 radio buttons & In 1st Row if you've selected the radiobutton 2. THen get_form_fields return the below value.
    TV1_1_3 = 2. Here TV1 is tableview name & 1 - Row 1 & 3 -Column three. value 2 indicates that 2nd radio button is selected.
    DO 10 TIMES. "Here 10, stands for number of visible rows in tableview
    concantenate 'TV1' '_' sy-tabix '_' '3' into v_cell_id. "Here now v_cell_id will have TV1_1_3 for 1st row & etc..
    Read table GT_TIHTTPNVP into wa with key name = v_cell_id.
    if sy-subrc = 0.
    v_selected_rad_btn = wa-value. " THis will give you the selected radio button.
    endif.
    enddo.
    Hope this will solve your problem.
    Raja T
    Message was edited by:
            Raja Thangamani

  • Before update for each row.

    hi,
    SQL> SELECT *FROM EMP WHERE EMPNO=7654
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1450     1587.5         30
    Alter Table EMP Add (
      Constraint PK_EMPNO Primary Key (EMPNO)
       Create Or Replace Trigger tr_emp_rec before update On emp For Each Row
       Declare
        Lv_n Number;
        Begin
       Dbms_Output.put_Line('old'||' '||:Old.empno||' '||'new '||:New.empno);
      End;
    SQL> update emp set empno=7654
      2  /
    old 7654 new 7654
    old 7698 new 7654
    old 7782 new 7654
    update emp set empno=7654
    ERROR at line 1:
    ORA-00001: unique constraint (SCOTT.PK_EMPNO) violatedWhy the trigger body executed three times?.
    Regards
    Ravikumar.A

         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          8003 MARTIN     SALESMAN        7698 28-SEP-81       1450     1587.5         30
          8004 WARD       SALESMAN        8000 08-SEP-81       1700        450         30
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1450     1587.5         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       3050      427.5         30
          7782 CLARK      MANAGER         7839 09-JUN-81       2650      367.5         10
          7788 SCOTT      ANALYST         7566 09-DEC-82       3200        450         20
          7839 KING       PRESIDENT            17-NOV-81       5200       8250         10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1700        225         30
          7876 ADAMS      CLERK           7788 12-JAN-83       1300        165         20
          7900 JHONE      CLERK           7698 03-DEC-81       1150       85.5         30
          7902 FORD       ANALYST         7566 03-DEC-81       3200        450         20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7934 MILLER     CLERK           7782 23-JAN-82       1500        195         10
          8000 SMITH      PRESIDENT            17-NOV-81       5200       8250         10
          8001 WARD       SALESMAN        8000 08-SEP-81       1700        450         30

  • Connecting Each row to another Table

    Hi
    This probably isnt the JDBC question but can some one tell me how to Connect each row of a column to another Table.
    I have a Table with two columns Name and UserID. I want to connect each UserID to another Table. like User01 will be connected to another table called burn table for user01. User 02 will be connected to another table called burn table for user 02. Each table for user01 and user02 has 3 columns: CDName, EULA, License Key.
    I read about primary and foreign keys but can some one give me a hint on this about how to start on it?
    And if i get this done, then how would i execute a SQL query command so that I can read the data for each user. I am using java Servlets.
    I am new sorry.
    -bhaarat

    i agree with you that making seperate table for each
    user is terrible and i would be ashamed to present
    this projec to anyone.
    how do you think i should design this database other
    than what i have suggested..
    i might have alredy explained what the database is
    doing but let me do that again..
    1. There are about 150 or more CD's from MS.
    2. Each user is able to burn a cd once only. for
    example if user has already burned xp pro he cant burn
    again.
    3. there are about 600 or more users(thats why making
    each table for each user is wrong, eventhough some one
    else will be doing it, instead of me).
    4. each cd has a license key associated with it.
    please suggest me how i should do this database so its
    not much of a hazzle and i dont have to pay some one
    100 an hour so fix the problems lol.okay first i am going to list out the table designs and then I am going to provide some explanations
    tblUser
    username VARCHAR PRIMARY KEY
    firstname VARCHAR
    lastname VARCHAR
    tblCD
    cdname VARCHAR PRIMARY KEY
    licensekey VARCHAR PRIMARY KEY
    eula VARCHAR or TEXT
    tblUserCD
    username VARCHAR PRIMARY KEY
    cdname VARCHAR PRIMARY KEY
    licensekey VARCHAR PRIMARY KEY
    so what's happening here...
    well we have a table for users.. since we need a unique key i am using username... this could be the
    name for someone uses to login to your system.
    there is a different table that is list of all the cds. the primary key for this one is both the name and license together.
    then there is a table that builds a relationship between the two.
    in this scheme each user may download or whatnot each cd zero or one times. you can't put a second
    download in because that will violate the primary key of tblUserCD
    now let's look at some sample data
    if the user table has this....
    username----firstname----lastname
    jsmith----------John----------Smith
    aadams-------Audrey--------Adams
    and the CD table has this
    cdname----license----eula
    Access-----12345----blah blah
    Word--------12356----blah blah
    Windows---99999---blah blah
    then we do the following queries when John wants to get Access and Windows and Audrey wants to get Word and Access.
    INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('jsmith','Access','12345');
    INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('jsmith',Windows,'99999');
    INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('aadams','Word','12356');
    INSERT INTO tblUserCD(username,cdname,licensekey) VALUES('aadams','Access','12345');
    now if you want to get the list of program for any user (example John Smith) you just do this....
    SELECT cdname FROM tblUserCD WHERE username='jsmith'
    which gives you this
    cdname
    Access
    Windows
    there are several pluses to this design
    1) as I alluded to earlier this design prevents you putting in the same cd and license key more than once for each user
    2) You now can get a nice list of all the CD's easily.
    SELECT cdname,licensekety FROM tblCD;
    3) if you need to make any changes, like a persons username or more likely the cd stuff then it is easier to do so.. for example in your old design if you wanted to change Access to Access XP you would have to change EVERY table. in the new model you can do this in two queries.
    UPDATE tblCD SET cdname='Access XP' WHERE cdname='Access' AND licensekey='12345';
    UPDATE tblUserCD SET cdname='Access XP' WHERE cdname='Access' AND licensekey='12345';
    (actually if you set up the keys properly and to cascade changes then you would just need the one query)
    there is actually a theory for this sort of timesaving and error prevention work called normal form data.
    for your further "enjoyment" may I suggest reading this http://databasejournal.com/sqletc/article.php/1443021
    anyway hope this helps you out....
    does this make sense to you?

  • Update button in sql report for each row can only get the report value

    I have to added Update for each row of records like:
    select a.*,'Update' button from (
    select c.*,d.login from country c,champ d
    where c.champ_id=d.champ_id(+)
    order by c.name) a
    then go to the report->edit button ->Column Link
    I added some items P40_REGION, P40_CHAMPID,P40_ACTIVE,P40_CODE and assign the value like #region#,#active# ,#code# to these item, but when I click the update button in the report I found the values such as #region#,#active# ,#code# is the report value not the select list selected value(the region, active column are displayed as select list lov).
    Can anyone tell me how to sort this knid of problem?
    Thanks a lot!

    Sorry, it doesn't work. I also tried apex_application.g_f01(i), but not everytime I can get the value or get the incorrect value. If you have time you can try to create it like what I have described. Our team use two days now but still can not sort this problem.

  • Check Box for each row in report -- all rows deleting when pressing DELETE

    Hello experts! I have set up a report with a check box for each row. When I click the DELETE button to delete the selected rows, every single one of the rows get deleted...even the ones that are not selected. I have my process point set to "On Submit - After computations and validations".
    This is my delete process (SHG is the table and SHG_ID is the primary key):
    FOR i in 1..HTMLDB_APPLICATION.G_F01.count
    LOOP
    DELETE FROM SHG
    WHERE SHG_ID = HTMLDB_APPLICATION.G_F01(i);
    END LOOP;
    Also, I've added to query in the region source this line:
    htmldb_item.checkbox(1, SHG_ID) del,
    Where does the "1" come into this? Not sure what I am doing wrong!
    Message was edited by:
    user477193
    Message was edited by:
    user477193

    The 1 (first argument to all the htmldb_item.* APIs) corresponds to the array number in htmldb_application.g_fNN. So 1 will populate array g_f01, 2 will populate g_f02 and so on.
    Your code seems fine, it should delete only the checked rows. Are you sure there is no other process on the page that might be deleting the rows? See if you can put up an example on htmldb.oracle.com

  • Creating TREE REPORT with CHECKBOX against each row

    Hi Friends,
    I need to create a <b>TREE REPORT with  CHECK BOX</b> against each row. when the user selects a row and clicks on a custom button then those should get populated into an internal table. <b>This is HIGH priority</b> one and I have tried my best but couldnt find any solution. Please advise me some sol.
    thanks in advance for your valuable time and help.
    Regards
    srithan
    Message edited by me for easyness
            Reddy

    Hi
    Following code is to add checkboxes in ALV tree:
    FORM add_root_request USING pls_data_ TYPE csg_gs_outtab_p_key__l_is_sub_node_ TYPE c
    CHANGING pl_carrid_key._node = nodes->add_node( related_node = p_key
    relationship = cl_gui_column_tree=>relat_last_child ).
    ... §0.2 if information should be displayed at
    the hierarchy column set the carrid as text for this node
    text = p_ls_data-object.
    node->set_text( text ).
    ... §0.3 set the data for the nes node
    node->set_data_row( p_ls_data ).
    item = node->get_hierarchy_item( ).
    item = node->get_item( 'FCHECKBOX' ). "FCHECKBOX is my radio button field in internal table which I am using to populate the ALV
    item->set_type( if_salv_c_item_type=>checkbox ).
    pl_carrid_key = node->get_key( )._
    CATCH cx_salv_msg.
    ENDFORM_._Following code is for handling checbox_change event
    PERFORM application_action_events.
    FORM application_action_events .
    data: lr_events type ref to cl_salv_events_tree.
    *data gr_events type ref to lcl_handle_events.
    lr_events = gr_tree->get_event( ).
    create object gr_events.
    set handler gr_events->check for lr_events.
    set handler gr_events->on_link_click for lr_events.
    set handler gr_events->on_before_user_command for lr_events.
    set handler gr_events->on_after_user_command for lr_events.
    set handler gr_events->on_keypress for lr_events.
    endform. " application_action_events----
    CLASS lcl_handle_events DEFINITION.
    PUBLIC SECTION.
    METHODS:
    check FOR EVENT checkbox_change OF cl_salv_events_tree IMPORTING node_key columnname checked. "Here node_key is the row number
    ENDCLASS. "lcl_handle_events DEFINITION
    CLASS lcl_handle_events IMPLEMENTATION
    §4.2 implement the events for handling the events of cl_salv_table
    CLASS lcl_handle_events IMPLEMENTATION_._
    METHOD check_._
    WRITE 'hello'_._
    DATA lwa_modify_check_ TYPE REF TO csg_gs_outtab.
    node_key = node_key - 1_._
    READ TABLE csg_gt_list INDEX node_key REFERENCE INTO lwa_modify_check._
    if columnname = 'FCHECKBOX'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->fcheckbox =_ ' '_._
    ELSE_._
    lwa_modify_check->fcheckbox =_ 'X'_._
    ENDIF_._
    ENDIF_._
    if columnname = 'CHECKBOX_READ'_._
    IF checked = 'X'_._
    If the value in internal table is set to X, then it is deselct
    lwa_modify_check->checkbox_read =_ ' '_._
    ELSE_._
    lwa_modify_check->checkbox_read =_ 'X'_._
    ENDIF_._
    ENDIF_._
    *MODIFY TABLE csg_gt_list from l_wa_modify_check.
    flag_test = flag_test + 1_._
    ENDMETHOD_._ "check
    ENDCLASS_._ "lcl_handle_events IMPLEMENTATION
    Please give me reward points

  • Prompting user for input for each row in the report

    Is it possible to have a user entered field for each row in a report ?
    ie. have a report with empolyee number, employee name, title, salary, and comment. Select of of these columns from the SQL query except for the comment, and then when the report is generated have the user be prompted for what the want the comment to be for every employee in the report?

    That is, have the user generating the report enter in a different comment for EACH employee. (ie Joe Smith's comment is "good worker and John Smith's comment is "come to work late on Tuesdays and Thursdays", Sally Jones' comment is "Expert in C++" etc.) as the reports is being built for each row returned from the query.

  • Adding the Checkbox for each row in classic report

    Hello,
    I have created classic report with checkboxes in each row and added the On-Submit process, BUTTON CONDITIONAL, to determine the behavior of the checkboxes. The PL/SQL process is suppose to delete the selected row from database.
    I am getting the Success message, but When I check the database, the row still persist in the database.
    PLSQL CODE:
    FOR i IN 1..apex_application.g_f01.count LOOP
    DELETE 
    FROM
      registry 
    WHERE
      reg_id = apex_application.g_f01(i);END LOOP;
    ORACLE APEX: 4.2
    Thank you

    Hi ApexNewLearner,
    Try this
    DECLARE
    j number;
    BEGIN
    FOR i IN 1..apex_application.g_f01.count LOOP
      j := apex_application.g_f01(i);
      DELETE FROM  registry
      WHERE  reg_id = apex_application.g_f01(j);
    END LOOP;
    END;
    or better try to replicate your issue on apex.oracle.com , that is easy for users to investigate the issue and give you appropriate solution.
    Hope this helps you,
    Regards,
    Jitendra

  • How to show an image on each row of the report?

    I have created a report in apex. i want to display image on each row in a column of the report.
    How can i do this?

    See About BLOB Support in Forms and Reports in the documentation.
    There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well.
    In future please
    <li>Search the forum before posting a new question. Most questions (including this one) have been asked and answered before.
    <li>Include as much relevant information with your question as possible, starting with:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s)/version(s) used
    - Theme
    - Templates
    - Region type(s)
    <li>Change your forum handle to something better than "845927".

  • Horizontal lines for each rows in the rtf template

    Hi,
    I am a newbie for XML Publisher. I just created a XML Publisher report for Vendor invoices. But for each invoice/invoice line rows I am getting a horizontal line which separates each row. But I just wanted the vertical line to separate the columns and not for the rows.
    For example, the output looks like
    Invoice number | Item Description| Quantity|
    123__________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    345__________| xyz__________|_____30 |
    I am getting the report some this like this. But I need the report like below,
    Invoice number | Item Description| Quantity|
    123__________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    _____________| xyz__________|_____30 |
    345__________| xyz__________|_____30 |
    (Please consider the ____ as space)
    Please suggest me some solution. tons of thanks in advance.

    Hi Vetsrini,
    Thanks for your prompt reply. I hope I had put the tag that you had mentioned. But anyhow I had sent your the template and the sample XML file to see the output.
    I have one more question also I want a curvey edge for the table and no tthe sharp edge like this _|. If possible please suggest for this also.
    Looking forward for your reply.
    Hope your mail id is fusion{DoT}object[AT]gmail[dOt]com

  • How to retrive KFF segment values in each row of VO?

    Hi,
    I need to retrve Special Information Type values in HR screen.
    There is a table based on the VO and on of the column is a flex (KFF) linked ot the same VO.
    How can i retrieve the KFF segments values from each row of the table (or VO row).
    The VO contains the ID_FLEX_NUM only.
    Specific issue details:
    It is an HR screen
    page : PersonSIT Page
    Region : SpecialInformationType(Table)
    VO : SpecialInformationDetailsVO
    flex id="HrSitKeyFlex" flexName="PEA" flexFieldAppShortName="PER" user:akAttributeCode="HR_PERSON_SIT_FLEX"
    Any information is of great help
    Thanks,
    Kamath..

    Vo Query is
    SELECT /*+ ORDERED */pac.analysis_criteria_id,
    ppa.analysis_criteria_id old_analysis_criteria_id,
    ppa.person_analysis_id,
    ppa.object_version_number,
    ppa.id_flex_num,
    ppa.business_group_id,
    ppa.person_id,
    ppa.date_from,
    ppa.date_to,
    'DB_ROW' status,
    ppa.date_from old_date_from,
    ppa.date_to old_date_to,
    ppa.attribute1,
    ppa.attribute2,
    ppa.attribute3,
    ppa.attribute4,
    ppa.attribute5,
    ppa.attribute6,
    ppa.attribute7,
    ppa.attribute8,
    ppa.attribute9,
    ppa.attribute10,
    ppa.attribute11,
    ppa.attribute12,
    ppa.attribute13,
    ppa.attribute14,
    ppa.attribute15,
    ppa.attribute16,
    ppa.attribute17,
    ppa.attribute18,
    ppa.attribute19,
    ppa.attribute20,
    ppa.attribute_category
    FROM per_person_analyses ppa,
    per_analysis_criteria pac
    WHERE ppa.business_group_id = :1
    AND ppa.person_id = :2
    AND ppa.id_flex_num = :3
    AND pac.analysis_criteria_id = ppa.analysis_criteria_id
    The values from log file for a single row is as below
    i = 0
    row.getAnalysisCriteriaId()=68198
    row.getAttribute1()=null
    row.getAttribute10()=null
    row.getAttribute11()=null
    row.getAttribute12()=null
    row.getAttribute13()=null
    row.getAttribute14()=null
    row.getAttribute15()=null
    row.getAttribute16()=null
    row.getAttribute17()=null
    row.getAttribute18()=null
    row.getAttribute19()=null
    row.getAttribute20()=null
    row.getAttribute2()=null
    row.getAttribute3()=null
    row.getAttribute4()=null
    row.getAttribute5()=null
    row.getAttribute6()=null
    row.getAttribute7()=null
    row.getAttribute8()=null
    row.getAttribute9()=null
    row.getAttributeCategory()=null
    row.getBusinessGroupId()=83
    row.getDateFrom()=2009-10-01 03:32:38.0
    row.getDateTo()=null
    row.getIdFlexNum()=50454
    row.getPersonAnalysisId()=null
    row.getObjectVersionNumber()=null
    row.getOldAnalysisCriteriaId()=null
    row.getOldDateTo()=null
    row.getOldDateTo1()=null
    row.getPersonId()=46788
    row.getSelectFlag()=Y
    row.getStatus()=NEW_ROW
    Here, row.getIdFlexNum()=50454 is the id_flex_num- KFF structure code which has 4 segments.
    I need to get the value for the VaueSet of Segment1
    The segment values are displayed in the OAF page but i did not get how did std oracle code fetch it
    Thanks,
    kamath

Maybe you are looking for

  • Submit program with selection screen parameters - getting blank values

    Hi, I'm submitting a program with selection screen parameters. when I pass '000' (I_TPLSCN  )value for Planning Scenario and when this goes to selection screen then I don't see value for Planning scenario as '000'(I_TPLSCN  ) but the value is blank i

  • BADI for backend contract

    Hi We are in SRM 4.0 classic scenario with ECC 5 as backend. I was activating the BADI BBP_CTR_BE_CREATE for creation of backend contracts. But not able to enter value trans type PCTR in parameter EV_PROCESS_TYPE. "Default value" field is non editabl

  • I work in J2EE development,Could you make friend with me

    I am chinese ,live in shanghai.I eager to get know to more foreign friend,so we can share the technology.if you are agree ,please leave your MSN mail address.thanks

  • Filter View Not Filtering

    I have an InfoPath Forms Library in which I need to filter some views. The first one being Client Status, which is a drop down box with the choices of Open, Suspended, Warrant, and In Custody. I created a view that I want to only show the Open items.

  • JSP: Create Dynamic 2 Column Table looping through iter.hasNext()

    Hi, I have created an ArrayList which I populate with 2 strings per element - if such a thing exists. for example my array would have {ccc, email} {bbb,ip} {aaa,dsl} {ddd,tv} I then sort this list using Collections.sort in which case I end up with th