Exporting test data in OTM

Hello,
I have created some test datas (req.s,tests etc) in my OTM.Suppose if I am reinstalling OATS,how can i get this test data in the new OTM.Can i export this test data to some .csv(windows) format,so that i can use by importing in to OTM.
Can anyone help me in this topic?

Hi,
All the data is stored on a database all you need to do during the upgrade is point to the old database instead of creating a new one.
if you are upgrading from a Microsoft based database to an Oracle database there is a data migration utility.
You don't need to do anything manually.
Once you have finished the upgrade you will need to login in the admin app http://localhsot:8088/admin with a user that has administrator rights, as this will take care of any DB upgraded that needs to be applied.
Regards
Rajesh

Similar Messages

  • Exporting test data from Oracle Test Manager

    Hi,
    I have created some test datas (req.s,tests etc) in my OTM.Suppose if iam reinstalling OATS,how can i get this test data in the new OTM.Can i export this test data to some .csv(windows) format,so that i can use by importing in to OTM.
    Can anyone help me in this topic?
    Alex,can you please?
    Thanks,
    Sandeep.

    Sandeep
    All the data is stored on a database all you need to do during the upgrade is point to the old database instead of creating a new one.
    if you are upgrading from a Microsoft based database to an Oracle database there is a data migration utility.
    You don't need to do anything manually.
    Once you have finished the upgrade you will need to login in the admin app http://localhsot:8088/admin with a user that has administrator rights, as this will take care of any DB upgraded that needs to be applied.
    Regards
    Alex

  • So_new_document_att_send_api1....please give me test data

    Hi Experts,
    i am using so_new_document_att_send_api1 FM for send a mail to users with out any attachment,
    plz give me test data , why i am using so_new_document_att_send_api1    instead of so_new_document_send_api1 , due to i need text in BOLD.  i can send data in HTML format.
    plz help me on this issue.
    Thanks.

    Hi,
    I have mentioned the use of u r FM's are
    SO_NEW_DOCUMENT_ATT_SEND_API1 - Sends emails with texts and attachments
    SO_NEW_DOCUMENT_SEND_API1 - Sends emails with texts.
    check the follwing example..
    It will be useful to u....
    CONSTANTS : C_HIGH TYPE SODOCCHGI1-PRIORITY VALUE '1' .
    DATA : I_CONTENT TYPE TABLE OF SOLISTI1  ,
    I_REC TYPE TABLE OF SOMLRECI1 .
    DATA : WA_DOCDATA TYPE SODOCCHGI1 ,
    WA_CONTENT TYPE SOLISTI1   ,
    WA_REC     TYPE SOMLRECI1  .
    FILL DOCUMENT DATAWA_DOCDATA-OBJ_NAME    = 'MESSAGE' .
    WA_DOCDATA-OBJ_DESCR   = 'test'    .
    WA_DOCDATA-OBJ_LANGU   = 'E'       .
    WA_DOCDATA-SENSITIVTY  = 'F'       .
    WA_DOCDATA-OBJ_PRIO    = C_HIGH    .
    WA_DOCDATA-NO_CHANGE   = 'X'       .
    WA_DOCDATA-PRIORITY    = C_HIGH    .
    FILL OBJECT CONTENTCLEAR WA_CONTENT .
    WA_CONTENT-LINE = 'test mail' .
    APPEND WA_CONTENT TO I_CONTENT .
    FILL RECEIVERSCLEAR WA_REC .
    WA_REC-RECEIVER = SY-UNAME .
    WA_REC-REC_TYPE = 'B'.
    APPEND WA_REC TO I_REC .
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA              = WA_DOCDATA
      TABLES
        OBJECT_CONTENT             = I_CONTENT
        RECEIVERS                  = I_REC
      EXCEPTIONS
        TOO_MANY_RECEIVERS         = 1
        DOCUMENT_NOT_SENT          = 2
        DOCUMENT_TYPE_NOT_EXIST    = 3
        OPERATION_NO_AUTHORIZATION = 4
        PARAMETER_ERROR            = 5
        X_ERROR                    = 6
        ENQUEUE_ERROR              = 7
        OTHERS                     = 8.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Kiran

  • How can we export table data to a CSV file??

    Hi,
    I have the following requirement. Initially business agreed upon, exporting the table data to Excel file. But now, they would like to export the table data to a CSV file, which is not being supported by af:exportCollectionActionListener component.
    Because, when i opened the exported CSV file, i can see the exported data sorrounded with HTML tags. Hence the issue.
    Does someone has any solution for this ... Like, how can we export the table data to csv format. And it should work similar to exporting the data to excel sheet.
    For youre reference here is the code which i have used to export the table data..
    ><f:facet name="menus">
    ><af:menu text="Menu" id="m1">
    ><af:commandMenuItem text="Print" id="cmi1">
    ><af:exportCollectionActionListener exportedId="t1"
    >title="CommunicationDistributionList"
    >filename="CommunicationDistributionList"
    >type="excelHTML"/> ---- I tried with removing value for this attribute. With no value, it did not worked at all.
    ></af:commandMenuItem>
    ></af:menu>
    ></f:facet>
    Thanks & Regards,
    Kiran Konjeti

    Hi Alex,
    I have already visited that POST and it works only in 10g. Not in 11g.
    I got the solution for this. The solution is :
    Use the following code in jsff
    ==================
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="text/csv; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    OR
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="application/vnd.ms-excel; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    And place this code in ManagedBean
    ======================
    > public void test(FacesContext facesContext, OutputStream outputStream) throws IOException {
    > DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    >DCIteratorBinding itrBinding = (DCIteratorBinding)dcBindings.get("fetchDataIterator");
    >tableRows = itrBinding.getAllRowsInRange();
    preparaing column headers
    >PrintWriter out = new PrintWriter(outputStream);
    >out.print(" ID");
    >out.print(",");
    >out.print("Name");
    >out.print(",");
    >out.print("Designation");
    >out.print(",");
    >out.print("Salary");
    >out.println();
    preparing column data
    > for(Row row : tableRows){
    >DCDataRow dataRow = (DCDataRow)row;
    > DataLoaderDTO dto = (DataLoaderDTO)dataRow.getDataProvider();
    >out.print(dto.getId());
    >out.print(",");
    >out.print(dto.getName());
    >out.print(",");
    >out.print(dto.getDesgntn());
    >out.print(",");
    >out.print(dto.getSalary());
    >out.println();
    >}
    >out.flush();
    >out.close();
    > }
    And do the following settings(*OPTIONAL*) for your browser - Only in case, if the file is being blocked by IE
    ==================================================================
    http://ais-ss.usc.edu/helpdoc/main/browser/bris004b.html
    This resolves implementation of exporting table data to CSV file in 11g.
    Thanks & Regards,
    Kiran Konjeti

  • How to export the data from table to excel sheet

    hi experts i have some problem am trying to export the data fro table to Excel sheet  in the view controller i have created one button wit public void onActionCLEAR(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCLEAR(ServerEvent)
       //wdContext.nodeBapi_Salesorder_Getlist_Input().
       //wdContext.nodeBapi_Salesorder_Getlist_Input().invalidate();
        //@@end
      //@@begin javadoc:onActionExporToExcel(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionExporToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExporToExcel(ServerEvent)
         try{
         FileOutputStream fos=new FileOutputStream("Test.xls");
          PrintStream ps=new PrintStream(fos);
          ps.println("<html><body><table border=1>");
          int size=wdContext.nodeBapi_Salesorder_Getlist_Input().size();
           Iterator attributes=wdContext.getNodeInfo().iterateAttributes();
           ps.println("<tr>");
           while(attributes.hasNext()){
            ps.println("<th>");
            DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
            ps.println(attrName.getName());
            ps.println("</th>");
           ps.println("</tr>");
          for(int i=0; i<wdContext.nodeBapi_Salesorder_Getlist_Input().size();i++)
            attributes=wdContext.getNodeInfo().iterateAttributes();
            ps.println("<tr>");
            IWDNodeElement ele=wdContext.getElementAt(i);
            while(attributes.hasNext()){
              ps.println("<td>");
              DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
              ps.println(""+ele.getAttributeAsText(attrName.getName()));
              ps.println("</td>");
            ps.println("</tr>");
           ps.println("</table></body></html>");
           ps.flush();
           ps.close();
           fos.close();
          catch(Exception e){
           wdComponentAPI.getMessageManager().reportException(e.getMessage(), false);
          finally{
         //return("Test.xls")  ;
        //@@end
      }h action and i have return the code
    its running sucessfully but am not able to perform the action plz help me

    Hi,
    You shouldn't use DataAttributeInfo as it is an internal object, if I'm correct.
    Use IWDAttributeInfo instead of DataAttributeInfo and it should work
    (See also API doc of IWDNodeInfo.iterateAttributes() at http://help.sap.com/javadocs/nwce/ce711sp02/wdr/com.sap.wdr/com/sap/tc/webdynpro/progmodel/api/IWDNodeInfo.html#iterateAttributes())
    Cheers,
    Robin

  • Export table data in a flat file without using FL

    Hi,
    I am looking for options where I can export table data into a flat file without using FL(File Layout) i.e., by using App Engine only.
    Please share your experience if you did anything as this
    Thanks

    A simple way to export any record (table/view) to an csv fiel, is to create a rowset and loop through all record fields, like below example code
    Local Rowset &RS;
    Local Record &Rec;
    Local File &MYFILE;
    Local string &FileName, &strRecName, &Line, &Seperator, &Value;
    Local number &numRow, &numField;
    &FileName = "c:\temp\test.csv";
    &strRecName = "PSOPRDEFN";
    &Seperator = ";";
    &RS = CreateRowset(@("Record." | &strRecName));
    &RS.Fill();
    &MYFILE = GetFile(&FileName, "W", %FilePath_Absolute);
    If &MYFILE.IsOpen Then
       For &numRow = 1 To &RS.ActiveRowCount
          &Rec = &RS(&numRow).GetRecord(@("RECORD." | &strRecName));
          For &numField = 1 To &Rec.FieldCount
             &Value = String(&Rec.GetField(&numField).Value);
             If &numField = 1 Then
                &Line = &Value;
             Else
                &Line = &Line | &Seperator | &Value;
             End-If;
          End-For;
          &MYFILE.WriteLine(&Line);
       End-For;
    End-If;
    &MYFILE.Close(); You can of course create an application class for generic calling this piece of code.
    Hope it helps.
    Note:
    Do not come complaining to me on performance issues ;)

  • Reinstall Data Warehouse to remove test data

    We are wanting to go live with SCSM soon, hopefully in a couple of weeks.
    Unfortunately, we don't have the infrastructure in which I was able to setup a test and production environment. I've managed to remove the test data out of the ServiceManager database via the SMLets, but we are wanting to remove the test data out of the
    data warehouse as well. I've attempting manually deleting from the database (I know unsupported), though this did not work and just gave many database errors (as expected).
    What I'm wondering is if it's possible to uninstall/reinstall the DW. Upon reinstall, I know I would need to likely re-register it with SCSM.
    In doing this, will all of the custom classifications/statuses/templates/etc stay in place?
    Once installed, would all of the sync jobs pick up as expected and sync the current data in the Service Manager (No incidents/Changes/etc) to the DW?
    We have all databases/Service Manager/Portal running on one server. DW running on a 2nd server.
    If anyone could provide some insight around this, it would be much appreciated. Any direction towards documentation would also be great!
    Thanks

    The best scenario (and my recomendation) would be to export and take backup of all your management packs, reinstall the entire Service Manager environment and import them again. In that way you should be able to get a fresh, functional Service
    Manager and all your settings would be retained.
    However, to answer your question, you would need to:
    - Unregister with SCSM DW
    - Uninstall DW
    - Delete the three DW databases
    - Install DW
    - Register with DW
    This would not affect any settings in your SCSM environment and you would have an empty DW.
    Regards
    //Anders
    Anders Asp | Lumagate | www.lumagate.com | Sweden

  • While Export the data to MS Word - How to avoid the Frames ???

    Hi All,
    I export the data from Crystal Report XI to Word document (doc) file , i used Text objects in the Report , in document file it's converted to  Frames and overlapped with other frames(so some data are hidden). is it possible to avoid the frames while exporting the report to word document.
    Thanks in advance.
    J.Baski

    Hello,
    It would be better if you format your report so your objects do not overlap but I realize sometimes it can't be avoided.
    Other option is to upgrade to CR XI R2 and test again, it is a free upgrade.
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Other option is to export to Word Editable may be a solution for you also.
    Thank you
    Don

  • Exporting form data to a single table

    I have created a form in LiveCycle Designer ES 8.2  and simply want to export the data into a single table that I can then import into Access. It appears that in LiveCycle the row elements of a table are children of the table element and the column elements are children of the row elements.  I am wondering if there is an easy way to design a form in LiveCycle so that each cell of a table is a root element like the rest of the fields in the form.  I basically want to export one row of data from each form and append it to a larger table. Exporting the data as csv or tab-delimited would be sufficient, but neither of these appears to be an option.

    The only way I've found to do this is to open the form in Acrobat, click Forms, mouse over Manage Form Data, then click Export Data. Your only options are to save as .xml or .xdp. I saved my data as .xml. I was then able to import the .xml file into excel by clicking Data, mousing over xml, clicking Import... and browsing to the Acrobat generated .xml file. I know this is convoluted but it's the only way I've found to get the data into a spreadsheet. Acrobat exports the data as filename_data.xml, i.e. a form named contacts will export it's data as contacts_data.xml. Be aware, I've only tested this on a form that had a table in it and nothing else. If your table is part of a form with other fields in it I have no idea how the other data will look after exporting.

  • How could Ecatt support a FM which has export parameter data type as any

    Hi,
    I have created a FM which has export parameter data type as 'Type ref to data'.
    The actual paremeter value for this export parameter is a dynamically generated internal table, which does not have a abap dictionary data type.
    Could I use the 'FUN' ecatt command to test this FM?  How could I get this reference export parameter?
    Thanks a lot in advance!

    Hi,
    Wouldn't it be enough if you define parameter in test data container as reference to table type with structure of type c(1000)  (or more/less characters depending on how much data you need to pass)?
    I'm not 100% sure if filling this table with data will work (this is reference after all) but if this is an issue than create 2 parameters: 1 of table type and second of reference type. Then inside your script before FUN use ABAP...ENDABAP to assign your table parameter to reference parameter and use second one as input for FUN command.
    I think that either first or second solution should work.
    Best regards
    Marcin Cholewczuk

  • How to export test cases into oracle test manager

    hi
    present i am learning this tool help plz
    how to export test cases into oracle test manager
    Edited by: 799636 on Oct 5, 2010 7:11 AM

    Create a script in openScript and save it to a workspace (a shared directory on the OTM server). To add an Oracle OpenScript test to OTM:
    1.Select the Tests tab.
    2.Click the Add button.
    3.Enter a name for the test.
    4.Select Oracle OpenScript in the Type field.
    5.Click Find to display the Select Script dialog box.
    6.Select the Repository and Workspace.
    7.Select the Oracle OpenScript script that you want to add.
    8.Click OK.
    9.Select the owner and priority and enter any descriptive information in the Functionality and Description fields.
    10.Click Save.
    Regards,
    Jamie

  • VBA Project Export Resource data vith TimeScaleData ON FILTERED TASK

    Hello,
    I have been using the common code you can find at the following website to export resources data using the TimeScaleData function :
    http://zo-d.com/blog/archives/programming/analyze-microsoft-project-resource-usage-data-in-excel.html
    It works fine. Now, I need to do the same export but at the same time, I need to filter some tasks by a specific value in the Text1 column for example. Thus, I would like to extract the resources data, not on the all tasks, but only on filtered tasks.
    How is it possible ?
    I tried to setup a filter by VBA, but the filter is not take in account. The TimeScaleData retrieved the value of the all tasks and not only of the filtered tasks.
    FilterEdit Name:="Filtre 3", TaskFilter:=True, Create:=True, OverwriteExisting:=True, FieldName:="Texte1", Test:="Égal à", Value:="TITI", ShowInMenu:=True, ShowSummaryTasks:=False
    FilterApply Name:="Filtre 3"
    Can you help me ?
    So sorry for bad English.
    Thank you.
    Emmanuel

    Emmanuel,
    Jack's macro loops through all the resources but your filter is a task filter, so even though you may see the filtered Gantt Chart view, the macro still exports all resource data. What exactly do you want to do?
    John

  • Exporting LDIF Data in gunzip format

    Hi All,
    When you export suffix data, if the filename of the export file ends with .gz, ODSEE automatically compresses the file.
    [http://docs.oracle.com/cd/E35622_01/html/821-1216/whatsnew7.html#scrolltoc].
    I tried exporting the suffix data in .gz format using below command:
    ./dsconf export -h host -p port "dc=test,dc=com" /home/oracle/test.gz
    Although it created the file but I was not able to see the contents and gunzip command throwed me the error "not in gzip format".
    So, does this command work, I mean export the data in .gz format or I am missing something here?
    I was able to export the data in ldif using the same command.
    Regards,
    Sunny

    My bad, the file name has to be test.ldif.gz.

  • Sandbox system- Test data

    Hi,
    I am not sure which section to post this thread.
    Can anybody provide me with a document, that gives the basic steps to be configured in a sandbox system to create test data.
    We have a sandbox system installed and we have the test data in text files related to SD,MM,FI and IS-Retail modules around 280 tables.
    I need to know the basic configuration that has to be made for an IDES system to import all this test data and what is the easiest method for importing all these flat files and prepare it as a test system. The client wants this to be done in 2 or 3 days. I am not sure if that is possible.
    Could anybody please advice
    Regards,

    > Source System(Production): Solaris 10/Oracle (NW SP17 and ECC 6.0 with Ehp3(DIMP, SAP-APPL and EA-APPL)
    > Target System(Sandbox)   : Windows 2K3/Oracle
    > 1. Since we are having Ehp3 in source system, is there any impact while doing the system copy?
    > 2. How to prepare the target system with same patch level of SAP software components as our source system
    You can't do the system copy as "I install a new system and overwrite the database".
    There are a few points to consider:
    a) a heterogeneous system copy requires a certified migration consultant on-site, otherwise you'll loose support for problems during the migration and for the target system (see http://service.sap.com/osdbmigration and Hinweis 82478 - SAP System OS/DB Migration).
    b) the only supported way of doing such a migration is using R3load as the tool of choice. You'll have to start sapinst on the source system, export your database and import it into the target system
    c) direct database copies are not possible (Solaris SPARC is a BigEndian platform, Windows is LIttleEndian, Windows won't be able to open the files created by Solaris)
    Markus

  • How to export&import data using sql *loader

    Hi all,
    How to export&import data from sql*loader. Give me the clear steps..
    Thanks in Advance

    Hi did you already exported data from SQL SERVER? if not using SQL*LOADER you cannot export data. SQL*LOADER is only mean for importing data from flat files(usually text files) into ORACLE tables.
    for importing data into oracle tables using sql*loader use below steps
    1) create a sql*loader control file.
    it looks like as follows
    LOAD DATA
    INFILE 'sample.dat'
    BADFILE 'sample.bad'
    DISCARDFILE 'sample.dsc'
    APPEND
    INTO TABLE emp
    TRAILING NULLCOLS
    or for sample script of control file search google.
    2) at command prompt issue following
    $ sqlldr test/test
    enter control file=<give control file name which you create earlier>
    debug any errors (if occured)

Maybe you are looking for

  • G62 can't find drivers for USB mouse

    For some reason I can't get my wired mouse OP-35D to work with Windows 7. When I plug it in ti the USBslot the PC can identify that its a USB mouse but can't find any drivers. I've downloded drivers from the manufacturers homepage but it's still not

  • Condition value in PO

    hi all, i have an issue regarding pricing condition, when i am doing PO, condition is automatically picking from vendor master record and purchase info record. thr is a condition type called rounding off value- zrou, supose net price is 19.90, i am g

  • ORACLE_PATH on dos

    Hi, I've just downloaded oracle onto my PC, having used oracle for years on unix. One of the first things I tried to do was to set my ORACLE_PATH variable, so I can run scripts from anywhere. But when I go into sqlplus, it doesn't see that variable.

  • What r the steps to create task based user interface for interaction center

    Hi all,             Can any one please let me know the steps to create task based user interface for interaction center? It would be great             if anyone can share document with step by step. Thanks, Baasanthi

  • Photoshop CS5 and APP-V = Fail

    Hi, I'm trying to sequence Photoshop CS5 but I'm not having much of a success. The sequencing hangs and never finishes, and it seems to be because of the CS5ServiceManager starting and messing things up. I have not found a way around this and I'm jus