Last Used status for Reports, Transactions, Tables ??

Dear all,
Kindly let me know how to find the last used status for
Reports, Transactions, Tables ??
This is very urgent, Please do the needful.
Waiting for the responses..
Cheers,
Virendra.

Here the issue is same.
STAT transaction is asking for the time which is the main hurdle.
I am hanging around with STAT transaction but not finding
how to getover the time specification.
if i dont specify the time i takes by default the 2 or minutes back from the current time.
which is not useful for me at all.
My main requirement is that my seniors want to know what are all reports or transaction or tables which are not used at what last time ?
so if i have to specify the time wont be so useful for me.
And writing a report 'll not gain anything coz internal SAP report is take time as main parameter.
Regards,
Virendra.

Similar Messages

  • User exit for Previous and current system status  for  5 transactions

    Hi Experts
    My Objective to capture the Previous and current status  of system status  for  5 transactions  in their  user exits .
    Description                                         Business Object               Transaction
    Production Order operations              BUS2005                            CO02 to edit Production Order
    Maintenance Orders                           BUS2007A                         IW32 to edit Plant Maintenance Order
    INTernal   ORDER                                 BUS2075                          KO02 to edit Internal Order
    WorkBreakdownStruct                       BUS2054                          CJ02 To edit the WBS element
    Project System Network                      BUS2002                           CN22 to edit Network
    Activities Network
    For Both Production order  and   Project System Network Activities Network    ,
    i got  User exit  "  EXIT_SAPLCOBT_001  " 
    But i am not sure whether we can use this or  not for our purpose . When i am changing status and  then saving ,  my  break point comes  to  EXIT_SAPLCOBT_001  .
    But  can we capture   JEST   or   JCDS  related  data   in that  user  exit  or  How can we capture both Previous status  and Current ( Means New changed status ) . For eg  From Released   to   Technically complete   etc.
    I want Status changed and its immedtiate previous status. 
    Do i need to check Exit  or BADI  before  and after Saving .
    Thanks
    Regards
    Gaurav
    Edited by: TheGaurav on Sep 8, 2011 10:28 AM

    Hi Himanshu
    Many Thanks for the reply . 
    I also had some other processing needs to be done on the basis of those status. .
    So do you have any idea or  how to find what all exits or BADIs  i can use for all of these 5 transactions , where
    i can get data for JCDS ( or JEST ) .
    CO02 to edit Production Order                 
    IW32 to edit Plant Maintenance Order
    KO02 to edit Internal Order
    CJ02 To edit the WBS element
    CN22 to edit Network        
    can we use   EXIT_SAPLCOBT_001  for    CO02  and  CN22   .
    Edited by: TheGaurav on Sep 8, 2011 1:21 PM

  • Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long.

    Hello Friends,
    The background is I am working as conversion manager and we move the data from oracle to SQL Server using SSMA and then we will apply the conversion logic and then move the data to system test ,UAT and Production.
    Scenario:
    Moving the 80 Million records from Conversion database to System Test database (Just for one transaction table) taking too long. Both the databases are in the same server.
    Questions are…
    What is best option?
    IF we use the SSIS it’s very slow and taking 17 hours (some time it use to stuck and won’t allow us to do any process).
    I am using my own script (Stored procedure) and it’s taking only 1 hour 40 Min. I would like know is there any better process to speed up and why the SSIS is taking too long.
    When we move the data using SSIS do they commit inside after particular count? (or) is the Microsoft is committing all the records together after writing into Transaction Log
    Thanks
    Karthikeyan Jothi

    http://www.dfarber.com/computer-consulting-blog.aspx?filterby=Copy%20hundreds%20of%20millions%20records%20in%20ms%20sql
    Processing
    hundreds of millions records can be done in less than an hour.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Create a Cockpit (Transaction) for Reports and Tables

    Hi Gurus,
    i am very new in ABAP. I want to create a Transaction/view in SAP BW where i can put my favourite Abap reports and tables and execute These directly from the created view/Transaction without se16/se11 or se38 Access and dont know if this is possible and how to do it.
    the reason herefore is that we get deprived in differently time ranges our authorizations for the Standard Transactions.
    I have a list of my tables and programms.
    Thanks for your help.

    we get deprived in differently time ranges our authorizations for the Standard Transactions.
    So you try to bypass security checks put in place by the Basis team
    or could you explain your requirement ?
    Remember (or learn) that creating such transaction, you are able to bypass following authorization checks using SU24 (Identity Management, User and Role Administration of Application Server ABAP, AS ABAP Authorization Concept, From the Programmed Authorization Check to a Role, Editing Authorization Default Data (Development System) / Editing Authorization Default Data (Customer System). )
    Regard,
    Raymond

  • How to update a BP status Using CRMXIF_ORDER_SAVE for  any transaction .

    Hey i am able to perform deleting a transaction or inserting a BP for a transaction using CRMXIF_ORDER_SAVE .
    But i am not able to delete or update a BP for a transaction using my program .
    REPORT  ZCRMBUSIPART1.
    data : t_crm type CRMXIF_BUSTRANS_T ,
          wa_crm like line of t_crm ,
          wa type CRMXIF_PARTNER ,
          i_ret type BAPIRETM .
    *PARAMETER : p_input type CRMXIF_BUSTRANS-object_id .
    wa_crm-OBJECT_TASK = 'U' .
    wa_crm-object_guid = '220939E0B523274FB6C0E380766BCEEA' .
    wa_crm-partner-datax = 'X'.
    wa-partner_fct = '00000031'.
    wa-partner_no = '0000000025'.
    wa-object_task = 'U'.
    wa-kind_of_entry = 'A'.
    wa-addr_type = '2'.
    wa-display_type = 'BP'.
    wa-MAINPARTNER = ''.
    wa-input_fields-PARTNER_FCT = 'X'.
    wa-input_fields-partner_no = 'X'.
    wa-input_fields-kind_of_entry = 'X'.
    wa-input_fields-addr_type = 'X'.
    wa-input_fields-display_type = 'X'.
    wa-input_fields-MAINPARTNER = 'X' .
    append wa to wa_crm-partner-data .
    append wa_crm to t_crm  .
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
      EXPORTING
        data          = t_crm
    IMPORTING
       RETURN        =  i_ret
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
    write 'done'.
    IF any1 can please point out the reason , it wud be appreciated .
    THanks guyz

    Hi ,
    PUT a break point in CRM_ORDER_MAINTAIN and try to change the partner in order and you will come to know which values needs to be passed.
    example.
    REF_GUID                                                                  pass the ref guid
    REF_HANDLE                                               0000000000
    REF_KIND                                                                  pass the ref kind
    REF_PARTNER_HANDLE                                             0000
    REF_PARTNER_FCT                                             pass the old partner function
    REF_PARTNER_NO                                             pass the old partner no
    REF_NO_TYPE                                             BP
    REF_DISPLAY_TYPE                                             BP
    PARTNER_GUID                                             pass the guid
    KIND_OF_ENTRY                                             pass the kind of entry
    PARTNER_FCT                                             new partner function
    PARTNER_NO                                             new partner no
    DISPLAY_TYPE                                             BP
    NO_TYPE                                                                  BP
    Regards,
    Gangadhar.S
    Edited by: gangadhar rao on Mar 7, 2011 11:31 AM

  • Changing the System status for previous transactions

    Hello,
    Could some body help me with this ?
    I have a User status profile with user status ABC which triggers system status Inprocess. This is applicable for all the new transactions for which we set the status ABC which works fine. But we have some previous transactions  ( Prior to this config ) with status ABC , but system status is not Inprocess.
    How can we change the system statuses for all these transactions? do we have a report for this?
    Best Regards,

    Hi,
      You can use 'STATUS_CHANGE_INTERN' FM to change the system status. Pass Object number and status ID as inputs to the Function Module.
    Regards,
    Lakshmi.Y

  • Status of sales transactions (table names??)

    Hi
    I am using status profiles for my quotations. Would you please help me which table should I use to get status of sales transaction (quotations).
    Regards
    Javed

    Link: http://www.sap-img.com/
    Topic: Free ABAP eBook Download
    SAP MM, SD, FI, PS, PP, PM, HR, System Tables
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Last Use Date for iViews/Pages/Workset - Portal clean up of old items

    Is there any scripts that SAP has created that shows the Portal Admin which iViews have been recently used by the users and which ones have not. We would like to go through our environments and Clean Up/Remove old none used code in the PCD.
    I am hoping there is a script that can be run which produces a report stating Last Used/Executed date. If there is nothing like this, does any one know if there is any Data Base table or fields that can identify this type if data so we can create/write our own script?  The PDC inspector may do this but its a very manual effort and we'd like something that is automated and runs in the background.
    I know we can turn on metrics, but that will not work for us because it completely bogs down our systems and we can't afford that. Hence we are looking for something that runs in the background and will not effect our environments.
    Thanks
    Pete

    Thanks everybody for trying to asnwer the first question.
    But I guess what I am really looking to find out, for every item we have in the PCD, is there a way to find the last used date? We don't want to turn on the metrics for a period of time like some of the solutions have suggested since that will bog down out production system and it still won't help us identify in our DEV and Test regions items that might still be valid but haven't been touched for a while or are still in development phases. 
    I was hoping that there would be a way that SAP would allow us to enter in a folder name, iview, workset, page, role, etc and then have the system tell us the last used/accessed date for that item or all of the items in the PCD folders.   Kind of the reverse thought to get this data instead of letting the metrics tell us which users have hit which pages, etc.
    Does any one know of that type of option? 
    Thanks
    Pete

  • Last Run status of Report is not showing in Infoview

    Post Author: mega-bo
    CA Forum: Authentication
    Hey,
    Infoview is not showing the Last Run status of the Report. It is always showing 'Never Run' as a status.
    Any idea how to get the Last Run info?
    Cheers!

    Post Author: TAZ
    CA Forum: Authentication
    I believe this setting is a bit misleading, last run doesn't mean the last time you accessed the reoprt or ran on - demand. It's used for the last time you scheduled a report. If you schedule the report to run now and then check back after it was run the date should change.
    Regards,
    Tim

  • Help needed for report on tables vbak and vbap

    Hello,
    I needed help in one of my work issues, this is my first project and Iam still learning. kindly help.
    I was asked to take erdat,vbeln,posnr from selection screen and compare it with the data already in tables vbap,vbak. If the data
    already exists and exception needs to be raised saying that the 'data exists',but if the data is not present in the tables the
    tables have to be updated. This has to be done using function module only.
    Then I have to write a REPORT calling the above function module and finally displaying the number of records updated and the
    list of them.
    I have started writing a function module:
    FUNCTION z_tableupdate.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(DATE) LIKE  VBAK-ERDAT DEFAULT SY-DATUM
    *"     VALUE(SALESORDERNO) LIKE  VBAK-VBELN
    *"     VALUE(ITEMNO) LIKE  VBAP-POSNR
    *"  EXPORTING
    *"     VALUE(EX_VBAP) LIKE  VBAP STRUCTURE  VBAP
    *"     VALUE(SYS) LIKE  SY-SYSID
    *"     VALUE(EX_VBAK) LIKE  VBAK STRUCTURE  VBAK
    *"  EXCEPTIONS
    *"      DATA_UPDATED
    *"      DATA_EXISTS
      SELECT * FROM vbak INTO vbak_wa WHERE erdat = date
                                        AND vbeln = salesorderno.
      ENDSELECT.
      SELECT * FROM vbap INTO vbap_wa WHERE posnr = itemno.
      ENDSELECT.
      IF sy-subrc EQ 0.
        ex_vbap = vbap_wa.
        ex_vbak = vbak_wa.
      ELSE.
        RAISE data_exists.
      ENDIF.
      sys = sy-sysid.
    ENDFUNCTION.
    How is the above code for function module, will this work??
    Now can I write a report to call the above function module and update the record?? if so, how to update ??? please help...Lots of thanks in advance.

    Hi
    Welcome to SDN forum
    Whay can't you write a simple report in SE38.
    why you are using Fun module
    Nothing wrong in it.
    But first become perfetc in reports in SE38 and then do using the fun modules
    write a simple select statement like
    SELECT AVBELN AERDAT BPOSNR BMATNR
    INTO TABLE ITAB
    FROM VBAK AS A JOIN VBAP ON
    AVBELN = BVBELN
    WHERE A~VBELN  IN  S_VBELN AND
                 A~ERDAT  IN  S_ERDAT AND
                 B~POSNR IN S_POSNR.
    IF SY-SUBRC <> O.
      WRITE: / 'No data found'.
    ENDIF.
    First write this in SE38 by defining a proper selection screen and internal tables
    then do as fun module
    see the doc for fun module
    Function Modules;
    Check this matter.
    Function Modules are Global ABAP programs created by SAP for reusable purpose.they have IMPORT,EXPORT and TABLE parameters, and EXCEPTIONS to through when error occurs.
    You can create them from TCode SE37.
    Go through the following doc:
    Function modules are cross-program, reusable procedures that are organized into function groups, and whose functions are implemented between the statements FUNCTION and ENDFUNCTION. Function modules and their interfaces are created in the Function Builder.
    Function Module Interfaces
    The parameter interface of a function module is defined in the Function Builder. It includes the definition of interface parameters and the specification of exceptions that can be triggered by a function module. The Function Builder automatically generates comment lines below the FUNCTION statement in the source code of the function module, which represent the interface of the function module with the following syntax:
    Syntax
    ... [IMPORTING parameters]
    [EXPORTING parameters]
    [CHANGING parameters]
    [TABLES table_parameters]
    [{RAISING|EXCEPTIONS} exc1 exc2 ...]
    The syntax and semantics of IMPORTING, EXPORTING, CHANGING, RAISING, and EXCEPTIONS mainly correspond to the definition of method interfaces with [CLASS-]METHODS. The additional option of defining table parameters using TABLES is obsolete.
    Interface parameters
    The interface parameters are defined on the relevant tab pages in the Function Builder.
    IMPORTING parameters are input parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input parameter. The content of the actual parameter is passed to the input parameter when the call is made. The content of an input parameter for which 'pass by reference' is defined cannot be changed in the function module.
    EXPORTING parameters are output parameters. When the function module is called, a suitable actual parameter can be specified for every output parameter. The content of an output parameter that is defined for 'pass by value' is transferred to the actual parameter if the function module is completed without errors. An output parameter that is defined for pass by reference is not initialized when the function module is called.
    CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter.
    TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
    Exceptions
    The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
    The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
    The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
    Note
    For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
    RFC is a technology which is used to access a functions (Modules) from
    the remote systems.
    If a function module is set as remote enabled which can be access from
    the remote system via RFC.Eg: U can access the Remote enabled function modules in ur VB,Webdynpro,Java,Visual composer program.
    A function module can be set as remote enabled by SE37->Go to ur FM->click the option Button "remote enabled".
    But Normal function modules can not accessd from the remote system.
    Good Example for RFC enabled function module is : BAPI(Business Application Programming Interface)
    Note: All BAPIs are Remote enabled but not all remote enabled function modules are BAPI.
    CALLING A FUNCTION MODULE:
    1)In U ABAP Editor --> Click "Patter" ---> Selection Option Button "Call Function"
    --> Write the Corresponding FM name --> Hit Enter
    2)The appropriate import ,export Parameters will be displayed in ur editor
    3)Pass the Values Here.
    Also check these links.
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    See the following links:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    Regards
    Anji

  • GUI status for report

    Hi,
        I had created GUI status for output list in one report. its status is active in program but in report output this created status is not activated (Menu bar, application toolbar). Has anybody face this kind of problem before?
    Regards,
    Dilip

    hi,
    use command
    SET GUI-STATUS 'menu1' -> double click on menu1 ->select menu bar radio button from available radio buttons -> click on expand butt0n -> select required buttons n give function codes n select user-command optionfor those buttons ->activate -> back ->activate the report prgm.
    i think in our case you didn't activated the menu painter screen. check it once n dont forget to assign f.code n to give user-command after giving static text for buttons that u will use in prgm.
    if helpful reward some  points.
    with regards,
    suresh babu aluri.

  • Problem with OPERATION TEXT(LTXA1) uploading using BDC For C202 Transaction

    Hi Experts,
    Im presently doing a BDC for the trransaction C202 (Change Master Recipe),my task was to upload the 'OPERATION TEXT' field PLPOD-LTXA1 which is actually Long text to an existing master recipe from a flat file during updation of the 'OPERATION TEXT the number of lines i was able to were 34 which we number lines on the displayed page and while updating the 35th line using the concept of bdc table control it is failing to insert the update text.
    I used all the ok codes but failed to update more than 34 lines.So,can someone tell me how to update the longtext beyound it.
    This is the Screenshot of my problem:
    [BDC_C202_error|http://www.freeimagehosting.net/uploads/79af6bac49.jpg]
    Thanx in advance.

    Hi,
    There is a better way of doing the long text upload in SAP. In your BDC, if I change the text editor, the BDC will not work.
    Hence ,
    Use function module " Save_Text" to update long texts in SAP.
    Please check its FM documentation or perform a search for this FM in SDN for more clarity.
    Write back in case you face further issues.
    Regards,
    Rijuraj
    Edited by: Rijuraj Raju on Sep 10, 2010 3:05 PM

  • While using Status for Object button it is taking more than 15 mins to open

    Hi Gurus,
    We are trying to attach documents to ZBOS & OR types sales documents , while opening the Status for Object button of the sales order it is taking more than 15 mins to open , once it is opened it is working as normal.
    can you please let us know is it the system functionality because of which it is taking so much time to open or the problem  is with  something else.
    please let us also know whether it is  system impacting process.
    We are using 4.6C.
    Thank You,
    Boyeni.

    Hi Syed ,
    Greetings!!!...
    Thank you very much for your Swift response!.
    could you be so kind to let me know The Program that needs to be refreshed.
    Thank You once again for your Assistance.
    Boyeni.

  • Help with using variable for name of table in PLSQL block...

    I am trying to use a variable for the name of a table but getting errors ...i am sure I am close to the correct form here but something is wrong. I sure would appreciate some help!
    DECLARE
    ln_month Number;
    ln_day Number;
    ln_year Number;
    ls_year VarChar2(4);
    ls_prev_table VarChar2(30);
    ls_cur_table VarChar2(30);
    ln_prev_year Number;
    ls_prev_year VarChar2(4);
    ln_prev_month Number;
    BEGIN
    Select To_Number(To_Char(sysdate, 'MM')) into ln_month from dual;
    Select To_Number(To_Char(sysdate, 'DD')) into ln_day from dual;
    Select To_Number(To_Char(sysdate, 'YYYY')) into ln_year from dual;
    If ln_month = 01 Then
    ls_cur_table := "T_CPRS_FDW_CUR_JAN_ACTUALS";
    ls_prev_table := "T_CPRS_FDW_PREV_DEC_ACTUALS";
    ln_prev_year := ln_year - 1;
    /***above is where I am trying to use variables for assignement to years and months tables***//// ln_prev_month := 12;
    End If;
    /*------MORE IF STATEMENTS FOR EACH MONTH ---OF --THE YEAR ...AND its the following 2 variable statements that the compiler doesnt like! */
    If ln_day < 20 Then
    Delete from :ls_prev_table;
    INSERT INTO :ls_prev_table /*(STUFF TO BE INSERTED GOES HERE)*/
    HELP PLEASE!
    null

    Hi,
    The parser does not under variables directly in dml statements.u need to form a statement and the parse and execute the same...
    so the soln is
    Declare
    lv_stmt varchar2(250);
    Begin
    lv_stmt := 'Delete from '&#0124; &#0124;ls_prev_table;
    execute immediate lv_stmt;
    -- Same is the case with the insert stmt--
    End;
    This should solve ur problem.
    u could also give a direct call like
    execute immediate 'Delete from '&#0124; &#0124;ls_prev_table ;
    Note: This statement "execute immediate" holds good for oracle versions 8.x and above which makes the stmt very simple. For lower version u need to use the dbms_sql package to parse and execute the statement which has a series of statements for the same.
    Kiran

  • XML to Flat File DB Table So I and Others Can Use SSRS for Reporting

    I'm using a program called Orbeon Forms to quickly create and distribute forms on the local network.
    The program just recently got updated to Version 4.6 so as to use SQL Server DB as a backend. (I was using MySQL in a lower versions)
    The data created when you submit a form into the database is held in  xml fomat in one of the columns. (see below).
    I am trying to create a separate table, to pull that data from the xml column (for that particular form) and place it in to a seperate table using the xml tags as columns.
    I have no idea where to start or how to do this. Please keep in mind I'm a novice when it comes to sql server (but I do know how to do select statements :-)....
    Is this very difficult to do? If it is (for me at least) where can I go to get someone to do it for me along with the documentation to do it?  I was also thinking of a way to create a trigger on the Orbeon table (this is how it is setup currently in
    the MySQL database) to automagically insert any saved form data to the new form data table. Is this also difficult to do? And can I have a trigger for each form I create on the table?
    If anyone can help, I'd appreciate it. Thanks.
    I would eventually like to add the form data from the old MySQL database table into this new Orbeon table but it appears the upgrade also added two extra columns. I figuring once in the Orbeon table then I will have to run whatever statements to place into
    the separate table so I can use the data.
    Randy Marrero

    Erland thanks for the reply. Even after reviewing the link you sent I'm still having problems. Guess that is why I'm not a programmer. Anyway I've create a test data form xml I've created and it is copy and pasted below.
    Again I'm only really interested seeing if I can get the information out of the xml and create it in its own flat file table. I keep reading that creating a trigger (when the form gets submitted into this database in the xml format, an on insert trigger
    would take all the data submitted and inserted into another table with just the data, into separate columns)  for this is the best way but I'm not sure how to do this either. I have a copy of what the MySQL trigger would look like but keep running
    into errors when I try to run it in SQL Server.  Also the issue with how I would create another trigger if / when I create another form. I read somewhere I can only create one on insert trigger per table, still don't know this to be true. Anyway below
    is the xml as it is in the xml table in the database.
    XML STARTS HERE------------------
    <
    formxmlns:oxf="http://www.orbeon.com/oxf/processors"xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"xmlns:xh="http://www.w3.org/1999/xhtml"xmlns:xi="http://www.w3.org/2001/XInclude"xmlns:ev="http://www.w3.org/2001/xml-events"xmlns:saxon="http://saxon.sf.net/"xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:odt="http://orbeon.org/oxf/xml/datatypes"xmlns:fb="http://orbeon.org/oxf/xml/form-builder"xmlns:xxf="http://orbeon.org/oxf/xml/xforms"xmlns:xbl="http://www.w3.org/ns/xbl"xmlns:xpl="java:org.orbeon.oxf.pipeline.api.FunctionLibrary"xmlns:sql="http://orbeon.org/oxf/xml/sql"xmlns:p="http://www.orbeon.com/oxf/pipeline"xmlns:fr="http://orbeon.org/oxf/xml/form-runner"xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"xmlns:xf="http://www.w3.org/2002/xforms"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:exf="http://www.exforms.org/exf/1-0">
      <
    Header>
        <
    HHIFR_Patch>/fr/service/persistence/crud/bfp/permits/form/738433584d6c0aff25e0ab8ca1bd99bcc7e10b49.bin</HHIFR_Patch>
      </
    Header>
      <
    Permit_Number_Hdr>
        <
    Permit_Number>Test123</Permit_Number>
      </
    Permit_Number_Hdr>
      <
    Permit_Info_Hdr>
        <
    Permit_Date>2014-07-15-05:00</Permit_Date>
        <
    Permit_Station>HQ</Permit_Station>
        <
    Permit_Employee_Number>0676</Permit_Employee_Number>
        <
    Permit_Status>Active</Permit_Status>
        <
    Employee_Name>Randy
    Marrero</Employee_Name>
      </
    Permit_Info_Hdr>
      <
    Applicant_Info_Hdr>
        <
    Applicant_Name>Randy
    Marrero</Applicant_Name>
        <
    Applicant_Phone>8434741099</Applicant_Phone>
        <
    Applicant_Email>[email protected]</Applicant_Email>
      </
    Applicant_Info_Hdr>
      <
    Mailing-Address-Section>
        <
    Mailing_Address>40
    Summit Dr</Mailing_Address>
        <
    Mailing_Suite/>
        <
    Mailing_City>Hilton
    Head Island</Mailing_City>
        <
    Mailing_State>SC</Mailing_State>
        <
    Mailing_Zip>29926</Mailing_Zip>
      </
    Mailing-Address-Section>
      <
    Physical_Burn_Hdr>
        <
    Physical_Address>35
    Summit Dr</Physical_Address>
        <
    Physical_Suite/>
        <
    Physical_City>Hilton
    Head Island</Physical_City>
        <
    Physical_State>South
    Carolina</Physical_State>
        <
    Physical_Zip>29926</Physical_Zip>
      </
    form>
    XML ENDS HERE ------------
    Randy Marrero

