Ecatt integration of scripts SAPGUI
Hi,
Using ecatt SAPGUI mode is it possible to integrate two steps in a single script. Say for example
Step 1. post a GL transaction like in (SD creation of a sales order)
Step 2 reverse the above generated document in (SD create a delivery)
The usual procedure is to create two different unit scripts one script for creation of a GL transaction (creation of a sales order) and thre second script for creation of reversal posting (creation of delivery). In the third script integrate both the scripts for creation of a GL transaction and reversing the document (like in SD creation of sales order and as well as delivery). Is there any possibility of creating only one script which includes both creation of a sales order and create a delivery or posting a GL document and reversing the document
Regards,
Manoj
Hello,
Its possible , by recording the operations one after the other.
IF ( '' = '').
creation of a sales order
ENDIF.
IF ('' = '' ).
create a delivery or posting a GL document
ENDIF.
IF ('' = '' ).
reverse
ENDIF.
However this is not the ideal way of doing it from the reusable prespective.
Each of this operation has to be recorded in seperate scirpts and has to called in your process script.
Thanks & Best regards,
Ajay
Similar Messages
-
Using FDM to load data from oracle table (Integration Import Script)
Hi,
I am using Integration Import Script to load data from oracle table to worktables in FDM.
i am getting following error while running the script.
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done
Attaching the full error report
ERROR:
Code............................................. -2147217887
Description...................................... Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
At line: 22
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 6260
IDENTIFICATION:
User............................................. ******
Computer Name.................................... *******
App Name......................................... FDMAPP
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... DBNAME
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SCRTEST
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... FDM ACTUAL
Category ID...................................... 13
Period........................................... Jun - 2011
Period ID........................................ 6/30/2011
POV Local........................................ True
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
I am using the following script
Function ImpScrTest(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Oracle Hyperion FDM Integration Import Script:
'Created By: Dhananjay
'Date Created: 1/17/2012 10:29:53 AM
'Purpose:A test script to import data from Oracle EBS tables
Dim cnSS 'ADODB.Connection
Dim strSQL 'SQL string
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs object
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
'Connect to SQL Server database
cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= +server+;Initial Catalog= +catalog+;User ID= +uid+;Password= +pass+"
'Create query string
strSQL = "Select AMOUNT,DESCRIPTION,ACCOUNT,ENTITY FROM +catalog+.TEST_TMP"
'Get data
rs.Open strSQL, cnSS
'Check for data
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records to load!"
Exit Function
End If
'Loop through records and append to tTB table in location’s DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = RES.PlngCatKey
rsAppend.Fields("PeriodKey") = RES.PdtePerKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Amount") = rs.fields("Amount").Value
rsAppend.Fields("Desc1") = rs.fields("Description").Value
rsAppend.Fields("Account") = rs.fields("Account").Value
rsAppend.Fields("Entity") = rs.fields("Entity").Value
rsAppend.Update
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "Import successful!"
'Assign Return value
SQLIntegration = True
End Function
Please help me on this
Thanks,
Dhananjay
Edited by: DBS on Feb 9, 2012 10:21 PMHi,
I found the problem.It was because of the connection string.The format was different for oracle tables.
PFB the format
*cnss.open"Provider=OraOLEDB.Oracle.1;Data Source= servername:port/SID;Database= DB;User Id=aaaa;Password=aaaa;"*
And thanks *SH* for quick response.
So closing the thread......
Thanks,
Dhananjay -
Schedule a SQL Integration Import Script
Hey Everyone! I need some help from the FDM community.
I am currently using FDM 11.1.2.1 and using the Hyperion Essbase adapter to load data to a Planning/Essbase application. I have successfully created a SQL integration import script that connects directly to Oracle EBS, and have manually tested the process up-to-check of the workflow. However, I would like to schedule this process on a nightly basis. I am aware of the batch processing task scheduler and have used it previously, but I am obviously not dumping flat files into the OpenBatch directory nor am I using the Custom General script usually associated with Batch Processing. So, is there a Custom General script that I can use to call on the import integration script so I can schedule such a process?
Please let me know, and thank you for your time!
Sincerely,
CraigYou can do this with the batch. You just create a blank text file with the proper naming convention for the POV you are going to kick off the integration script for and place it in Open batch. The batch will then execute the integration script for the POV when executed.
-
FDM - Building Integration Import Scripts
Hi All,
I am trying to write an Integration Script to load SQL Server data into FDM 9.3.1. The script initialises a recordset object for the worktable that the source SQL Server data is loaded into.
The statement at which my script fails is:
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)*
I have followed the sample script documented in the FDM Admin Guide.
Does anyone have ideas as to why the script fails at this statement?
Thanks,Hi everyone,
I was wondering if sending the sample code would help get a clearer picture....
Function CTIDB2Test(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Hyperion FDM Integration Import Script:
'Created By: admin
'Date Created: 2/19/2009 1:16:59 PM
'Purpose: This import integration script connects to the CentroODS database
' and imports Actuals data from the generalLedgerMasterFile and glMasterAccount table into FDM
Dim cnSS 'ADO Connection object
Dim strSQL ' SQL String
Dim rs ' Source System recordset
Dim rsAppend ' FDM recordset
Dim sPOVString
Dim sPOVPeriod
Dim sDataCol
' Initialise the ADO objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.RecordSet")
Set rsAppend = DW.DataAccess.farsTableAppend(strWorkTableName)
The script fails at the statement:
Set rsAppend = DW.DataAccess.farsTableAppend(strWorkTableName)
Thanks -
ECATT integration with solution Manager
Hello Colleagues,
Please let me know if any of you have worked on integration between Solution Manager and eCATT.
I have the scripts in eCATT system now i need to run these scripts from Solution Manager system in the target system.
Any info would be of great help.
Thanks,
AjayHello Ajay,
Have you seen these links?
http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/7e/8186fa137998448de956476b8cecdc/frameset.htm
http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/de/50e848f5f311d5997000508b6b8b11/frameset.htm
http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/48/e151fddb163184e10000000a421937/frameset.htm
http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/59/f49e6fe97711d5995d00508b5d5211/frameset.htm
http://help.sap.com/saphelp_sm70ehp1_sp23/helpdata/en/cb/cb3a3e5069eb6ce10000000a114084/frameset.htm
These links are from the Solution Manager Help Library, so the information is specific to Solution Manager for eCATT
Regards,
Paul -
ECATT integration with Mercury QuickTest for SAP
For the past few months I have been evaluating Quick Test Professional from Mercury and eCATT (extended Computer Aided Testing Tool) from SAP as testing tools for SAP. Mercury has a strong partnership with SAP and the two companies have offered ways to integrate their two products. Has anyone ever used eCATT in conjunction with QTP? What are your thoughts on this partnership? Is it worth $10,000 to pick up Mercury's QTP when SAP's eCATT is Free with SAP? I think the functionality is comparable, although QTP is easier to use and can interact with 3rd party applications. If anyone has used both QTP and eCATT, do you think these two tools are an either/or option or do they compliment each other?
Ben,
Good to hear you liked the article. Look out for another contribution in SPJ in the near future
I have attempted to answer your questions - all prefixed with <b>==> SAP (JM)</b> in your original text:
This document describes the functionality, abilities and benefits that would be lost in an SAP automated testing solution that excludes Mercurys QuickTest. Assuming that SAPs eCATT is the only tool used for SAP testing there will be the following limitations:
Script Creation
SAP eCATT cannot record certain types of report screens in TCD(Record) mode. i.e. MB58(view stock levels)
<b>==> SAP (JM):</b> This is true - but you can use the SAPGUI command, which uses the same technical interface as QTP.
Although the active screen simulator in eCATT contains data, it is usually not visible and the user has to guess where to click in order to capture a value. The other option is to forgo the active screen and do all of the work through the command interface.
The active screen in QuickTest allows the user to see the exact state of the screen that was recorded and access the fields in that screen.
<b>==> SAP (JM):</b> A valid criticism of eCATT. From Release 6.40 (SAP NetWeaver 04), a script-wide search function makes using the command interface easier.
The recorded script is one command, (i.e. TCD(VA01, VA01_1) is the command for an entire sales order), therefore Scripting logic must be placed before, after or around a transaction. There is less freedom in scripting inside of a transaction.
In the Expert view of QTP users can add or delete visual basic statements during any portion of the transaction. Each step, down to a click or keystroke is recorded as an individual statement that can be modified or deleted. Logic such as loops and conditions can be placed around any set of steps.
<b>==> SAP (JM):</b> Using the SAPGUI command in eCATT, you can create commands that cover a single screen, providing more of the kind of flexibility that you find in QTP.
The eCATT tool does not allow individual steps in a single transaction recording to be rearranged or deleted. If a user makes a mistake while recording, the entire transaction must be re-recorded.
QuickTest allows users to freely remove steps that were mistakes or errors after a transaction has been recorded.
<b>==> SAP (JM):</b> Again, using SAPGUI in eCATT, this is possible. Admittedly tricky in Release 6.20, but very simple in Web AS 6.40.
SAPs eCATT cannot inherently read excel spreadsheets for data driven testing. The eCATT tool allows for data driven testing through its own data tables. These are useful for entering small sets of data. For eCATT to test large sets of data created in excel spreadsheets there are three solutions:
1. Purchase conversion software from SAP
2. Write an in-house conversion script
3. Enter data manually into the eCATT data table
QuickTest stores its data table as an excel-readable .xls file.
<b>==> SAP (JM):</b> 1. Who is selling the conversion software?
<b>==> SAP (JM):</b> You can use the class CL_GUI_FRONTEND_SERVICES to upload a tab-delimited file into an internal table in a test script (using an Inline ABAP routine)
<b>==> SAP (JM):</b> Data upload/download is available in Web AS 6.40
Test scripts in eCATT are limited to about 40 parameters.
In QucikTest the only limitation to the number of parameters or number of iterations is the maximum number of columns and rows in an excel worksheet.
<b>==> SAP (JM):</b> Where does this limitation come from? Does it seem to be technical, or more practical in nature?
Scripts that enter a single line item in a table cannot be modified to enter multiple items later. A new script with multiple line items must be recorded.
A script in QTP can be modified to add a single line item or multiple line items to a table regardless of how many items were entered when the transaction was recorded.
<b>==> SAP (JM):</b> This is possible in eCATT if you use the SAPGUI command. Because a single SAPGUI command can cover a small part of a transaction, you can isolate the "line item" section in a single command, then put a loop around it. I have an example of this if you need one.
Script Execution and Analysis
SAP eCATT will respond with a pass/fail status based on its own criteria before any checkpoints have been added. Although eCATT allows for additional checkpoints, there is a minimum level of pre-set requirements that eCATT looks for in order to allow a test to pass. These pre-set requirements cannot be viewed or changed and tests may fail even when, from the users perspective, the transaction has responded exactly as expected.
Quick Test will only fail a test if the script if it was unable to recognize an object on the screen or complete every statement. Otherwise failure points are completely determined by the insertion of check points by the Test engineer. QuickTest also provides the option to ignore missing objects or uncompleted steps.
<b>==> SAP (JM):</b> Default conditions in eCATT (for example, fail if an error message occurs) can be overwritten. See eCATT documentation on http://help.sap.com for details (use the NetWeaver 2004 documentation - it is more comprehensive). Then, the only conditions under which the test would fail automatically would be a system error (RFC destination not available, or similar)
If SAP experiences a system failure, eCATT will fail too and test results may be lost.
If SAP were to crash QuickTest can take a screenshot and pinpoint the location in the code where the script failed.
<b>==> SAP (JM):</b> If you are working remotely (test case and application under test in different systems) you will get a log in the central test system, even if the SUT fails. The only circumstances under which everything is lost would be a full GUI crash!
eCATT cannot use the SAP logon pad to open a new session and log on as a new user.
In QuickTest new sessions can be opened and different users can be logged in with encrypted passwords.
<b>==> SAP (JM):</b> eCATT uses System Data Containers and RFC destinations to log onto multiple systems as a specified user. This is more flexible than using hard-coded user names in a script and allows you to leverage concepts such as Trusted RFC or SSO.
Aside from printing results on paper, users cannot view test results without an SAP logon to the system where the tests were executed.
Mercury provides a test viewer that can be installed on any machine and allows users without the QuickTest application to view and analyze test results.
<b>==> SAP (JM):</b> eCATT logs can be downloaded in a variety of formats from the log view in transaction SECATT (via the Print Preview function, then List -> Save).
Cannot view a screenshot of the failed step.
QuickTest provides the option to capture a screen shot at the point of failure.
<b>==> SAP (JM):</b> Again, a valid criticism. This has been rectified for the next release of eCATT (will be available with Solution Manager 4.0). When playing back a SAPGUI command, you will be able to capture screenshots at various points in time ranging from "every screen" to "on error". -
FDM - Integration IMPORT script failed
Hi,
We are on 11.1.2.1.
I am trying to create a import integration script which i took from the FDM admin guide...and i am trying to pull data from Oracle table...
But i am getting error as "Data access error" and its in the below line when i try to execute the code form the workbench...but when i use the import button in the web its importing....*i beleive its somethign related to the STRWORKTABLENAME and somewhere i read that i need to declare the function FARSTABLE*...but i dont know how as i am pretty novice to that....can you please help me....
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
also when i checked the error log i saw
*** Begin FDM Runtime Error Log Entry [2012-07-03 07:06:27] ***
ERROR:
Code............................................. -2147467259
Description...................................... ORA-00903: invalid table name
Procedure........................................ clsDataAccess.farsTableAppend
Component........................................ upsWDataWindowDM
Version.......................................... 1112
Thread........................................... 20228
Below is the complete code i am using
Function SI_ActualLoad(strLoc, lngCatKey, dblPerKey, strWorkTableNam)*
*+'------------------------------------------------------------------+*
+'Oracle Hyperion FDM IMPORT Integration Script:+
+'+
+'Created By: admin+
+'Date Created: 2012-06-01 01:19:02+
+'strWorkTableName+
+'Purpose:+
+'strWorkTableName+
*+'------------------------------------------------------------------+*
Dim cnSS 'ADO connection Object*
Dim strSQL 'SQL String*
Dim rs 'Source system recordset*
Dim rsAppend 'Hyperion FDM recordset*
Dim monthvar*
+'Initialize ADO objects+
Set cnSS = CreateObject("ADODB.Connection")*
Set rs = CreateObject("ADODB.Recordset")*
monthvar=Month(Date)*
+'Open Hyperion FDM work table recordset For appending+
+'Set rsappend = DW.DataAccess.farsTableAppend(strWorkTableName)+
+'Connect To Oracle database (our data source)+
Dim strConn*
strConn="Provider=ORAOLEDB.ORACLE.1;Data Source=EMDDS392:1521/DEVDBEMD;Database=DEVDBEMD;User id=xxxxxxx;Password=xxxxx"*
cnss.open strConn*
+'Create source query String+
strSQL = "Select * "*
+'strSQL = strSQL & "FROM STG_SAP_ACTUALS WHERE ACCOUNT NOT LIKE 'NA'"+
strSQL = strSQL & "from EGETLDB.STG_SAP_ACTUALS where period =SUBSTR(TO_CHAR(SYSDATE-90,'MONTH'),1,5)"*
+'Open source recordset+
rs.Open strSQL, cnSS*
+'Check For data In source system+
If rs.bof And rs.eof Then*
+'Give Error message+
RES.PlngActionType = 2*
RES.PstrActionValue = "No records To load!"*
+'Assign Return value of Function+
SI_ActualLoad = False ' Assign return value of function*
Exit Function*
End If*
+'Loop through source records In database And append To+
+'Hyperion FDM work table+
If Not rs.bof And Not rs.eof Then*
Do While Not rs.eof*
rsAppend.AddNew*
rsAppend.Fields("PartitionKey") = RES.PlngLocKey*
rsAppend.Fields("CatKey") = RES.lngCatKey*
rsAppend.Fields("PeriodKey") = RES.dblPerKey*
rsAppend.Fields("DataView") = "YTD"*
rsAppend.Fields("CalcAcctType") = 9*
rsAppend.Fields("Amount") = rs.fields("GROUPCURRENCY").Value*
rsAppend.Fields("Account") =UCase(rs.fields("ACCOUNT").Value)*
rsAppend.Fields("Entity") = UCase(rs.fields("ENTITY").Value)*
rsAppend.Fields("UD1") = UCase(rs.fields("SCENARIO").Value)*
rsAppend.Fields("UD2") = rs.fields("VERSION").Value*
rsAppend.Fields("UD3") = rs.fields("CURRENCY").Value*
rsAppend.Fields("UD4") = rs.fields("TRANS_CURRENCY").Value*
rsAppend.Fields("UD5") = rs.fields("ZONE").Value*
rsAppend.Fields("UD6") = rs.fields("CATEGORY").Value*
rsAppend.Fields("UD7") = rs.fields("SCHEDULE").Value*
rsAppend.Fields("UD8") =UCase(rs.fields("DEPT_PRJCTS").Value)*
rsAppend.Fields("UD9") =rs.fields("WBSELEMENT").Value*
rsAppend.Fields("UD10") = rs.fields("DOC_DETAIL").Value*
rsAppend.Fields("UD11") = rs.fields("BUSINESS_TRANSACTION").Value*
rsAppend.Fields("UD12") = rs.fields("VENDOR_NAME").Value*
rsAppend.Fields("UD13") =rs.fields("RECOVERYINDICATOR").Value*
rsAppend.Fields("UD14") = rs.fields("TRANSAMOUNT").Value*
rsAppend.Fields("UD15") = rs.fields("GROUPCURRENCY").Value*
rsAppend.Fields("UD16") = rs.fields("SEGMENTNO").Value*
rsAppend.Fields("UD17") = rs.fields("PARTNEROBJECT").Value*
rsAppend.Fields("UD18") =rs.fields("PO").Value*
rsAppend.Fields("UD19") = rs.fields("QUANTITY_UOM").Value*
rsAppend.Fields("UD20") = rs.fields("DESCRIPTION").Value*
rsAppend.Fields("DESC1") = rs.fields("ACCOUNT_DESCRIPTION").Value*
rsAppend.Update*
rs.movenext*
Loop*
End If*
+'Give success message+
RES.PlngActionType = 6*
RES.PstrActionValue = "SQL Import successful!"*
+'Assign Return value+
SI_ActualLoad = True*
End Function*Per my answer on Network 54 you cannot test the script interactively in FDQM workbench. You must execute the integration script as part of the normal data load process.
Per the FDM Admin guide: "Integration scripts can be run only by selecting Script from the File Type column of the Import Group grid (top grid) of the Import Formats screen".
As I mentioned in my Network 54 post you can test the pure vbscript portions (without the FDQM specifics) to confirm that is working properly then add it to the integration script which will only run as part of a normal file import process.
Regards,
John A. Booth
http://www.metavero.com -
Issues with integrating Java script functions in OBIEE 11G
Hello experts..
I am trying to integrate some Javascript functions in my OBIEE 11G Dashboard..
I have modified the original common.js file and renamed it as insight_common.js in the following directory (backed up the original file of course)
OBIEE 11G Folder/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user/analytics_11.1.1/7dezjl/war/res/b_mozilla/insight_common.js
In my dashboard, I have a dashboard object as text component where I have checked 'Contains HTML Markup'. I have written the following code:
hello
<script src="/res/b_mozilla/insight_common.js" type="text/javascript"></script>
<script type="text/javascript">
sayHi();
</script>
However, when I launch the dashboard, it is not working.
In the Google Chrome browser as I inspected the element to investigate the reason, I am getting the following error under 'console'
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/res/b_mozilla/insight_common.js
Uncaught ReferenceError: sayHi is not defined saw.dll:611
It seems that OBIEE is not recognizing the new file that I made..
Is there a way around this?
ThanksSrini
I don't have backgrounds in coding, so a lot of what I wrote came from my own researching...
Now I have tried your latest suggestions again as the below:
1.<script type="text/javascript" src="res/b_mozilla/insight_common.js">
sayHi();
</script>
and
2.
<script type="text/javascript" src="res/test.js"></script> ----- in my case: <script type="text/javascript" src="res/b_mozilla/is_common,js"></script>
Now both codes this time do not yield any outputs when launching the dashboard. The section is blank and the preview of the Text section in the dashboard is blank as well..
So, are you sure these are all the steps I need to take to call javascript function in OBIEE?
Do I need to define anything in weblogic or other places?
I hope I am not missing any steps..
Thanks and let me know.. -
Ecatt unique problem in SAPGUI
Hi everyone I am facing an unique error, in SAP-GUI I recorded VL02N transaction and in this process I have pressed 'place cursor' button this button is giving the problem.
My requirement is I have to repeat the whole process for different no of delivery no's and here the place cursor recording was working fine for the first delivery no, for both it's articles but it is giving problem for the next delivery number.
I have tried many things like recording it as many times as want,
keeping it ina loop etc.
Some one, try it and let me know the way to solve it out.Hi Harsha:
I have tried all proceedures like:
1: Repeating that selection of button for each article seperately in a loop inorder to work for all delivery no's.
2: copying the interface's of the first round of execution for the no of times i need it to be done.
3: Recording the transactions for all the no of deliveries seperately.
4: Recording the transaction for one delivery , and calling the same transaction with different data for no of times i need, in a chain script etc.
These are the various methods i used .
Regards,
Rajesh.S -
Is eCATT a component integrated within SAP Solution Manger?
Is eCATT (extended Computer Aided Test Tool) a component integrated within SAP Solution Manager? or Netweaver Solution Manager?
OR
Is eCATT automatically gets installed if we install Solution Manager?
Further, does Solution Manager gets installed if we install SAP/Netweaver components or is it a stand alone component?
Please let me know.
Thanks & Regards.
Sapster.
Edited by: sapster on Feb 13, 2008 10:41 PMDear Fr,
I think you got confused with solman & eCATT ,this is a testing tool and has got no dependency upon solution manager.
this a free testing tool used for testing SAP applications, it is based upon Web Application Server.
Please follow the link,
http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
You can link ECATT and QTP scripts,combination of both.
In addtion you can execute them from solution manager itself.
Whereas solution manager is used for managing your test plans and can organize all type of test cases which can be automatic like ecatt QTP etc or manual.
follow my; blog to learn testing with solutin manager.
https://weblogs.sdn.sap.com/cs/weblog/view/wlg/5181
Please rewad points. -
Integration of ECATT with HP QTP
Hi All,
We are in the process of _integrating the "SAP eCatt" with "QTP"._
Request you all to share your experience and knowledge in this. How best we can use it??
It will be really helpful.
Regards,
VenkatHi,
I have done one project on with eCATT invoking QTP scripts by passing data between the tool tools .
1) Performance wise it will be slow as you will calling QTP scripts from eCATT .
2) There are few issues related to format compatibility when you try to pass special characters between eCATT and QTP .
3) To start with , kindly go through this article , i hope it will help you /people/community.user/blog/2007/01/15/integrating-ecatt-mercury-qtp-part-2
regards
Harsha -
Hi Guru's
When i want to pull the data from SQL table using below integration Script from admin guide, its showing <font color="red">-2147217865 Data access Error at line15 (Line 15:Set rsAppend = DW.DataAccess.farsTable(strWorkTableName) </font>
I tried with both web client and workbench. i got same error message.
(FYI: UDL test connection is succeeded)
Please help me.
SQL server name: DEV
Database name: FDM
Sql Table name: SDR
SDR Table contains Below Data Example:
Entity Account ICP Custom1 Custom2 Custom3 Custom4 Amount
India, Extsales, [Icp None], Nocc, No Cust, None, None, 50000
India, rent, [Icp None], Nocc, No Cust, None, None, 20000
Intigration Script:
Function SQLIntegration(strLoc, lngCatKey, dblPerKey, strWorkTableName)
'Hyperion FDM Integration Import Script:
'Created By: admin
'Date Created: 04/19/2012 2:18:39 PM
'Purpose: Pull data directly from SQL DB
Dim objSS 'ADODB.Connection
Dim strSQL 'SQL String
Dim rs 'Recordset
Dim rsAppend 'tTB table append rs Object
'Initialize objects
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
'Connect To SQL Server database
cnss.open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=FDM;Data Source=DEV;"
'Create query String
strSQL = "Select * "
strSQL = strSQL & "FROM SDR "
'Get data
rs.Open strSQL, cnSS
'Check For data
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records To load!"
Exit Function
End If
'Loop through records And append To tTB table In location’s DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = RES.PlngCatKey
rsAppend.Fields("PeriodKey") = RES.PdtePerKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Amount") = rs.fields("dblAmt").Value
rsAppend.Fields("Desc1") = rs.fields("txtAcctDes").Value
rsAppend.Fields("Account") = rs.fields("txtAcct").Value
rsAppend.Fields("Entity") = rs.fields("txtCenter").Value
rsAppend.Update
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "SQL Import successful!"
'Assign Return value
SQLIntegration = True
End Function
<font color="red"> BELOW IS THE ERROR LOG </font>
Error Log:
** Begin FDM Runtime Error Log Entry [2012-07-16-01:57:58] **
ERROR:
Code............................................. -2147217865
Description...................................... Table does not exist.
Procedure........................................ clsDataAccess.farsTable
Component........................................ upsWDataWindowDM
Version.......................................... 1111
Thread........................................... 8252
IDENTIFICATION:
User............................................. admin
Computer Name....................................xxxx
App Name......................................... xxxxx
Client App....................................... WorkBench
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... xxxxx
Database Name.................................... xxxxx
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... India
Location ID...................................... 751
Location Seg..................................... 4
Category......................................... actual
Category ID...................................... 13
Period........................................... Jan - 2012
Period ID........................................ 1/31/2012
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
regards
SarillaHi Sarilla
I assume you ran the script from the editor.
You HAVE TO run it from the normal FDM workflow "Import".
Otherwise "Data access error"
Hope this helps
BR -
Automate FDM Import Integration Scripts
I have several FDM location with an associated unique integration import script that pulls data from a SQL Server. Is there a way to automate the execution of the scripts? Much like batch processing so I can control when they load at certain points? Is this possible and if so how? I would hate to create extract files and then use the batch loader as the integration script is so much cleaner and it makes it easier for the end users to manually load outside of the forced loads I would like to do. Is this possible? Thanks in advance for any help.
Yes, you can do this. you need to create empty batch files with the name in the correct format (as with the normal flat file batch process). Generally i expect you would know the location and Category to be used in creating the empty file name so these could be hard-coded. the issue is the Period to be used, and there are various options. If you are using the 'Global' POV setting then you could use the global period setting, which would have to updated each period by the administrator. Another option might be to maintain a seperate file with the current period held in it. Another option might be to utilise a filed on the locaiton which again would need maintaining. Another option might be that the period is held in the SQL table holding the data you are importing so you could do a read of the table first to get the period
-
FDM Multi-load integration script?
Hi,
Can we use Multi-Load with integration import script. Or we can only use with Flat files?
Thanks in advanceThere are KM articles that address these 2 issues. Likewise there are several forum postings that address these exact issues. Did you do a search of the forum or support.oracle.com?
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=840319.1
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1055134.1 -
Need how to get the data from the external file in eCatt
Hi ,
Could any body suggest how to get the values from the external file(Excel,CSV file,Text file) and pass it as varaiable in ecatt Test script.
Problem: Need to execute FK01-Vendor creation Transaction with multiple set of data .As per my understanding we could achive through Variants in Testdata set in eCatt .
But is there any way to store the data in excell file and get the data and pass it to FK01 Test scripts
Appreciate response on thisHi
See the links they may be useful
check these link,
eCATT- An Introduction
/people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
Creating Test Scripts
/people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
eCATT Logs
/people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
eCATT Scripts Creation TCD Mode
/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
Creation of Test Data Container
/people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
eCATT Scripts Creation - SAPGUI Mode
/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
Integrating ECATT & MERCURY QTP Part -1
/people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
Using eCatt to Test Web Dynpro ABAP
/people/thomas.jung/blog/2006/03/21/using-ecatt-to-test-web-dynpro-abap
and
-command reference
http://help.sap.com/saphelp_nw04/helpdata/en/c6/3c333b40389c46e10000000a114084/content.htm
/people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
http://prasadbabu.blogspot.com
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=test_tool_integration_for_sap_e-catt.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
http://www.erpgenie.com/ecatt/index.htm
hope this helps.
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
How do I revoke a DHCP lease in the 10.8.4 server app?
Hello Everyone, I have some devices (security cameras) that have successfully requested a DHCP lease. Since then I went ahead and manually created a static reservation for them with a MAC hardware address in the DHCP. For whatever reason they are n
-
Positioning of expanding hotspot?
Hi there, I'd like to set the position of an expanding hotspot in correlation to the trigger. How can I do this? Target situation The expanding hotspot is shown directly beneath the trigger (here: button "Chapter B"). I want the hotspot to appear ben
-
Can CanoScan Lide 20 work with Lion?
Since installing Lion, my CanoScan Lide 20 is not usable - Canoscan Toolbox software no longer opens; downloaded latest drivers and when trying to install, get error message that PowerPC applications no longer supported. Anybody know of a workaround?
-
Our family has the mac computers and i phones. I am fearful of deleating all information from either or all when I plug them in.
-
I bought my iMac in Jan. of 2009. I also bought AppleCare at the same time. With AppleCare, I received TechTool Deluxe ver. 3.1.2. The only upgrades to the OS are the ones that Apple provided free. Now I want to start catching up on the OS upgrades,