Literal from value in setActionListener

Hi,
This one should be easy. I have two tables on a jpx in ADF Faces. Each row in each of the tables has a command link in one or more cells. I would like to use an action listener to determine which table the command link is contained in. The simplest way to do this (so I thought) would be like this:
<af:commandLink text="#{row[def.name]}"
action="#{DispatchBean.commandLink_action}"
returnListener="#{DispatchBean.handleReturn}"
rendered="true" useWindow="true" windowHeight="650"
windowWidth="500">
<af:setActionListener from="table1"
to="#{DispatchBean.currentTable}"/>
</af:commandLink>
Unfortunately when I step through the code in the debugger, a null string is passed to my backing bean. I could use different action methods in the bean for each of the tables but I'd have to duplicate code and I thought it might prove handy to know the correct way to pass a literal to an action listener.
As always thanks for the help,
Jeff

It was easy. I found the solution looking through the SRDemo source for something unrelated. In case there is someone else out there trying to do the same thing, just wrap the literal in an EL and it works:
<af:commandLink text="#{row[def.name]}"
action="#{DispatchBean.commandLink_action}"
returnListener="#{DispatchBean.handleReturn}"
rendered="true" useWindow="true" windowHeight="650"
windowWidth="500">
<af:setActionListener from="#{'Some literal expression'}"
to="#{DispatchBean.currentTable}"/>
</af:commandLink>
I hope this helps someone,
Jeff

