How to retrieve form name

hi all
i want to retrieve a form name and assign it to a variable
how can i implement it.
thnks and regards

Hi ,
Try out the following:
var:=Get_application_property(CURRENT_FORM_NAME);
where var is a variable of varchar2 data type...
Regards,
Simon

Similar Messages

  • How to retrieve Page name?

    I have a select:
    select
    step_id Page
    , count(step_id) Hits
    from
    wwv_flow_user_activity_log
    where
    flow_id = &APP_ID.
    and (time_stamp >= (sysdate - 7))
    group by
    step_id
    order by
    count(step_id) DESC
    Where I show most frequent pages. How to retrieve Page name and link to that page...muist be SQL based and somehow joind with wwv_flow_user_activity_log view.
    THX!

    <br>Guys,
    <br>this thread is somehow quiet but I have more questions...To retrieve page_name you have to query FLOWS_020000.WWV_FLOW_STEPS (or FLOWS_020100.WWV_FLOW_STEPS in XE).
    <br>to be able to select data yo uneed to grant GRANT SELECT ON FLOWS_020000.WWV_FLOW_STEPS TO "schema";
    <br>As you can see here is one mistery...schema owner on different platform...! Is there any way to make unique approach to this if data are develped on HTMLDB 2.0 on 10gR2 and the production is on XE?
    <br>THX!

  • How to retrieve Desktop Name Programmatically

    Hi All,
    Can somebody tell me How to retrieve Desktop Name programmatically from a Portlet
    within same desktop??
    TIA,
    RAM

    Control click on the desktop.  Set "Sort By" to "None".

  • How to retrieve form user name?

    Hi !
    If I catch from v$session module name (i.e. CEXCABMR form) how to get the name to ask user what is he/she doing on that form....
    You know "CEXCABMR" is not a good name for them....
    THX

    THX that was in the same time as my solution:
    set linesize 220;
    set pagesize 1600;
    set head on;
    col form_name for a15;
    col user_form_name for a36;
    col language for a3;
    col app_us for a25;
    col app_hr for a25;
    col creation_date for a20;
    col last_update_date for a19;
    accept form_name char prompt 'Input SHORT form name (Enter for all): ';
    break on form_name on user_form_name
    SELECT DISTINCT
      form_name,
      ftl.user_form_name,
      (select application_name from apps.fnd_application_tl tl where tl.application_id=atl.application_id and language='US') app_us,
      (select application_name from apps.fnd_application_tl tl where tl.application_id=atl.application_id and language='HR') app_hr,
      to_char(ftl.creation_date,'dd.mm.yyyy hh24:mi:ss') creation_date,
      to_char(ftl.last_update_date,'dd.mm.yyyy hh24:mi:ss') last_update_date
    FROM
      apps.fnd_form frm,
      apps.fnd_form_tl ftl,
      apps.fnd_application_tl atl
    WHERE
          frm.form_name like '&form_name%'
      and frm.form_id = ftl.form_id
      AND ftl.application_id = atl.application_id
    ORDER BY 1,3,2
    ;

  • How to retrieve resource name in JSP page

    Hello,
    I have the following scenario:
    User wants a new resource to be provisioned to himself, he makes standard steps; chooses one resource from the list of available resources and sends a request. After that a summary page is displayed - my goal is to create an url to external application on that summary page (i.e. tjspRequestSubmitTiles.jsp) that should be displayed depending on the name of the resource, e.g. if user requests for a ResourceA - link appears, but when he requests for a ResourceB - link does not appear.
    So far I have created a link with a sample if statement - it works.
    My problem is how to make a real condition - retrieve the resource name that request deals with. Anybody know how to do that, which API to use etc.?
    Regards,
    Maciej.

    After adding the code to tjspProvideDataShowInfoTiles.jsp file, nothing has been improved, I am still facing the same result (on the console):
    RO: null
    It seems that file (tjspProvideDataShowInfoTiles.jsp) does not take part in the process.
    I have tried to pass some sample session attribute in tjspRequestVerificationTiles.jsp and this works, but I do not know how to retrieve resourceName in this file.
    I was trying to make some code retrieving resourceName in tjspRequestSubmitTiles.jsp, e.g.
    tcRequestWizardForm tcReqWizForm = (tcRequestWizardForm)session.getAttribute(requestWizardForm);
    String requestID = tcreqWizForm.getRequestID();
    ...and what to do now to retrieve resourceName?

  • How to retrieve user name from a given Subject?

    I am in a situation where I need to retrieve user name from the Subject that is populated when user logs in. I have the active Subject and I do following to get the principals in the subject and iterate through them:
    Set principals = subject.getPrincipals();
    Iterator ite = principals.iterator();
    while (ite.hasNext()) {
    Principal prin = (Principal)ite.next();
    String name = prin.getName();
    But this contains all the principals, including user name, roles, password, etc. How do I programmatically determine which one is user name?

    Don't you have different principal types? I am making a jaas module and I have different principals for roles, groups etc. I think of principals as attributes, the type in the attribute name and the principal name is the attribute value.
    To get all the principals of the type SomePrincipal, you can use:
    Set principals = subject.getPrincipals(SomePrincipal.class)
    You can also take som principal an test wether it is an instance of som type:
    if (Principal p instanceof SomePrincipal){..}
    An other solution which might be better if you have many different attributes is to store both attribute name and value in the name of the principal.
    If "mark" is a username the principal name will be "username:mark" el.
    Then it will be easy to find the username.

  • How to use form name in struts html:form tag

    Hi,
    I want to validate text box value, if it is ordinary html form I would have done like this <form name="myform" action="xxxx.jsp" onsubmit="return validate()">
    But am using struts html:form tags. In this case how can I use/specify name for a form.
    Can any one help me.
    Thanks

    The name of the form comes from the actionForm you have defined backing it.
    View source on the generated page to see what HTML it constructs.
    You are able to use the onsubmit event with the <html:form> tag just like the standard one, so if all you want to do is that:
    <html:form action="/saveUser" onsubmit="return validate()">
    ...You can also give it a styleId, which will generate an id in the HTML.
    See the tag documentation for details: http://struts.apache.org/1.2.x/userGuide/struts-html.html#form

  • How to know form name and tcode

    Hi,
    I know the  driver program for layout  is PPPRZUGL. How can i come to know the form name and its associated Tcode to see the output.
    Can anybody tell me ?
    Thanks

    hi,
      Go to se11 and select the database table TNAPR .Enter the program name for it in Program name and get the corresponding records from which you can know the form configured for it.This table is used for SD-MM configurations only.Program PPPRZUGL is related to PP module .CO03 is the transaction for getting the production orders.
    Regards,
    Veeresh
    Edited by: veereshbabu ponnada on May 6, 2008 11:02 AM

  • How to find form names in Gems

    Hi Friends,
    We are using the SAP Portal,through portal we are changing the bank information.Here my question was
    how to find which form is used for bankinformation change?
    How to find the form name?
    Thanks in advance.
    regards,
    Venkat

    Hi Venkat,
                    "TNAPR" is the table were you will get all the information.
    Regards,
    Sathish

  • How to find Form name with SAPF140P Program

    Hi Gurus
    Please help me in finding the corresponding letter smartform/sapscript for program SAPF140P and the t code is f.64
    regards
    Piroz

    Piroz
    u can check with this form name i.e F140_DOCU_EXC_02
    It will work.
    Don't forget to reward if useful....

  • How to retrieve Target names  in  servlet s or JSP ?

    Hello,
    I have an html page which displays in a Frame of a Frame Set. Let's say the frame name is = "mainframe".
    In this page I have the following :
    <form method="post" action="Test1.jsp" target="mainframe">
    <input type=submit value="Execute"></form>When entering Test1.jsp, is there anyway to retrieve the target name ? (here it is "mainframe").
    Thanks in advance
    Gege

    hi gege..
    i am having an alternative for it but this may not be the actual thing ur expecting..
    the thing is likg u just take an hidden field for giving ur name as targetname and value as main frame...
    eg:-
    <input type="hidden" name="targetname" value="mainframe">
    in ur servlet u can get that using...
    request.getParameter("targetname");
    hope that will help u..
    Pramod

  • File information -- How to retrieve file name from header variable

    Hi
    I am using File Adapters to read files(.xml) and then I need to perform some database operations.
    One of the requirement is storing the file name read into the DB.
    I searched through the forum and got the information on how to configure this in the header variable. The link below shows the same.
    File Adapter
    Now, I use the XSL mapper to map the source values(from input xml file) to the corresponding table column names. So how should I get the value of the file name.
    I saw some of the in-built functions to be used for this but there is not enough documentation to proceed.
    Can anyone please provide some solution on this.
    /Kiran.

    Hi,
    Here are the steps that you need to do after you have declared the variable.
    1) The variable that you have declared should have the following elements
    a) Filename
    b) Directory
    2) Use the assign activity to copy the value of the filename part of this variable to the arg that needs to be passed to the database. (most probably an invoke variable).
    If you still have any problems implementing this, mail me at [email protected]..and i'll send you the screen shots for the entire process.
    ciao,
    Gunjan

  • How to retrieve column name from Excel using POI HSSF eventusermodel?

    Hi ,
    I am simply reading the excel sheet and writing in a txt file. I have done the following in the switch construct. It works fine but I want to retrieve only the column header. But this code gives me all available strings in the excel sheet. Any pointer would be greatly appreciated.
    case SSTRecord sid : 
             SSTRecord sstrecord = (SSTRecord) record;
             for (int i=0; i<sstrecord.getNumUniqueStrings(); i++){      
                  System.out.println(" Column name" +  sstrecord.getString(i));
    break;bye for now
    Sat

    try labels:
            case LabelSSTRecord.sid:
                LabelSSTRecord lrec = (LabelSSTRecord) record;
                if (lrec.getRow() == 0) {
                    System.out.println(" Column name "
                            + sstrec.getString(lrec.getSSTIndex()));
                break;

  • How to retrieve Host Name from reports?

    Hi.
    I've a report with excel template with links inside (XDO_LINK_?...)...
    How can I create a link with a dynamic host name? Like http://<hostname>/xmlpserver/.....
    Thank you
    R.

    I've found this:
    https://blogs.oracle.com/xmlpublisher/entry/creating_dynamic_urls_in_your
    how can I use this method in EXCEL template?
    thanks, R.

  • How to Retrieve Server Name for creating connection pool during startup!

    Hi All,
    I am going thru the edocs documentation of weblogic for creating the connection pool and the datasource dynamically. The URL I referred to was as under
    http://edocs.bea.com/wls/docs81/jdbc/programming.html
    There is a sample given in the above-mentioned URL. The Server MBean is created by passing the server name.
    The code below mentioned was have placed in my dblib.java
    svrAdminMBean = (ServerMBean)adminMBeanHome.getAdminMBean("myserver", "Server");
    I am creating the connection pool from the servlet by invoking the dblib.java
    I cannot hard-code the server name in the dblib.java since the same code was shared across multiple servlets.
    Each Servlet will create its own connection pool during application server startup.
    Is there a way to retrieve the server name in which the dblib.java is invoked.
    Any pointers to info source will be REALLY appreciated.
    Many Thanks in Advance,
    C R Baradwaj

    You can get it from the Java system property weblogic.Name, i.e. System.getProperty("weblogic.Name");
    Cheers
    Feargal

Maybe you are looking for