Disable function in selfservice not in excluded list

Hi
How to disable a function from selfservice,the function is not availble when try to put in the excluded function list.From where i can disable the function in selfservice
rgds
Raj

First, try shrinking your code down to fit on a single screen of your monitor. This thing is massive and most of it is white space. It is very difficult to follow the code when you can only look at a very small portion of it. (BTW, I'm running on a monitor with 1600x1200 resolution and I barely see any of this VI).
As for your specific question use a shift register on the outer while loop. Use this to specify when logging is enabled or disabled. Change the state of the logging when and where appropriate and when you invoke "Page 6" you will have the correct state for the logging.
You may also want to consider naming your states to something more meaningful. "Page n" has very little meaning and has the potential to get very confusing if you need to insert new states.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • List View Report with pipelined function in Mobile application and ORA-01007: variable not in select list

    Hi!
    I have a problem with List View Report in mobile application (theme 50 in apex) after updating to apex 4.2.2. I created Report -> List View. I used select from pipelined function in Region Source. Then when page is running and submited three times (or refreshed three times) I get an error:
    Error during rendering of region "LIST VIEW".
    ORA-01007: variable not in select list
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -1007
    ora_sqlerrm: ORA-01007: variable not in select list
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 21230833903737364557
    component.name: LIST VIEW
    error_backtrace:
         ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613
         ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
    I get this error only when I use select from pipelined function in Region Source (for example: "select value1, value2 from table(some_pipelined_function(param1, param2)) ").
    You can check it on http://apex.oracle.com/pls/apex/f?p=50591 (login - demo, password - demo).
    In this application:
    - I created package TAB_TYPES_PKG:
    create or replace PACKAGE TAB_TYPES_PKG IS
    TYPE cur_rest_r IS RECORD (
        STR_NAME          VARCHAR2(128),
        INFO              VARCHAR2(128)
    TYPE cur_rest_t IS TABLE OF cur_rest_r;
    END TAB_TYPES_PKG;
    - I created pipelined function TEST_FUNC:
    create or replace
    FUNCTION TEST_FUNC
    RETURN TAB_TYPES_PKG.cur_rest_t  PIPELINED IS
    r_cur_rest TAB_TYPES_PKG.cur_rest_r;
    BEGIN
    r_cur_rest.STR_NAME := 'ROW 1';
    r_cur_rest.INFO := '10';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 2';
    r_cur_rest.INFO := '20';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 3';
    r_cur_rest.INFO := '30';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 4';
    r_cur_rest.INFO := '40';
    PIPE ROW (r_cur_rest);
    r_cur_rest.STR_NAME := 'ROW 5';
    r_cur_rest.INFO := '50';
    PIPE ROW (r_cur_rest);
    RETURN;
    END TEST_FUNC;
    - I created List View Report on Page 1:
    Region Source:
    SELECT str_name,
           info
    FROM TABLE (TEST_FUNC)
    We can see error ORA-01007 after refresing (or submiting) Page 1 three times or more.
    How to fix it?

    Hi all
    I'm experiencing the same issue.  Predictably on every third refresh I receive:
    Error
    Error during rendering of region "Results".
    ORA-01007: variable not in select list
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -1007
    ora_sqlerrm: ORA-01007: variable not in select list
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 6910805644140264
    component.name: Results
    error_backtrace: ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 4613 ORA-06512: at "APEX_040200.WWV_FLOW_DISP_PAGE_PLUGS", line 3220
    OK
    I am running Application Express 4.2.2.00.11 on GlassFish 4 using Apex Listener 2.0.3.221.10.13.
    Please note: this works perfectly using a classic report in my desktop application; however, no joy on the mobile side with a list view.  I will use a classic report in the interim.
    My region source is as follows:
    SELECT description AS "DESCRIPTION", reference AS "REFERENCE" FROM TABLE(AUTOCOMPLETE_LIST_VIEW_FNC('RESULTS'))
    The procedure:
      FUNCTION AUTOCOMPLETE_LIST_VIEW_FNC(
          p_collection_name IN VARCHAR2)
        RETURN list_row_table_type
      AS
        v_tab list_row_table_type := list_row_table_type();
      BEGIN
        DECLARE
          jsonarray json_list;
          jsonobj json;
          json_clob CLOB;
        BEGIN
          SELECT clob001
          INTO json_clob
          FROM apex_collections
          WHERE collection_name = p_collection_name;
          jsonobj              := json(json_clob);
          jsonarray            := json_ext.get_json_list(jsonobj, 'predictions');
          FOR i IN 1..jsonArray.count
          LOOP
            jsonobj := json(jsonArray.get(i));
            v_tab.extend;
            v_tab(v_tab.LAST) := list_row_type(json_ext.get_string(jsonobj, 'description'), json_ext.get_string(jsonobj, 'reference'));
          END LOOP;
          RETURN(v_tab);
        END;  
      END AUTOCOMPLETE_LIST_VIEW_FNC;
    Thanks!
    Tim

  • Error: "Function or method not supported." when using RF List Mode on NI 5673E

    Hi,
    I am trying to use the RF List Mode in NI RFSG 5673E. I tried running the sample code "RFSG Configuration List Frequency and Power Sweep.vi" but an error would show up:
    "Error: niRFSGCreateConfigurationList.VI <ERR> The LO reported the following error: Function or method not supported." with the error code: BFFA4239. 
    I also tried running other sample codes that contain the Configuration List VI's but the same error appeared. I am using NI RFSG 1.8.5.
    I would really appreciate any help on this. Thanks!

    Hello jdlabrador,
    I setup a 5673E here and tried to run the same example.  I did not encounter an error.
    Other reports I've found pertaining to this error usually involved a large number of steps - there was not enough space on the hardware to accommodate them.  The error text you're seeing is a little different in that it states that the Create Configuration List method isn't supported for the LO.
    Do each of the modules in your 5673E (5450, 5611, 5652) pass a self-test in MAX?  
    Have you associated the 5450 and 5652 with the 5611?
    Could you post a screenshot of the fully-expanded Devices and Interfaces tree from MAX?
    Since RFSG 1.9.5 is available, it may be a good first-step to upgrade to it.  
    Best regards,
    Matthew H.
    Applications Engineer
    National Instruments

  • Sharepoint 2013 on premises Tags & Notes button in List and Document library is disabled.

    Hi,
    In My Sharepoint  2013 on premises  installation Tags & Notes button in List and Document library ribbon is appearing as greyed out.
    I have checked that managed metadata service, User profile services are running. Also have given required permissions to the logged in user.
    As I came to know that Tags & Notes feature has been retired in Sharepoint online. Is this happening because of same reason as I have downloaded the Sharepoint 2013 on premises version recently or do I need to change some settings.
    Please advice.

    Hi Saurav,
    pls check below
    What version of SharePoint 2010 "SP 2010 Foundation or SP 2010 Server" you need to have SP 2010 server and to have the "User Profile service application".
    How do you configure the "User Profile service application" did you add the "Social Tagging Database"
    Create, edit, or delete a User Profile service application (SharePoint Server 2010)" 
    http://technet.microsoft.com/en-us/library/ee721052.aspx
    When you access to "Application Management>Manage service applications>User Profile Service Application>Manage User Permissions" validate if the all authenticated users Group have the "use Social Features" checked.
    Also validate in Central Administration in Farm Features if you have social tags and notes activated.
    http://sharepoint.stackexchange.com/questions/17546/tagging-feature-not-working
    https://social.technet.microsoft.com/Forums/office/en-US/c11cda96-091b-4b96-91bc-ccd8000238f4/tags-and-notes-sharepoint-2010-not-visible?forum=sharepointadminprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Function Code can not be selected

    Dear expert,
    Please help me, there is a uploader For MIGO, USer is uploading data using this uploader, Sometimes when user try to upload data, he gets a message on status BAR:
    Function cannot be selected, When i Double Click on that Message i Get Following Information:
    Message NO: 00255
    Diagnosis
    You entered an Inactive function code
    You can trigger this by:
    inputting directly in the OK code field
    inputting the fastpath of an inactive menu function
    choosing an inactice function key, or even by
    choosing enter, if enter has an inactive function
    In batch input a function code is included in field BDC_OKCODE of the session, as long as this function Code is not assigned to Enter
    As well as activating function codes stastically in the menu painter(Transaction SE41), they can also be deactivated dynamically using the excluding addition with PF-STATUS.
    Now one more thing i want to tell you is when user just open MIGO directly and try to enter some data and get back before saving and then Execute uploader then user can upload data without any error,
    Kindly tell me what shoul i do to remove this error permanently
    Thanks in advance
    Regards
    Shelly Malik

    There is an error in this uploader, it should not call this command which is not available on that screen. What is this uploader? If it's a custom abap program, you must debug it.

  • IDOC number is not in the list

    Hi,
    I am creating an inbound delivery using IDOC. The message type is DESADV and basic type is DELVRY01. After I have populated the control and data tables, I processed them using IDOC_WRITE_AND_START_INBOUND. I have generated the IDOC number after executing the program. The problem is, when I go to WE02, the idoc number is not the list. I am not sure if the IDOC I generated is successful or not. Does it have something to do with the FM that I used. I set a custom process code that will call the FM IDOC_INPUT_DESADV1. Please advise. Thanks in advance.
    Lalyn

    Hi Arun,
    Thanks for the reply. But the IDOC number is not in the list and I can't access it WE19. Do you have any other Function module that I can use to process the IDOC in ABAP? The Function module should be the one to call the FM IDOC_INPUT_DESADV1 to create an inbound delivery. That's what I think causes the error. Thanks.
    Lalyn

  • Function module "GM_DOCUMENT_REVERSE" not found.  after Patch Update

    Hi Abapers/Basis
    After patch update i am not able to do FBCJ reversal entry getting below error message.
    Runtime Errors         CALL_FUNCTION_NOT_FOUND
    Exception              CX_SY_DYN_CALL_ILLEGAL_FUNC
    Date and Time          25.05.2011 14:43:26
    Short text
         Function module "GM_DOCUMENT_REVERSE" not found.
    What happened?
         The function module "GM_DOCUMENT_REVERSE" is called,
         but cannot be found in the library.
         Error in the ABAP Application Program
         The current ABAP program "SAPLRWCL" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
         not caught in
        procedure "CALL_DISPATCHER_STORNO_R" "(FORM)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        The program "SAPLRWCL" contains the CALL FUNCTION statement.
        The name of the function module to be called is "GM_DOCUMENT_REVERSE".
        No function module exists with the name "GM_DOCUMENT_REVERSE".
        All function modules are listed in the Function Library (SE37).
        Possible reasons:
        a) Wrong name specified. Pay particular attention to
           upper/lower case and underscores ("_").
           or
        b) Transport error
        c) In the case of an enqueue/dequeue module,
           the lock object may not have been activated
           (ABAP/4 Dictionary).
    How to correct the error
        Check the last transports to the SAP System.
        Is the program "SAPLRWCL" currently being changed?
        If an enqueue/dequeue module is involved, is the activation
        of the lock object missing in the ABAP/4 Dictionary?
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "CALL_FUNCTION_NOT_FOUND" "CX_SY_DYN_CALL_ILLEGAL_FUNC"
        "SAPLRWCL" or "LRWCLF10"
        "CALL_DISPATCHER_STORNO_R"
        Function modules with names similar to "GM_DOCUMENT_REVERSE":
        GM_DOCUMENT_CLOSE
        GM_DOCUMENT_RECORD
        GM_DOCUMENT_DELETE
        GM_DOCUMENT_POST
        GM_DOCUMENT_CHECK
        G_DOCUMENT_RECORD
        GJ_DOCUMENT_RECORD
        GM_DOCUMENT_PROJECT
        GET_DOCUMENTS
        GM_DOCUMENT_DISPLAY
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    Moderator message: please don't just dump your dumps, search for SAP notes or open a call with SAP instead.
    Edited by: Thomas Zloch on May 25, 2011 2:16 PM

    Hi Karthik,
    Thank you for ur reply.
    I did not implement any user exit/ badi. Dump is saying that my smarform function module does not exist in the se37 library.
    I have excuted my form through se38, that time is working fine. When i tried through output type it is going to dump.
    Regards,
    Kusuma.

  • Function module to read the directory list and also run in background

    Hi All,
    I need to read few files from a folder in the server and upload the data in the file using a BDC. This process has to happen in the background as I am going to schedule the program. I had used the function module "EPS_GET_DIRECTORY_LISTING" to list the file names, it is working properly but when I schedule the program this function module does not work, the jobs gets finished in 0 secs. I am suspecting that it is not running in back ground. Can any one suggest me the function module which runs in background to read the files or an alternate method.
    Ajeetha

    Thanks for the reply.
    Sorry, this function module is working properly, why I assumed it is not working is that the background job got completed in 0 secs which made me feel that the function module is not working. Also I am subsequently copying the file to another folder and deleting it from the source folder, actually thiese two functionalities are not working in background. which added to my conclusion that all the function modules are not working in background. I am using two methods to copy and delete files, they are
    CL_GUI_FRONTEND_SERVICES=>FILE_COPY,
    CL_GUI_FRONTEND_SERVICES=>FILE_DELETE.
    as these are not working in background, now I need to replace them with a method or function module which will run in background.
    As I have mentioned earlier, my main objective is to upload the data in the file using a bdc. If I am not able to delete the file in the source folder,  then duplicate upload will happen which I have to avoid. So, if someone could help me to find a way to delete the file will be of great help to me.
    Ajeetha

  • Extension function error:  Method not found 'round'

    Hi
    In an RTF Template I'm including one of the following expression in a field:
    <?xdoxslt:set_variable($_XDOCTX, 'VSalesNetVal', xdoxslt:round(LOT_NET_SALES_VALUE))?>
    or
    <?xdoxslt:set_variable($_XDOCTX, 'VSalesNetVal', round(LOT_NET_SALES_VALUE))?>
    Preview from BI Publisher Template Builder for Word 10.1.3.3.3 works fine.
    But when I run the report from eBS, which has XML Publisher 5.6.3, the concurrent finishes in error with the following message:
    Post-processing of request 8058734 failed at 11-JUL-2009 19:26:41 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Checked the OPP Log at and got the following stack:
    [7/11/09 10:26:41 PM] [UNEXPECTED] [204214:RT8058734] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'round'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 18 more
    Why doesn't it recognize 'round' as a valid function?
    XML Pub v5.6.3 lists "round" as one of xsl functions.
    Any idea or workaround?
    Thanks in advance.
    David

    Any solution for the above problem?
    O.

  • X-fi Extreme Gamers not in IRQ list, doesn't work at all.

    9X-fi Extreme Gamers not in IRQ list, doesn't work at all.O Lo mates,
    my specs:
    Intel C2D E8500
    Gigabyte GA-EP45-DS3R
    Club3D ATi 4870 52MB
    2GB OCZ
    2 WD Raptors connected to onboard raid controller
    X-Fi in PCI slot
    my problem:
    The X-fi isn't working as it should. It's not getting detected in bios / POST so it can ofcourse not be working in any OS (currently running Win7 7068
    I used to own a AMD 2500 / Asus A7N8X-E deluxe, and it used to work, but when I upgraded to a C2D E6600 / DFI Infinity it only showed up 3 times in my IRQ list / OS. This ofcourse is to blame to Creative, because they dont care about the PCI standard and didn't implement IRQ resource sharing in the Extreme Gamer card. After upgrading to my current setup (listed above) it's still not working at all, even though I tried disabling all onboard devices I dont use, and manually mapped IRQ channels to the PCI ports so they wouldnt share.
    The X-fi is fine, I recently put it in another pc with another brand motherboard, and it was detected instantly. Guess the guy who owns that pc had some luck with his motherboard don't feeling the need to share IRQ's at that particulair moment... its like Russian roulette.
    Is there anything i can do to get the soundcard to work even though it doesn't implement the PCI standards and therefore in my opinion failed as a soundcard and as a brand as a whole?
    Greats,
    eXistenZ
    Message Edited by existenZNL on 06-24-2009 02:34 PMMessage Edited by existenZNL on 06-24-2009 02:35 [email protected]

    = Hey mate:
    Havent seen your exact bios, but if you have a setting in it, called? reset [color="#000080" size="3">Extended System Configuration Data.
    Then that might shuffle your bios, per se and then let that card be redetected. I used to use that on my systems when swapping one single part in order to get all the IRQs to shuffle around again, and give one to my card. Do you remember when the magic number to give to your Creative card was IRQ 5, DMA Low of , DMA High of 5, address of 220 and port of 330? Well that is how I used to get my system to shuffle my printer ports and modems in order to bump that sound card to get the correct addresses. Also check to see if the edges of your sound card are blackened. Wipe them with your fingers and see if there is an ashy burned residue. This will tell you if that card has been electrically damaged, or oily/dirty. Also the backlplates on some sound cards are slightly bent and your sound card will fit into its slot, but not all the way. A hair off and that card will be picked by your system every couple of boots.
    Try this and let me know how it goes for you.

  • The "fn" function key is not enabled to work in Bootcamp as the "insert" key

    the "fn" function key is not enabled to work in Bootcamp as the "insert" key

    Go to Control Panel/System and Security
    You will find the Bootcamp control panel their or if you look in the try on the right hand side just click on the grey diamond !
    Click to open Boot Camp and select the Keyboard in the window where you can choose to enable /disable the FN key

  • ORA-01007 - variable not in select list - Oracle forms 6i

    Hi!
    I´m creating an form with one field called "txtquery". The user can write a query on this field and click on button with code above. The form will create a text file with the result of the query writing. I managed to create a function in oracle and it worked perfectly but I want to solve without creating any object in the database.
    Sorry for my bad english!
    I wrote the following code:
    DECLARE
       VISCONNECTED BOOLEAN;
       VCONEXAO EXEC_SQL.CONNTYPE;
       VARQUIVO_SAIDA TEXT_IO.FILE_TYPE;
       VCURSOR EXEC_SQL.CURSTYPE;
       VCOLUMNVALUE VARCHAR2(2000);
       VSTATUS PLS_INTEGER;
       VNUMCOLUNAS NUMBER DEFAULT 0;
       VSEPARADOR VARCHAR2(10) DEFAULT ';';
       VCONTADOR NUMBER DEFAULT 0;
    BEGIN
       VCONEXAO := EXEC_SQL.DEFAULT_CONNECTION;
       VISCONNECTED := EXEC_SQL.IS_CONNECTED;
       IF NOT VISCONNECTED THEN
          MSG_ALERT('Não conectado.', 'E', TRUE);
       ELSE
          VCURSOR := EXEC_SQL.OPEN_CURSOR;
       END IF;
       BEGIN
          EXEC_SQL.PARSE(VCONEXAO, VCURSOR, :BLK.TXTQUERY, EXEC_SQL.V7);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' executando parse da query!', 'E', TRUE);
       END;
       BEGIN
          IF TEXT_IO.IS_OPEN(VARQUIVO_SAIDA) THEN
             TEXT_IO.FCLOSE(VARQUIVO_SAIDA);
          END IF;
          VARQUIVO_SAIDA := TEXT_IO.FOPEN(:BLK.TXTDIRECTORY || :BLK.TXTFILENAME, 'w');
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' criando arquivo no disco!', 'E', TRUE);
       END;
       BEGIN
          FOR I IN 1 .. 255 LOOP
             BEGIN
                EXEC_SQL.DEFINE_COLUMN(VCURSOR, I, VCOLUMNVALUE, 2000);
                VNUMCOLUNAS := I;
             EXCEPTION
             WHEN OTHERS THEN
                IF (SQLCODE = -1007) THEN
                   EXIT;
                ELSE
                   RAISE FORM_TRIGGER_FAILURE;
                END IF;
             END;
          END LOOP;
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' executando define_column!', 'E', TRUE);
       END;
       EXEC_SQL.DEFINE_COLUMN(VCURSOR, 1, VCOLUMNVALUE, 20000);
       BEGIN
          VSTATUS := EXEC_SQL.EXECUTE(VCURSOR); -- ----------------------->> ERROR HERE!!!!!!!!
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || EXEC_SQL.LAST_ERROR_MESG || ' fazendo execute para a query!', 'E', TRUE);
       END;
       BEGIN
          LOOP
             EXIT WHEN(EXEC_SQL.FETCH_ROWS(VCURSOR) <= 0);
             VSEPARADOR := '';
             FOR I IN 1 .. VNUMCOLUNAS LOOP
                 EXEC_SQL.COLUMN_VALUE(VCURSOR, I, VCOLUMNVALUE);
                 TEXT_IO.PUT_LINE(VARQUIVO_SAIDA, VSEPARADOR || VCOLUMNVALUE);
                 VSEPARADOR := :BLK.TXTSEPARATOR;
             END LOOP;
             TEXT_IO.NEW_LINE(VARQUIVO_SAIDA);
             VCONTADOR := VCONTADOR + 1;
          END LOOP;
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' criando linhas no arquivo texto!', 'E', TRUE);
       END;
       BEGIN
          EXEC_SQL.CLOSE_CURSOR(VCURSOR);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' fechando cursor!', 'E', TRUE);
       END;
       BEGIN
          TEXT_IO.FCLOSE(VARQUIVO_SAIDA);
       EXCEPTION
       WHEN OTHERS THEN
          MSG_ALERT('Ocorreu o erro ' || SQLERRM || ' fechando arquivo!', 'E', TRUE);
       END;
    END;------------------------------------------
    But, on line "VSTATUS := EXEC_SQL.EXECUTE(VCURSOR);" i get the error (ORA-01007 - VARIABLE NOT IN SELECT LIST). Whats is wrong?
    Thanks a lot!!!

    The user can write a query on this field and click on button with code above.This is such a big NO NO NO! A user writing his own queries? You are really asking for problems.
    VSTATUS := EXEC_SQL.EXECUTE(VCURSOR); -- ----------------------->> ERROR HERE!!!!!!!!What is the value of vcursor?

  • Ad hoc query does not contain a list

    Hi,
    We created an infoset using table join (T5U13, PA0001 and T5UEE). But as we run transaction PAAH and choose a query assigned to the new infoset, we are getting a pop up screen that says "Query does not contain a list". The button hitlist does not appear in the screen and when we try to search we get the prompt "No data was selected".
    Thanks in advance!

    Hi,
    I am getting the similar error.waht i have done is as follows.may I know the resolution.
    After creating the Adhoc query using the join table functionality the resulting adhoc query does not results any out put.
    What I have done is :
    1.Created a user group through SQ03
    2.Attched user to My user group
    3.Created an infoset using join table functionality(SQ02).
    4.Saved and generated the infoset
    5.Added the user group to the infoset and than run the ADHOC query.
    The table I have used to join is all PA table (For test pupose)
    Though the purpose of the custom infoset is to join PA,OM and E rec infotypes, for testing purpose I have joined only PA infotypes.
    Result:The adhoc query does not gives any out put instead it says no data could be read.
    Could you please tell what else I need to do so that the custom infosets gives an out put.
    Will greatly appreciate your help.
    Thanks and best regards
    Rajeev

  • Disable Function Key F3 in Internet Explorer

    I would like to disable function keys F1 and F3 while playing
    my flash movie in internet explorer. I am using these keys within
    Flash to do some actions.
    I got the script working for Function Key F1 using the
    following script
    <script language="javascript">
    document.onhelp = function() {return(false);}
    window.onhelp = function() {return(false);}
    </script>
    But unable to make it to work for function key F3.
    Thanks in advance,
    Desmond

    Hi des_shun, I have workaround for this issue.
    First thing we have to do is disable keyboard event for F3 key on HTML document so that even if focus is on html document, default Search functionality will not popup. Next thing is, flash must contain KeyboardEvent listener for keyboard response. This is where we will keep our custom F3 functionality. This setting works well on Chrome & FireFox.
    Now IE thing.
    The prolem with IE is that if any one of F3, F5, F6,F7 & F11 key is pressed, when the focus is on flash movie it directly executes the default browser functions like searching, refreshing etc never allowing flash to execute its keyeventlistener. But if focus is on document body, then F3 and other keys work fine.
    Here is the catch.
    All we have to do is whenever focus is shifted to flash, we should revert that focus to document body.
    Here is how we can do this.
    Capture the MouseClick event in your flash movie. Then in this mouseclick event handler, call  javascript function to change focus to document again. Below is the sample code.
    //Flash Code
    stage.addEventListener(MouseEvent.CLICK,mClick);
    function mClick(event:MouseEvent)
              ExternalInterface.call("changeFocus");
    // Javascript Code
    <script type="text/javascript"</script>
              function changeFocus()
                             document.body.focus();
        </script>
    Thats it!

  • Error - Variable not in select list

    Hi everybody;
    I get an error with this code :
    type t_doubl_mod_port is table of COUPLE_BOOL_A%rowtype;
    doublons t_doubl_mod_port;
    FUNCTION recherche_doublon (tabl IN VARCHAR2)
    RETURN t_doubl
    IS
         return_doubl t_doubl
    BEGIN
         EXECUTE IMMEDIATE 'SELECT MODELE,PORT FROM '|| tabl ||' group by MODELE,PORT having count(*) > 1' BULK COLLECT INTO return_doubl;
         RETURN return_doubl;
    END recherche_doublon;I got this error :
    ERROR at line 1:
    ORA-01007: variable not in select list
    ORA-06512: at line 10
    ORA-06512: at line 16Need help please. :/
    Edited by: Moostiq on 7 janv. 2010 15:46

    I created the type triplet like that :
    CREATE TYPE triplet AS OBJECT (MODELE VARCHAR2(16), PORT VARCHAR2(16), N0_OCCURRENCE NUMERIC(2));OK.
    Then I change the type of what I want to display with dbms_output:
    type t_doubl_mod_port_occ is table of triplet;
    doublons t_doubl_mod_port_occ;But I get this error :
    *** table : COUPLE
    DECLARE
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected UDT got CHAR
    ORA-06512: at line 27 ==> EXECUTE IMMEDIATE etc...
    ORA-06512: at line 36 ==> doublons:=recherche_doublon_mod_port (collection(i));My actual code :
    FUNCTION recherche_doublon_mod_port (tabl IN VARCHAR2)
    RETURN t_doubl_mod_port_occ
    IS
         return_doubl t_doubl_mod_port_occ;
    BEGIN
         EXECUTE IMMEDIATE 'SELECT MODELE,PORT,N0_OCCURRENCE FROM '|| tabl ||' group by MODELE,PORT,N0_OCCURRENCE having count(*) > 1' BULK COLLECT INTO return_doubl;
         RETURN return_doubl;
    END recherche_doublon_mod_port;
    BEGIN
         collection := get_tables_with_columns('MODELE','PORT');
         IF collection IS NOT NULL AND collection.count()> 0 THEN
              FOR i IN collection.first()..collection.last() LOOP
                   dbms_output.put_line(' *** table : '|| collection(i));
                   doublons:=recherche_doublon_mod_port (collection(i));
                   IF doublons IS NOT null AND doublons.count() > 0 THEN
                        FOR i IN doublons.first()..doublons.last()
                        LOOP
                             dbms_output.put_line('doublons modele/port MODELE:'||doublons(i).MODELE);
                        END LOOP;
                   END IF;
              END LOOP;
         END IF;
    END;
    /Someone could help me ?
    Edited by: Moostiq on 7 janv. 2010 16:38
    Edited by: Moostiq on 7 janv. 2010 16:43
    Edited by: Moostiq on 7 janv. 2010 16:44
    Edited by: Moostiq on 7 janv. 2010 16:44

