Populating BW datasource with data using Webservice without PI (=XI)
Hi all,
I have got BW datasource and I want to be able to use external Webservice's method to populate my data source with data.
I have created client proxy in BW ( se80 --> Enterprise Services --> Client Proxy ) for my wsdl and logical port in SOAMANGER for my proxy.
I have also created datasource.
Now I need to use one of the methods of the Webservice (proxy ) to populate my datasource with data. This is the bit I am struggling with.
I had a look here on SND but I could not find anything useful. Can you please advice ? Any examples ?
Please let me know whatever you know and maybe helpful.
Feel free to ask questions if I am not detailed enough in my description of the problem.
Regards
Agnieszka Domanska
Edited by: Agnieszka Domanska on Nov 10, 2010 5:41 PM
I have now been able to call a method of the Webservice by writing the simple code:
DATA:
Reference variables for proxy and exception class
lo_clientproxy TYPE REF TO ZCO_ICAMPAIGN_MASTER_SERVICE,
lo_sys_exception TYPE REF TO cx_ai_system_fault,
Structures to set and get message content
ls_request TYPE ZICAMPAIGN_MASTER_SERVICE_GE25,
ls_response TYPE ZICAMPAIGN_MASTER_SERVICE_GE24.
Populate the Request of the SOAP Object
ls_request-CAMPAIGN_ID = '74500'.
****Create the Proxy and Call it.
CREATE OBJECT lo_clientproxy.
TRY.
CALL METHOD lo_clientproxy->GET_EMAIL_CAMPAIGN_SUMMARY
EXPORTING
input = ls_request
IMPORTING
output = ls_response.
CATCH cx_ai_system_fault INTO lo_sys_exception.
Error handling
ENDTRY.
COMMIT WORK.
Similar Messages
-
Using expdp to export a mix of tables with data and tables without data
Hi,
I would like to create a .dmp file using expdp, exporting a set of tables with data and another set without data. Is there a way to do this in a single .dmp file? For example, I want all the tables in a schema with data, but for the fact tables in that schema, I only want the fact table objects, not the data. I thought it might be easier to create two separate .dmp files, one for each scenario, but would be nice to have one .dmp file that satisfies my requirement. Any help is appreciated.
Thanks,
-Rodolfo
Edited by: user6902559 on May 11, 2010 12:05 PMYou could do this with where clauses. Let's say you have 10 tables to export, 5 with data and 5 without data. I would do it like this
tab1_w_data
tab2_w_data
tab3_w_data
tab4_w_data
tab5_w_data
tab1_wo_data
tab2_wo_data
tab3_wo_data
tab4_wo_data
tab5_wo_data
I would make one generic query
query="where rownum = 0"
and I would make 5 specific queries
query=tab1_w_data:"where rownum > 0"
query=tab2_w_data:"where rownum > 0"
query=tab3_w_data:"where rownum > 0"
query=tab4_w_data:"where rownum > 0"
query=tab5_w_data:"where rownum > 0"
The first query will be applied to all tables that don't have their own specific query and it will export no rows, the next 5 will apply to each of the corresponding table.
Dean -
How to Create an Input Schedule Comparison with Data Using EVDRE
Hello,
I try implement the scenario described in "How to Create an Input Schedule Comparison with Data Using EVDRE".
Once I am using the "Insert Function" from the panel and selecting the EVTIM function Excel crashes (see page 8 How to paper).
Systems:
BPC 7.0 NW SP02
Office 2007
BPCADminClient and BPCOfficeClient up to date
Have anyone a solution?
Thanks
OktayHi Oktay -
This function works in my BPC70NW SP02 system. Your issue might be that you are trying to access a TIME member that does not exist. Please make sure the offset value is a valid dimension member.
I can confirm that EVTIM does allow the offset for base members (such as 2009.MAY) as well as parent nodes (such as 2009.Q1 or 2008.TOTAL)... BUT...the offset result of the EVTIM function needs to be a valid dimension member!
Regards,
Sheldon -
How to create a report with data using the Crystal Reports for Java SDK
Hi,
How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats. I can create my own report through the following code snippet:
ReportClientDocument boReportClientDocument = new ReportClientDocument();
boReportClientDocument.newDocument();
However, I cannot find a way to add data elements to the report without specifying an RPT file. Is this possible? I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
is there a way to do this through these packages?
com.crystaldecisions.sdk.occa.report.data
com.crystaldecisions.sdk.occa.report.definition
Am I forced to create a RPT file for the different table and column structures I have?
Thank you in advance for any insights.
Ted JenneyHi Rameez,
After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser. I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
<%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
<%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
<%
try {
ReportClientDocument rcd = new ReportClientDocument();
rcd.newDocument();
// Setup the DB connection
String database_dll = "Sqlsrv32.dll";
String db = "qa_start_2012";
String dsn = "SQL Server";
String userName = "sa";
String pwd = "sa";
// Create the DB connection
ConnectionInfo oConnectionInfo = new ConnectionInfo();
PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
// Set new table logon properties
PropertyBag oPropertyBag2 = new PropertyBag();
oPropertyBag2.put("DSN", dsn);
oPropertyBag2.put("Data Source", db);
// Set the connection info objects members
// 1. Pass the Logon Properties to the main PropertyBag
// 2. Set the Server Description to the new **System DSN**
oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
oPropertyBag1.put("Database DLL", database_dll);
oConnectionInfo.setAttributes(oPropertyBag1);
oConnectionInfo.setUserName(userName);
oConnectionInfo.setPassword(pwd);
// The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
// Add a Database table
String tableName = "Building";
Table oTable = new Table();
oTable.setName(tableName);
oTable.setConnectionInfo(oConnectionInfo);
rcd.getDatabaseController().addTable(oTable, null);
catch(ReportSDKException RsdkEx) {
out.println(RsdkEx);
catch (Exception ex) {
out.println(ex);
%>
Throws the exception
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
String tableName = "Building";
String fieldname = "Building_Name";
Table oTable = new Table();
oTable.setName(tableName);
oTable.setAlias(tableName);
oTable.setQualifiedName(tableName);
oTable.setDescription(tableName) ;
Fields fields = new Fields();
DBField field = new DBField();
field.setDescription(fieldname);
field.setHeadingText(fieldname);
field.setName(fieldname);
field.setType(FieldValueType.stringField);
field.setLength(40);
fields.add(field);
oTable.setDataFields(fields);
oTable.setConnectionInfo(oConnectionInfo);
rcd.getDatabaseController().addTable(oTable, null);
This code succeeds, but it is not clear how to add that database field to a section. If I attempt to call the following:
FieldObject oFieldObject = new FieldObject();
oFieldObject.setDataSourceName(field.getFormulaForm());
oFieldObject.setFieldValueType(field.getType());
// Now add it to the section
oFieldObject.setLeft(3120);
oFieldObject.setTop(120);
oFieldObject.setWidth(1911);
oFieldObject.setHeight(226);
rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
Then I get an error (which is not unexpected)
com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
How do I add one of the table.SetDataFields() to my report to be displayed?
Are there any other pointers or suggestions you may have?
Thank you -
Time frames are not accurate with data used?
Why does the time frame of Data used not correctly reflect the same on my bill?
Hi Critch! Thats a great question. The difference in times may be reflective of difference in time zone or usage not reported while on an extended network. Are the times off by a few minutes or several hours? Does this happen with voice and messaging usage as well?
Thanks,
AdamE_VZW
Follow us on Twitter @VZWSupport -
Loading data with dates using SQL*Loader
Dear everyone
I am currently trying to load some data containing dates using SQL*Loader.
For termination of fields I have been using ^ because I have some book titles which contain " and ' as part of their title. I found that the TO_DATE function did not seem to work using ^ instead of ". Would I be correct? I think the Oracle manual says that " must be used.
After some Web research I eventually amended my control file to as follows:
load data
infile 'h:\insert_statements\22_insert_into_SCAN_FILE_INFO.txt'
REPLACE
into table SCAN_FILE_INFO
fields terminated by "," optionally enclosed by '^'
TRAILING NULLCOLS
(scan_id, scan_filename
file_format_id
orig_scanning_resolution_dpi
scanner_id, scanner_operator_id
scanning_date "TO_DATE (:scanning_date, 'YYYY-MM-DD')"
original_map_publication_id
reprint_publication_id)
A simple line of data is as follow:
280001, ^1910 - London^, 270001, 400, 250001, 260001, "TO_DATE('2007-06-06', 'YYYY-MM-DD')", 200019,
The final column being null.
However when I attempt that I get the following error message:
Record 1: Rejected - Error on table SCAN_FILE_INFO, column SCANNING_DATE.
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
If I change the scanning_date part to:
scanning_date "EXPRESSION TO_DATE (:scanning_date, 'YYYY-MM-DD')",
or
scanning_date "CONSTANT TO_DATE (:scanning_date, 'YYYY-MM-DD')",
I get the error message:
Record 1: Rejected - Error on table SCAN_FILE_INFO, column SCANNING_DATE.
ORA-00917: missing comma
As soon as I do the following:
scanning_date "EXPRESSION, TO_DATE (:scanning_date, 'YYYY-MM-DD')",
or
scanning_date "CONSTANT, TO_DATE (:scanning_date, 'YYYY-MM-DD')",
I get too many values error message:
Record 1: Rejected - Error on table SCAN_FILE_INFO.
ORA-00913: too many values
I also tested out scanning_date DATE "YYYY-MM-DD", but that just gave the same ORA-01841 error message as above.
I must be doing something very simple which is wrong but I cannot figure it out.
Kind regards
TimAnd why do you have scanning date as "TO_DATE('2007-06-06', 'YYYY-MM-DD')" in your infile? All you need is 2007-06-06. If you can not change infile generation code, use:
load data
infile 'h:\insert_statements\22_insert_into_SCAN_FILE_INFO.txt'
REPLACE
into table SCAN_FILE_INFO
fields terminated by "," optionally enclosed by '^'
TRAILING NULLCOLS
(scan_id, scan_filename
file_format_id
orig_scanning_resolution_dpi
scanner_id, scanner_operator_id
scanning_date "TO_DATE(REPLACE(REPLACE(:scanning_date,'TO_DATE('),'''YYYY-MM-DD'')'), 'YYYY-MM-DD')"
original_map_publication_id
reprint_publication_id)SY. -
How to upload a data using BAPI_SALESORDER_CREATEFROMDAT2 without using LSM
Hi,
I want to upload a data from an input file on the presentation server using BAPI_SALESORDER_CREATEFROMDAT2 first uploading the data and then creating sales orders out of it.
I will be highly obliged if anyone can guide me with it.
I have tried the same using LSMW got succeeded in posting the idocs correctly and now I want to do it without using LSMW. The main intention of not using LSMW is that after creating sales orders, I want to display the messages related to number of sales order created, Number of records uploaded, Number of records.Hi
BAPI_SALESORDER_CREATEFROMDAT2
Text
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further Information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Regards
Raj -
Populating InDesign templates with data from Excel or XML?
I have a client who does a weekly catalogue for computer parts. It’s very detailed and extremely time consuming, and we are looking at moving it to an automated InDesign workflow to save time and money in production. Once imported into InDesign, the resulting file can be exported as a formatted XML document to a webpage for auto formatting.
I know you can import XML directly into InDesign and vice versa. I have created some categories and tables in Excel and exported this as an .xml document. When I import that document into the View > Structure panel, it displays a whole list of attributes but not the actual text I was after.
Any help much appreciated. I’m using InDesign CS4 and doing some research on google at the moment.Hi CDesign2,
If I understood you correctly, you are either trying to
View your xml data in Adobe LiveCycle form to redit the form???
View your xml data in Adobe acrobat pro
Or wishing to collate updated(new) data into adobe (lifecycle) tracker and view the data set
I suspect points 2, 3 may be the case.
My experience with migrating excel data back to adobe is this.
If you created the original form with adobe, you have the option of distributing the form (file/form distribution..)
to recipients list (could include form creator).
This allows adobe to generate a distribution and form response file and therefore able to track returned forms either as pdf (preferably) or excel/xml converted back to pdf after saving it.
For Point 2 above,assuming your original data set were created using an adobe form you previously saved, open your original form in acrobat pro, go to menu/forms/manage form data/import data (usually as xml). It automatically repopulates the form.
OR
To view returned forms as a set, go to menu/forms/compile returned forms and this will bring up a window that
requires you
-to browse and locate your response file (essentially defining the index form),which is opened into the top row
-then find and add each new completed form into a list in the second row.
You then click ok and all returned forms are opened in a tracker window...
I just realised I am talking about liveCycle ES version8 and this forum refers to pre ES!
I am not sure if this helps but I hope it answers some of your questions. -
Fill a pdf form with data using Java code
Hi,
Modern formats of Acrobat ".pdf" files allows to define form fields.
I have a datasource, let's say in a database.
I want to fill my ".pdf" with my database-stored data automatically, and want to write Java code for that.
1. What is the best way to achieve this ?
2. Is it necessary to install Acrobat Distiller server and if so what web services should I invoke ? Where is the doc ?
3. Are there efficient Java libraries to do so ?
Thank you for helping... As ever, this is kind of an emergency case
Have a good day.
PhilTake a look at the FDF Toolkit for Java:
http://www.adobe.com/devnet/acrobat/fdftoolkit.html
That will allow you to, through Java, construct an FDF that contains all your form data. You then add a reference to your "template" PDF file in the FDF as well and send the FDF to the client. Acrobat will open the FDF, see the reference to the PDF, open the PDF and then merge any data contained in the FDF with the PDF. -
Problems with data using cellular network since upgrading to iOS8
I have an iPhone 5 and recently upgraded to iOS8. Since doing so, I am no longer able to use FaceTime and many other services (eg Snapchat, Apps Store, etc) when relying on the cellular network. I have not changed cellular carriers and it all worked fine with iOS7. What can I do?
Hi reader1961,
Welcome to the Apple Support Communities!
I understand that issues with cellular data on your iPhone can be very frustrating. In this situation there are several troubleshooting steps that I would recommend to help you resolve the issue. Please refer to and use the attached article for troubleshooting steps and guidance.
iPhone cellular data connection issues
Have a great day,
Joe -
Populating a table with data from javascript
I have a CFC that returns (via ajax) an array with a length anywhere from 1 to n. I need to display the contents of that array on a webpage in a table (one row per array element). Since I do not know the length of the array, what would be the best way to render the table? My first thought was to build the table inside a string variable and then use jQuery's html() method. I also considered using ColdFusion to format the table in the CFC and pass that back to the ajax call. Either way seems very tedious. Was wondering if there is a better way.
Design Patterns can help when you are faced with a decision like this. Take the Model-View-Controller pattern, more commonly known as MVC. It tells us that the server should restrict itself to business logic, hence to business code. An example of business code is a CFC that returns data in the form of an array.
To display the data as a table requires presentation logic and presentation tools. That responsibility usually falls on the client. The browser is typically the client equipped to render the data in visual form.
You could, for example, get the CFC to return an array in the default JSON format. The client could then use jQuery to convert the JSON array into a table. A quick search on the web produced the following jQuery tools: datatables, jqGrid and jsonTable. -
Issue with Date used to Filter a Report
I have the following source for a report. The source was working correctly before and I am trying to add a date filter to it.
q VARCHAR2(32767); -- query
w VARCHAR2(4000) ; -- where clause
w2 VARCHAR2(4000) ; -- where clause for salesrep
w3 VARCHAR2(4000) ; -- where clause for agent
w4 VARCHAR2(4000) ; -- where clause for date range
we VARCHAR2(1) := 'N'; -- identifies if where clause exists
BEGIN
q := 'SELECT "TBLCALL"."CALLID", "TBLSALESREP"."LNAME" || '', '' || "TBLSALESREP"."FNAME" as "SalesRep", "TBLAGENT"."LNAME" || '', '' || "TBLAGENT"."FNAME" as "Agent", "TBLAGENT"."AGENTID", "COMPLETEDATE", htmldb_util.get_since("CREATEDATE") as "Age", "CREATEDATE",
"TBLDIRECTOR"."DIRECTORNAME",
decode("CREQUESTID",NULL,''None'',"CREQUESTID") as "# REQUESTS", "REQUESTSTATUS", "ESCALATIONNAME" '
||
' FROM "#OWNER#"."TBLAGENT", "#OWNER#"."TBLSALESREP", "#OWNER#"."TBLDIRECTOR", "#OWNER#"."TBLCALL", "#OWNER#"."VW_CALLREQUESTS", "#OWNER#"."VW_CALLSTATUS", "#OWNER#"."VW_CALLESCALATION" '
||
' WHERE "TBLAGENT"."AGENTID" = "TBLCALL"."AGENTID"
and "TBLSALESREP"."DIRECTORID"="TBLDIRECTOR"."DIRECTORID"
and "TBLCALL"."CALLID"="VW_CALLREQUESTS"."CALLID"(+)
and "TBLCALL"."CALLID"="VW_CALLSTATUS"."CALLID"(+)
and "TBLCALL"."CALLID"="VW_CALLESCALATION"."CALLID"(+)
and "TBLSALESREP"."SALESREPID"="TBLCALL"."SALESREPID" ';
IF :P1_COMPLETED = '0'
THEN
w := ' COMPLETEDATE is null';
we := 'Y';
END IF;
IF :P1_COMPLETED = '1'
THEN
w := ' COMPLETEDATE is not null ';
we := 'Y';
END IF;
IF :P1_SELECT_SALESREP != '-1' THEN
w2 := ' AND TBLCALL.SALESREPID= :P1_SELECT_SALESREP ';
ELSE
w2 := '';
END IF;
IF :P1_SELECT_AGENT != '-1' THEN
w3 := ' AND TBLAGENT.AGENTID= :P1_SELECT_AGENT ';
ELSE
w3 := '';
END IF;
IF :P1_STARTDATE is not null AND :P1_ENDDATE is not null THEN
w4:= ' AND TBLCALL.CREATEDATE between ' || to_date(NVL(:P1_STARTDATE,'01/01/1900'), 'MM/DD/YYYY') || ' AND ' || to_date(NVL(:P1_ENDDATE,'12/31/9999'),'MM/DD/YYYY');
ELSE
w4 := '';
end if;
IF we = 'Y' THEN
q := q || ' AND ' || w || w2 || w3 || w4 ;
ELSE
q := q || w2 || w3 || w4;
END IF;
RETURN q;
END;
Each time I try to run the page... the report gives me the following error:
failed to parse SQL query:
ORA-00904: "OCT": invalid identifier
It looks like a date format issue, but I have tried several things to resolve it and it still does not work... What can I do?I think you have a problem with format masks.
Check the format masks that are used in P1_STARTDATE and P2_STARTDATE -
Help with data services webservice in Xcelsius
Hi,
I have the a problem, this is the problem:
1. I add a web service connection, to run a data services job
2. I put thw WSDL URL and after that i click the button import
3. When i click the button IMPORT, that generate a WEB SERVICE URL
The problem is, if a copy this WEB SERCVICE URL in my internet explorer it shows me the xml data but if i open this url in the server when i will publish the swf file the url doesnt open...
Why in my machine can open and in other machine no....?
Please i need help thanksHi,
Need some more information.
1) Do you have a problem in viewing data when you import it to swf on infoview.
2) Or you have any problems in importing that wsdl link at data connection level.
If you have issue with the first 1 then you have to place a cross-domain.xml file in your ROOT path of BO Tomcat server.
Apart from that you have to allow the local disk ro access external source in Flash Global settings manager.
Is the link generated with QaaWS tool or java or .net ?
Let me know if you need more information.
Regards,
Anjani Kumar C.A. -
Mapping measures of cube with data using awm
hi i am new in using analytic workspace manager i have already created dimension of a cube and mapped data into that.the i created cube now i want to map dimension into cube and aggregating values into measures.but i am unable to load data into cube and calculate the aggregate values.
that pls help me if any one knows this as this is part of my project so its very necessary to understand for me.
Edited by: karuna nidhan tiwary on Sep 3, 2012 10:09 PMin this a long list is comming.
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
SCOTT.DEPARTMENT USING
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
LOAD NO SYNCH,
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
COMPILE SORT
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
JAVA 0 58
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
0 0 1
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
BUILD_ID SLAVE_NUMBER STATUS COMMAND
BUILD_OBJECT BUILD_OBJE
OUTPUT
AW OWNER
PARTITION
SCHEDULER_JOB
TIME
BUILD_SCRIPT
BUILD_TYPE COMMAND_DEPTH BUILD_SUB_OBJECT R SEQ_NUMBER
COMMAND_NUMBER IN_BRANCH COMMAND_STATUS_NUMBER
BUILD_NAME
288 rows selected. -
Populating a form with data from Array
I have results from a query getting passed back as an array
object. Is there an easy to assigned to values of the array to
objects within a form container. Currently, i am doing
mytext_txt.text = $myArray[0]["text1"]
If there are like 40 objects in a form, its seem kinds of
repetitive
Any ideas would be awesome. How would using a model help in
this case? Can you bing results to a model?
ThanksI use XML and receive it into an Object - pretty convenient
because you get proper properties rather than just positions.
I'm not sure I exactly understand your example - do you have
'records' as elements in the array, and each 'record' is an object
with named properties? or do you have an array in which each
position relates to a single property.
Assuming the latter, a possible way to do this is to create a
.as class file with all the properties you want in the same order
as you have them in the array. Define a constructor that accepts
your array as input. Then loop through the properties and assign
them from your array:
function MyModelClass(myArray:Array){
var i:uint = 0;
for (var property:String in this)
this[property] = myArray[i++];
I haven't tried this, but should work.
If the array is an array of objects, just do this:
[Bindable]
var myObject:Object;
myObject = $myArray[0];
Then in your mxml,
<mx:Text id="mytext_txt" text="{myObject.text1}"/>
Another option is to write some script that follows the
container hierarchy, and for each control in the hierarchy, inspect
the id (or name if you prefer), and check
if ($myArray[0].hasOwnProperty(whatever.id))
(whatever as Text).text = $myArray[0][whatever.id];
hope something there makes sense.
Maybe you are looking for
-
Recently sent my iPod touch 4 generation into a local place for a battery change, and now it's suddenly swapped the lock button and lower side volume button. The lock button now turns the volume down then locks, and the volume button turns down and l
-
El meu Mac no pot conectar amb gmail hem diu que no acepta contraseña y li poso la mateixa de gmail
-
How to unselect iPhoto as the default app. when my camera is connected?
Hi. I prefer to use "image capture" as the default app. when I 1st connect my camera to the mac . Right now iPhoto appears to be the default app. as it automatically opens when I connect my camera. How do I change the default app. to "image capture"?
-
How do I send my iBooks to my quick reader app?
I have a quick reader app and would like to see my PDFs and iBook in that program.
-
Monitor profile applied twice?
Hi guys, the colors in Lightroom (and Photoshop Elements 7 Raw import window as well) look green and flat. I could fix this problem in the PSE7 editor window by switching off the monitor color profile. But I cannot find any similar handle in LR and P