Similar Messages

  • Strange issue in ListBox - Showing the 'id' contents and not from 'Values'.

    Hi,
    I have created a custom table control that looks exactly like in 'Partner Tab' of Sales Order. It has Partner type, Partner, Name etc columns. For 'Partner type' column, I am calling function module 'VRM_SET_VALUES' so it shows as 'Sold-to party' , Ship-to Party' instead of SP, WE etc. This works fine.
    However, before I display this table control, in PBO,  I am populating Partner Type and partner # and passing it to table control columns. It should show like 'Sold-To party' in 'Partner type' column and '0000014' in 'Partner' column. I see Partner # populated correctly, however, instead of showing 'Sold-To party' in 'Partner type' column , it is showing like SP, which is the 'id' value from function module 'VRM_SET_VALUES' . What should I do so it shows the description(content from 'Values' and
    not from 'id' ) ?
    Niranjan

    Thanks for the response.
    I had tried converting to text and pass from Internal table to Table control on screen in PBO, however, the width of the column is only 2 characters, so it will display just 2 characters text.
    I am wondering how SAP is able to code to show TEXT in 'Partner tab' in Sales Order. I have pasted the contents below from 'Partner tab' of sales order. I debugged the code in program SAPLV09C and screen 1000 and somehow they are populating the text as shown in 'PARTNER FUNCTION' below instead of codes like SH, SP. If I press F1 on field, I see SDPARTNERLIST-PARVW as the field name and the width is 2 characters.
    PARTNER FUNCTION        PARTNER #      NAME
    Sold-to party                         79269     XYZ CONSTRUCTION
    Foreman1                          2023     KURT
    Bill-to party                          79269     XYZ CONSTRUCTION
    Payer                          79269     XYZ CONSTRUCTION
    Regional Salesman            430     MARK
    Ship-to party                          219763     S.A.G. PROPERTIES
    Cont Person >Bill-To     80296     DENNIS
    Cont Person >Sold-To     80296     DENNIS
    Cont Person >Payer     80296     DENNIS
    Cont Person >Ship-To     261628     DENNIS

  • How to delete blank space from value of Infoobject in the transfer rule

    does anyboady know how to write a routine in the transfer rule in order to delete ending blank spaces from value of Infoobject 'ORDTEXT'. E.g. value: 'ABM    '?  After routine, the result should be 'ABM'.
    Thanks for any input.

    Deleting 'ending blank spaces' from a character type field (ie info-object or text) in SAP is not meaningful. For all usage, a char type field of length 8 having value  'ABM     '  is same as 'ABM'.
    Ok, HTML is changing the display in the above, so let me restate it
    For all usage, a char type field of length 8 having value  'ABM_____'  is same as 'ABM', take the underscore character (_) in the first string as a placeholder for space character.
    Edited by: Ajay Das on Jul 29, 2009 12:07 PM

  • How to read Group ID from Value Mapping Context in Cache Monitoring ?

    Hi friends,
        In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
        Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU....  For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code)  which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
        So, in essence, how to read the GUID from value mapping context.
        Friends, Kindly help me to do this.
    Thanks in advance.
    Jegatheeswaran P.

    Did you get the way to read group id?

  • Faces config exception - Can't get value from value binding expression:

    the menuItem_Department shown property takes value from userRight's session bean object userDetail.
    class UserRights{
        public boolean mDept = false;
        public boolean loggedIn = false;
        public boolean admin = false;
       //accessors
    }now, the shown property picks correct value for #{userDetail.admin} but gives erros on this. any idea how to get around this exception:
    Managedbean menuItem_Department could not be created Can't get value from value binding expression: '#{userDetail.mDept}'.
    javax.faces.FacesException: Can't get value from value binding expression: '#{userDetail.mDept}'     at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:903)
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:547)
         at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:233)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)
    .. stack tracepointers appreciated.
    reagrds
    Rabs

    well, i figured out the problem so thought to share with all aswell.
    all i changed was the name of the variable from mDept to dept.
    java beans has its own set of rules and naming conventions which i have not read much about but this problem had to do sumthing with that!
    just changing the name simply works fine!

  • I want to create stored procedure which will give output rows from "values that are passed as one parameter (comma seperated) to store procedure".

    Hello,
    I want to create stored procedure which will give output rows from "values that are passed as one parameter (comma seperated) to store procedure".
    Suppose , 
    Parameter value : person 1,person2,person3 
    table structure : 
    Project Name | officers 1 | officers 2
    here, officers 1 or officers 2 may contain names of multiple people.
    expected OUTPUT : distinct list(rows) of projects where person 1 or person 2 or person 3 is either officer1 or officer 2. 
    please explain or provide solution in detail 
    - Thanks

    Hi Visakh,
    Thanks for reply.
    But the solution you provided giving me right output only if officer 1 or officer 2 contains single value , not with comma seperated value.
    Your solution is working fine for following scenario : 
    Project 
    Officers 1
    Officers 2
    p1
    of11
    off21
    p2
    of12
    off22
    with parameter : of11,off22 : it will give expected output
    And its not working in case of :
    Project 
    Officers 1
    Officers 2
    p1
    of11,of12
    off21,off23
    p2
    of12,of13
    off22,off24
    with parameter : of11,off22 : it will not give any row in output
    I need patten matching not exact match :) 
    ok
    if thats the case use this modified logic
    CREATE PROC GetProjectDetails
    @PersonList varchar(5000)
    AS
    SELECT p.*
    FROM ProjectTable p
    INNER JOIN dbo.ParseValues(@PersonList,',')f
    ON ',' + p.[officers 1] + ',' LIKE '%,' + f.val + ',%'
    OR ',' + p.[officers 2] + ',' LIKE '%,' + f.val + ',%'
    GO
    Keep in mind that what you've done is a wrong design approach
    You should not be storing multiples values like this as comma separated list in a single column. Learn about normalization . This is in violation of 1st Normal Form
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Numeric literal from string

    Hi,
    I have a string which contains the name of the customer, followed by phone number. There is no specific length for the name part and the tel number( I cannot use the substring method directly). The tel number is sometimes followed by address( cannot take the last 10 chars as the tel num either).
    I need to parse the string for customer's name and tel number. Is there a way to identify the numeric literal from the string?
    If I can identify the first numeric in the string, the next 10 characters would be the tel number!

    Have a look at the String method charAt(), and the static Character method isDigit(). Between them these will let you decide whether or not the string starts with a digit.
    If that doesn't help you need to be clear about (and describe clearly) the structure of the string you are parsing. It sounds like it could have one of the following forms (but I could be wrong about this):<name length unknown><10 digit phone>[optional address length unknown]
    <10 digit phone>[optional address length unknown]<name length unknown>Assuming the name consists of non digit characters, the phone number is the first 10 digit characters in the string. It would appear to be impossible to parse the name in the second case (unless you know it always starts with a digit).

  • How to convert from value to word ?

    Hi all,
    I intend to convert from value into words such as 234.50 will be two hundred and thirty four and cents fifty. How should I code or any function will able to produce this ?
    Please advise.
    Rgds
    Lim

    Lim
    The SP format modifier spells out part of a date - so does YEAR:
    SQL> select to_char(sysdate,'YEAR') from dual
      2  /
    TO_CHAR(SYSDATE,'YEAR')
    TWO THOUSAND EIGHT
    SQL> To spell out a money amount, you have to take a decimal number and break it into dollars and cents (both integers):
    SQL> r
      1  declare
      2    amount number(10,2) := 12345.67;
      3    dollars integer;
      4    cents integer;
      5  begin
      6    dollars := floor(amount);
      7    cents := (amount - dollars) * 100;
      8    dbms_output.put_line(to_char(to_date(dollars,'J'), 'JSP') ||  ' dollars a
    nd ' ||
      9        to_char(to_date(cents,'J'),'JSP') || ' cents');
    10* end;
    TWELVE THOUSAND THREE HUNDRED FORTY-FIVE dollars and SIXTY-SEVEN cents
    PL/SQL procedure successfully completed.
    SQL>Note that the spelling out is rather american (in UK we wouldn't add the hyphen and we would say twelve thousand three hundred AND forty five).
    Using JSP means we are spelling out a Julian date (ie a number of days, which is allowed to get pretty large. But watch out - there is a limit (somwhere between 1 and 10 million) - ie the number of days between minimum date (4172 BC) and max date (around 31/12/9999).
    HTH
    Regards Nigel

  • Add values on VB(2 - From value field

    In the customizing t.c VB(2
    I need to add more values, in the from value field, for example "the first day of the semester" "first day of the trimester"...
    I don't know if it is possible, I've attached a screen capture.
    Thanks

    I'm not aware of any ODP.NET bug on that. Usually the cause is data stored incorrectly in the database.
    How did you insert the data, was it from ODP.NET as well?
    What characterset is your database?
    select parameter, value from nls_database_parameters where parameter like '%CHARACTERSET%';
    Insert a single chinese character in a one column table, dump it with the following, and let us know the results:
    select dump(<columname>,1016) from <tablename>
    Paste the chinese chararacter here as well.
    Greg
    Edited by: gdarling on Mar 26, 2009 9:38 PM
    Also, fyi, the [ODP forum|http://forums.oracle.com/forums/forum.jspa?forumID=146] would be a more appropriate place for this type of question in the future.

  • Using "PARAMETER.param_name  as a "Copy item from  value" reference

    I a, using forms 9i and I am having a problem using a Parameter as a reference item. The parameter item is there and I am spelling it correctly, i have even cut and pasted the parameter name into the Copy item value. No matter what I do I get the same result.
    FRM-30047: Cannot resolve item reference PARAMETER.PROJECT_UID.
    Item: PROJECT_UID
    Block: GRANT_SUMMARY
    Form: GRANTS
    FRM-30085: Unable to adjust form for output.
    I have even added a colon to the word PARAMETER but this too fails.
    Suggestions please

    You have to assign it programatically as 'Copy item from Value' is mainly there to keep the master detail relationships. It actually expects a block item rather than a parameter.
    Antony.

  • Text Entry Box--Advanced Actions--Conditional Statement--Double quotes in literal input value

    Hello forums,
    I'm new to the forums (and Captivate in general), but I'm having a real problem carrying out a tutorial design and I think you may be my only hope.  Let me explain what I want to do and the difficulty that I'm having:
    I'm an instruction librarian at a university, and I'm designing an interactive tutorial for English 100 students to complete in order to become familiar with how to search the library catalog.  What I've done is taken a screenshot of the catalog search page, made it the background of a slide in Captivate (vers. 6), and placed a text entry box over the search bar in the screenshot.  The idea is for the students to conduct a simulated search by choosing one of three suggested search string formulations, and depending on the search string they enter, the tutorial will jump to a slide featuring a screenshot of what the actual search results would look like.  The idea is to emphasize the use of keywords over full-sentence phrases, and the use of double quotation marks to enclose multi-word search terms.
    So I've set the action for the TEB to "Execute Advanced Actions" and then created some IF/THEN statements in the "Advanced Actions" pop-up window (with action type set to 'conditional'). The script is such that if the student enters the first search option (how does sleep affect college students) in the TEB, the tutorial jumps to 1 slide, if they enter the second option (college students AND sleep), featuring a Boolean operator (AND), the tutorial jumps to a 2nd slide, and if they enter the third option ("college students" AND sleep) with the double quotes around "college students" and the Boolean operator, the tutorial should jump to a 3rd slide.  This action script works fine for the first two input options, but I can't make it work for the third search option.
    I think that it has something to do with the fact that the third input option features double quote marks, and this seems to throw off the script (I tried a quote-less input value for the third IF/THEN just to make sure that it would work jumping to the 3rd slide and it did), and I'm wondering if anyone has any suggestions as to how I can get around this issue.  Again, I need it to work so that if the student enters "college students" AND sleep, with the quote marks and the Boolean operator, the tutorial will jump to a slide showing the search results if those search terms were used in a real search of the catalog.
    I'd be extremely grateful for any help that anyone here can give me, we've been trying to make our online tutorials more engaging and interactive (and therefore more interesting), and I think this would be a great way to teach students about using quotes in their catalog searches.
    Thank you for your time and consideration.
    Andrew Wilk
    College Library
    UW-Madison

    The tutorial is for a "how to use catalog searching" instruction in an undergraduate library session.  We use boolean operators (AND, OR, NOT) to combine search terms, ex. to search for books about the sleeping habits of college students, I would enter "college students AND sleep."  Because "college students" is a multi-word phrase to describe one concept, I need to put quotation marks around the phrase to prevent the catalog from searching for the individual words separately, so the most correct search becomes ["college students" AND sleep] with quotation marks around only "college students," a user-typed "AND," and the word "sleep" (no q-marks).
    A colleague of mine worked out a pretty cool (if complicated) solution that I'll share if anyone is interested.  Since the q-marks where the problem, we've set it up so that the TEB validates the response for the search string with q-marks around "college students." If they enter it correctly, the tutorial jumps to the corresponding slide. The attempt # is set to 1, and if the user fails to enter the validated phrase (they misspell or use one of the other response options) then the TEB is set to run an Advanced Actions Script in which the other two options are scripted in IF/THEN statements that cause, when the term is entered correctly, the tutorial to jump to their corresponding slides. We've created another tab of IF/THEN statements that say that if the response is NOT equal to one of these response options, then the slide restarts (technically the slide "jumps" back to itself and starts over) and the user gets another chance to start the cycle over again.
    I know this is confusing (I had a really hard time explaining it in words), so if anyone is interested I could make a Jing video when I have some time.
    Thank you for all your suggestions

  • UPDATE COLS OF ONE TABLE FROM VALUES OF CERTAIN COLU OF ANOTHER TABLE

    I have two tables table1               table1     
    (col1,                (col1,
              col2,                col2,
              col3,                col3,
              col4,                col4,
              timeperiod)                timeperiod)
    both have same column names. table1 has data for certain timeperiod. table2 also has the data for the same timeperiod. table2 has the correct data for col1, col2. I want to update the columns (col1, col2) in table1 with data from columns (col1, col2) in table2
    and leave the col3, col4 in table1 untouched (no change). Each time I might have to update different columns. some tables have more than 20 columns. This is like, I need to update whatever field I want.
    How do I do this with a script or block declaring variables. How do I control the update for certain columns. This is not a one time thing which I will be doing. I have to do this for several tables whenever the data is not right.
    Thank you,
    sv

    Hi ,
    you can use MERGE for this kind of situations....here i have given some samples...refer this...
    MERGE INTO bonuses D
    USING (SELECT employee_id, salary, department_id FROM employees
    WHERE department_id = 80) S
    ON (D.employee_id = S.employee_id)
    WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
    WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
    VALUES (S.employee_id, S.salary*0.1);
    By this way u can update any no. of columns...I hope this will help you...
    Thanks
    Raj

  • SQL Query - Multiple records from value of field

    I have a table that has the following lay out
    ID
    AreaUnitServes
    Filter1Quantity
    Filter1Size
    Filter2Quantity
    Filter2Size
    And I’m trying to convert it to
    FkPSAUnitsID
    Size
    Location
    I’ve got the following query started but I’m stuck on how to INSERT INTO multiple records by the value of Filter1Quantity. I also have to query for Filter2Quantity.
    INSERT
    INTO RapidServ.dbo.PSAFilters
    (FkPSAUnitsID,Size,Location)
    SELECT ID
    AS FkPSAUnitsID,Filter1Size
    AS Size,
    AreaUnitServes
    AS Location
    FROM RapidServ.dbo.PSA
    Thanks,
    why767

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you probably need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    >> I have a table that has the following lay out <<
    How nice for you! Why did you draw ASCII pictures?  It has all kinds of magical names. The table is nameless because it is forbidden by a wizard to speak its name? There are generic, universal “size” and “location”of nothing in particular. Is the “fk-”
    prefix a meta data design error for “foreign key”? We never do that in RDBMS; name a data element for what it is by its nature, not for how it was used in one place in one schema. This is why we have no magical “id” in a valid schema. Data elements do not
    change names from table to table. 
    You seem to have inherited a pile of garbage with a repeated group in it. Look up First Normal Form (1NF). You also do not know why row is not a record and why fields are  not columns. Did you notice that “area_unit_serves” is a sentence and not
    a name? 
    >> I’ve got the following query started but I’m stuck on how to INSERT INTO multiple records [sic] by the value of Filter1Quantity. I also have to query for Filter2Quantity. <<
    My guess until I get a usable business rules and DDL is that you can use a UNION something like this skeleton: 
    INSERT INTO PSA_Filters (psa_units_id, filter_size, area_service_unit)
    SELECT psa_units_id, filter_1_size, area_service_unit
      FROM Magic_Nameless_Stuff
    UNION ALL
    SELECT psa_units_id, filter_2_size, area_service_unit
      FROM Magic_Nameless_Stuff;
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to derive logic from values in a table

    Hi,
    I am using collection to retrieve multiple records being returned by a business rule.
    I am inserting all the returned values into a table
    T_ELIGIBLE (owner varchar2(10), eligible varchar2(1), qty number(10));
    then, I was wondering how I do this:
    if all the records (owners) in T_ELIGIBLE have value for eligible = 'Y' then, final output to be 'Y'.
    Thanks,

    Hi,
    Thanks for your response.
    By output - I meant as a parameter. What I am trying to do is to - some how loop through all the values for each owner and some up with AND logic.
    If owner1's eligibility = 'Y'
    and if owner2's eligibility = 'Y' then p_eligible = 'Y'
    else 'N'
    I would also like to know how to capture this while looping through the code.
    Here is the basic structure of my code. Thank you,
    create or replace procedure pp1
    p_item_no IN varchar2,
    p_project_no IN varchar2,
    p_entity IN varchar2,
    p_baan_id IN varchar2,
    p_eligible IN OUT varchar2,
    p_qty IN OUT number)
    is
    cursor the_owner_code is
    select t.item_type, t.dtt_limited_flag, dtt_owner_code
    from wm_item t
    where item_no in (select component_item_no
    from wm_kit_bom t
    where kit_item_no = p_item_no
    and end_date is null)
    and project_no = p_project_no
    and entity = p_entity;
    type owners_t is table of wm_item.dtt_owner_code%type
    index by binary_integer;
    v_owner_names owners_t; -- to capture owner names
    type limited_flag is table of wm_item.dtt_limited_flag%type;
    v_limited_flag limited_flag := null; -- to capture limited flag
    type item_type is table of wm_item.item_type%type;
    v_item_type item_type := null; -- to item type
    begin
    execute immediate('truncate table t_limit');
    execute immediate('truncate table t_eligible');
    open the_owner_code;
    fetch the_owner_code bulk collect into v_item_type, v_limited_flag, v_owner_names;
    for indx in v_owner_names.first .. v_owner_names.last
    loop
    select a.ownl_max_limit, a.ownl_unit into l_ownl_max_limit, l_ownl_unit
    from dtt_owner_ranking a, dtt_agency_ranking b
    where b.agr_owner_code = a.ownl_owner_code
    and b.agr_ranking_code = a.ownl_ranking_code
    and b.agr_baan_id = p_baan_id
    and b.agr_owner_code = v_owner_names(indx);
    insert into t_limit values(l_ownl_unit, l_ownl_max_limit);
    insert into t_eligible values (v_owner_names(indx), 'Y',l_remaining_qty); commit;
    end loop;
    close the_owner_code;
    end;

  • From Value in Tasks Tab in UWL

    Hi All,
    We are using UWL for approving of requests in MSS.
    Currently employees initiates a form and submits for the approval. Request comes and sits in the UWL.
    Now in the UWL Tasks tab From Column is filled with Intiator of the form.
    I want to know from where this column is filled can we change the value of this column?
    im using Task TS17900100 for approving the request.
    Please let me know.
    Thanks,
    Santosh

    Hi,
    The From column is the user who created the work item. In your case it is the actual user who submitted the form. In some other cases it might be user WF-BATCH (the workflow system user). You cannot really change the value. If you want something else there, you are able to create your own from (or whatever) column and fill it according to your requirements - anyhow this might require some development/configuration both in portal (UWL configuration) and in backend (you might need to add a new container element (that would include the data) to the task.
    Regards,
    Karri

Maybe you are looking for

  • Permissions for publishing App-v packages

    On our Xenapp 6.5 environment, we precache all out appv packages. when a user logs on his or her applications are immediate available, very happy with this. but now by accident i found out that when a regular  user is aware of the powershell command

  • How do I use the value of a table attribute outside the table?

    I have two tables that are master detail. But it might not be so obvious to the user before he knows how the page works that they are master detail. The tables are in separate showDetailItems in a panelAccordion and what I was thinking of was to show

  • After installing acrobat 10 pro adobe reader 10 is no longer the default

    Hi I recently installed Adobe Acrobat 10 pro on machines that have Adobe reader 10 on them. Now the default for pdf's is  acrobat pro 10. Is there a way yo install pro 10 but keep reader 10 as the default? I have this problem on several hundred pc's

  • Inheritance In Swing

    Hi, I have a confusion in understanding the behaviour of below code import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class Test extends JPanel      private static final String butHireLabel = "Hire";

  • ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments

    I am getting an error: "ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'XYZ' ORA-06550: line 1, column 7: PL/SQL: Statement ignored". Stored Procedure: PROCEDURE XYZ (ip_number IN NUMBER, op_error_code OUT NUMBE