List of Executed SAPScripts

Is there any method available to identify which SAPScripts have been executed in a system?  For ABAPs you can do an analysis of ST03 data to know which programs have been executed.  I am looking for a similar process for SAPScripts.  We need to make global changes to many custom forms and we need to know which forms in our custom forms list have been used.  There is a possibility that there are many that are no longer used and we need to narrow the scope of the project.
Thank you in advance for any assistance.

I think I may have not explained the problem completely.  I do not need to know if the output itself has been processed, I need to know exactly the names of the SAPScripts that were used in the system (within the last year).  We have over 500 custom forms and we know that not all of them are in use at this time.  We need to compare a list of SAPSCtipt "Z*" names with the list of SAPScripts that we know have the code that needs to be modified.
For example, we might have a Z_FORM_1 ...Z_FORM_500 that all have the code that must be changed  We know that we do not use all of these forms in the past year but we need to know which ones we have.  We would hope that we would find out through this process thta Z_FORM 1, Z_FORM_35, Z_FORM_38, Z_FORM_89 and Z_FORM_487 are the ones used.  Then the scope of changes is 5 forms not 500.

Similar Messages

  • Query SQL and output to text file then loop through list to execute

    It seems there's no obvious way to do what I want to below as everyone has their own take on querying SQL server with Powershell!
    I need to use PowerShell to connect to ServerA and query a test database and select Name from it.  The Name results of that query need to output to C:\names.txt and then I need a ForEach loop to go through that file line by line and execute some text
    against each Name from the list.
    Any ideas how I can achieve this?
    Thanks!

    I can't even output SQl to a table at the moment, the text file has a column header and about 50 empty rows in the file.
    $dataSource = "DEMO"
    $database = "TESTDB"
    $connectionString = "Server=$dataSource;uid=$user; pwd=$pwd;Database=$database;Integrated Security=True;"
    $query = "SELECT name FROM dbo.names"
    $connection = New-Object System.Data.SqlClient.SqlConnection
    $connection.ConnectionString = $connectionString
    $connection.Open()
    $command = $connection.CreateCommand()
    $command.CommandText  = $query
    $result = $command.ExecuteReader()
    $table = new-object "System.Data.DataTable"
    $table.Load($result)
    $format = @{Expression={$_.Id};Label="Name";width=25}
    $table | format-table $format | Out-File C:\export\servers.txt
    $connection.Close()

  • How to execute sapscript programe in SAP

    hi
    i created sapscript programe i want to execute how can i do it please help me
    thanks in advanced.

    Hi,
    two ways.
    1. Simply by executing program by F8 and giving values in selection screen. You have used FMs like open_form and write_form and close_form etc. hence form will be called
    2. Form and print program will be assigned to output type in NACE transaction.
    Now this will be called when via standard transaction like VA03 -> print option and set output type
    at this time based on output type print progral will be called.
    *Hope this may give you a bit of idea.

  • List backup executed on primary 11gR2

    I execute a command LIST BACKUP on the RMAN of the primary db of the Dataguard 11gR2 when connected via recovery catalog and it shows now backup at all.
    But run that same cmd on standby, it shows all the backup. The backup is run on standby only.
    Can anyone explain ?

    See "Using Files On a Standby Database"
    under http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/rman.htm#BAJCEFEG
    to actually copy from the standby itself.
    Per "11.7 Performing Backup Maintenance in a Data Guard Environment" at
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/rman.htm#BAJHDFIH
    "+File sharing attributes state that files on disk are accessible only at the database with which they are associated, whereas all files on tape are assumed to be accessible by all databases. RMAN commands such as BACKUP and RESTORE, as well as other maintenance commands, work according to this assumption. For example, during a roll-forward operation of an image copy at a database, only image copies associated with the database are rolled forward. Likewise, all incremental backups on disk and all incremental backups on tape will be used to roll forward the image copies. Similarly, during recovery operations, only disk backups associated with the database and files on tape will be considered as sources for backups."+
    However, I haven't verified or tested this.
    Hemant K Chitale

  • T code is not showing up in list of Executable T code for User.

    Friends,
    Role with the ZFITIC_P2P tcode has been assigned to user.
    But still user is getting the error message : " No authorization to exucute ZFITIC_P2P  Transaction code"
    Action Taken :
    Run PFUD job again.
    Refresh the user's buffer.
    Ran the User Compar for the Role also.
    Still if I go to SUIM ->> Transactions -> Executable by User -> List of T codes does not show ZFTIC_P2P Transaction.
    Any suggestions...
    Thanks,
    Pranav

    In addition to the transport order where the single role might be in a different composite, you should consider that changing the menu after having previously created a transport request will not add the new generated profile data to the TP request at the time when you release the transport - but it will add the menu items.
    Please take a read through this thread: T-code PFCG and CTS
    Did you make any further changes before releasing the transports?
    It is best to only create a transport when you are ready and release them without delay to to tested. If you are brave then you can regenerate in the target system, but you should ensure that your SU24 data is identical and the role was intact: only "old" authorizations and nothing new was introduced or deleted.
    Cheers,
    Julius

  • Report List - User executed

    Hi all,
    Is there any option in SAP BW 3.5 to see the reports executed by a particular user. Kindly suggest.
    Aravind

    Hi Aravind,
    Please look into the table RSDDSTAT (3.X) or RSDDSTAT_OLAP (BI 7.0) for getting the details in case BI statictics are not installed.
    For BI 7.0 , If the BI statistics are installed then you can run the BI report 0TCT_MC01_Q0203 (BI Application objects Executed by user).
    regards.
    Kulmohan

  • Populate list by executing query with where clause

    Hi,
    I m populating my list from database table using following command.
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("learning", new HashMap());
    EntityManager em = emf.createEntityManager();
    String query = "select d from Dept d";
    List list = em.createQuery(query).getResultList();
    My list is getting populated with all of rows in my database table(dept). The problem is, I cant use where clause in my query string.
    String query = "select d from Dept d where d.dept_name='ANYNAME'";
    Moreover I cant select even indivisual columns by using following line
    String query = "select d.dept_code,d.dept_name from Dept d";
    It looks like that my query is getting all rows from table as Object.
    What to do to
    1. put some where clause
    2. get some particular colums instead of all columns
    3. apply some table joins in query
    plz help.

    Hi Alex,
    I misunderstood your question. You had mentioned "My list is getting populated with all of rows in my database table(dept). The problem is, I cant use where clause in my query string. "
    I thought you might not have permissions to modify the code in the class, and that's why I suggested that you could write new classes.
    1) write new classes,? means if I need just two columns from a table >(instead of all columns), do I need to write new class with just two >columns (getters and setters)?You can write a SQL statement anyway you want , there are no restrictions in JDBC , so if you need just 2 columns you can write a custom query for that.
    "select column1 as a, column2 as be from table_name where column3 = xyz" etc.
    2) Is not anyway to write SQL statement like
    select dept_code,dept_name from dept where dept_name='anything'The above SQL is correct, it should work.
    3) Stored procedures? can I get some example(code) to get an idea >how to implement complex queries with where clause and joinings >using stored procedures?Stored procedures are specific to the database you are using, Oracle has a particular syntax for store procdures.
    You can call stored procedures from JDBC also, search on Google for
    "Calling stored procedures from JDBC"
    4) I m using hibernate. can I get any example of using hibernate own >query?Tutorial on Hibernate Query Language:
    http://www.hibernate.org/hib_docs/v3/reference/en/html/queryhql.html

  • Generate spool req number for report output list

    Hi,
    How to generate spool request number for report output list while executing the report.Please provide if you have any sample code.
    Thanks and Regards,
    BSR.

    HI srinivas,
    welcome to sdn.
    Exporting the Contents of a Spool Request
    Use
    You want to export the content of a spool request in one of the following ways:
    ·        As a text file to the SAP GUI working directory
    ·        Unconverted or as a table, RTF, or HTML to a directory of your choice
    ·        As a PDF file to a directory of your choice
    Procedure
    Follow the procedure below:
    Exporting to the SAP GUI Working Directory
    If you are exporting large quantities of data, downloading the spool request as a text file to the SAP GUI working directory is a good solution.
    Choose Spool Request ® Forward® Export as Text.
    The entire text is stored in your SAP GUI working directory in ASCII format.
    A file of this type is named using the following pattern:
    .txt
    Example: ABC0000004327.txt
    You require appropriate authorization for this function from your administrator.
    Exporting Unconverted or as a table, RTF, or HTML to a Directory of Your Choice
    With this method of exporting a spool request, the content of the spool request is first displayed, and you then download the content in the format of your choice to a directory of your choice.
           1.      Select the spool request to be exported and choose  Display Contents.
           2.      In the case of SAPscript/Smart Forms documents, activate list display by choosing Goto.
           3.      Choose System ® List ® Save ® Local File.
           4.      Choose one of the available formats and confirm your choice.
           5.      Choose a directory and save the spool request.
    By default, only the first 10 pages of a spool request are saved in a file. You can increase the number of pages to be saved by choosing Goto ® Display Requests ® Settings and making the desired entries in the Display Area group box.
    Exporting as a PDF File
    You want to export the contents of a spool request as a PDF file to a directory of your choice, and print the file as required. The PDF file contains the print data in the format in which it would be output by the printer.
    The following procedure is irrelevant for the printing of PDF-based forms, since a PDF file is already returned with this method. See also Displaying and Printing PDF-Based Forms.
    You also require authorization from your administrator to run this report.
    The PDF file is generated as follows with report RSTXPDFT4:
           1.      Generate a spool request from the document to be printed.
           2.      In transaction SE38, start report rstxpdft4.
           3.      In the displayed window, enter the spool request number and the directory in which the PDF file is to be stored.
    Leave the Download PDF File option selected.
    Choose  Execute.
           4.      In the next window, you can confirm or change the path in which the file is be stored.
    Save your entries.
           5.      The system displays a log from which you can see whether the report was successfully performed.
    You can then open the file from the directory and print it as required.
    Restrictions for Exporting as a PDF File
    ·        The PDF conversion only supports true bar codes for Smart Forms, which were generated with the new bar code technology as of SAP NetWeaver 04. In all other cases, the bar code is only simulated.
    ·        PDF conversion, especially of ABAP lists, is slower and is therefore not suitable for mass printing. However, you can speed up the conversion to PDF using the FASTLISTCONV option in report RSTXPDF3.
    ·        The font selection for ABAP lists is predefined in the PDF converter and cannot be changed.
    For more information about constraints, see SAP Note 323736 in the SAP Service Marketplace
    see this links
    http://help.sap.com/saphelp_40b/helpdata/en/d9/4a98f351ea11d189570000e829fbbd/content.htm
    http://web.mit.edu/SAPR3/docs/webdocs/reports/rpRFprint.html
    regards
    shankar
    reward me if usefull

  • CDESK: How to get a customized content in the document list tab

    I try to get a specific list of document info records (DIR's) in the document list tab of the CDESK - similar to the document search result.
    I use the Addin-BADI and the ~PROCESS_NEW_FUNCTIONS/~ADD_NEW_FUNCTIONS methods to start a costumer specific selection of DIR's.
    For instance I want to select all documents with contain the digits 99.
    Then I want to show the selection result as the content of the document list tab to proceed with further steps like ckeck-out and so on.
    I followed an example which I found in this forum, see thread "CDESK: Start userdefined search program and recieve DIRs".
    My coding is:
    method if_ex_cdesk_tbm_addin~process_new_functions.
        when 'ZFCODE_ARBVOR'.
          data lt_draw type table of draw.
          select * from draw into table lt_draw
            where dokar = 'TKD'
              and doknr = '99'.
          sort lt_draw stable by dokar doknr doktl dokvr ascending.
          delete adjacent duplicates from lt_draw comparing dokar doknr doktl dokvr.
          PERFORM refresh_sap_list IN PROGRAM saplcdesk TABLES lt_draw USING 'X'.
    But nothing happens with the document list when executing this customer function.
    I assume it is not possible to update the document list out of a BADI in that way.
    Does anyone has some hints?
    Kind regards,
    Matthias Fischer

    Hi Khaled,
    There is an standard RFC RFC_READ_TABLE which can read any table in R/3. But the data returned will be unformatted hence you need to parse it. This FM has few limitations aswell.
    RFC_READ_TABLE is an RFC that allows users to read a table remotely. This is important particularly to Java developers using JCO to communicate with an ABAP back-end. Unfortunately, RFC_READ_TABLE has size limitations; it also incorrectly reads binary data. Also no authorization checking takes place.
    Also refer the link below
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal-content/simplified queries of sap tables from java
    hope this helps..
    Regards
    Anand
    Message was edited by: Anand Torgal

  • Double click on list field in ALV grid control

    Hello all,
    I developed a report with a ALV grid control. I would like to move some functionality from marking a line and pressing a button in the status line to double clicking a specific field in the output list and execute a command there (i.e. double click on PO number and go to PO display TAC then). Can anybody provide some example coding for that?
    Thanks so much for your help!
    Torsten

    Here is your sample program.  Copy this code into a z program.  Create the screen 100 with a container in it and name it "ALV_CONTAINER".  Create the gui-status with "BACK".
    report zrich_0001.
    tables: ekko.
    data: begin of i_alv occurs 0,
          ebeln type ekko-ebeln,
          end of i_alv.
    *       CLASS cl_event_receiver DEFINITION      Handles Double Click
    class cl_event_receiver definition.
      public section.
        methods handle_double_click
          for event double_click of cl_gui_alv_grid
          importing e_row e_column.
      private section.
    endclass.
    *       CLASS CL_EVENT_RECEIVER IMPLEMENTATION    Handles Double Click
    class cl_event_receiver implementation.
      method handle_double_click.
        perform drill_down using e_row-index.
      endmethod.
    endclass.
    data: alv_container  type ref to cl_gui_custom_container.
    data: event_receiver type ref to cl_event_receiver.
    data: alv_grid       type ref to cl_gui_alv_grid.
    data: layout    type lvc_s_layo.
    data: fieldcat  type lvc_t_fcat.
    selection-screen begin of block b1 with frame title text-001 .
    select-options: s_ebeln for ekko-ebeln.
    selection-screen end of block b1.
    start-of-selection.
      perform get_data.
      call screen 100.
    *      Module  status_0100  OUTPUT
    module status_0100 output.
      set pf-status '0100'.
      set titlebar '0100'.
      data: variant type  disvariant.
      variant-report = sy-repid.
      variant-username = sy-uname.
    * Create Controls
      create object alv_container
             exporting
                   container_name    = 'ALV_CONTAINER'.
      create object alv_grid
             exporting
                   i_parent          =  alv_container.
    *  Create Event Receiver
      create object event_receiver.
    *  Populate Field Catalog
      perform get_fieldcatalog.
      call method alv_grid->set_table_for_first_display
          exporting
               is_layout              = layout
               is_variant             = variant
               i_save                 = 'U'
               i_structure_name       = 'I_ALV'
          changing
               it_outtab       = i_alv[]
               it_fieldcatalog = fieldcat[].
    *   handler for ALV grid
      set handler event_receiver->handle_double_click for alv_grid.
    endmodule.
    *      Module  USER_COMMAND_0100  INPUT
    module user_command_0100 input.
      case sy-ucomm.
        when 'BACK' or 'CANC'.
          if not alv_container is initial.
            call method alv_container->free.
            clear: alv_container.
            free : alv_container.
          endif.
          if sy-subrc = 0.
            set screen 0.
            leave screen.
          else.
            leave program.
          endif.
        when 'EXIT'.
          if not alv_container is initial.
            call method alv_container->free.
            clear: alv_container.
            free : alv_container.
          endif.
          leave program.
      endcase.
    endmodule.
    * FORM GET_DATA
    form get_data.
      select * into corresponding fields of table i_alv
                from ekko
                     where ebeln in s_ebeln.
      sort i_alv ascending by ebeln.
    endform.
    *      Form  Get_Fieldcatalog - Set Up Columns/Headers
    form get_fieldcatalog.
      data: ls_fcat type lvc_s_fcat.
      refresh: fieldcat.
      clear: ls_fcat.
      ls_fcat-reptext    = 'PO Number'.
      ls_fcat-coltext    = 'PO Number'.
      ls_fcat-fieldname  = 'EBELN'.
      ls_fcat-ref_table  = 'I_ALV'.
      ls_fcat-outputlen  = '12'.
      ls_fcat-col_pos    = 1.
      append ls_fcat to fieldcat.
    endform.
    * DRILL_DOWN
    form drill_down using index.
      read table i_alv index index.
      if sy-subrc = 0.
        set parameter id 'BES' field i_alv-ebeln.
        call transaction 'ME23' and skip first screen.
        if not alv_container is initial.
          call method alv_container->free.
          clear: alv_container.
          free : alv_container.
        endif.
      endif.
    endform.
    Regards,
    Rich Heilman

  • SharePoint Online list view threshold issues: "because it exceeds the list view threshold enforced by the administrator"

    SharePoint Online list view threshold issues: "because it exceeds the list view threshold enforced by the administrator"
    Office 365 SharePoint Online can be problematic when it comes to exceeding the list item threshold (e.g. 5,000).
    Examples of what happens after exceeding the threshold (e.g. 5,000 items):
    You can’t create new forms for the list in SharePoint Designer.
    You may have challenges with metadata fields in the forms (e.g. adding metadata values, editing metadata values, deleting the metadata column from the list).
    Cannot save the list as a template (i.e. you get the threshold error).
    Issue I'd like assistance with: how can I create a custom NewForm in SharePoint Designer
    when the list exceeds the threshold limit, given this is Office 365 SharePoint Online and I don't have access to increase that limit?
    As a control for my testing, I created another list with just a few custom columns with no list items --it worked fine for that list.
    I also tried clearing local AppData cache which didn't solve it. I'd need Central Admin on O365 SharePoint Online to increase the threshold which I don't have access
    to do. Errors received in SharePoint Designer:
    "Could not save the list changes to the server." After getting this, I tried to work around
    the create new forms issue by saving a copy of the original NewForm as NewForm2 and got the root error that I suspected was underlying it all:
    “Server error: the attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator”.
    Any ideas for how to create a new list form in SD?

    Thanks Alex.
    I just found a couple new workarounds instead of using SharePoint Designer:
    Method 1: Add web parts to the form pages on the client side:
    Go to the list and execute one of these actions depending what form you want to edit: create a new item (NewForm), edit an item (EditForm), or display an item (DispForm).
    With the form you want to edit displayed, go to the gear icon and click "Edit Page".
    You should now see the web part page show up with "Add a Web Part" as an option.
    Add a Content Editor or Script Editor web part.
    Add your custom code to either one to manipulate the HTML objects using your favorite web languages.
    Method 2: Use InfoPath 2013.
       The InfoPath 2013 route appears to work.

  • Dynamic Entity Member Lists using UD1 and UD2

    Hello fellow HFM gurus:
    I have created dynamic member lists to get all members of the entity dimension that have a UD1 or UD2 member as specified in the script.
    THe member lists all appear in HFM, but when I try to select them, I get a run-time error. I am trying to select them in the member selection of a data form (in the same drop down with the different system member lists for entiites, like hierarchy, descendants, etc.).
    I believe this is the standard syntax. Please let me know if something is wrong with it.
    ElseIf HS.Dimension = "Entity" Then
    If HS.MemberListID = 1 Then
    ELi=Hs.Entity.List(",")
    For i = Lbound(ELi) to Ubound(ELi)
    If HS.Entity.IsBase("",ELi(i)) = TRUE Then
    If (StrComp(Hs.Entity.UD1(ELi(i)),"DD",vbTextCompare)=0) Then
    Hs.AddEntityToList "",ELi(i)     
    End If
    End If     
    Next
    End if     
    Error in HFM:
    Invalid member selection. Error executing VBScript Microsoft VBScript runtime error, Line 475:Wrong number of arguments or invalid property assignment: 'HS.Entity.List'.Error executing VBScript 0.Error Reference Number: {9A7697E2-75AE-4A06-9A34-B45D58022984};User Name: mark.d.smith@Native DirectoryNum: 0x80042fc2;Type: 1;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvScriptEngine.cpp;Line: 392;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvDSMemberLists.cpp;Line: 2722;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CommonMetadataInternal.cpp;Line: 461;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 0;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CHsvEntities.cpp;Line: 338;Ver: 11.1.2.1.103.3505;Num: 0x80042fc2;Type: 1;DTime: 9/10/2012 5:51:16 PM;Svr: VMHODDLPHP4;File: CCommonDimension.cpp;Line: 1015;Ver: 11.1.2.1.103.3505;

    Hi Mark,
    Please check the double quotes after Entity.List. It should be "","".
    Regards,
    S

  • Directory listing of a Multi volume encrypted tapes on OpenVMS 8.3

    I have a full data backup for an openvms 8.3 server integrity server on two tapes that are encrypted.  If I mount the first volume and try to do a directory listing the process goes on indefinately; without giving any output and eventually I have to kill the process. e.g. DEV_DAISY> sh dev mk Device                  Device           Error    Volume         Free  Trans MntName                   Status           Count     Label         Space Count CntPLUTO$MKC200:           Online               0 DEV_DAISY> mount PLUTO$MKC200: dat801%MOUNT-I-MOUNTED, DAT801 mounted on _PLUTO$MKC200: DEV_DAISY> dir PLUTO$MKC200:[000000] The process goes on indefinately at this point of time. However If I mount the second volume and do a directory listing, It executes and gives me the required output as : Directory PLUTO$MKC200:[]DAT801.BCK;1 294976 31-MAR-2015 00:00:00.00Total of 1 file, 294976 blocks. I want to ask is it possible to do a directory listing on first volume. If not is it possible to read tape header information (i.e saveset name and date on which backup was taken) from the first volume without specifying the encryption key.

    I have a full data backup for an openvms 8.3 server integrity server on two tapes that are encrypted.  If I mount the first volume and try to do a directory listing the process goes on indefinately; without giving any output and eventually I have to kill the process. e.g. DEV_DAISY> sh dev mk Device                  Device           Error    Volume         Free  Trans MntName                   Status           Count     Label         Space Count CntPLUTO$MKC200:           Online               0 DEV_DAISY> mount PLUTO$MKC200: dat801%MOUNT-I-MOUNTED, DAT801 mounted on _PLUTO$MKC200: DEV_DAISY> dir PLUTO$MKC200:[000000] The process goes on indefinately at this point of time. However If I mount the second volume and do a directory listing, It executes and gives me the required output as : Directory PLUTO$MKC200:[]DAT801.BCK;1 294976 31-MAR-2015 00:00:00.00Total of 1 file, 294976 blocks. I want to ask is it possible to do a directory listing on first volume. If not is it possible to read tape header information (i.e saveset name and date on which backup was taken) from the first volume without specifying the encryption key.

  • Calling oracle function from Access passthrough query does not return list

    Thanks to the help I received in an earlier post I've created an oracle 10g function that returns a list after executing the sql it contains. It works in oracle, using sql developer.
    I need to have the list that it returns show up in MS Access via a passthrough query. It's not working so far. The connection string etc is ok, I'm able to use passthrough queries to run sql strings successfully. But when I try to call the function via the Access passthrough query at first nothing seems to happen (ie no list appears) and if I try to run it again, there is a odbc error 'call in progress. Current operation canceled'. There are only the three records in the table. I'm missing something, can anyone spot it?
    The passthrough query looks like this
    select * from fn_testvalues from dual
    Again that runs in oracle.
    To create the testing table and 2 functions see below.
    CREATE TABLE t_values (MyValue varchar2(10));
    Table created
    INSERT INTO t_values (
    SELECT 'Merced' c1 FROM dual UNION ALL
    SELECT 'Pixie' FROM dual UNION ALL
    SELECT '452' FROM dual);
    3 rows inserted
    CREATE OR REPLACE FUNCTION fn_isnum(p_val VARCHAR2) RETURN NUMBER IS
    n_val NUMBER;
    BEGIN
    n_val := to_number(p_val);
    RETURN 1;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN 0;
    END;
    Function created
    testing the table:
    SELECT val, fn_isnum(MyValue ) isnum
    FROM t_values;
    VAL ISNUM
    Merced 0
    Pixie 0
    452 1
    Now the function that is called in the passthrough query:
    create or replace function fn_testvalues
    return sys_refcursor is
    rc sys_refcursor;
    begin
    open rc for
    Select t_values.*, fn_isnum(MyValue) IsNum from t_values;
    return(rc);
    end fn_testvalues;

    lecaro wrote:
    OK. But obviously there is some oracle object that one can call via an Access pass-through query which returns rows?Just to clarify. You could fetch data in Access from an Oracle function that returns a ref cursor using VBA editor. To use a pass-through query Oracle function should be a table function or pipelined table function:
    CREATE OR REPLACE
      TYPE testvalues_obj_type
        AS OBJECT(
                  val varchar2(10),
                  isnum number
    CREATE OR REPLACE
      TYPE testvalues_tbl_type
        AS TABLE OF testvalues_obj_type
    CREATE OR REPLACE
      FUNCTION fn_testvalues
        RETURN testvalues_tbl_type
        PIPELINED
        IS
            CURSOR testvalues_cur
              IS
                SELECT  testvalues_obj_type(MyValue,fn_isnum(MyValue)) testvalues_obj
                  FROM  t_values;
        BEGIN
            FOR v_rec IN testvalues_cur LOOP
              PIPE ROW(v_rec.testvalues_obj);
            END LOOP;
            RETURN;
    END;
    /To test it in Oracle:
    SELECT  *
      FROM  TABLE(fn_testvalues)
    VAL             ISNUM
    Merced              0
    Pixie               0
    452                 1
    SQL> Now in Access pass-trough query window enter:
    SELECT  *
      FROM  TABLE(fn_testvalues);SY.

  • How to call / execute BPM process out of portal (Universal Worklist)

    Hi,
    at the moment I try to get fimilar in working with bpm processes. In this regard, I try to execute a process outside the portal.
    I always have to login at the portal, go to the Universal Worklist, refresh the list and execute the previously started process. But in future that would NOT be the prefered way for the user.
    May anybody help me?
    Thank you.

    Hi Martin,
    what do you mean exactly? Do you want to start the workflow without using the portal or do you want to start the different human activities outside the portal?
    If you mean the first one, you can use a webservice to start the process (see Re: Starting a flow through a web service). As such you can start the process from pretty much everything with webaccess.
    For the second one I dont have an answer... You can probably use a different application and check if there are any new tasks via webservice... but thats just a guess
    cya,
    Matthias

Maybe you are looking for

  • Same login, two different locations

    Hi everybody, just a simple question here: I have a single .Mac account, a Powermac with ISight at home and a Macbook in my office; is it possible to chat from office with kids at home with iChat, by logging in both computers with the same account at

  • Srpy menu bar will not display

    Was working away on modifying a spry menu bar when all of a sudden the menu bar will not display. Tried creating a new page and inserting the menu bar and still will not display. Won't even display in previous pages created. Anybody have any ideas? T

  • "WRITE CODE FOR ME"

    SALAM COMPUTER SIR, I AM STUDENT OF COMPUTER SOFTWARE ENGINEERING .PLEASE HELP ME ABOUT I SEND YOU PICTURE OF MY PROJECT.PLEASE YOU MADE CODING FOR THE PICTURE IN JAVA LANGUAGE.PLEASE YOU GIVE ME SOURCE CODE OF THIS PROJECT PICTURE IN JAVA LANGUAGE.M

  • Since downgrading to LION iCal frequently crashes on opening

    Since downgrading to LION iCal frequently crashes on opening or very soon afterwards. Sometimes does it 3x in a row then finally opens. Anyone else have this problem? Thanks for your time, Jules Macbook Pro 7i , 10.7.2

  • The left speaker of my iphone is not working, what should i do?

    the left speaker of my iphone is not working, what should i do?