How to check the source query of tabular form ....

Hi All ,
is there any way to change the source query of tabular form ......
ya ... i could see it in the source but it is normal sql query ....
where as to generate the addrow functionality the sql query must be
Select empno , ADD_ITEM.TEXT(1,empno), ename ,ADD_ITEM.TEXT(2,ename)................
then where can i find this query .?
i could see that ADD button is calling ADDROW process and which inreturn calling ADD function ....
can any one tell me , where to see the code for this ADD function ....
as i checked it in db ..... it is not there at all.

You can have a look here for the manual tabular forms:
http://apex.oracle.com/pls/otn/f?p=31517:170
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------

Similar Messages

  • How to check the sql:query is return null value

    I have use :
    <sql:query var="sql1" dataSource="${db}">
    select col_name from table_name
    where a=<c:out value="${row.test1}"/>
    and b='<c:out value="${row.test2}"/>'
    </sql:query>
    So, how can I check this statement return null value which is no record within this table?

    The Result should never be null but can be empty. You can check if the Result is empty using an if tag and checking the rowCount property:
        <sql:query var="books"
          sql="select * from PUBLIC.books where id = ?" >
          <sql:param value="${bookId}" />
        </sql:query>
         <c:if test="${books.rowCount > 0}">
         </c:if>http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL7.html#wp84217
    Look for query Tag Result Interface

  • How to color the records in a tabular form

    hi,
    i am using oracle 10g forms
    how to change the color of records on conditional basis in a tabular form display.
    thanks

    Well i give u item level to apply it in the whole record including...
    emp , ename & sal
    any way to do it block level u can use Current Record Attribute Property block level but if u programatically do it as mentioned u can have a lock on something resemble to ur case pls have a look at Craig's Oracle Stuff How to Select Multiple Records in a block using Record Groups just to exclude the idea u want to develop.
    Hope this helps...
    Regards,
    Amatu Allah

  • Database slow; How to check the Oracle query timings

    Hi,
    I have a quick question regarding a troubleshooting iam currently working on.
    We have a J2EE application runnig on WLS 81 SP3.
    We are experiencing a problem where the customer response time on our application is "too slow". We checked our N/W and they seems to be OK. The Iplanet webserver and BEA application servers looks good but on the Oracle database box - i saw "iowait" (when doing top UNIX command) to be 50-60 % which is extremly high. We are suspecting this to be our issue as the "iowait" is very high at the DATABASE box hence causing BEA servers to show "slow response" on certain pages which are database accentric.
    Now, in order to proove that the queries are taking "too longer" to execute from the time BEA server requested and it actually got the reply back from database, i need to dig down and get some "profiling" (due to some political reasons, i can request to turn on profling at the moment) done. So, is there any way i can verify the response time when the BEA server requested some information from the database and the time when Oracle database responded with all the information requested ?
    thanks for your help,

    Yes. Create a Date object prior to the database call. Then create another one when the call completes. Convert both to mililseconds and subtract. You will have network latency in that statistic, but especially if you are using connection pools, the vast majority should be database access.
    Another option is to turn on tk_prof or create an EXPLAIN plan table in Oracle. That will show the 'cost' of each query. Also, try running statistics on the database, that should help the optimizer.
    - Saish

  • How to check the source value is in between a string range in mapping

    Hi Consultants,
    I am working on IDOC to File scenario. I need to implement a specific requirement of our client. i.e. something like below;
    Vendor number can be any thing like 1AA000000 / 1AA000001/1AB000000/... ect till 1ZZ999999.
    if the vendor number is in between 1AA000000 -1ZZ999999 then the target value should assign as 'Internal' else should assing as 'External'.
    How to compare  that the value of vendor is in between IAA000000 to 1ZZ999999 in mapping?
    Appreciate your help.
    Thanks in advance.
    Regards,
    Nausheen

    You can try creating an UDF and using the varName.substring(); method. Then you can compare in separated pieces the string. For example
    String var = "1AA000000";
    if (var.substring(3).compareTo("000000") < 0 && var.substring(3).compareTo("999999") > 0)
      //compare now the "AA" and "ZZ" with the same logic;
    http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#substring(int, int)
    http://download.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#compareTo(java.lang.Object)
    EDIT: Moreover, those functions are available in the Mapping program creation, but this should give a clue on the order it should be done.
    Edited by: Lucas Santos on Mar 29, 2011 7:38 PM
    Edited by: Lucas Santos on Mar 29, 2011 7:53 PM

  • In DBI , how to find out the Source Query used for the Report

    Hi All,
    How to find out the Source Query used to display the data in the DBI Reports or Dashboards. We can get it in Apps Front end by Going to Help and Record Histroty. But DBI Runs in Internet Explorer so i dont know how to get the source query ( SELECT Query ) Used.
    In IE we have View --> Source . But that does not help since it gives the HTML Coding and not the SELECT Query used.
    If anyone has ever worked on it...Please help me in finding it.
    Thanks,
    Neeraj Shrivastava

    Hi neeraj,
    You can see the query used to display reports.Follow these steps to get the query.
    1)Login to oracle apps
    2)Select "Daily Business Intelligence Administrator" responsiblity.
    3)Now click on "Enable/Disable Debugging" (Now u enabled debugging)
    4)now open the report which you want to see the query of
    5)In view source it displays query along with the bind varilables.
    Feel free to ping me if you have any doubts
    thanks
    kittu

  • How to verify the  Source systems connectivity with BWQ System.

    Hi All,
    I have diff source systems. And my requirement is to check the source systems connectivity with BWQ (BW Quality sys). please any body tell me the steps how to check the source system connectivity ?
    Thanks & Regards,
    Manju

    Hi Manjula,
    If you encounter problems when establishing a connection to your target server, check the following:
    A message box appears while performing one of the following actions:
          Setting connection by choosing Apply to local session.
          Testing connection settings by choosing Test settings.
          Creating SAP TSQL objects
    If errors occurred, they are displayed in the respective message box.
       Check developer trace files in ST11.
      Test connection:
         For RFC related errors, check the RFC connection via SM59
         For database multi-connect errors, check if you can connect to the target SQL Server with the SQL Server Query Analyzer. Also check if the DBCON entries are correct.
    Regards,
    RK

  • How to find the source generating DNS Query

    Hi team,
    we are getting error message for DNS total query
    Received/sec is getting more than 250 . can any one help me how i know the source where these query are generated .
    DNS Total Query Received/sec is 308.11; >TH = 250
    Regards, Triyambak

    Note: For this to work correctly you’ll need to run this part of the process from a domain controller. In this example I’m using a 2012 R2 DC but the process should be the same for 2008 and 2008 R2, unfortunately this process doesn’t apply to 2003 DCs, for
    sure you can use SPA and get similar information but the good thing is that you’ve got rid of those old 2k3 DCs right?
    http://blogs.technet.com/b/askpfeplat/archive/2013/12/16/domain-and-dc-migrations-how-to-monitor-ldap-kerberos-and-ntlm-traffic-to-your-domain-controllers.aspx
    You can add the DNS
    Regards~Biswajit
    Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.
    MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    MY BLOG
    Domain Controllers inventory-Quest Powershell
    Generate Report for Bulk Servers-LastBootUpTime,SerialNumber,InstallDate
    Generate a Report for installed Hotfix for Bulk Servers

  • How to check the tables we have created in JDBC??

    I have created a table called COFFEE2 in a datasource called temp which is in SQL server...How to check the table values??
    i went into administrative tools and odbc cource then i could see the data source i have created but how to see the table??
    Can anyone help??
    thanx

    Hmm.. not sure that I understand the problem.
    Call getConnection on the DataSource, and then execute the select query on the connection.
    Kaj

  • How to get the original query string in an event receiver when dialogs are enabled

    I have scenario where I am adding a document to a document library which has an external data column on it. My goal for this column is to have it automatically populated with an appropriate value based on original query string to the page. The general
    idea is that I am on a custom page that has various webparts on it including a view of my document library that is context sensative based on the query string, and I want to use that context sensitivity not just to filter the list but also when adding documents.
    I have been searching around for solutions to this problem all day and have gotten this far:
    I have an event receiver attached to my document library that handles the ItemAdded event syncronously (as such I have the new list item available to me). In that event receiver I am able to set the column values as required. Where I am stuck is on getting
    the value from the query string that I need to actually set as the column value.
    Based on:
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/8cfcb299-9a55-4139-86ec-0b53b2922a54 and several similar articles/posts I have been able to get the original source Url with the query string I want via the following
    code in my event receiver:
    private HttpContext context;
    public EventReceiver1()
    context = HttpContext.Current;
    public override void ItemAdded(SPItemEventProperties properties)
    var originalQueryString = context.Request.QueryString["Source"];
    // Parse the query string and use the value ...
    The problem is that this solution breaks down if the dialogs are turned on under the advanced settings for the list. The reason the solution fails is because the "Source" query string parameter goes away and is replaced by "IsDlg" set to a value of "1".
    Does anyone know how to get past this hurdle? Any help would be greatly appreciated.

    Hi Stuart,
    The reason I'm looking for "Source" in the query string is because that is something I found to be reliable when the Dialogs are turned off. I've dug around pretty deep in the Request object to see if anything had the data I was looking for and unfortunately
    it doesn't appear to be there. The
    context.Request.QUeryString.ToString()
    returns a rather simple one of:
    List=%7b43ECDCB0-8440-4652-B067-AA20481779D7%7d&RootFolder=&IsDlg=1
    and the
    context.Request.UrlReferrer.Query.ToString()
    has the same value.
    I suspect this is due to the dual step process that takes place in adding an item to a document library where the first modal popup (which I suspect likely has the information I need) gives you the opportunity to browse to your file and then the second
    dialog (maybe this is getting brought up as a result of another request which is now referring back to the original request that brought up the first dialog?) where you edit your properties.
    Thanks for the try though, if you've got anything else I'd love to hear it.

  • CIN: How to check the material document posted without excise invoice

    Hi Guru,
    Please advise how to check the material document posted without excise invoice.
    I have tried tcode J1I7 but it seems start to collect the excise invoice first and then material document.
    But my case is to find the material document WITHOUT excise invoice for internal tracking purpose.
    At the moment we start from tcode MB51 to get the list of material document and check in J_1IEXCHDR / J_1IEXCDTL
    Best regards,
    Pakorn

    Hi,
    Try creating a Query in Tcode SQVI by combining tables MKPF and J_1IEXCHDR/J_1IEXCDTL for your requirement.
    Check these threads how to create Query.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6018c1ae-8c44-2d10-6ea9-c3fad2c82880?QuickLink=index&…
    http://ptgmedia.pearsoncmg.com/images/9780672329029/samplechapter/0672329026_CH03.pdf
    Regards
    Binoy

  • How to check the current EHP stack level? in SAP

    Dear All,
    How to check the current EHP stack level? in SAP  . i have checked forum before i am posting but still comfused .
    same one said SAP_APPL , EA_Appl  and SAP _HR is 60n if n=1.2.3.4. if n =1 is enhanced package 1 similarly 2,3,4 .
    some one said SAP_BASIS 701,702,703,704 . according ehp1,2,3,4.
    Pls check the details and confirm either is ehp1 or ehp4 .
    Component version is simply shows SAP ECC 6.0 in system -> status.
    Software Component  - Release  - SP level
    SAP_ABA     701     0007
    SAP_BASIS     701     0007
    PI_BASIS     701     0007
    ST-PI     2008_1_700     0003
    SAP_BS_FND     701     0008
    SAP_BW     701     0007
    SAP_AP     700     0021
    WEBCUIF     700     0008
    SAP_APPL     604     0008
    SAP_HR     604     0029
    SAP_HRCAR     604     0029
    SAP_HRCAT     604     0029
    SAP_HRCAU     604     0029
    SAP_HRCBE     604     0029
    SAP_HRCBR     604     0029
    SAP_HRCCA     604     0029
    SAP_HRCCH     604     0029
    SAP_HRCCL     604     0029
    SAP_HRCCN     604     0029
    SAP_HRCDE     604     0029
    SAP_HRCDK     604     0029
    SAP_HRCES     604     0029
    SAP_HRCFI     604     0029
    SAP_HRCFR     604     0029
    SAP_HRCGB     604     0031
    SAP_HRCHK     604     0029
    SAP_HRCID     604     0029
    SAP_HRCIE     604     0029
    SAP_HRCIN     604     0029
    SAP_HRCIT     604     0029
    SAP_HRCJP     604     0029
    SAP_HRCKR     604     0029
    SAP_HRCMX     604     0029
    SAP_HRCMY     604     0029
    SAP_HRCNL     604     0029
    SAP_HRCNO     604     0029
    SAP_HRCNZ     604     0029
    SAP_HRCPH     604     0029
    SAP_HRCPT     604     0029
    SAP_HRCRU     604     0029
    SAP_HRCSE     604     0029
    SAP_HRCSG     604     0029
    SAP_HRCTH     604     0029
    SAP_HRCTW     604     0029
    SAP_HRCUN     604     0029
    SAP_HRCUS     604     0029
    SAP_HRCVE     604     0029
    SAP_HRCZA     604     0029
    SAP_HRGXX     604     0029
    SAP_HRRXX     604     0029
    EA-IPPE     400     0018
    EA-APPL     604     0008
    EA-DFPS     600     0018
    EA-FINSERV     604     0007
    EA-GLTRADE     604     0008
    EA-HR     604     0029
    EA-HRCAR     604     0029
    EA-HRCAT     604     0029
    EA-HRCAU     604     0029
    EA-HRCBE     604     0029
    EA-HRCBR     604     0029
    EA-HRCCA     604     0029
    EA-HRCCH     604     0029
    EA-HRCCN     604     0029
    EA-HRCDE     604     0029
    EA-HRCDK     604     0029
    EA-HRCES     604     0029
    EA-HRCFI     604     0029
    EA-HRCFR     604     0029
    EA-HRCGB     604     0029
    EA-HRCHK     604     0029
    EA-HRCID     604     0029
    EA-HRCIE     604     0029
    EA-HRCIN     604     0029
    EA-HRCIT     604     0029
    EA-HRCJP     604     0029
    EA-HRCKR     604     0029
    EA-HRCMX     604     0029
    EA-HRCMY     604     0029
    EA-HRCNL     604     0029
    EA-HRCNO     604     0029
    EA-HRCNZ     604     0029
    EA-HRCPH     604     0029
    EA-HRCPT     604     0029
    EA-HRCRU     604     0029
    EA-HRCSE     604     0029
    EA-HRCSG     604     0029
    EA-HRCTH     604     0029
    EA-HRCTW     604     0029
    EA-HRCUN     604     0029
    EA-HRCUS     604     0029
    EA-HRCVE     604     0029
    EA-HRCZA     604     0029
    EA-HRGXX     604     0029
    EA-HRRXX     604     0029
    EA-PS     604     0007
    EA-RETAIL     604     0007
    FINBASIS     604     0008
    ECC-DIMP     600     0018
    ERECRUIT     604     0008
    FI-CA     604     0008
    FI-CAX     604     0007
    INSURANCE     600     0018
    IS-CWM     600     0018
    IS-H     600     0024
    IS-M     600     0018
    IS-OIL     600     0018
    IS-PS-CA     604     0007
    IS-UT     600     0018
    LSOFE     600     0018
    SEM-BW     604     0008
    ST-A/PI     01M_ECC600     0001
    Regards
    Edited by: satheesh0812 on Nov 17, 2011 7:57 AM

    Hi Sateesh,
    SAP_ABA 701 0007
    SAP_BASIS 701 0007
    PI_BASIS 701 0007
    ST-PI 2008_1_700 0003
    SAP_BS_FND 701 0008
    SAP_BW 701 0007
    SAP_AP 700 0021
    WEBCUIF 700 0008
    SAP_APPL 604 0008
    Based on the component information provided by you, I can conclude that your system is ECC 6.0 EHP4.
    EHP4 is derived from your component SAP_APPL 604.
    In addition to this your EHP4 system has NW stack on NW 7.0 EHP1.
    Hence your system is ECC 6.0 EHP4 with NW 7.0 EHP1.
    Hope this answers your query.
    Regards,
    Deepak Kori

  • Is there any differnce between the Numeric Limit Test source code from TestStand 3.0 to TestStand 3.1? How to get the source code for the Numric Limit Test for both the versions?

    I need to know the differnece between the Numeric Limit Test between the TestStand version 3.0 to 3.1. If there is any differnec in the source code how to find it out? If somebody has the code can you share it?
    Thanks,
    Jeyan

    Hi,
    I don't believe there are any differences between the two versions. But you can check the source code for the Numeric Limit Test in TestStand\Components\NI\StepTypes\CommonSubsteps. But the main part of the step is the Code Module and this bit the users supplies this.
    What has prompted this question?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to get the source code of  "com.sap.caf.eu.gp.example.tiimeoff.wd.creat

    Hi Frendz..
    I want to know how we can build a callable obj which have a two buttons those r Accept n Reject accordiing to the actions on these buttons flow should forward to next screen(approver ) r sent back to the sender(screen with reject).
    I gone thru the Leave process(Time-Off process) which is very suitable for my requirment but in this app there r using predefined CO(com.sap.caf.eu.gp.example.tiimeoff.wd.create).How we see the source code of this predefined CO.
    Thanks in Advance
    Regards
    Rajesh

    Hi,
    check [this|Re: Source of Time-off Request Project].
    Regards,
    Naga

  • How to see the source of the attribute in a workflow

    Here is an workflow function which is defined as follows
    Item Type :HR
    Internal Name: HR_MAINTAIN_MAIN_ADDR_JSP_FCT
    Function Name: HR_WORKFLOW_SERVICE.BLOCK
    Node Attributes :
    Name: HrActivity Type: value: JSP
    Name: HrActivityTypeVAlue Value:HR_MAIN_ADDR_TOP_SS
    I do not find that HR_MAIN_ADDR_TOP_SS is mapped to any OAF page
    What is HR_MAIN_ADDR_TOP_SS?
    How to see the source code of HR_MAIN_ADDR_TOP_SS. Is there any SQL query to get the source of this.

    http://hostname:8027/OA_HTML/OA.jsp?_rc=HR_MAIN_ADDR_ACT_TYPE_TOP_SS&_ri=800&OAFunc=XXCHR_ESS_PER_INFO&_ti=1902574799&retainAM=Y&addBreadCrumb=N&oapc=11&oas=zgiSEq6kVqEuZNnwZ5lP5g..
    what is HR_MAIN_ADDR_ACT_TYPE_TOP_SS in the above URL

Maybe you are looking for

  • Permanent error in BPE inbound processing error

    Hi guys... i am having a problem in my scenario which is involving BPM. The problem is when i execute the interface it is showing green flag aginst PE in sxmb_moni and in smq2 one queue is showing with sysfail and BPM: Permanent error in BPE inbound

  • Why are calendar event colors being changed?

    Something (and it appears to be iCloud related) changed calendar colors on my calendars (not on shared calendars from other accounts). Ideas? I've seen this before. I cannot remember how it got resolved. I updated one of my Macs to the "new" 10.8.5.

  • Webinar Invitation: Join us for "SiteStudio Best Practices"

    <strong>SiteStudio Best Practices</strong> Join us for a Webinar on November 13 Space is limited. Reserve your Webinar seat now at: https://www1.gotomeeting.com/register/789489722 Joe Duane is a senior principal product manager at Oracle, and former

  • Trace changes in change request.....?

    Hi all, I have to enhance a datasource which is already in production. i created one customize request means as per my knowledge is it change request. so how would i know that all changes against datasource been saved into this request for exporting

  • Do we communication channels in idoc adapter

    do we create communication channels in idoc adapter Edited by: katru vijay on Jul 24, 2010 10:54 AM