Creating a Report for the following Query u0096 Kindly help
Hi,
Using selection options we have to give the name of
1) Sales Organization -- VBAK -VKORG
2) Distribution Channel -- VBAK - VTWEG
3) Division -- VBAK -- SPART
4) Created Date -- VBAK -- ERDAT.
Once we select this the following list should be displayed.
1) Order no. -- VBAK - VBELN.
2) Created date -- VBAK - ERDAT
3) Sold To Party -- VBAK - KUNNR
4) Shipped to party -- VBPA -- KUNNR.
5) Item no -- VBAP -- POSNR
6) Material no. -- VBAP -- MATNR
7) Material Discription -- VBAP - ARKTX.
The out put should be like this
Sales Org : **********
Dist chan : **************
Division : *********
Created Date : ********
Orderno credate soltopar shiptopar itemno materiano materdes
and so.
Also When we click on the order no we should ge the transaction VA03.
With Select options i was able to get the sales organization distribution channel and division and the when we give the values it is showing Run time errors.
Kindly help me to proceed further.
Even if I am able to generate the order list it will be fine. Going on to VA03 I will manage some how If possible give the syntax for this also).
Regard,
Surjith
Hi,
Check the below code :
REPORT yvic_test_sales.
TABLES vbak.
TYPES:
BEGIN OF ty_sales_data,
vbeln TYPE vbeln_va,
erdat TYPE erdat,
kunnr TYPE kunag,
oid_ship TYPE kunwe,
posnr TYPE posnr_va,
matnr TYPE matnr,
END OF ty_sales_data.
DATA : gt_data TYPE STANDARD TABLE OF ty_sales_data.
CLASS gcl_handle_events DEFINITION
CLASS gcl_handle_events DEFINITION.
PUBLIC SECTION.
METHODS:
on_link_click FOR EVENT link_click OF cl_salv_events_table
IMPORTING row column.
ENDCLASS. "gcl_handle_events DEFINITION
SELECTION-SCREEN BEGIN OF BLOCK b1.
SELECT-OPTIONS:
s_vkorg FOR vbak-vkorg,
s_vtweg FOR vbak-vtweg,
s_spart FOR vbak-spart,
s_erdat FOR vbak-erdat.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
SELECT d1~vbeln
d1~erdat
d1~kunnr
d2~oid_ship
d2~posnr
d2~matnr
INTO TABLE gt_data
FROM vbak AS d1
JOIN vbap AS d2
ON d1vbeln = d2vbeln
WHERE d1~vkorg IN s_vkorg[]
AND d1~vtweg IN s_vtweg[]
AND d1~spart IN s_spart[]
AND d1~erdat IN s_erdat[].
CLASS gcl_handle_events IMPLEMENTATION
Subroutine call_transaction will get called
when user clicks on BELNR (Acounting document) or EBELN(PO)
CLASS gcl_handle_events IMPLEMENTATION.
METHOD on_link_click.
PERFORM call_transaction USING row column.
ENDMETHOD. "on_link_click
ENDCLASS. "gcl_handle_events IMPLEMENTATION
END-OF-SELECTION.
PERFORM display_data.
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
DATA:
lo_table TYPE REF TO cl_salv_table,"table object
lo_function TYPE REF TO cl_salv_functions,
lo_layout TYPE REF TO cl_salv_layout,
lo_columns TYPE REF TO cl_salv_columns_table,
lo_hotspot TYPE REF TO cl_salv_column_table,
lo_events_name TYPE REF TO cl_salv_events_table,
lo_click TYPE REF TO gcl_handle_events,
ls_key TYPE salv_s_layout_key,
lo_sorts TYPE REF TO cl_salv_sorts,
lo_aggregation TYPE REF TO cl_salv_aggregations,
lo_exception TYPE REF TO cx_root,"exception object
l_text TYPE string." to hold exception message
create a table object to display result table
TRY.
cl_salv_table=>factory( IMPORTING r_salv_table = lo_table
CHANGING t_table = gt_data ).
catch exception
CATCH cx_salv_msg INTO lo_exception.
get exception text and display it in message
l_text = lo_exception->get_text( ).
Message: & & & &
MESSAGE i000(zzz) WITH l_text.
ENDTRY.
get column object of the table created
lo_columns = lo_table->get_columns( ).
FOR HOTSPOT on Doc no
TRY.
lo_hotspot ?= lo_columns->get_column( 'VBELN' ).
lo_hotspot->set_cell_type( if_salv_c_cell_type=>hotspot ).
CATCH cx_salv_not_found INTO lo_exception.
get exception text and display it in message
l_text = lo_exception->get_text( ).
Message: & & & &
MESSAGE i000(zzz) WITH l_text.
ENDTRY.
lo_events_name = lo_table->get_event( ).
CREATE OBJECT lo_click.
SET HANDLER lo_click->on_link_click FOR lo_events_name.
lo_table->display( ).
ENDFORM. " DISPLAY_DATA
*& Form CALL_TRANSACTION
text
-->P_ROW text
-->P_COLUMN text
FORM call_transaction USING pa_row
pa_column.
DATA ls_final_data TYPE ty_sales_data.
IF pa_column = 'VBELN'.
CLEAR ls_final_data.
READ TABLE gt_data INTO ls_final_data INDEX pa_row.
IF NOT ls_final_data-vbeln IS INITIAL.
SET PARAMETER ID 'AUN' FIELD ls_final_data-vbeln.
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDIF.
ENDFORM. " CALL_TRANSACTION
Reward if helpful..
Thanks
Similar Messages
-
Creating a report for the following Query --Kindly help.
Here when we use select options
1) you have to use 4 different "Select Option" Statement to select this Below.
1) Sales Organisation -- VBAK -VKORG
2) Distribution Channel -- VBAK - VTWEG
3) Division -- VBAK -- SPART
4) Created Date -- VBAK -- ERDAT.
The following fields have to be displayed.
1) Order no. -- VBAK - VBELN.
2) Created date -- VBAK - ERDAT
3) Sold To Party -- VBAK - KUNNR
4) Shiped to party -- VBPA -- KUNNR.
5) Item no -- VBAP -- POSNR
6) Material no. -- VBAP -- MATNR
7) Material Discription -- VBAP - ARKTX.
By using the select options of Sales organisation, Distribution channnel and so on I am not able to get the out put of the order no , created date , sold to party , shipped to party (Which is in a different tableVBPA) and Item no Material No and material Discription which are in table VBAP.Here I am getting a run time error.
Kindly help and inform how to code this .
Also When we click the Order no in the list we have to get the screen VA03.
RegardHi John,
Use the following Select statement for Query :-
Code A )
SELECT vbak~vkorg
vbak~vtweg
vbak~spart
vbak~erdat
vbak~vbeln
vbak~erdat
vbak~kunnr
vbpa~kunnr
vbap~posnr
vbap~matnr
vbap~arktx
into corresponding fields of table ITAB
FROM ( vbak INNER JOIN vbap
ON vbakvbeln = vbapvbeln
INNER JOIN vbpa
ON vbakvbeln = vbpavbeln
WHERE vbak~vkorg IN s_vkorg
AND vbak~vtweg IN s_vtweg
and vbak~spart in s_spart
AND vbak~erdat in s_erdat.
And Use this part of the code to show the selected Sales order :-
code B)
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
CASE rs_selfield-sel_tab_field.
WHEN 'ITAB-VBELN'.
CHECK NOT rs_selfield-value IS INITIAL.
SET PARAMETER ID 'AUN' FIELD rs_selfield-value.
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
ENDCASE.
ENDCASE.
ENDFORM.
Award points if useful !
Regards
Hrishi -
All Im very new to Oracle DRM and Im trying to get the app setup on Windows server running SQL Server 2008. When I try to login to the Web Client I keep getting this error.
DRM-61026: Unable to create user session for the following reason: Login failed. Invalid user name or password.
Can you please helpThis might be due to The 'Oracle Instance' path may not have been set to a path relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine) on the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
if this is the case then
1. Open the DRM Configuration Console.
2. Go to the Configuration > Host Machines > CSS > General tab of the DRM Configuration Utility.
3. Ensure that the path in 'Oracle Instance' has been set relative to the 'CSS Bridge Host' (i.e. the Foundation Services machine defined in 'CSS Bridge Host').
4. If corrections are made to 'Oracle Instance' then restart the DRM services to pick up the change.
Thanks,
~KKT~ -
Report for the material having any kind of block
Dear All
I would like to have a report for the material having any kind of block i.e.(X-plant matl status OR Plant-sp.matl status).
Pl suggest any standard report or through table.
Rregards
ManojHi
Trnx. SE16 Table MARA
fields
MSTAE X-plant matl status
MSTAV X-distr.chain status
Vishal... -
How to creat an xsl for the following code ?
Hi all !
Could any one help me to creat an xsl (in the form of table) for the following xml data ?
<?xml version="1.0" encoding="UTF-8"?>
<scenarioReport>
<node name="V2_DR">
<netObjId >1 </netObjId>
<result>undefined</result>
<report>xyz</report>
<action>no action</action>
<netObjId > 2 </netObjId>
<result>defined</result>
<report> sdfherh</report>
<action>action</action>
</node>
<node name="V3_DR">
<netObjId >1 </netObjId>
<result>undefined</result>
<report>xyz</report>
<action>no action</action>
<netObjId > 2 </netObjId>
<result>defined</result>
<report>dfhdfj</report>
<action>action</action>
</node>
</scenarioReport>
could you please send me as soon as possible !!!!To do that you would have to know what output the XSL should produce, based on the input. You haven't said anything about that. All you have posted is a single XML file which could be either the input or the output of this mythical XSL. Do what Steve said and read the tutorial.
-
Genearate a Report for the following data
Hi All
The following is of my requirement
<b>Selection Screen Should be as follows:</b>
Plant (required) <b>QALS-WERK</b>
Storage Location <b>MCHB-LGORT</b>
Material Number <b>QALS-MATNR</b>
Batch Number <b> MCHB-MATNR</b>
MRP Controller <b>MARC-DISPO</b>
Inspection Lot Number <b>QALS-PRUEFLOS</b>
Inspection Lot Creation Date <b>QALS-ENSTEHDAT</b>
Inspection Lot Origin <b>QALS-HERKUNFT</b>
PO Number <b>QALS-EBELN</b>
Vendor # <b>EKKO-LIFNR</b>
Goods Receipt Date <b>MKPR-BUDAT</b>
Delivery Number <b>QALS-KTEXTLOS</b>
Marked in House Date
Sterile Load # <b>ZC012-STBAT</b>
Supplying Plant <b>EKKO-RESWK</b>
Profit Center <b>QALS-PRCTR</b>
<b>Radio Buttons for Selection Screen:</b>
Show all stock (not just Q stock)
Show only past due stock (GR Date + GR processing time > today)
Include Serial Numbers
<b>Fields for report:</b>
Plant <b>QALS-WERK</b>
STO/PO <b>QALS-EBELN</b>
Delivery/Production Order # <b>QALS-KTEXTLOS</b>
Sterile Load # <b>ZC013-STTYP</b>
Inspection Lot Number <b>QALS-PRUEFLOS</b>
Material <b>QALS-MATNR</b>
Old Material <b>MARA-BISMT</b>
Serial #s (all serial #s with material <b>ITOB-SERNR</b>
batch combination)
Batch <b>QALS-CHARG</b>
Sloc (all SLOCs with Q status items) <b>MCHB-LGORT</b>
Batch Exp Date <b>DFBATCH-MHD_IO</b>
Quantity (in each SLOC) <b>MCHB-CINSM</b>
Profit Center <b>QALS-PRCTR</b>
Date Marked In House <b>ZTMODE-TDATE</b>
GR Date <b>QALS-ENSTEHDAT</b>
Expected GR Processing Time <b>MARC-WEBAZ</b>
Date Moved to NCMR <b>MKPF-BLDAT</b>
Days in House System date ZTMODE-TDATE
Days in QI System date - <b>QALS-ENSTEHDAT</b>
Days from QI <b>QALS-ENSTEHDAT - MKPF-BLDAT</b>
Days in NCMR System date - <b>MKPF-BLDAT</b>
MRP Controller <b>MARC-DISPO</b>
MRP Controller Name <b>T024D-DSNAM</b>
Standard Cost <b>MBEW-STPRS</b>
Extended Standard Cost <b>MCHB-CINSM * MBEW-STPRS</b>
How we can develop a report for the above, because they havn't given any conditional checking. Supress if any Ztables used.
i would appreciate if you can send an earliest reply and reward points for the same.
if any queries just reply me i can clarify.
Regards
PrabhuHi Prabhakar,
Well you can opt for ALV display...
You want to generate report based on plant data..
Once the user enters the plant, you can extract the remaining info from table MARA, QALS, EKKO.
The radio buttons will decide your selection critera.
I dont think any functional guy will give you everthing spoon feeded. You will have to explore those tables and the relevant fields.
In case you are finding it to difficult to get the relations between the tables or finding list of tables,
i shall send u docs which will help u solve the problem.
Give me ur email id
Regards,
Tanveer.
Mark helpful answers
Message was edited by: Tanveer Shaikh -
How to find the report for the SAP query (Query exists in table AQLQCAT)
Hello Experts,
I need to find the tables used in the SAP Query but i don't have access to transaction SQ01,SQ02 and SQ03 to check the same.
Therefore i checked table AQLQCAT and got the SAP Queries in the system. Then searched for the reports that would have been generated for the same passing AQusergroupquery name* in transaction SE38.
But unfortunately the program does not exists for the given paramenter.
Could you please let me know how to get the report name for the SAP Query.
Secondly please suggest any other way of checking the tables used in the SAP Query.
Also the table name from where i can download the SAP Queries.
Thanks in advance.
Regards,
Rahul SinhaI suggest you a simple method.
Execute the query. When the selection screen is showed, go to menu and click to SYSTEM->STATUS.
Check the program name and double click it to access the program code.
Search for tables or functions into the source code in order to understand where data are taken.
If you do not find anything , go to the program atttribute and check for logic database, sometimes they are used....
Best regards. -
Can anyone please suggest for the following query relating to OEDQ ?
I have to process 10M records through batch matching by Oracle EDQ. There will be 10 file(.csv) each size 1M. They will be placed landing area of EDQ one by one separately. Given, All 10 file should have same number of columns & same order of columns. I have to process them one by one sequentially through only single batch contact match job.
Condition is :
Only one batch job will be executed 10 times to process them. At each iteration/operation, one file (.csv) will be taken as input in that job. As we know, only one source is present in job. I have to create /run ShellScript which will be passing one file to the single snapshot via single datastore from the landing area of EDQ. Once the one input file is passed and complete matching is done, Without changing anything, Is it possible to pass 2nd input file to that snapshot via previously created datastore by that Shell-script.
I mean, I want to pass one by one file sequentially via single snapshot via single datastore to a batch job using unix shellscript.
Is it feasible to consider in my project????
Any suggestion will be highly appreciated. Thanks in advance.Hi Mike,
Thanks for the quick response.
Keeping in mind source will be changed sequentially/one after another but the target is constant & the same JOB will be executed each time.
suppose, I have two file in the landing area of EDQ. These file are: PersonData.csv and goutam.csv
PersonData.csv is used in current data store.
File in the working area: C:\Program Files\Datanomic\dnDirector\config\landingarea\PersonData.csv
Snapshot is using this datastore. I have right clicked on the snapshot. I have done setting externalize option enable.
I am using the command:
java -jar jmxtools.jar runopsjob -job "Testing for R3 source A" -project EDQ-CDS -runlabel Nov2014 -nowait -u dnadmin -p p4dqnvo2 localhost:9005
This command is successfully executing batch job "Testing for R3 source A " where source is PersonData.csv.
Now, I want to use the following command with externalize option to execute the file goutam.csv as source by the above job.
I am using the below command:
java -jar jmxtools.jar runopsjob -job "Testing for R3 source A" -project EDQ-CDS -runlabel Nov2014 -D externalized=goutam -nowait -u dnadmin -p p4dqnvo2 localhost:9005
this command also executes the file PersonData.csv instead of goutam.csv file. In the above command I have highlighted externalize option with deep black color . please let me know how I write this externalize option in the command so that it should execute goutam.csv file.
Meanwhile, I am googling to find solution.
Regards,
Goutam Samanta -
Can someone help me in creating an Array for the following?
Hi this is a flash banner done using AS3 but it is giving me bugs when published, can someone please look at the the following link http://webtemp2.idm.net.lb/alamflash/home.html
and below is the script, can i create an array?
stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;
mc_animation.mc_scaffold.buttonMode = true;
mc_animation.mc_prop.buttonMode = true;
mc_animation.mc_ladder.buttonMode = true;
mc_animation.mc_tower.buttonMode = true;
mc_animation.mc_trade.buttonMode = true;
///////////////////// start ///////////////////////////////
new Tween (mc_animation.mc_scaffold,"y", Elastic.easeInOut,-300,3,1.5,true);
new Tween (mc_animation.mc_prop,"y", Elastic.easeInOut,-300,3,2,true);
new Tween (mc_animation.mc_ladder,"y", Elastic.easeInOut,-300,3,2.5,true);
new Tween (mc_animation.mc_tower,"y", Elastic.easeInOut,-300,3,3,true);
new Tween (mc_animation.mc_trade,"y", Elastic.easeInOut,-300,3,3.5,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,-300,15,1,true);
/////////////////////// scaffolding ////////////////////////////
function scafoldinfo(e:Event):void {
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,1000,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,1100,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,1200,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,1300,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,1400,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,-300,1.5,true);
new Tween (im_scaffolding,"x", Elastic.easeInOut,-1100,0,5,true);
new Tween (info_scaffold,"y", Elastic.easeInOut,-300,30,6,true);
function closescafoldinfo(e:Event):void {
new Tween (info_scaffold,"y", Elastic.easeOut,30,300,5,true);
new Tween (im_scaffolding,"x", Elastic.easeInOut,0,-1100,2,true);
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,2.4,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,197.3,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,392.3,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,587.5,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,782.2,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,30,2,true);
mc_animation.mc_scaffold.addEventListener(MouseEvent.CLICK,scafoldinfo);
info_scaffold.btn_close.addEventListener(MouseEvent.CLICK,closescafoldinfo);
///////////////////////////////////////////////// propping///////////////////////////////////////////////////////////
function proppinginfo(e:Event):void {
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,1000,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,1100,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,1200,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,1300,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,1400,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,-300,1.5,true);
new Tween (im_propping,"x", Elastic.easeInOut,-1100,0,5,true);
new Tween (info_proping,"y", Elastic.easeInOut,-300,30,6,true);
function closeproppinginfo(e:Event):void {
new Tween (info_proping,"y", Elastic.easeOut,30,300,5,true);
new Tween (im_propping,"x", Elastic.easeInOut,0,-1100,2,true);
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,2.4,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,197.3,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,392.3,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,587.5,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,782.2,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,30,2,true);
mc_animation.mc_prop.addEventListener(MouseEvent.CLICK,proppinginfo);
info_proping.btn_close.addEventListener(MouseEvent.CLICK,closeproppinginfo);
//////////////////////////////////// Ladders //////////////////////////////////////////////////////
function laddersinfo(e:Event):void {
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,1000,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,1100,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,1200,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,1300,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,1400,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,-300,1.5,true);
new Tween (im_ladders,"x", Elastic.easeInOut,-1100,0,5,true);
new Tween (info_ladders,"y", Elastic.easeInOut,-300,30,6,true);
function closeladdersinfo(e:Event):void {
new Tween (info_ladders,"y", Elastic.easeOut,30,300,5,true);
new Tween (im_ladders,"x", Elastic.easeInOut,0,-1100,2,true);
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,2.4,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,197.3,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,392.3,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,587.5,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,782.2,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,30,2,true);
mc_animation.mc_ladder.addEventListener(MouseEvent.CLICK,laddersinfo);
info_ladders.btn_close.addEventListener(MouseEvent.CLICK,closeladdersinfo);
//////////////////////////////////// towers //////////////////////////////////////////////////////
function towersinfo(e:Event):void {
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,1000,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,1100,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,1200,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,1300,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,1400,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,-300,1.5,true);
new Tween (im_towers,"x", Elastic.easeInOut,-1100,0,5,true);
new Tween (info_tower,"y", Elastic.easeInOut,-300,30,6,true);
function closetowersinfo(e:Event):void {
new Tween (info_tower,"y", Elastic.easeOut,30,300,5,true);
new Tween (im_towers,"x", Elastic.easeInOut,0,-1100,2,true);
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,2.4,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,197.3,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,392.3,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,587.5,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,782.2,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,30,2,true);
mc_animation.mc_tower.addEventListener(MouseEvent.CLICK,towersinfo);
info_tower.btn_close.addEventListener(MouseEvent.CLICK,closetowersinfo);
//////////////////////////////////// trading //////////////////////////////////////////////////////
function tradinginfo(e:Event):void {
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,1000,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,1100,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,1200,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,1300,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,1400,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,-300,1.5,true);
new Tween (im_trading,"x", Elastic.easeInOut,-1100,0,5,true);
new Tween (info_trading,"y", Elastic.easeInOut,-300,30,6,true);
function closetradinginfo(e:Event):void {
new Tween (info_trading,"y", Elastic.easeOut,30,300,5,true);
new Tween (im_trading,"x", Elastic.easeInOut,0,-1100,2,true);
new Tween (mc_animation.mc_scaffold,"x", Elastic.easeInOut,mc_animation.mc_scaffold.x,2.4,4,true);
new Tween (mc_animation.mc_prop,"x", Elastic.easeInOut,mc_animation.mc_prop.x,197.3,3.5,true);
new Tween (mc_animation.mc_ladder,"x", Elastic.easeInOut,mc_animation.mc_ladder.x,392.3,3,true);
new Tween (mc_animation.mc_tower,"x", Elastic.easeInOut,mc_animation.mc_tower.x,587.5,2.5,true);
new Tween (mc_animation.mc_trade,"x", Elastic.easeInOut,mc_animation.mc_trade.x,782.2,2,true);
new Tween (mc_animation.mc_separators,"y", Elastic.easeInOut,mc_animation.mc_separators.y,30,2,true);
mc_animation.mc_trade.addEventListener(MouseEvent.CLICK,tradinginfo);
info_trading.btn_close.addEventListener(MouseEvent.CLICK,closetradinginfo);I am afraid this is undocumented usage of Tween class. According to the class documentation one needs to create instances of Tween. Since there are no explicit instances - I suspect that one Teen is overriding another or, perhaps, is not getting instantiated all together.
So, the documented usage is:
var tween:Tween = new Tween()
Not just new Tween()
Re: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/transitions/Tween.html
I also would suggest you look into TweenLite or TweenMax classes - they are much more compact, easier to use and accommodate several properties tweening in one swoop. -
I have purchased the OS X mountain lion and want to re install after resetting my system but app store not showing it in my purchases. Do i need to re buy it and pay for it again for the second installation. ?
Welcome to the Apple Support Communities
Open App Store > Featured > Account > Show hidden purchases and unhide Mountain Lion. You can install Mountain Lion on all your computers for free -
I Need A Clasical Report For The Following Specification Plz
With out Using any ALVS .
SALESORDER REPORT
TABLES : VBAK,
VBAP,
KNA1.
INPUT FIELDS : Sales Document (RANGE)----
(vbak-vbeln)
Document Date (Date Received/Sent).(RANGE)----
(vbak-audat)
Sold-to party (PARAMETERS)----
(kna1-kunnr)
O/P FIELDS :
Sales Document----
(vbak-vbeln)
Document Date (Date Received/Sent)----
(vbak-audat)
Sales Document Item----
(vbap-posnr)
Short text for sales order item----
(vbap-arktx)
Material Number----
(vbap-matnr)
Cumulative order quantity in sales units----
(VBAP-KWMENG)
Requested delivery date----
(VBAP-CMKUA)
CUSTMER NUMBER(Sold-to party) -
(kna1-kunnr)
CUSTMER NAME -
(KNA1-NAME1)
CUSTMER CONTRY----
(KNA1-LAND1)
Net Value of the Sales Order in Document Currency----
(VBAK-NETWR)
Sales Organization----
(VBAK-KORG)
Name of Person who Created the Object----
(VBAK-ERNAM)
================================================================================
VBAK :
(KNA1-KUNNR)
Sales Document----
(VBAK-VBELN)
Document Date (Date Received/Sent)----
(VBAK-AUDAT)
Net Value of the Sales Order in Document Currency----
(VBAK-NETWR)
Sales Organization----
(VBAK-KORG)
Name of Person who Created the Object----
(VBAK-ERNAM)
VBAP:
Sales Document Item----
(VBAP-POSNR)
Short text for sales order item----
(VBAP-ARKTX)
Material Number----
(VBAP-MATNR)
Cumulative order quantity in sales units----
(VBAP-KWMENG)
Requested delivery date----
(VBAP-CMKUA)
KNA1:
CUSTMER NUMBER(Sold-to party) -
(KNA1-KUNNR)
CUSTMER NAME -
(KNA1-NAME1)
CUSTMER CONTRY----
(KNA1-LAND1)
====================================================================================================
TABLES : VBAK,
VBAP,
KNA1.
INPUT FIELDS : Sales Document (RANGE)
Document Date (Date Received/Sent).(RANGE)
Sold-to party (PARAMETERS)
O/P FIELDS :
Sales Document ....... VBAK-VBELN
Document Date (Date Received/Sent).....VBAK-AUDAT
CUSTMER NUMBER(Sold-to party)................VBAK-KUNNR
Net Value of the Sales Order in Document Currency.....VBAK-NETWR
Sales Organization......................................................VBAK-KORG
Name of Person who Created the Object..................VBAK-ERNAM
Sales Document Item ...............VBAP-POSNR
Short text for sales order item..........VBAP-ARKTX
Material Number.............................VBAP-MATNR
Cumulative order quantity in sales units............VBAP-KWMENG
Requested delivery date.................VBAP-CMKUA
CUSTMER NAME..................KNA1-NAME1
CUSTMER CONTRY..........................KNA1-LAND1Here is the sample code, please make the necessary modifications...
REPORT ZTEST LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
LOOP AT SCREEN.
IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
MESSAGE E001(ZTJ1).
ENDIF.
ENDLOOP.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
Regards,
Pavan. -
I Need a Report For the following Specifications
SALESORDER REPORT
TABLES : VBAK,
VBAP,
KNA1.
INPUT FIELDS : Sales Document (RANGE)----
(vbak-vbeln)
Document Date (Date Received/Sent).(RANGE)----
(vbak-audat)
Sold-to party (PARAMETERS)----
(kna1-kunnr)
O/P FIELDS :
Sales Document----
(vbak-vbeln)
Document Date (Date Received/Sent)----
(vbak-audat)
Sales Document Item----
(vbap-posnr)
Short text for sales order item----
(vbap-arktx)
Material Number----
(vbap-matnr)
Cumulative order quantity in sales units----
(VBAP-KWMENG)
Requested delivery date----
(VBAP-CMKUA)
CUSTMER NUMBER(Sold-to party) -
(kna1-kunnr)
CUSTMER NAME -
(KNA1-NAME1)
CUSTMER CONTRY----
(KNA1-LAND1)
Net Value of the Sales Order in Document Currency----
(VBAK-NETWR)
Sales Organization----
(VBAK-KORG)
Name of Person who Created the Object----
(VBAK-ERNAM)
================================================================================
VBAK :
(KNA1-KUNNR)
Sales Document----
(VBAK-VBELN)
Document Date (Date Received/Sent)----
(VBAK-AUDAT)
Net Value of the Sales Order in Document Currency----
(VBAK-NETWR)
Sales Organization----
(VBAK-KORG)
Name of Person who Created the Object----
(VBAK-ERNAM)
VBAP:
Sales Document Item----
(VBAP-POSNR)
Short text for sales order item----
(VBAP-ARKTX)
Material Number----
(VBAP-MATNR)
Cumulative order quantity in sales units----
(VBAP-KWMENG)
Requested delivery date----
(VBAP-CMKUA)
KNA1:
CUSTMER NUMBER(Sold-to party) -
(KNA1-KUNNR)
CUSTMER NAME -
(KNA1-NAME1)
CUSTMER CONTRY----
(KNA1-LAND1)
====================================================================================================
TABLES : VBAK,
VBAP,
KNA1.
INPUT FIELDS : Sales Document (RANGE)
Document Date (Date Received/Sent).(RANGE)
Sold-to party (PARAMETERS)
O/P FIELDS :
Sales Document ....... VBAK-VBELN
Document Date (Date Received/Sent).....VBAK-AUDAT
CUSTMER NUMBER(Sold-to party)................VBAK-KUNNR
Net Value of the Sales Order in Document Currency.....VBAK-NETWR
Sales Organization......................................................VBAK-KORG
Name of Person who Created the Object..................VBAK-ERNAM
Sales Document Item ...............VBAP-POSNR
Short text for sales order item..........VBAP-ARKTX
Material Number.............................VBAP-MATNR
Cumulative order quantity in sales units............VBAP-KWMENG
Requested delivery date.................VBAP-CMKUA
CUSTMER NAME..................KNA1-NAME1
CUSTMER CONTRY..........................KNA1-LAND1Here is the sample code, please make the necessary modifications...
REPORT ZTEST LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
LOOP AT SCREEN.
IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
MESSAGE E001(ZTJ1).
ENDIF.
ENDLOOP.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
Regards,
Pavan. -
TOPLINK-6119 ERROR for the following query,
any ideas as how to modify or make the query work? thanks,
Query:
====
ReadAllQuery query5 = new ReadAllQuery();
query5.setReferenceClass( Instrument.class );
query5.setSelectionCriteria( new ExpressionBuilder().get( "shortName" ).equal( shortName ) );
query5.addBatchReadAttribute( query5.getExpressionBuilder().anyOf( "customFields" )
.get( "stringValue" ).equal( "XYZ987" ) );
Exception stack
===========
Database exception: Exception [TOPLINK-6119] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.QueryException
Exception Description: The join expression
Relation operator =
Query Key stringValue
Query Key customFields
Base QUERY OBJECT
Constant XYZ987 is not valid, or for a mapping type that does not support joining.
Query: ReadAllQuery(com.integral.finance.instrument.Instrument).
at com.integral.persistence.PersistenceFactory.handleException(PersistenceFactory.java:793)
at oracle.toplink.publicinterface.Session.handleException(Session.java:1951)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1021)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:950)
at com.integral.finance.instrument.test.InstrumentCustomFieldPTestC.testInstrument(InstrumentCustomFieldPTestC.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:69)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)Hello,
Your are adding a selection criteria through the addBatchReadAttribute api which isn't allowed. It is expecting only a query key type expression.
Try:
ReadAllQuery query5 = new ReadAllQuery();
query5.setReferenceClass( Instrument.class );
ExpressionBuilder exb = query5.getExpressionBuilder();
Expression batchExpression = exb.anyOf( "customFields" );
Expression expression = exb.get( "shortName" ).equal( shortName );
expression = expression.and( batchExpression.get( "stringValue" ).equal ("XYZ987") );
query5.setSelectionCriteria( expression );
query5.addBatchReadAttribute( batchExpression );This will return all Instrument objects with the require shortName and having a customField with the stringName of "XYZ987". It will use batching to return all referenced customFields (not just the ones with a stringName of "XYZ987").
Best Regards,
Chris -
What's the fastest way to create simple report for the web?
I have Developer 6i and Oracle 9I installed.
If i have a report already done, how can I make it available to users, so they can access them thru an IP or a host?
can I achieve that just with my developer 6i (report builder) and my database (oracle 9i)???
If so, how?1) pls see
[ Publishing reports to web - 10G ]
see
[ All Docs for all versions ]
for 9i version of same document
2) Better to have 9i builder - 9i ias combinations
(not sure whether other combination is supported or not. but understandably it is best to have same combination]
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
--------------------------------------------------------------------------------- -
Issue on the web query, pls kindly help.
Hi colleagues,
First, I execute a web query and all data shows perfectly. Then, i do some changes to the report, like deleting some column, and i use the "save view" button. However, the data of the new devised report does not shown and I am given a error message that "Could not find any data to display. This might be due to the current selection of variable or filter values".
When I look into it, the error really lies in the filter values, which has been automatically set when i save the view. For these set filter values, the report finds no data to display. Have some of you come across such kind of errors? great thanks.
BR, ClarkHi guru,
Thanks for your reply and it works after the patch installation.
BR,
Clark
Maybe you are looking for
-
Need help big time with pop-up window!
This is probably an easy answer, I'm not a programmer or a back end guy whatsoever, I'm a graphic designer trying to make his way through a project for a client. I'm working up a Flash template, and I need to make a simple pop up window that will vie
-
Submit Button Does Not Work...Purple one and Gray One
Hello, Please Help me. I am creating a form and i wanted to test it first. * Created In Adobe Pro Extended. * Imported Into Adobe LifeCyle. I wanted to test the form before I submitted it for the group. note: somewhere....some
-
The BlackBerry smartphone shows notification that a SMS message has been received, but the SMS message does not appear in the Messages list or the SMS and MMS list
-
Hello, I'm a complete Newbie to DVD Studio Pro. I have a DVD ready to burn but I can't get the selection state of the buttons to change color when they are selected and activated. Even though I seem to show different colors for the states in the insp
-
I finally have some time on my hands to go through and clean up some old projects in Aperture. I started digging into a project from 2008 and noticed that the RAWs and JPEGs had seperated from each other for about half of the images (they all came f