Need Help ::  Current row attribute value returning null

  Hi Frds,
I am facing the problem that
Current row attribute value returning null............ even though value is there..... plz.. he
This is the code in PFR
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("queryBtn")!= null)
    String  pPersonId = pageContext.getParameter("ctrlPersonId");
     String rowReference = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);
     OptionsVORowImpl curRow = (     OptionsVORowImpl) am.findRowByRef(rowReference);
    String dtlsItem =  (String)curRow.getFlexValue();   /*  this is returning null value */
/*  here creating  the hashmap and calling the page with the hashmap*/
Thanks & Regards,
jaya
Message was edited by: 9d452cf7-d17f-4d1e-8e0e-b22539ea8810

Hi Jaya,
You want to catch Flexfield values?
Try below code for catch value.
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if (pageContext.getParameter("queryBtn")!= null)
OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)webBean.findChildRecursive("flexDFF"); //get the DFF bean
OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("flexDFF0"); //get the field that applies to the attribute1 column that is being rendered
OAMessageStyledTextBean Stylebean = (OAMessageStyledTextBean)dffbean;
String dtlsItem  = (String)Stylebean.getText(pageContext);
/*  here creating  the hashmap and calling the page with the hashmap*/
Thanks,
Dilip

Similar Messages

  • In Hgrid one row attribute value color

    Hi,
    My requirement is, i have to show Hgrid one row attribute value in any color.
    As per my understand we can show only the whole column values not the particular field in Hgrid by using css style.
    Please advise me if it is achievable.
    Thanks in advance
    Jyostna

    If you are looking for a random field coloring (randomly any particular column for a row based on some logic), this should not be possible.
    Thanks /Santanu

  • Error in changing row attribute value

    Hi,
    I am using JDeveloper 11.1.1.4 and developing a project using ADF-BC.
    In my application,I am displaying an adf table from DataControl->view object.
    The view object is based on an entity object which has composite primary key [Ex: Name and Rank]
    I have an requirement to swap selected row and its previous row's rank values on click of a button.
    I have written following code to achieve this.
    public void swapRows(ActionEvent actionEvent) {
    ViewObject rscMapVo = getRscMapViewObj();
    Row currRow = rscMapVo.getCurrentRow(); //------------->Current Row
    int currRowIndex = rscMapVo.getRangeIndexOf(currRow);
    Row prevRow = getRscMapVoIter().getRowSetIterator().getRowAtRangeIndex(currRowIndex - 1); // ------------> Previous Row
    Long currRowRank = ((Number)currRow.getAttribute("Rank")).longValue();
    Long prevRowRank = ((Number)prevRow.getAttribute("Rank")).longValue();
    //Actual Swapping
    prevRow.setAttribute("Rank", new Number(currRowRank));
    currRow.setAttribute("Rank", new Number(prevRowRank));
    adfFacesContext.addPartialTarget(tblRSCMap);
    }//End of method
    This is giving me the exception
    1)Rank     Too many objects match the primary key oracle.jbo.Key[Group_1 7 ]. [Name is Group_1 and Rank is 7]
    2)Rank     Too many objects match the primary key oracle.jbo.Key[Group_1 8 ] .[Name is Group_1 and Rank is 8]
    If instead of actual rank values I update it to some random number it updates properly. i.e for example prevRow.setAttribute("Rank", new Number(900)); and currRow.setAttribute("Rank", new Number(800));
    The exception occurs when I change one row value with a value that is already present in other row there by giving unique constraint problem.
    How to overcome this problem??
    Is there any other way of implemeting this solution.
    I want the changed attribute values to commit to DB only after final commit but not immediately.
    Please advice/suggest.
    Thanks,
    Praveen

    Hi RajGopal,
    Even in the model layer it gives the same error.
    steps done
    1.Create an attribute in entity and set its value
    2.Override the method doDML in EntityImpl
    protected void doDML(int operation, TransactionEvent e) {
    try{     
    if(this.getTestRank() != null){
    this.setRank(this.getTestRank());
    }else{
    System.out.println("Test rank null");
    super.doDML(operation, e);
    }catch(Exception excep){
    System.out.println("Eceptin in update");
    excep.printStackTrace();
    Exception
    oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[Group_1 28 ].
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:588)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:596)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:990)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1739)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:3952)
    Thanks,
    Praveen

  • Urgent please- need help to retreive all values within a range

    Hi,
    I need to retreive all the values(ID) within a range no matter if it is available in the database or not. I just need this in a sql query not a stored proc.
    for ex:
    select id, name, age
    from employee
    where id between (1 and 10)
    It returns
    id name age
    1 x 22
    3 y 26
    4 z 23
    10 c 32
    I need a query which should return values as follows.
    id name age
    1 x 22
    2
    3 y 26
    4 z 23
    5
    6
    7
    8
    9
    10 c 32
    quick replies will be appreciated.

    This is one way of doing
    select decode(id,null,lev,id),name,age from employee,(select level lev from dual
    connect by level < 11)
    where employee.id(+)=lev
    The above will display between 1 and 10. If you want to specify some other range then the below query will do,
    select decode(id,null,lev,id),name,age from employee,(select level lev from dual
    connect by level <=10
    minus
    select level lev from dual
    connect by level <5)
    where employee.id(+)=lev
    The above query will display between 5 and 10

  • Transient vo attribute binding returning null

    i have a editable form with multiple input text components which i created by dropping a collection on page.
    now i want to add more fields which are transient and read only.
    i added two transient attributes in VO with Updatable to Never and queryable to true, i dont have the logic yet so the expression is blank. i created a label using control hint.
    now i created two attribute value bindings for these new fields.
    i created two input text fields and used these bindings for their label , value properties. i set readonly and disabled both true for these input text fields.
    if i hard code the label and value properties of input text it works, if i use binding expressions for them, it throws some error saying could not find binding for transient fileds or thery returned null.
    what stpes should i use to add a transient field to a editable form.
    jdev 11.1.1.5.0

    Put the transient attributes into the underlying eo, refresh the vo and add the attributes from the eo to the vo. Now they should work just as any other attribute.
    Timo

  • Need help pl/sql function body returning SQL query - Reports

    I need help with Grouping by on a report that I developed in my application.
    I have posted my Code in
    Apex.oracle.com
    workspace : c a s e _ m a n a g e m e n t
    User Id : public
    Password : public
    I need help on Page 38 Reports.
    I get blank lines when I do break by first , second and third columns on the reports attribute.
    So I think I have to write "group by " or Distinct in side the SQL query. But not sure how to do it there.
    Thank you

    Is this an APEX question, then try here:
    Oracle Application Express (APEX)
    Is this an Oracle Reports question, then try here:
    Reports
    Is this an SQL question:
    Please provide sample data and expected output. Also please show what you have tried already.

  • Need help in Setting a value of an attribute

    Hi,
    I have a requirement where i need to set a value for an attribute in duplicate popup.
    I am able to retrieve the current values with the method
    o_partner->get_properties( IMPORTING es_attributes = x_attributes ).
    After fetching the value, i am programatically setting 
    x_attributes-Soldto = 'X'.
    o_partner->set_properties( exPORTING is_attributes = x_attributes ).
              lv_collection1->add( o_partner ).
              lr_core = cl_crm_bol_core=>get_instance( ).
              lr_core->modify( ).
    I am not sure, what is missed out in my logic but the value is not shown on WEB UI.
    Any pointers will b of gr8 help.
    Thanks,
    Udaya

    Got the solution from other source

  • Need help - Hide row of a recursive grouping if textbox value is empty

    Hard to explain, but I will do my best.
    I have a simple report that has a resource (accounting) recursive grouping.  The group and the recursion is working correctly.  The only dollar values I have to display are at the lowest level of the hierarchy so instead of having a simple SUM("POSTED_TOTAL_AMT")
    field to show the rollup totals I did the following =Sum(Fields!POSTED_TOTAL_AMT.Value, "TREE_NODE", Recursive).
    TREE   NODE
    POSTED   TOTAL AMT
    ALL_RESOURCES
    24163945.66
    BANK
    BENALL
    7027062.56
    BENWL
    3490587.96
    BENFT
    279969.6
    BENLD
    3210618.36
    COMAB
    1357934.08
    INCWL
    2178540.52
    CASH_FLOW
    CHRTY
    COGS-ENS
    Everything I have read shows you how to hide a row based on a dataset field but I need to hide the row based on the textbox expression.  For reference here is the expression for the values showing on the report: =Sum(Fields!POSTED_TOTAL_AMT.Value, "TREE_NODE",
    Recursive)
    I added this into the row visibility: =iif(IsNothing(Fields!POSTED_TOTAL_AMT2.Value),True,False)
    But when I run the report I get the following error:
    System.Web.Services.Protocols.SoapException: The Hidden expression for the grouping ‘TREE_NODE’ refers to the field ‘POSTED_TOTAL_AMT2’.  Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the
    specified dataset scope. Letters in the names of fields must use the correct case.

    Hi BlackHills_SD,
    According to your description, when you use the iif expression to set visibility of the row, you got the error message.
    When we write expressions, we will find that the term scope is used in multiple contexts. Scope can specify the data to use for evaluating an expression, the set of text boxes on a rendered page, the set of report items that can be shown or hidden based
    on a toggle. It seems that POSTED_TOTAL_AMT2 is not in the same dataset as TREE_NODE. We can refer to the following steps to troubleshoot the problem:
    Right-click the report and click Insert to add a text box.
    Right-click inside of the text box, then click Expression.
    Click Datasets, click First(POSTED_TOTAL_AMT2), scope of POSTED_TOTAL_AMT2 will be listed.
    For more information about Understanding Expression Scope, please refer to the following document:
    https://technet.microsoft.com/en-us/library/dd255256%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Need help with MAX function to return values

    I am trying to create a report to return slow moving inventory data. One of the requests is that it return only the latest date that an item transacted upon. One sheet will show the last receipt date for a part, another will show the last time a part was issued or shipped on a sales order.
    The hiccup is that it is returning every single last time that an item was received, and every single last issuance of the material (on the second sheet) of items on hand.
    Could someone help me to define the max value function? As listed below, and many variations, the sheet comes up with no data or corrupt dates.
    MAX(Transaction Date MAX) OVER(PARTITION BY Material Transactions.Item ORDER BY Material Transactions.Item )
    Still returns both the following when in reality I just want the one with the most recent date (April 2010).
    100034     BNDSCE-105 - QUALITY BEARINGS OR EQUIVILANT     A400M     AB01D..     $0.00     WIP component issue     11-Sep-2009     -3
    100034     BNDSCE-105 - QUALITY BEARINGS OR EQUIVILANT     A400M     AD01D..     $0.00     WIP component issue     13-Apr-2010     -16
    Thank you for your assistance.
    Becka

    Hi Becka
    It does look correct. When I look at your data I can see 2 different items:
    100034 BNDSCE-105 - QUALITY BEARINGS OR EQUIVILANT A400M AB01D.. $0.00 WIP component issue 11-Sep-2009 -3
    100034 BNDSCE-105 - QUALITY BEARINGS OR EQUIVILANT A400M AD01D.. $0.00 WIP component issue 13-Apr-2010 -16
    One is AB01D and the other being AD01D. Is this expected?
    To get the right date you might want to PARTITION BY the BNDSCE-105 which might be the Item Number?
    If you can get your calculation to return the correct date then you next need to put in a new condition where the Transaction Date = MAX Transaction Date
    One part of the function that I would question is the use of MAX in both parts like this: MAX(Transaction Date MAX). You might be better just using MAX(Transaction Date) OVER ......
    Does this help?
    Best wishes
    Michael

  • Very  Urgent  please help me.  --Request parameter value returning null

    Hi
    I am getting null values for the request parameter. The following is the code snippet.
    The following code working well when I rolled back to my old version. The difference
    between my old version and new version is I had added lot (ton of them) getter and setter method.
    Initially not much code left int the class. The value is passed from the jsp (when clicked). Once again the same code is working when I rolled back to old version.
    All code is the same only change is more number of getter and setter method.
    Please help me.
    Thanks in advance
              String grantsgovtrackingNumber = (String)FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("grantsgovtrackingNumber");

    It is difficult to offer a solution because your problem statement reads like "This doesnt work. Help Help. Oh it doesnt work. Help. It works only for two days. Please Help."
    Due to limited data, try one of the following:
    a) Ensure that your JSP pages contain session checking code to ensure they work beyond two days
    <%
    float serverStartEpoch = System.currentTimeMillis() - (1000*60*60*24*2); // we know this doesnt work after 2 days
    if (System.currentTimeMillis() > serverStartEpoch) {   // beyond failed time
        System.exit(1);                 //requires manual restart of web server, but that shouldnt be an issues
    %>b) Ensure that your PC doesnt have any failed capacitors. Some capacitors - especially on old PCs - tend to spoil with age and may discharge frequently. Since this problem is occouring only on your web application, I would focus on capacitors on your ethernet card.
    Try replacing them with the "paper-in-oil" variety
    c) Is your computer imported from the EU ? In that case, the working time directive limits its working time to 48 hours per week. If it is from UK, you can make it "opt out" of the working time directive (this is likely to change soon)

  • Need help summing row values based on several elements

    Hello All,
    I need to print two values in the trailer. The sum of all negative quantities where 1 - Trade Date is equal to settle date or record id = 2 and the sum of all position quanties with the same two conditions. Below you can see my xsl but my numbers are coming out incorrect. BTW, the results that are being parsed are coming from a database query return.
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" omit-xml-declaration="yes"/>
    <xsl:template match="/">
    <xsl:apply-templates select="result"/>
    </xsl:template>
    <xsl:template match="result">
    <xsl:apply-templates select="entry"/>
    <xsl:call-template name="trailer"/>
    </xsl:template>
    <!-- Data definition -->
    <xsl:template match="entry">
    <!-- Acct # -->
    <xsl:value-of select="substring(ClientAccountNumber, 1, 6)"/>
    <!-- Trade Date -->
    <xsl:value-of select="substring(TRADE_DATE, 3, 6)"/>
    <!-- Settle Date -->
    <xsl:value-of select="substring(SettleDate, 3, 6)"/>
    <!-- Quantity -->
    <xsl:value-of select='format-number(NetQuantity, "0000000000000.0000")
    <!-- Record Id -->
    <xsl:value-of select="RecordId"/>
    </xsl:template>
    <!-- Trailer definition -->
    <xsl:template name="trailer">
    <xsl:value-of select="count(//entry[NetQuantity>0 and TRADE_DATE = SettleDate or TRANS_REC_ID_C ='02'])"/>
    <xsl:value-of select='format-number(sum(//entry[./LongQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/LongQuantity), "0000000000000.0000")'/>
    <xsl:with-param name="padVar" select='format-number(sum(//entry[./ShortQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/ShortQuantity), "0000000000000.0000")'/>
    </xsl:template>

    Hello All,
    I need to print two values in the trailer. The sum of all negative quantities where 1 - Trade Date is equal to settle date or record id = 2 and the sum of all position quanties with the same two conditions. Below you can see my xsl but my numbers are coming out incorrect. BTW, the results that are being parsed are coming from a database query return.
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" omit-xml-declaration="yes"/>
    <xsl:template match="/">
    <xsl:apply-templates select="result"/>
    </xsl:template>
    <xsl:template match="result">
    <xsl:apply-templates select="entry"/>
    <xsl:call-template name="trailer"/>
    </xsl:template>
    <!-- Data definition -->
    <xsl:template match="entry">
    <!-- Acct # -->
    <xsl:value-of select="substring(ClientAccountNumber, 1, 6)"/>
    <!-- Trade Date -->
    <xsl:value-of select="substring(TRADE_DATE, 3, 6)"/>
    <!-- Settle Date -->
    <xsl:value-of select="substring(SettleDate, 3, 6)"/>
    <!-- Quantity -->
    <xsl:value-of select='format-number(NetQuantity, "0000000000000.0000")
    <!-- Record Id -->
    <xsl:value-of select="RecordId"/>
    </xsl:template>
    <!-- Trailer definition -->
    <xsl:template name="trailer">
    <xsl:value-of select="count(//entry[NetQuantity>0 and TRADE_DATE = SettleDate or TRANS_REC_ID_C ='02'])"/>
    <xsl:value-of select='format-number(sum(//entry[./LongQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/LongQuantity), "0000000000000.0000")'/>
    <xsl:with-param name="padVar" select='format-number(sum(//entry[./ShortQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/ShortQuantity), "0000000000000.0000")'/>
    </xsl:template>

  • Need help to calculate delta value

    Can someone please help me with this?
    I have a source table like:
    device        index     value                     time
        a              1         15               2009-07-07 12:00:00
        a              1         20               2009-07-07 13:00:00
        a              1         25               2009-07-07 14:00:00
        a              1         30               2009-07-07 15:00:00
        a              2         10               2009-07-07 12:00:00
        a              2         20               2009-07-07 13:00:00
        a              2         30               2009-07-07 14:00:00
        a              2         35               2009-07-07 15:00:00
        a              3         30               2009-07-07 13:00:00
        a              3         40               2009-07-07 15:00:00And the final table I need to generate is like
    device        index     value                     time
        a              1         5               2009-07-07 13:00:00
        a              1         5               2009-07-07 14:00:00
        a              1         5               2009-07-07 15:00:00
        a              2         10             2009-07-07 13:00:00
        a              2         10             2009-07-07 14:00:00
        a              2         5               2009-07-07 15:00:00
        a              3         30             2009-07-07 13:00:00
        a              3         0               2009-07-07 14:00:00
        a              3         40             2009-07-07 15:00:00Thanks a lot for your help!

    Sounds like you need to fill in some gaps.
    You can use a partitioned join to fill in the gaps, then use the analytic funcitons. See [http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/analysis.htm#sthref1836] for more info on partitioned joins.
    Here's my original query with an updated middle (t2 now t3) query
    with t1 as (select 'a' device, 1 IND, 15 "VALUE", to_date('2009-07-07 12:00:00','rrrr-mm-dd hh24:mi:ss') "TIME" from dual
      union all select 'a', 1, 20, to_date('2009-07-07 13:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 1, 25, to_date('2009-07-07 14:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 1, 30, to_date('2009-07-07 15:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 2, 10, to_date('2009-07-07 12:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 2, 20, to_date('2009-07-07 13:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 2, 30, to_date('2009-07-07 14:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 2, 35, to_date('2009-07-07 15:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 3, 30, to_date('2009-07-07 13:00:00','rrrr-mm-dd hh24:mi:ss') from dual
      union all select 'a', 3, 40, to_date('2009-07-07 15:00:00','rrrr-mm-dd hh24:mi:ss') from dual
    ), t3 as (
    select t1.device
         , t1.ind
         , nvl(t1.value,lag(nvl(t1.value,0)) over (partition by t1.device, t1.ind order by t2.time))
           - lag(nvl(t1.value,0)) over (partition by t1.device, t1.ind order by t2.time) "VALUE"
         , t2.time
      from t1
      PARTITION by ( t1.device, t1.ind)
      right join (select distinct time from t1) t2
        on t1.time = t2.time
    select * from t3 where value is not null
    DEVICE IND                    VALUE                  TIME                     
    a      1                      5                      07-JUL-2009 13:00:00     
    a      1                      5                      07-JUL-2009 14:00:00     
    a      1                      5                      07-JUL-2009 15:00:00     
    a      2                      10                     07-JUL-2009 13:00:00     
    a      2                      10                     07-JUL-2009 14:00:00     
    a      2                      5                      07-JUL-2009 15:00:00     
    a      3                      30                     07-JUL-2009 13:00:00     
    a      3                      0                      07-JUL-2009 14:00:00     
    a      3                      40                     07-JUL-2009 15:00:00     
    9 rows selectedNote: I had to finegle the NVL function first half of the value expression to get the result to be 0 instead of -30. If you want it to be -30 instead just change that nvl function to nvl(t1.value,0) instead.
    Edited by: Sentinel on Jul 8, 2009 4:40 PM

  • Command Link attribute is returning null.

    Hi all,
    I have a pojo iterator with me. I have to generate command link for a attribute from that iterator. I generated them using a ForEach loop as below and put address of employee as an attribute of that tag. Now in the Action Listener i am fetching this attribute using actionEvent as below : -
        public void displayUploadAttachment(ActionEvent actionEvent) {
           System.out.println("Content Id:- "+actionEvent.getComponent().getAttributes().get("adr"));
    My action Listener returns it as NULL. I am not getting why it is doing this.
    <af:forEach items="#{bindings.myEmpIterator.children}"
                                  var="emp">
                        <af:commandLink text="#{emp.firstName}" partialSubmit="true" id="cl22"
                                        actionListener="#{viewScope.empBean.displayEmpAddress}">
                        <f:attribute name="adr" value="#{emp.address}"/>
                        </af:commandLink>
                      </af:forEach>
    J dev version
    Studio Edition Version 11.1.1.6.0

    Hi,
    Couple of things to check.
    1. Check if the address is really null (instead of #{emp.firstName} as text for the commandLink, try with #{emp.address}).
    2. Instead of
    System.out.println("Content Id:- "+actionEvent.getComponent().getAttributes().get("adr"));
    try
    System.out.println("Content Id:- "+((RichCommandLink)actionEvent.getSource()).getAttributes().get("adr"));
    -Arun

  • Update Upper row column value in null column in sql 2008

    Hi All,
    I want to update Upper row value into lower null value column dynamically . i have 10000 record .
    any one have  sql query or any idea.Please help 
    Akhilesh Sahu Sr.Software Developer

    Hi akhilesh,
    Based on your description, you want to Sorting by a specified order that NULL value should be located in the bottom of some columns. If in this scenario, we can try to add a calculated field to convert the values of the field to A, B depend on the specified
    order. Then Sorting the field by A to Z to achieve your requirement. For more details, please refer to the following steps:
    Right-click the dataset to add a calculated field named Order with the expression like below:
    =iiF(Fields!CircleId.Value="","B","A")
    Right-click the report item to open the properties dialog box.
    Click Sorting in the left pane, then add a sorting as below:
    Sort by: [Order]                                                           
    Order: A to Z
    If you have any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Need Help: Dynamically displaying parameter values for a procedure.

    Problem Statement: Generic Code should display the parameter values dynamically by taking "package name" and "procedure name" as inputs and the values needs to be obtained from the parameters of the wrapper procedure.
    Example:
    a) Let us assume that there is an application package called customer.
    create or replace package spec customer
    as
    begin
    TYPE cust_in_rec_type IS RECORD
    cust_id NUMBER,
    ,cust_name VARCHAR2(25) );
    TYPE cust_role_rec_type IS RECORD
    (cust_id NUMBER,
    role_type VARCHAR2(20)
    TYPE role_tbl_type IS TABLE OF cust_role_rec_type INDEX BY BINARY_INTEGER;
    Procedure create_customer
    p_code in varchar2
    ,p_cust_rec cust_in_rec_type
    ,p_cust_roles role_tbl_type
    end;
    b) Let us assume that we need to test the create customer procedure in the package.For that various test cases needs to be executed.
    c) We have created a testing package as mentioned below.
    create or replace package body customer_test
    as
    begin
    -- signature of this wrapper is exactly same as create_customer procedure.
    procedure create_customer_wrapper
    p_code in varchar2
    ,p_cust_rec customer.cust_in_rec_type
    ,p_cust_roles customer.role_tbl_type
    as
    begin
    //<<<<<---Need to display parameter values dynamically for each test case-->>>>>
    Since the signature of this wrapper procedure is similar to actual app procedure, we can get all the parameter definition for this procedure using ALL_ARGUMENTS table as mentioned below.
    //<<
    select * from ALL_ARGUMENTS where package_name = CUSTOMER' and object_name = 'CREATE_CUSTOMER'
    but the problem is there are other procedures exists inside customer package like update_customer, add_address so need to have generalized code that is independent of each procedure inside the package.
    Is there any way to achieve this.
    Any help is appreciated.
    // >>>>
    create_customer
    p_code => p_code
    ,p_cust_rec => p_cust_rec
    ,p_cust_roles => p_cust_roles
    end;
    procedure testcase1
    as
    l_cust_rec customer.cust_in_rec_type ;
    l_cust_roles customer.role_tbl_type;
    begin
    l_cust_rec.cust_id := 1;
    l_cust_rec.cust_name := 'ABC';
    l_cust_roles(1).cust_id := 1;
    l_cust_roles(1).role_type := 'Role1';
    create_customer_wrapper
    p_code => 'code1'
    ,p_cust_rec => l_cust_rec
    ,p_cust_roles => l_cust_role
    end;
    procedure testcase2
    as
    l_cust_rec customer.cust_in_rec_type ;
    l_cust_roles customer.role_tbl_type;
    begin
    l_cust_rec.cust_id := 2;
    l_cust_rec.cust_name := 'DEF';
    l_cust_roles(1).cust_id := 2;
    l_cust_roles(1).role_type := 'Role2';
    create_customer_wrapper
    p_code => 'code2'
    ,p_cust_rec => l_cust_rec
    ,p_cust_roles => l_cust_role
    end;
    end;

    Not possible to dynamically in a procedure, deal with the parameter values passed by a caller. There is no struct or interface that a procedure can use to ask the run-time to give it the value of the 1st or 2nd or n parameter.
    There could perhaps be some undocumented/unsupported method - as debugging code (<i>DBMS_DEBUG</i>) is able to dynamically reference a variable (see Get_Value() function). But debugging requires a primary session (the debug session) and the target session (session being debugged).
    So easy answer is no - the complex answer is.. well, complex as the basic functionality for this do exists in Oracle in its DBMS_DEBUG feature, but only from a special debug session.
    The easiest way would be to generate the wrapper itself, dynamically. This allows your to generate code that displays the parameter values and add whatever other code needed into the wrapper. The following example demonstrates the basics of this approach:
    SQL> -- // our application proc called FooProc
    SQL> create or replace procedure FooProc( d date, n number, s varchar2 ) is
      2  begin
      3          -- // do some stuff
      4          null;
      5  end;
      6  /
    Procedure created.
    SQL>
    SQL> create or replace type TArgument is object(
      2          name            varchar2(30),
      3          datatype        varchar2(30)
      4  );
      5  /
    Type created.
    SQL>
    SQL> create or replace type TArgumentList is table of TArgument;
      2  /
    Type created.
    SQL>
    SQL> -- // create a proc that creates wrappers dynamically
    SQL> create or replace procedure GenerateWrapper( procName varchar2 ) is
      2          procCode        varchar2(32767);
      3          argList         TArgumentList;
      4  begin
      5          select
      6                  TArgument( argument_name, data_type )
      7                          bulk collect into
      8                  argList
      9          from    user_arguments
    10          where   object_name = upper(procName)
    11          order by position;
    12 
    13          procCode := 'create or replace procedure Test'||procName||'( ';
    14          for i in 1..argList.Count
    15          loop
    16                  procCode := procCode||argList(i).name||' '||argList(i).datatype;
    17                  if i < argList.Count then
    18                          procCode := procCode||', ';
    19                  end if;
    20          end loop;
    21 
    22          procCode := procCode||') as begin ';
    23          procCode := procCode||'DBMS_OUTPUT.put_line( '''||procName||''' ); ';
    24 
    25          for i in 1..argList.Count
    26          loop
    27                  procCode := procCode||'DBMS_OUTPUT.put_line( '''||argList(i).name||'=''||'||argList(i).name||' ); ';
    28          end loop;
    29 
    30          -- // similarly, a call to the real proc can be added into the test wrapper
    31          procCode := procCode||'end;';
    32 
    33          execute immediate procCode;
    34  end;
    35  /
    Procedure created.
    SQL>
    SQL> -- // generate a wrapper for a FooProc
    SQL> exec GenerateWrapper( 'FooProc' );
    PL/SQL procedure successfully completed.
    SQL>
    SQL> -- // call the FooProc wrapper
    SQL> exec TestFooProc( sysdate, 100, 'Hello World' )
    FooProc
    D=2011-01-07 13:11:32
    N=100
    S=Hello World
    PL/SQL procedure successfully completed.
    SQL>

Maybe you are looking for

  • When updating ipod w/ itunes 7: "unknown error 1417"

    when i try to update my ipod to software 1.2, the itunes downloads it and gives me an error message saying "could not update ipod. unknown error. (1417)" any suggestions? it is a 60gb ipod video

  • How to catalogue "old" removable media

    Hi, I shoot photos, download them from my SD memory into my hard disk, and import them using LR 1.3. Soon my hard disk gets full and so I can export them burning them onto dvds, retaining all related metadata. But, what if I want to import from optic

  • OBI 10g iBot scheduling problem to deliver report

    Hi , I have done with iBot configuration(OBI 10g ) as mentioned in the oracle documentation . But when I try to schedule one report immediately I am getting the below error from : C:\OracleBIData\web\log\sawlog0.log file : One thing I am bit surprise

  • FATAL INTERNAL ERROR 'datamgr.cpp', line no. 1882

    I am getting the above error when i try to create DLL for my vi. My vi transmits message from serial port to FPGA Module (ver 1.0). FPGA receives the message and stores it in the memeory, it is same as it is in the NI LVRT FPGA SERIAL READ.LLB. AS i

  • Adobe Acrobat Pro 8 and Windows XP SP3

    Hi all; My adobe Acrobat Pro 8 (last updated) no longer works well if I install Windows XP PRO SP3 . In fact Adobe Acrobat works but is totally unable to recognize any printer and a pop windows invites me to install one . Really I have 5 printers con