Maybe you are looking for

  • Editing Nikon D7100 RAW files in Photoshop CS6

    I have downloaded camera RAW 7.4 (DNG converter) for CS6. However, I cannot open my Nikon D7100 RAW files in CS6. Pls. help.

  • Make an iView from MDM Web Dynpro Component

    Hello! I have read documentation about configuration of MDM WD Component. What I have found - MDM WD Components are used as standalone application and inside BPM. But what about iView? How to make an iVIew from MDM WD Component and to link it with Co

  • Suggestions on a piece of working code.

    I have a piece of working code that I've been playing with for a while and I'm just not happy with it.  I'm loading an XML file full of images to flash and using them in a slide show.  The code works fine, but here's my issue. The first time an image

  • Installing HP Deskjet 3050

    I downloaded and installed the driver for my printer, HP Deskjet 3050. It installed sucessfully. However, when i try to print, the printer is not listed in the print dialoguue box. When i try to add it through System Preferences, the printer is found

  • AME Crash on h.264 240p Export

    AME crashes when trying to export a AVC-Intra 50 1080i 60Hz 29.97 frames/second in 1.333 aspect out to: 428x240 29.97 Progressive CBR Target 0.35 Mbps AAC 128kbps 44kHz Aspect 1.0 Any thoughts? The initial sequence outputs A-Okay to other h.264 seque