Maybe you are looking for

  • How can I add a row into a JTable with JButton

    Hi all. I have the following code: package gui; import db.*; import javax.swing.table.AbstractTableModel; import java.util.ArrayList; public class FoundersTable extends AbstractTableModel{     private static final int COLUMNS = 8;     private String

  • M175nw during s/w reinstall - unable to communicate with product

    Windows 7 64-bit / LaserJet 100 MFP M175nw / firmware 20120806 / all device resets done / software uninstalled after broadband hub replaced / re-install undertaken with McAfee firewall OFF / install undertaken with D-Link hub firewall also OFF Softwa

  • Oracle 8.1.7 on Redhat 9: Tns Listener TNS-12545, TNS-12560, TNS-005 errors

    I have installed Oracle 8.1.7 on RH9 following Arothmel at www3.sympatico.ca/arothmel with success. The database is created, and oracle can be lunch without problem but "lsnrctl start" give errors: [oracle@padbd oracle]$ lsnrctl start LSNRCTL for Lin

  • HT201359 How do you know what's left on your gift certificate?

    I've purchased various items, but short of adding up everything I've bought, is there a way of seeing what credit is left on my iTunes card?

  • Memory leak with CursoredStream

    I want, first, to write a large collection of data in a file, and second, remove all these data. I use CursoredStream to manage them. I first use mark() method before iterate throw values with while (hasMoreElements()) { nextElement(); } loop, and se