How can I pass URL parameter value to text field?

Dear Masters,
I have a text field. I want it to have a value based on the URL parameter, for example:
http://myapplication.net:7777/pls/apex/f?p=102:1:::::P1_RTNUM:9448,P1_EMAILADD:email.add.here
I want the value of the text field = P1_EMAILADD after the form was loaded. Also, please have it read-only.
Thanks a lot.
Edited by: user6368519 on Sep 16, 2009 11:39 PM

Thanks Saad,
Can I email you(I would need your email) for any concerns or just create a new thread for you to look?
This is ok now. I'm sorry but I just marked this one as an "answered" one last time.
Thanks for all the help again I appreciate it. ;)
Thanks,
Aaron
[email protected]

Similar Messages

  • How can i pass the  parameter for strored procedure from java

    dear all,
    I am very new for stored procedure
    1. I want to write the strored procedure for insert.
    2. How can i pass the parameter for that procedure from java.
    if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from java

    Hi Ram,
    To call the callable statement use the below sample.
    stmt = conn.prepareCall("{call <procedure name>(?,?)}");
    stmt.setString(1,value);//Input parameter
    stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
    stmt.execute();
    seq = (int)stmt.getLong(2);//Getting the result from the procedure.

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

  • HOW CAN I PASS A DEFAULT VALUE IN INTERNAL TABLE

    HOW CAN I PASS A DEFAULT VALUE IN INTERNAL TABLE.
    DATA : BEGIN OF ITAB OCCURS 0,
               FIELD1(2) TYPC C DEFAULT   '12',
               FIELD2     TYPE C ,
               END OF ITAB1.
    IT'S GIVING ERROR MESSAGE.
    PLZ LOOK INTO THIS AND GIVE ME CORRECT SOLUTION.
    THANKS
    SURI

    DATA : BEGIN OF ITAB OCCURS 0,
    FIELD1(2) TYPC C,
    FIELD2 TYPE C ,
    END OF ITAB1.
    itab-field1 = '12'.
    itab-field2 = 'A'.
    append itab.
    clear itab-field2.
    itab-field1 = '12'.
    itab-field2 = 'B'.
    append itab.
    clear itab-field2.
    Now everytime u'll have the value for field1 = '12'.
    Regards
    Vasu

  • How can i pass a parameter to the query to filter the result of this lookup

    Hello,
    i'm developping a web application with JDeveloper 10.1.2 and JHeadStart.
    i realy need to know how can i filter the lookup (LOV) query result.
    in other word, when i click on the lookup, it show all the row that exist in may data base table.
    what i want is how can i pass a parameter to the query to filter the result of this lookup ?
    Thank you

    Hi,
    have a look if this helps
    http://oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
    Frank

  • How can i pass function return values in to varray

    Hi
    create procedure name(parameters list)
    here ---i am calling a function
    varname := function name
    returns 4 values
    My doudt is how can i pass these return values in to varray..
    Type varray vname[5] date type
    Begin
    statements
    end prodedure name;
    pls clarify me its urgent

    This may give u a start
    sql>
    create or replace package test_array_pack as
    type ar1 is varray(10) of number;
    end;
    Package created.
    sql>
    create or replace function test_array return test_array_pack.ar1 is
      v_ar1 test_array_pack.ar1;
    begin
    v_ar1 := test_array_pack.ar1(1,2,3,4);
    return v_ar1;
    end;
    Function created.
    sql>
    declare
    v_ar2 test_array_pack.ar1;
    begin
    v_ar2 := test_array;
    end;
    PL/SQL procedure successfully completed
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How does APEX check for null values in Text Fields on the forms?

    Hello all,
    How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
    I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
    All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
    Declare
    v_valid boolean;
    Begin
    IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := FALSE;
    ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := FALSE;
    END IF;
    return v_valid;
    END;
    My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
    Thanks

    See SQL report for LIKE SEARCH I have just explained how Select list return value works..
    Cheers,
    Hari

  • How can I limit numeric codes in a text field?

    How can I limit numeric codes in a text field? For example I want to list Industry SIC codes and I want to block someone from inputting an exlcuded industry code.

    We don't offer that type of input restriction for a text field. 
    Can you create a list of all allowed codes and use a Drop Down menu or Single/multiple Choice field? 
    Thanks,
    Josh

  • How to get the URL parameter value when navigating from JSP Page to portal

    Hi All,
    I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
    In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
    Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
    If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
    How do we resolve this problem?
    Regards,
    Boopathi M

    Hi
    Please try  these link might helpful for you
    1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
    2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
    3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
    Best Regards
    Satish Kumar

  • How do I pass URL parameter after Update record?

    I have an update record page that successfully updates a record, but when it is redirected to the page it came from it loses any parameters to filter record sets to obtain the correct records.
    When I try to use the Parameters dialog box from the Update Records "select a redirect" dialog box, it results in an error indicator in front of the Update Records line in the Server Behavior, and the web page ceases to update the records.
    How do I pass a parameter to the next page?
    Thanks

    I have found a work around for this issue. By selecting the Insert or Update button and adding a hyperlink with parameter settings. The Hyperlink has the same destination as the Insert records Behavior. When the button is clicked it performs the Insert, and passes the parameters to the destination page..

  • How can i pass the one value for two bind parameters

    hi All,
    i have a search Query
    select Distinct CONSOLIDATION_SUMMARY_ID,CREATION_DATE,CREATED_BY,BATCH_ID,PROCESS_FLAG,ERROR_MESSAGE,CUSTOMER_ID,BILLING_FREQUENCY
    ,CONSOLIDATION_LEVEL,SOLD_TO_ORG_ID ,SHIP_TO_ORG_ID ,TRANSACTIONAL_CURR_CODE ,INVOICE_TO_ORG_ID ,PRICE_LIST_ID
    ,ORIG_SYS_DOCUMENT_REF,INVENTORY_ITEM_ID ,ORGANIZATION_ID ,ORDERED_ITEM ,ORDERED_QUANTITY ,UNIT_LIST_PRICE
    ,UNIT_SEELING_PRICE,ORDER_QUANTITY_UOM,ORDER_NUMBER ,ORDER_DATE ,INVOICE_NUMBER ,INVOICE_DATE
    ,FEE_CALCULATION_WORKSHEET_PDF ,TRADE_DETAILS_PDF ,INVOICE_REPORT_PDF ,PRICING_ATTRIBUTE_CONTEXT
    ,PRICING_ATTRIBUTE ,PRICING_ATTR_VALUE_FROM
    from xxcurrnx.xxcur_trade_consol_summary XXSTR
    WHERE XXSTR.BATCH_ID=NVL(:1,XXSTR.BATCH_ID)
    and XXSTR.CUSTOMER_ID=nvl(:2,XXSTR.CUSTOMER_ID)
    But i need to pass only one value to this query: throw the below code
    public void passTocusttrxn(String vcustid)
    System.out.println("The customer id in trxn vo:"+vcustid);
    XxcurtradeconsummaryVOImpl vOrdnumb=getXxcurtradeconsummaryVO1();
    vOrdnumb.setWhereClauseParam(0,vcustid);
    vOrdnumb.setWhereClauseParam(1,null);
    vOrdnumb.executeQuery();
    System.out.println("The executed query After is :"+vOrdnumb.getQuery());
    But it throws the below exception.
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    could you please tell me how can i achieve this.
    Thanks,

    hi Meher,
    i need to pass this value throug the Spell Parameter.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    XxcustdtlsmainAMImpl am=(XxcustdtlsmainAMImpl)pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("PCustID")!=null) // PCustID is the Spell parameter here
    if(pageContext.getParameter("PbtchID")!=null)
    if(pageContext.getParameter("PordNum")!=null)
    String vcustID=pageContext.getParameter("PCustID");
    String vOrdNum=pageContext.getParameter("PordNum");
    System.out.println("The cust id in PR:"+vcustID);
    System.out.println("The cust id in PR:"+vOrdNum);
    am.passTocustlinetrxn(vcustID);
    how this vcustID value will passed to the search Code.
    if(pageContext.getParameter("BatchID")!=null && !pageContext.getParameter("BatchID").equals(""))
    String BchID=pageContext.getParameter("BatchID");
    int vInBtchID=Integer.parseInt(BchID);
    srchVO.setWhereClauseParams(null);
    srchVO.setWhereClauseParam(0,vInBtchID);
    System.out.println("The Batch ID is :"+vInBtchID);
    f=1;
    }else
    srchVO.setWhereClauseParam(0,null);
    if(pageContext.getParameter("CustmeCode")!=null && !pageContext.getParameter("CustmeCode").equals(""))
    System.out.println("i am im customer code ");
    String vCustID=pageContext.getParameter("CustmeCode");
    srchVO.setWhereClauseParams(null);
    srchVO.setWhereClauseParam(1,vCustID);
    System.out.println("The customer code is "+vCustID);
    f=1;
    }else
    srchVO.setWhereClauseParam(1,null);
    if(f==1)
    srchVO.executeQuery();
    Regards,

  • Iowagie - How do I pass in parameter values to an event handler -onEndPage?

    Hi,
    I have spent a while on this and is getting quite frustrating, so any help much appreciated.
    I am trying to create a footer on each of my PDF pages that will contain an image and a table. I have successfully created a separate class to my servlet, EndPage.java that contains an onEndPage() method. The problem is, I need to pass in three parameter values into this method, storeNo, langId and transNo.
    How do I go about doing this?
    PDFPrint.java
    public class PDFPrint extends HttpServlet {
        private ByteArrayOutputStream getDoc(ByteArrayOutputStream baos, HttpServletRequest requ, String transNo, String storeNo, String langId)     {
            HttpSession session = requ.getSession();
            Document document = new Document();                    
            PdfWriter writer = PdfWriter.getInstance(document, baos);
            writer.setPageEvent(new EndPage());     
            document.open();
    }EndPage.java
    public class EndPage extends PdfPageEventHelper {
        public void onEndPage(PdfWriter writer, Document document) {
            try {
                Rectangle page = document.getPageSize();
                PdfPTable head = new PdfPTable(3);
                PdfPCell cell1 = new PdfPCell(new Phrase("Pueblo Nativo S.A. de C.V", FontFactory.getFont(FontFactory.HELVETICA, 17f)));
                cell1.setHorizontalAlignment(Element.ALIGN_LEFT);
                cell1.setBorder(0);
                for (int k = 1; k <= 1; ++k)
                     head.addCell(cell1);
                head.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
                head.writeSelectedRows(0, -1, document.leftMargin(), page.height() - document.topMargin() + head.getTotalHeight(),
                          writer.getDirectContent());
                PdfPTable foot = new PdfPTable(1);
                PdfPCell cell = new PdfPCell(new Phrase("Disclaimer to go here.", FontFactory.getFont(FontFactory.HELVETICA, 17f)));          
                cell.setHorizontalAlignment(Element.ALIGN_CENTER);
                cell.setBorder(0);
                for (int k = 1; k <= 1; ++k)
                     foot.addCell(cell);
                foot.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
                foot.writeSelectedRows(0, -1, document.leftMargin(), document.bottomMargin(),
                writer.getDirectContent());
            catch (Exception e) {
                throw new ExceptionConverter(e);
         public static void main(String[] args) {
    }Thanks!

    Try adding that information data as properties to the HTTP session.
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext = facesContext.getExternalContext();
    HttpSession session = (HttpSession)externalContext.getSession(false);
    session.setAttribute("stornNo", storeNo);
    session.setAttribute("langId", langId);
    session.setAttribure("transNo", transNo);In PDFPrint, you can get those properties using session's getAttribute method, and pass them to the constructor or as parameters to onEndPage.

  • Passing url parameter values to a non database field

    Hi,
    How do I pass values from the url to a non database field ?
    The following works for a database field:
    http://host:7777/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1892460035&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values=20
    but if I use the same for a non database field item20 it doesn't do anything.
    http://host:7777/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1892460035&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=item20&p_arg_values=2003
    Thanks,
    Sonal.

    Hi,
    Are you trying to query on this field? It wont work because only database fields can be queried on.
    Thanks,
    Sharmila

  • How can I manipulate a parameter value after user input

    Post Author: fsu304
    CA Forum: Crystal Reports
    I have a parameter that is used in my sql command and I want to be able to change the value of it if it reach a certian criteria.  For example the user enters the string "FDT" i want to change the parameter to equal "7" before it gets sent to the database to gather the records.  How can I accomplish this??
    Any help would be awesome.
    Heath

    Post Author: yangster
    CA Forum: Crystal Reports
    the easiest way to achieve this would be to create a lookup table that represents the value you have entered to mean something else in your primary selectionso your table would be a simple value, descriptionthe parameter the user enters 'FDT' = 7 in the table, it is then joined back to your initial queary and will only return you results for 7you can't create if statements with a commandand you cannot use a case statement with a parameterthe other alternative would be to write a procedure that takes in your value and converts it then runs your sql

  • Hi how can i increase my parameter values in my system

    Dear Experts ,
    here my functional consultants gets below shotdump and how can i solve that an error
    Runtime Errors         TSV_TNEW_BLOCKS_NO_ROLL_MEMORY
    Short text
        No roll storage space of length 1802248 available for internal storage.
    hat can you do?
       Try to find out (e.g. by targetted data selection) whether the
       transaction will run with less main memory.
       If there is a temporary bottleneck, execute the transaction again.
       If the error persists, ask your system administrator to check the
       following profile parameters:
       o  ztta/roll_area            (1.000.000 - 15.000.000)
              Classic roll area per user and internal mode
              usual amount of roll area per user and internal mode
       o  ztta/roll_extension       (10.000.000 - 500.000.000)
              Amount of memory per user in extended memory (EM)
       o  abap/heap_area_total      (100.000.000 - 1.500.000.000)
              Amount of memory (malloc) for all users of an application
              server. If several background processes are running on
              one server, temporary bottlenecks may occur.
              Of course, the amount of memory (in bytes) must also be
              available on the machine (main memory or file system swap).
              Caution:
              The operating system must be set up so that there is also
              enough memory for each process. Usually, the maximum address
              space is too small.
              Ask your hardware manufacturer or your competence center
              about this.
              In this case, consult your hardware vendor
       abap/heap_area_dia:        (10.000.000 - 1.000.000.000)
              Restriction of memory allocated to the heap with malloc
              for each dialog process.
       Parameters for background processes:
       abap/heap_area_nondia:        (10.000.000 - 1.000.000.000)
              Restriction of memory allocated to the heap with malloc
              for each background process.
       Other memory-relevant parameters are:
       em/initial_size_MB:         (35-1200)
              Extended memory area from which all users of an
              application server can satisfy their memory requirement.
       Note which actions and input led to the error.
       For further help in handling the problem, contact your SAP administrator
       You can use the ABAP dump analysis transaction ST22 to view and manage
       termination messages, in particular for long term reference.
    how much can i increase please suggest me
    Regards

    hih mark,
    for what base i can increase my parameter values
    presently in my parameter values are recomended valus
    Parameter          present value          Recommended values
    ztta/roll_area-           6500000                      (1.000.000-15.000.000)
    ztta/roll_extension-      2000683008          (10.000.000-500.000.000)
    abap/heap_area_total u2013 2000683008            (100.000.000-1.500.000.000)
    abap/heap_area_dia u2013 2000683008          (10.000.000-1.000.000.000)
    abap/heap_area_nondia u2013 2000683008           (10.000.000-1.000.000.000)
    em/initial_size_MB u2013           4092                (35-1200)
    how much can i increase
    Regards

Maybe you are looking for

  • Data Migration from Legacy system to ECC systems via ETL through SAP PI

    Hi All, I wanted to know if we can migrate the data from Legacy systems to ECC systems via PI. What I understand is there is ETL tool is used to extract the data from legacy system, and what client is looking to load that data via PI? Can we do that

  • HT3910 a blue screen appears at the start up

    When I start my macbookpro a blue screen appears and stays. Nothing further happens ; can anyone help please?

  • Lenovo A62 sound via dvi

    Hello Everybody, I want to use a dvi to hdmi cable to transfer graphic and sound via dvi to the tv. Is this possible? I allready installed realtek high def. audio driver and amd catalyst software suite but no sound over dvi, only over system speaker.

  • Final Cut Studio - Adding Transitions

    First off, I'm really new to Final Cut Pro... but very experienced in most other pro level Photo and Vector software. I'm following a video tutorial to learn the software, but I keep getting the "Dropped Frames" Error when I add effects. The way I'm

  • CN41 Report with excluding some cost

    Hi, Basically CN41 report shows object wise cost/revenue/commitment/budget for one or more number of projects. Is it possible to show the SAP Standard Report CN41 with excluding some cost against any object (WBSE/Activity/Activity Element). Thats is