Syntax for embeding data bound values
This does not work:
source="@Embed(source='{sourceFile}'))" autoLoad="true"/>
<mx:String id="sourceFile">file:///C|/FlexWork/flex
maps/assets/products/Talby.png</mx:String>
nor does simply @Embed({sourceFile})
So what does work?
Also @Embed(source="{sourceFile}) does not work.
BTW, can one Embed an XML file
<mx:XML source={whatever} />
"Yechezkal Gutfreund" <[email protected]> wrote in
message
news:eci6o0$juc$[email protected]..
> This does not work:
>
> source="@Embed(source='{sourceFile}'))"
autoLoad="true"/>
> <mx:String
id="sourceFile">file:///C|/FlexWork/flex
> maps/assets/products/Talby.png</mx:String>
>
>
> nor does simply @Embed({sourceFile})
>
> So what does work?
>
>
>
Similar Messages
-
SQL Syntax for hour/date range in Query
Hi
I am trying to set up an query for sales order documents procesed in the last 30 minutes to be set as an alert to be run every 30 minutes to the sales manager. I am having difficulty getting the syntax for the last 30 minutes
Any suggestions?
Davidhi,
I'm not sure query is correct,but u can modify it futher to get correct one.
SELECT T0.DocNum, T0.DocDate, T0.CardName, T0.DocTotal FROM ORDR T0 WHERE DateDiff(dd, T0.DocDate ,getdate()) = 0 and
DateDiff(Minute,T0.DocTime,' ') <= 30
Jeyakanthan -
Syntax for getting Exporting parameter value
Hello All,
This is the syntax i am using for getting the table parameter data.
dataProvider="{foundationService.
lastResult.root.BAPI_FLIGHT_GETLIST.EMPLOYEENUMBER.item}">
Can you tell me how to get the exporting parameter value in the widget.Is the syntax same for the exporting also or do i need to change anything.Can anybody please help me out.I will reward you with points
Thanks,
KaranKaran,
this bapi EMPLOYEENUMBER is export parameter and it can return only one value no need to give item. if it is multiple values then we can use .item. you can find the changes below code.
dataProvider="{foundationService.
lastResult.root.BAPI_FLIGHT_GETLIST.EMPLOYEENUMBER}">
rewards for good answers.
Thanks,
Raghava Vakada. -
Syntax for retrieving data from a task container
Hello Workflow Fans !
I have a Task with the following configuration:
BASIC DATA - Object Method :
Object Category: BOR Object Type
Object Type: ZBusObj1
Method: 022_Data_Upd
CONTAINER :
I have added a second BOR Object in the container called ZBusObj2
In conclusion, when the task is executed within my WF run, the method ZBusObj1.022_Data_Upd is executed and both business objects (ZBusObj1 and ZBusObj2) should be available in my Task container.
My question:
How, in my method 022_Data_Upd, can I retreive (get) the value of the ZBusObj2 key field (Customer No)?
Here is what I tried... obviously... without any success:
BEGIN_METHOD O22_Data_Upd CHANGING CONTAINER.
break-point.
* Variable declarations
DATA: lva_Risk_Cat TYPE ZTCOMP_PDV-CTLPC.
DATA: lva_Montant_V TYPE ZTCOMP_PDV-MONTANT_V.
DATA: lva_Custno TYPE KNA1-KUNNR.
* Data retreival from the task container
SWC_GET_PROPERTY self 'RiskCategory' lva_Risk_Cat.
SWC_GET_PROPERTY self 'MONTANT_V' lva_Montant_V.
SWC_GET_ELEMENT container 'ZBUSOBJ2.Customerno' lva_Custno.
The last line (SWC_GET_ELEMENT...) is the one I'm strugling with...
Any help will be appreciated.
Thanks in advance.
JoséSo, my understading is that you need an instance of the second object OBJ2 inside the method of the first object OBJ1.
First, if you only need the customer number, I recommend that you only pass the number itself. Here is what you need to do:
1- Add an "Import" parameter to method 022_DATA_UPD and call it anything (I'll use PARAM): the parameter can be either an object or a field. You specify the type when you define the parameter. Parameters are added by "single" clicking the method name in SWO1 so that the pointer is on the method name then clicking the "Parameters" button.
2- Inside the method, add the following code
Case 1: parameter is an object
DATA: lvo_custobj TYPE swc_object.
DATA: lva_custno TYPE KNA1-KUNNR.
swc_get_element container 'PARAM' lvo_custobj.
swc_get_property lvo_custobj '<CUSTOMER_NUMBER_PROPERTY_NAME>' customer_number.
Case 2: parameter is just a field
DATA: lva_custno TYPE KNA1-KUNNR.
swc_get_element container 'PARAM' lva_custno.
As you can see, adding only the customer number is easier to read. The method should work when you test it in SWO1 before you proceed into the next steps.
3- Make sure the standard task calling the method is updated with the new parameter. Basically open the task in change mode and type an extra space in the description field then hit Enter. The system will ask you if you want to update the list of parameters.
4- Update the binding of the task in the workflow template to pass either the customer object or customer number. -
Syntax for validating data..
Hi friends
I have one internal table with material no.,i want o check wheather that data is there in standard table or not..
how to check..?
and after checking if that particular material is not there i have to move the data in other internal table..
plz give me one example also..For material MARA is the master table.
Check the table before selecting the data.
whether the material avilable or not?
tables : mara.
selection-screen begin................
parameter p_matnr like mara-matnr.
selection-screen end of..................
if p_matnr is not initial.
at selection-screen on p_matnr.
select single * from mara into mara where matnr = p_matnr.
if sy-subrc <> 0.
Raise the message.
endif.
endif.
Hope it will help you.
Regards,
Madan.
Edited by: Madan kurapati on May 19, 2008 11:36 AM -
Syntax for Data Pump in Oracle Database 11g
Hi, thanks to all. i myself clarifying many doubts by refering the POSTS in this Forum.
I need the syntax for the Data Pump in Oracle 11g.
Could you post the syntax plese.
Thanks & Regards..Hello,
You may have all the options in Datapump by typing the statements belows:
expdp help=y
impdp help=yElse, you'll have much more details and examples in the Utilities book from Oracle 11g documentation on the link below:
http://www.comp.dit.ie/btierney/Oracle11gDoc/server.111/b28319/part_dp.htm#i436481
Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Apr 19, 2010 11:07 PM -
FAGLL03 : Submit syntax for dynamic selections
Hi Experts,
My z report contains following fields in selction screen.
1 . G/ L account
2. Comapny code
3. posting date
4. document type
5. layout
In my z report i used following syntax for passing selection screen values to standard program and getting data.
SUBMIT FAGL_ACCOUNT_ITEMS_GL
WITH SD_SAKNR IN S_SAKNR
WITH SD_BUKRS IN S_BUKRS
WITH X_OPSEL EQ ' '
WITH X_CLSEL EQ ' '
WITH X_AISEL EQ 'X'
WITH SO_BUDAT IN S_BUDAT
WITH PA_VARI EQ P_VAR
EXPORTING LIST TO MEMORY
AND RETURN.
The above syntax is not working for dynamic selection field ( document type ), entire document types data is fetching from standard program. I want to fetch document type data based on my z report selection values for document type field.
Expect for document type field , submit syntax is working.
kindly provide submit syntax for my above requirement .
Any suggestions from experts....
thanks & regards,
Hari priya
Edited by: Hari Priya on Aug 24, 2009 4:33 PMHi,
Try like this.
call function 'RS_REFRESH_FROM_SELECTOPTIONS'
exporting
curr_report = 'FAGL_ACCOUNT_ITEMS_GL'
tables
selection_table = i_sel[].
Fill your profit center values in i_sel
Submit FAGL_ACCOUNT_ITEMS_GL with selection-table i_sel and return
WITH FREE SELECTIONS TEXPR AND RETURN
Regards,
Shamma -
Submit syntax for dynamic selections for T-code FAGLL03
Hi Experts,
My z report contains following fields in selction screen.
1 . G/ L account
2. Comapny code
3. posting date
4. Profit Center
5. layout
In my z report i used following syntax for passing selection screen values to standard program and getting data.
This is for T-code FAGLL03
SUBMIT FAGL_ACCOUNT_ITEMS_GL
WITH SD_SAKNR IN S_SAKNR
WITH SD_BUKRS IN S_BUKRS
WITH %%DYN001-LOW (Profit Center)
EXPORTING LIST TO MEMORY
AND RETURN.
The above syntax is not working for dynamic selection field ( Profit Center), entire Profit center data is fetching from standard program. I want to fetch profit center data based on my z report selection values .
Expect for profit center field , submit syntax is working.
kindly provide submit syntax for my above requirement .
Any suggestions from experts....
Edited by: PLP REDDY on Nov 25, 2009 8:59 AMIndeed it won't work. Instead of passing parameters one by one use
[SUIBMIT... WITH SELECTION-TABLE rspar|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_3@3@]
Here you add one line per parameter (field KIND = 'P' ) and multiple lines per select options (field KIND = 'S' ). For the latter you need also provide SIGN and OPTIONS, i.e SIGN = 'I' , OPTIONS = 'EQ'
The lin I gave you will explain it more.
Regards
Marcin -
What is the proper SQL syntax for dates input as variable
Hello,
I am working on an ASP JavaScript page that requests totals
from an Access database for a specific date range. I can write the
SQL statement to query the DB and get the results I need using the
WHERE statement below.
...WHERE LABOR_DATE BETWEEN #7/15/2006# AND #7/18/2006# GROUP
BY [LABOR].[JOB_NUMBER_NAME]
I have another page that I want to pass two variables in
Dreamweaver specifying the date range varBeginDate and varEndDate
and query the database using the date range input by the user.
What is the correct syntax for replacing the actual dates in
the example above with my variable values?Short answer - you can't. There's no automatic link between file paths and mounting servers. There are lots of valid reasons for this (e.g. preventing malicious links from automatically opening files from remote servers), but you can get there in a controlled environment.
You can configure Automounts on any directory. That way whenever any application tries to access a particular path the OS will automatically mount the directory, but it needs to be told in advance which directories (and which servers) to mount.
For example, if you'd configured your iTunes Library to be saved at /mnt/itunes and it's served from afp://mediaserver.your.net/path/to/itunes you would configure an automount to mount the AFP server at /mnt/itunes.
Since its an automount, the OS wouldn't mount the server until some process tried to read /mnt/itunes.
There are several ways of specifying automounts, and for each there are several tutorials online that walk you through the process. Try Mike Bombich's site for a starter. -
Syntax for previous months data
For some reason I cannot get the syntax of the previou month correct. Here is what I have used.
("Date"."Calendar Month" IN (SELECT case when 1=0 then "Date"."Calendar Month" else timestampadd (sql_tsi_month, -1, current_date) end FROM "RProBIEE"))
However it doesn't like this. I get an error.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22027] Union of non-compatible types. (HY000)
SQL Issued: SELECT s_0, s_1, s_2, s_3, s_4 FROM ( SELECT 0 s_0, "RProBIEE"."Date"."Calendar Month" s_1, "RProBIEE"."Stores"."Store Name" s_2, "RProBIEE"."Sales Amounts"."Local Revenue" s_3, REPORT_SUM("RProBIEE"."Sales Amounts"."Local Revenue" BY "RProBIEE"."Stores"."Store Name") s_4 FROM "RProBIEE" WHERE (("Date"."Calendar Month" IN (SELECT case when 1=0 then "Date"."Calendar Month" else timestampadd (sql_tsi_month, -1, current_date) end FROM "RProBIEE"))) ) djm
I think it is saying that the it doesn't like (sql_tsi_month, -1, CURRENT_DATE) however If I use CURRENT_MONTH it doesn't like that either.
Any help is appreciated.Hello... The data type for the "Date"."Calendar Month" value is TINYINT. So i assume you are right that i need to CAST this so that it matches CURRENT_DATE. Or perhaps maybe instead I need to CAST current DATE as TINYTINT to match? Do you happen to know the syntax? This is what I have but it's not working. I get syntax errors.
"Date"."Calendar Month" IN (SELECT case when 1=0 then "Date"."Calendar Month" else (cast (timestampadd (sql_tsi_month, -1, current_date)))) -
Revision: 10877
Author: [email protected]
Date: 2009-10-05 15:23:37 -0700 (Mon, 05 Oct 2009)
Log Message:
Fix a small syntax error in Path bounds calculations that could result in wrong bounds for edge cases involving MoveSegments.
Thanks go to Min for noticing the bug!
QE notes: None
Doc notes: None
Bugs: None
Reviewer: Deepa
Tests run: checkintests
Is noteworthy for integration: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.asorangekay wrote:
That is absolutely unreadable.
I agree completely. How about also providing a link to a set of input files so that we could actually run the code ourselves? Otherwise, there is no chance to debug the source code, it is just a mess.
You might have better luck with an older version of the file. To quote the comments:
// Modified on March 31, 2005. Initialized maxchange in nonlinvoltra() as
// INFTY. Replaced crnmbr() by a similar, but faster routine interior().
// Many thanks to Stuart Anderson for pointing out this shortcut.
I suspect that the "interior" function is just plain incorrect. It doesn't matter if it runs on some other OS. Something about it is wrong and the code is so cryptic that it can't be deciphered. -
Stock report with value and qauntity for given date not month wise
Hi gems,
can any body give me the standard report for Stock value and qauntity for given date not month wise at storage location levelHi
check the report S_P00_07000139 with the option inventory and raw material report- detail and selection date (from, to date same). List will give opening & closing balances with goods movment and their values.
Thanks -
Default values set for Tax data in material master
Hi
Can anyone tell me how to set default values for TAx dat in sales view while creating material master.
so that it automatically take values while creating material master.
Regards
Vijay ShuklaMary and Vijay,
I probably understood your question wrong.
I was somehow assuming you were referring to classification data.. Sorry abt that.
The tax data gets populated automatically while creating the material master.
Th key lies in configuration.. You would have to use Tcodes OVK1, OVK4 to define the material and the tax categories by country
The tax data is populated by the assignment that you make in OVX6.. I believe.. assigning plants t Sales org. Th country code defined in the plant OX10 is used to determine the tax data and once you customize this part.. You should start seeing the tax data populate when you use that sales org while creating MM
Hope this answers your query.
Edited by: Pavan Kumar on May 2, 2008 8:10 AM -
Write to measurement file note: x values only guaranteed for one data signal?
Hi everyone,
Attached is a vi I have developed... When I save the data my .lvm file has a note in the header than says" X values only guaranteed for Power (Filtered)".... Power is one of 9 signals... I am not sure what this note means, but I assume that there is a problem synching these signals to a common timebase...
Would someone be able to explain this note and how I can fix it? Any comments/advice would be greatly appreciated.
Regards,
Jack
Solved!
Go to Solution.
Attachments:
HRJack1.vi 361 KB
Lode_Test_14.xlsx 973 KBHi Dennis,
Thanks for your reply... How can I change the scalars to dynamic data?... I want this single value to be written as the same rates of the other values (4kHz).... So the current heart rate value should be written each iteration as with the other data until the value updates...? That is to say, I want a heart rate value for every data point/row in the .lvm file?
Any suggestions would be appreciated... I have been working on this for some time and am getting no where..
Regards,
Jack -
Set Default Value for a Date Navigator
Hi all
Is it possible to set a default value for a date navigator.I mean with out picking the date from the Navigator, on load of the view itself i need a particualr date to be displayed (say 12/31/2000).
Thanks in advanceHi,
create a value attribute of type date bind to the input field and in wdInit()of view controller write this code..
wdContext.currentContextElement().setValueAttrName(new Date(Calendar.getInstance().getTimeInMillis()));
means ...
u r setting the date entered into some context ....
type of that attribute must be of date and for initial value write the above code ..if it is under node element create nodeelement bind it to context and write the code accordingly..
Message was edited by: Yashpal Gupta
Maybe you are looking for
-
Planning Layout - Library/Reporting Table Assignement ?
Hello, Anybody knows how to add characteristics/key figures to the ones available in standard when creating a planning layout for manual planning ? Via table KPPT you can deduct that planning areas are asigned to sort of libraries (1P1, 1P2...) but t
-
How to create overlap menu in iphone application
Hi, I am new to iPhone development. I want to create overlap menu in iPhone application, like if i select Menu button then menu will pop up. Please help.
-
Unity 7 Distribution List Usage
Is there a way to find out when a distribution list was last used in Unity 4 or 7? We are upgrating and would like to know whether or not to COBRAS out the DLs, some of which are quite large.
-
Hi to all ... I have a simple JSP page, style "HEllo world!!!" , i put it in the Oracle/Middleware/as_1/j2ee/home/default-web-app directory but if it work in the 10g AS , no way to view it in the browser in th weblogic server ... Any help ??? Thank's
-
OSX 10.4.11 won't run Classic
I'm not the most computer-literate person, so this is probably a silly question. I have a Powerbook G4 that just crashed with all of my hard drive contents on it, so I had a new drive installed and my OS re-installed along with it. When I brought it