BI Statistics Query - RRI Issue
Hi Experts,
I have copied a BI Statistics querys and customized it. The RRI Options available for the original query are available for the copied query as well. However, I do not want to keep all of them.
When i checked the T.code RSBBS for the copied query and the original statistics query , it does not show any receivers.Please let me know how I can change the RRI options for the copied query.
Regards,
Kavitha.
Hi kavitha,
This is what we do for a normal RRI,Chnage accordingly as per requirement.
The steps to create RRI
1)Goto T code RSBBS
2)In the Sender Query -give the Query name
3)Press Create tab which is there on the Right Top
4)It will as for a list select the Query name in the Bottom
5)and Press OK.
6)Come back to the main Screen os RSBBS and Select the Receiver Query and click Assignments.
7)Make them objects as Delete.
8)Save and Execute the Query ,Sender Query.
9)Right Click on the Query ,we will find GOTO Tab ,Drill down further
we can view the Second Query.
10)we can view the Second Query through first query
Check these
http://help.sap.com/saphelp_nw04/helpdata/en/99/08629bd3e41d418530c6849df303c9/frameset.htm
https://forums.sdn.sap.com/click.jspa?searchID=6435760&messageID=3353440
https://forums.sdn.sap.com/click.jspa?searchID=6435760&messageID=2762562
https://forums.sdn.sap.com/click.jspa?searchID=6435760&messageID=1846978
https://forums.sdn.sap.com/click.jspa?searchID=6435760&messageID=180080
Rgds
SVU123
Similar Messages
-
Selection Screen pop up issue - with jump query RRI
Hi Experts,
I am facing one issue regarding Jump Query(RRI) functionality.
I have one query and also one drill down query.
I need to jump from the first query to the drill down query.
To achieve this , I have added the first query as sender in RSBBS T-Code and added the drill down query as Receiver.
I have also done the variable assignment from the Assignment Details tab.
Now the Jump functionality is working.
But , whenever I am jumping to the receiver query , The selection screen pop up is appearing.
I don't want this selection screen to appear during jump.
Please help me in this regard.
Thanks,
BiswarupHi ,
For testing purpose , I have used a single query as sender as well as receiver query.
So , the characteristics set is same.
The query is a simple query, with only one input variable.
and I have assigned it, from variable assignment.
But still the selection screen pop up is coming , when trying to jump.
Please suggest.
Regards,
Biswarup -
SQL query performance issues.
Hi All,
I worked on the query a month ago and the fix worked for me in test intance but failed in production. Following is the URL for the previous thread.
SQL query performance issues.
Following is the tkprof file.
CURSOR_ID:76 LENGTH:2383 ADDRESS:f6b40ab0 HASH_VALUE:2459471753 OPTIMIZER_GOAL:ALL_ROWS USER_ID:443 (APPS)
insert into cos_temp(
TRX_DATE, DEPT, PRODUCT_LINE, PART_NUMBER,
CUSTOMER_NUMBER, QUANTITY_SOLD, ORDER_NUMBER,
INVOICE_NUMBER, EXT_SALES, EXT_COS,
GROSS_PROFIT, ACCT_DATE,
SHIPMENT_TYPE,
FROM_ORGANIZATION_ID,
FROM_ORGANIZATION_CODE)
select a.trx_date,
g.segment5 dept,
g.segment4 prd,
m.segment1 part,
d.customer_number customer,
b.quantity_invoiced units,
-- substr(a.sales_order,1,6) order#,
substr(ltrim(b.interface_line_attribute1),1,10) order#,
a.trx_number invoice,
(b.quantity_invoiced * b.unit_selling_price) sales,
(b.quantity_invoiced * nvl(price.operand,0)) cos,
(b.quantity_invoiced * b.unit_selling_price) -
(b.quantity_invoiced * nvl(price.operand,0)) profit,
to_char(to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS'),'DD-MON-RR') acct_date,
'DRP',
l.ship_from_org_id,
p.organization_code
from ra_customers d,
gl_code_combinations g,
mtl_system_items m,
ra_cust_trx_line_gl_dist c,
ra_customer_trx_lines b,
ra_customer_trx_all a,
apps.oe_order_lines l,
apps.HR_ORGANIZATION_INFORMATION i,
apps.MTL_INTERCOMPANY_PARAMETERS inter,
apps.HZ_CUST_SITE_USES_ALL site,
apps.qp_list_lines_v price,
apps.mtl_parameters p
where a.trx_date between to_date('2010/02/01 00:00:00','yyyy/mm/dd HH24:MI:SS')
and to_date('2010/02/28 00:00:00','yyyy/mm/dd HH24:MI:SS')+0.9999
and a.batch_source_id = 1001 -- Sales order shipped other OU
and a.complete_flag = 'Y'
and a.customer_trx_id = b.customer_trx_id
and b.customer_trx_line_id = c.customer_trx_line_id
and a.sold_to_customer_id = d.customer_id
and b.inventory_item_id = m.inventory_item_id
and m.organization_id
= decode(substr(g.segment4,1,2),'01',5004,'03',5004,
'02',5003,'00',5001,5002)
and nvl(m.item_type,'0') <> '111'
and c.code_combination_id = g.code_combination_id+0
and l.line_id = b.interface_line_attribute6
and i.organization_id = l.ship_from_org_id
and p.organization_id = l.ship_from_org_id
and i.org_information3 <> '5108'
and inter.ship_organization_id = i.org_information3
and inter.sell_organization_id = '5108'
and inter.customer_site_id = site.site_use_id
and site.price_list_id = price.list_header_id
and product_attr_value = to_char(m.inventory_item_id)
call count cpu elapsed disk query current rows misses
Parse 1 0.47 0.56 11 197 0 0 1
Execute 1 3733.40 3739.40 34893 519962154 11 188 0
total 2 3733.87 3739.97 34904 519962351 11 188 1
| Rows Row Source Operation
| ------------ ---------------------------------------------------
| 188 HASH JOIN (cr=519962149 pr=34889 pw=0 time=2607.35)
| 741 .TABLE ACCESS BY INDEX ROWID QP_PRICING_ATTRIBUTES (cr=519939426 pr=34889 pw=0 time=2457.32)
| 254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
| 254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)
| 741 ....NESTED LOOPS (cr=50042 pr=7230 pw=0 time=11.37)
| 741 .....NESTED LOOPS (cr=48558 pr=7229 pw=0 time=11.35)
| 741 ......NESTED LOOPS (cr=47815 pr=7223 pw=0 time=11.32)
| 3237 .......NESTED LOOPS (cr=41339 pr=7223 pw=0 time=12.42)
| 3237 ........NESTED LOOPS (cr=38100 pr=7223 pw=0 time=12.39)
| 3237 .........NESTED LOOPS (cr=28296 pr=7139 pw=0 time=12.29)
| 1027 ..........NESTED LOOPS (cr=17656 pr=4471 pw=0 time=3.81)
| 1027 ...........NESTED LOOPS (cr=13537 pr=4404 pw=0 time=3.30)
| 486 ............NESTED LOOPS (cr=10873 pr=4240 pw=0 time=0.04)
| 486 .............NESTED LOOPS (cr=10385 pr=4240 pw=0 time=0.03)
| 486 ..............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=9411 pr=4240 pw=0 time=0.02)
| 75253 ...............INDEX RANGE SCAN RA_CUSTOMER_TRX_N5 (cr=403 pr=285 pw=0 time=0.38)
| 486 ..............TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=974 pr=0 pw=0 time=0.01)
| 486 ...............INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=488 pr=0 pw=0 time=0.01)
| 486 .............INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=488 pr=0 pw=0 time=0.01)
| 1027 ............TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_LINES_ALL (cr=2664 pr=164 pw=0 time=1.95)
| 2063 .............INDEX RANGE SCAN RA_CUSTOMER_TRX_LINES_N2 (cr=1474 pr=28 pw=0 time=0.22)
| 1027 ...........TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_LINE_GL_DIST_ALL (cr=4119 pr=67 pw=0 time=0.54)
| 1027 ............INDEX RANGE SCAN RA_CUST_TRX_LINE_GL_DIST_N1 (cr=3092 pr=31 pw=0 time=0.20)
| 3237 ..........TABLE ACCESS BY INDEX ROWID MTL_SYSTEM_ITEMS_B (cr=10640 pr=2668 pw=0 time=15.35)
| 3237 ...........INDEX RANGE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=2062 pr=40 pw=0 time=0.33)
| 3237 .........TABLE ACCESS BY INDEX ROWID OE_ORDER_LINES_ALL (cr=9804 pr=84 pw=0 time=0.77)
| 3237 ..........INDEX UNIQUE SCAN OE_ORDER_LINES_U1 (cr=6476 pr=47 pw=0 time=0.43)
| 3237 ........TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=3239 pr=0 pw=0 time=0.04)
| 3237 .........INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=2 pr=0 pw=0 time=0.01)
| 741 .......TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=6476 pr=0 pw=0 time=0.10)
| 6474 ........INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=3239 pr=0 pw=0 time=0.03)Please help.
Regards
Ashish| 254644500 ..NESTED LOOPS (cr=519939265 pr=34777 pw=0 time=3819.67)
| 254643758 ...NESTED LOOPS (cr=8921833 pr=29939 pw=0 time=1274.41)There is no way the optimizer should choose to process that many rows using nested loops.
Either the statistics are not up to date, the data values are skewed or you have some optimizer parameter set to none default to force index access.
Please post explain plan and optimizer* parameter settings. -
Hi Gurus,
I m woking on performance tuning at the moment and wants some tips
regarding the Query performance tuning,if anyone can helpme in that
rfrence.
the thing is that i have got an idea about the system and now the
issues r with DB space, Abap Dumps, problem in free space in table
space, no number range buffering,cubes r using too many aggrigates,
large IC,Large ODS, and many others.
So my questionis that is anyone can tell me that how to resolve the
issues with the Large master data tables,and large ODS,and one more
importnat issue is KPI´s exceding there refrence valuses so any idea
how to deal with them.
waiting for the valuable responces.
thanks In advance
Redards
AmitHi Amit
For Query performance issue u can go for :-
Aggregates : They will help u a lot to make ur query faster becuase query doesnt hits ur cube it hits the aggregates which has very less number of records in comp to ur cube
secondly i wud suggest u is use CKF in place of formulaes if any in the query
other thing is avoid upto the extent possible the use fo nav attr . if u want to use them use it upto the minimal level reason i am saying so is during the query exec whn ever there is nav attr it provides unncessary join to ur MD and thus dec query perfo
be specifc to rows and columns if u r not sure of a kf or a char then better put it in a free char.
use filters if possible
if u follow these m sure ur query perfo will inc
Assign points if applicable
Thanks
puneet -
I'm using SQL Server 2008 R2 (10.50.4033) and I'm troubleshooting an issue that a select query against a specific view is taking more than 30 seconds consistently. The issue just starts happening this week and there is no mass changes in data.
The problem only occur if the query is issued from an IIS application but not from SSMS. One thing I noticed is that sys.dm_exec_cached_plans is returning 2 Parse Tree rows for the view - one created when the select query is issued
1st time from the IIS application and another one created when the same select query is issued 1st time from SSMS. The usecounts of the Parse Tree row for the view (the IIS one) is increasing whenever the select query is issued. The
usecounts of the Parse Tree row for the view (the SSMS one) does not increase when the select query is issued again.
There seems to be a correlation between the slowness of the query and the increasing of the usecounts of the Parse Tree row for the view.
I don't know why there is 2 Parse Tree rows for the view. There is also 2 Compiled Plan rows for the select query.
What does the Parse Tree row mean especially the usecounts column?>> The issue just starts happening this week and there is no mass changes in data.
There might be a mass changes in the execution plan for several reason without mass changes in data
If you have the old version and a way to check the old execution plan, and compare to the new one, that this should be your starting point. In most cases you don't have this option and we need to monitor from scratch.
>> The problem only occur if the query is issued from an IIS application but not from SSMS.
This mean that we know exactly what is the different and you can compare both execution plan. once you do it, you will find that they are no the same. But this is very common issue and we can know that it is a result of different SETting while connecting
from different application. SSMS is an external app like any app that you develop in Visual studio but the SSMS dose not use the Dot.Net default options.
Please check this link, to find the full explanation and solutions:
http://www.sommarskog.se/query-plan-mysteries.html
Take a look at sys.dm_exec_sessions for your ASP.Net application and for your SSMS session.
If you need more specific help, then we need more information and less stories :-)
We need to see the DDL+DML+Query and both execution plans
>> What does the Parse Tree row mean
I am not sure what you mean but the parse tree represents the logical steps necessary to execute the query that has been requested. you can check this tutorial about the execution plan: https://www.simple-talk.com/sql/performance/execution-plan-basics/ or
this one: http://www.developer.com/db/understanding-a-sql-server-query-execution-plan.html
>> regarding the usecount column or any other column check this link:
https://msdn.microsoft.com/en-us/library/ms187404.aspx?f=255&MSPPError=-2147217396.
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
40357-invalid string in example record query not issued
hello experts,
i am using forms 10g.in query mode i face that error 40357-invalid string in example record query not issued.
i used these code in key-next-item trigger
PROCEDURE KN_FOR_QUERY IS
BEGIN
IF :global.navigation = 'D' AND :global.mode = 'M'
THEN
IF NAME_IN(:SYSTEM.CURSOR_ITEM) IS NOT NULL
THEN
:global.temp_div_code:= :po_m.po_div_code;
:global.temp_po_num := :po_m.po_num;
:global.temp_po_ex_work := :PUR_DELV_D.DELV_EX_WORK;
:global.temp_modi_num:= :po_m.po_modi_num;
IF GET_BLOCK_PROPERTY(:SYSTEM.CURSOR_BLOCK,QUERY_HITS)=0
THEN
-- message('1---'||:SYSTEM.CURSOR_BLOCK);
-- message('2---'||:SYSTEM.CURSOR_BLOCK);
GO_BLOCK(:SYSTEM.CURSOR_BLOCK);
CLEAR_BLOCK(no_validate);
EXECUTE_QUERY;
-- ELSE
-- NEXT_ITEM;
END IF;
-- ELSE
-- mess(GET_ITEM_PROPERTY(:SYSTEM.CURSOR_ITEM,PROMPT_TEXT)||' Must Be Entered For Query...');
END IF;
ELSIF :global.navigation = 'D' and :global.mode = 'Q'
THEN
IF NAME_IN(:SYSTEM.CURSOR_ITEM) IS NOT NULL
THEN
MESS('Press Execute query button');
go_item('tools.execute_query');
ELSE
mess(GET_ITEM_PROPERTY(:SYSTEM.CURSOR_ITEM,PROMPT_TEXT)||' Must Be Entered For Query...');
END IF;
ELSIF :global.navigation = 'D' and :global.mode = 'A'
THEN
IF NAME_IN(:SYSTEM.CURSOR_ITEM) IS NOT NULL
THEN
NEXT_ITEM;
ELSE
mess(GET_ITEM_PROPERTY(:SYSTEM.CURSOR_ITEM,PROMPT_TEXT)||' Must Be Entered...');
END IF;
END IF;
END;
Thanks
RaviHi Ravi
u may need to debug to find out where and when the error exist pls note the following
Error Message: FRM-40357: Invalid string in example record. Query not issued.Error Cause:In query mode, you entered an invalid ALPHA or CHAR value in the example record.
Action:Correct the entry and retry the query. Level: >25
Type: Errorpls verifying that u r entering 1 char for global variable to be assigned so any number between 2single coat is considered a character not s number .
Amatu Allah -
Query Throttling issue after increasing List view threshold in connected webpart
Dear SharePointers,
I have connnected listview webpart deployed on site. Parent webpart
has 16 fields and over 3,000 listitems exists in list. Child webpart has 7 fields and more than 30,000 Items. The code works well in other sites in same web app and it also works well in other systems. We tested same in other system by increasing/decreasing
data but still we are not able to replicate issue. I know that this issue could also encounter if fields are not indexed in the list. Are there any other pointers which can use to debug this issue.
Milan Chauhan
Regards,
Milan Chauhan
LinkedIn
|
Twitter | Blog
| EmailHi,
According to your post, a Query Throttling issue occurred after increasing list view threshold in connected web part.
By default, this limit is set to 5,000 items for regular users and 20,000 items for users in an administrator role.
More information is here:
http://msdn.microsoft.com/en-us/library/ff798465.aspx
Please try to enable the Daily Time Window for Large Queries:
1.Go to Central Administration-> Application Management -> Manage web applications.
2.Select the web application that contains the large list.
3.Click General Settings, and then click Resource Throttling.
4.Under Daily Time Window for Large Queries, click to select Enable a daily time window for large queries.
5.Set a start time and duration when most of your users will not be working.
6.Click OK.
Best Regards
Dennis Guo
TechNet Community Support -
Hi All,
I want create the Statistics query on Multiprovider. Please give some inputs how to create this Statistics query on this.
thanks in advance
regards
kkHi KK,
have a look at this.
/people/vitaliy.rudnytskiy/blog/2007/01/21/tuning-of-data-load-on-example-of-bw-statistics--episode-1--analysis
/people/vitaliy.rudnytskiy/blog/2007/02/04/tuning-of-data-load-on-example-of-bw-statistics--episode-2--further-analysis
Regards. -
Query Performace Issue-Usage of SAP_DROP_EMPTY_FPARTITIONS Program
Hi Experts,
We are facing query peroformance issue in our BW Production System. Queries on the Sales Multiprovider are taking lot of time to run. We need to tune the query perofrmace.
We need to drop the empty partitions at the database level. Have anyone of you used the program SAP_DROP_EMPTY_FPARTITIONS to drop the empty partitions ? If Yes, Please provide me with details of your experience of using this program. Please let me know, whether there are any disadvantages using this program in the Production System.
Kindly treat this as an urgent requirement.
Your help will be appreciated....
Thanks,
ShalakaHi Shwetha,
I think that pgm drops if partition contains no records(in DEL_CNT)
or if partitions requid is not in dimtab (DEL_DIM)
Hope it helps!
(and don't forget to reward the answer, if you want !)
Bye,
Roberto -
Hi Folks,
i have installed the bi content queries for BI Statistics. 0TCT_MCA1_Q0200. for this query the the records are displaying like this.
bi application- bi application object-count for bi applicaitoncount for bi application objecttotal time
1. WebTemplate # 10 0 70
2. not assigned query1 0 4 20
likewise.....
my doubt is in the first record the web template contains 2 queries so the count at BI applicaiton object must be 2 right? but why its giving 0 which is meaning less. either way is not possible. bcas in the 2nd record its correct ,as it don include in the web template. so please advice me what i have to do to make the data meaningful and please let me know if any settings need to do anywhere.
waiting for your reply. as this is high priority issue please respond immediately.
your help will be appreciated greatly.
Thanks in advance,
AshokHi Rama,
thanks for your reply. i know the difference b/w BI application and BI application object counts.
bi applicaiton count only give the workbooks and web templates no of executions.
bi application object count will give the number of query/query view/element navigation executions.
but my question here is if we display both in single query why its not showing the values with complete record.
if the count for either is having values then other one is having 0's.
i just wnat to know why this is happening. even i checked the query on the cube 0TCT_CA1. in cube also its same.
please let me know the mitigation in that. the report will display like that only or what..?
my requirement is i want to see for my web template what is the count and how many queries are included in the web template and what is time take to execute the web template and the queries included in that as a single record.
hope u understand..if no plz let me know.
Thanks,
Ashok -
I am trying to see the log file in Manage sessions for the sql query in Answers. I see that if we run the same report multiple times, the sql query is showing up only the first time. Second time if I run it is not showing up. If I do a brand new report with diff columns picked it is giving me the sql then. Where do I set this option to show the sql query everytime I run a report even if it is the same report run multiple times. Is this caching issue?
It shouldn't.... Have you unchecked the "Cache" on the physical layer for this table? If you go onto the Advanced tab, is the option "Bypass the Oracle BI cache" checked?
-
RRI Issue when jumping to TCode in R/3
Hi Experts,
I need to Jump through RRI (RSBBS) from BW summary query to BW detailed query and from BW detailed query to TCode WB23 in our requirement. So i have created two RRI's in BW dev system one from Summary to detailed report and other from Detailed Report to R/3 Tcode . Here in receiver tab i have selected the Source system as R/3 technical system and Info source as 2LIS and ran the report and everything is working fine.
When i moved the changes iam not able to drill down to WB23 from 2nd RRI and this is the short dump error iam getting in BW Quality system.
What Happened:
The function module "RSRR_REPORT_CALL" was called, but cannot be
found in the Function Library.
Error in ABAP application program.
The current ABAP program "SAPMSSY1" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Error Analysis:
The program "SAPMSSY1" contains a CALL FUNCTION statement. The name
of the function module to be called is "RSRR_REPORT_CALL".
No function module exists with the name "RSRR_REPORT_CALL".
All function modules are stored in the Function Library (SE37).
Possible reasons:
a) Wrong name specified. Particular attention should be paid
to upper/lower case and underscores ("_")
b) Transport error
c) If an enqueue/dequeue module has been used, the lock object
may not have been activated (ABAP Dictionary)
may not have been activated (ABAP Dictionary).
Did any one of you faced the same problem. If so can you suggest the solution. Thank in Advance.
Sudhakar.Hi,
I got the result.
I shall let you know the steps.
1. Go to RSSBS
2. Choose the sender.
3. Choose the Receiver assignment.
4. Choose the source system.
5. Transaction code : WB23.
6. Save the transaction.
7. See that you have authorization for WB23 in receiver system.
8. Execute the query upto the detailed query in BW.
9. Choose the Receiver T.code in BW.
10. Maintain the Server ip in the Browser and host file.
11. Voila !!! Here is your logion pad and once you log in here is your transaction.
Regards
Govind. -
BW 3.5, BEx Query designer issue with text of the characteristics
Hi All,
We are currently using BEx 3.5 Query Designer to design the queries. We have one of the ODS on which we are querying for.
We have 3 different types of Customer in this ODS. 0Customer, 0BBP_CUSTOMER and 0GN_CUSTOMER. The problem is when we open this ODS in Query designer we see their text name on the left hand side column where it shows data fields as the same text name Customer.
Now the our Power users have raised the issue that it is very confusing even when there are 3 different technical names for these characteristics.
2 Questions I have.
1) Why is something like this happening? is it some issue with the Patch or something. We will be migrating to new BI soon but in the mean time if I could resolve it that will be the best. Or does it even get resolved with new BI???
2) what is the way in which we can resolve it?
Thanks in advance and points will be given generously.HI BI Consul!
Things like this happen, when it is called customer it could be different customers, 0customer is the standard R/3 customer and 0BBP_customer is objects from CRM and most likely 0GN_Customer might be customer from different system.
Sure, power users should be told which customer is customer and you could also change the discription of the object, to match the definition on the other system. You could also just create z object and replace the existing confusing object with something meaningful to users.
thanks.
Wond -
Hi,
Facing Database performance issue while runing overnight batches.
Generate tfprof output for that batch and found some sql query which is having high elapsed time. Could any one please let me know what is the issue for this. It will also be great help if anyone suggest what need to be done as per tuning of this sql queries so as to get better responce time.
Waiting for your reply.
Effected SQL List:
INSERT INTO INVTRNEE (TRANS_SESSION, TRANS_SEQUENCE, TRANS_ORG_CHILD,
TRANS_PRD_CHILD, TRANS_TRN_CODE, TRANS_TYPE_CODE, TRANS_DATE, INV_MRPT_CODE,
INV_DRPT_CODE, TRANS_CURR_CODE, PROC_SOURCE, TRANS_REF, TRANS_REF2,
TRANS_QTY, TRANS_RETL, TRANS_COST, TRANS_VAT, TRANS_POS_EXT_TOTAL,
INNER_PK_TECH_KEY, TRANS_INNERS, TRANS_EACHES, TRANS_UOM, TRANS_WEIGHT,
TRANS_WEIGHT_UOM )
VALUES
(:B22 , :B1 , :B2 , :B3 , :B4 , :B5 , :B21 , :B6 , :B7 , :B8 , :B20 , :B19 ,
NULL, :B9 , :B10 , :B11 , 0.0, :B12 , :B13 , :B14 , :B15 , :B16 , :B17 ,
:B18 )
call count cpu elapsed disk query current rows
Parse 722 0.09 0.04 0 0 0 0
Execute 1060 7.96 83.01 11442 21598 88401 149973
Fetch 0 0.00 0.00 0 0 0 0
total 1782 8.05 83.06 11442 21598 88401 149973
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
UPDATE /*+ ROWID(TRFDTLEE) */TRFDTLEE SET TRF_STATUS = :B2
WHERE
ROWID = :B1
call count cpu elapsed disk query current rows
Parse 635 0.03 0.01 0 0 0 0
Execute 49902 14.48 271.25 41803 80704 355837 49902
Fetch 0 0.00 0.00 0 0 0 0
total 50537 14.51 271.27 41803 80704 355837 49902
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
DECLARE
var_trans_session invtrnee.trans_session%TYPE;
BEGIN
-- ADDED BY SHANKAR ON 08/29/97
-- GET THE NEXT AVAILABLE TRANS_SESSION
bastkey('trans_session',0,var_trans_session,'T');
-- MAS001
uk_trfbapuo_auto(var_trans_session,'UPLOAD','T',300);
-- MAS001 end
END;
call count cpu elapsed disk query current rows
Parse 0 0.00 0.00 0 0 0 0
Execute 1 24191.23 24028.57 8172196 10533885 187888 1
Fetch 0 0.00 0.00 0 0 0 0
total 1 24191.23 24028.57 8172196 10533885 187888 1
Misses in library cache during parse: 0
Misses in library cache during execute: 1
Optimizer goal: CHOOSE
SELECT INNER_PK_TECH_KEY
FROM
PRDPCDEE WHERE PRD_LVL_CHILD = :B1 AND LOOSE_PACK_FLAG = 'T'
call count cpu elapsed disk query current rows
Parse 1 0.01 0.00 0 0 0 0
Execute 56081 1.90 2.03 0 0 0 0
Fetch 56081 11.07 458.58 53792 246017 0 56081
total 112163 12.98 460.61 53792 246017 0 56081
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
******************First off, be aware of the assumptions I'm making. The SQL you presented above strongly suggests (to me at least) that you have cursor for loops. If that's the case, you need to review what their purpose is and look to convert them into single statement DML commands. For example if you have something like this
DECLARE
ln_Count NUMBER;
ln_SomeValue NUMBER;
BEGIN
FOR lcr_Row IN ( SELECT pk_id,col1,col2 FROM some_table)
LOOP
SELECT
COUNT(*)
INTO
ln_COunt
FROM
target_table
WHERE
pk_id = lcr_Row.pk_id;
IF ln_Count = 0 THEN
SELECT
some_value
INTO
ln_SomeValue
FROM
some_other_table
WHERE
pk_id = lcr_Row.col1
INSERT
INTO
target_table
( pk_id,
some_other_value,
col2
VALUES
( lcr_Row.col1,
ln_SomeValue,
lcr_Row.col2
ELSE
UPDATE
target_table
SET
some_other_value = ln_SomeValue
WHERE
pk_id = lcr_Row.col1;
END IF;
END LOOP;
END; it could be rewritten as
DECLARE
BEGIN
MERGE INTO target_table b
USING ( SELECT
a.pk_id,
a.col2,
b.some_value
FROM
some_table a,
some_other_table b
WHERE
b.pk_id = a.col1
) e
ON (b.pk_id = e.pk_id)
WHEN MATCHED THEN
UPDATE SET b.some_other_value = e.some_value
WHEN NOT MATCHED THEN
INSERT ( b.pk_id,
b.col2,
b.some_other_value)
VALUES( b.pk_id,
b.col2,
b.some_value);
END;It's going to take a bit of analysis and work but the fastest and most scalable way to approach processing data is to use SQL rather than PL/SQL. PL/SQL data processing i.e. cursor loops should be an option of last resort.
HTH
David -
Hi All,
I have created the RRI to navigate between BW report to the R/3 transaction. This navigation works fine in DEV, but when it is moved to UAT it is not navigating to R/3 transaction.
After clicking on the GOTO option the navigation fails to kick off and the control remains in the report itself. There is no error message or dump shown.
The objects of RRI has been checked for proper transport and also checked in RSBBS T-Code in UAT for correct mapping of source system. I am using BW3.5.
Meanwhile, the R/3 system is throwing a dump with error message
"DYNPRO_SEND_IN_BACKGROUND"
"Screen output without connection to user".
Iam not able to get a hold of this issue. Is there any configuration changes to be done while transporting to UAT while RRI is being used?
please advice..,,
Regards,
Aravind
Edited by: r6wind on Oct 16, 2009 8:30 AMHi Aravind,
Can you please share what are the procedure to do for the navigation of BW report to R/3 transaction.
I hve the same requirement, some what i did but when i try to navigate to R/3 transaction, a new URL is
opening but it is not connecting to the R/3 server. Whether we need to do any setting for this?
Kindly help me on this.
Thanks,
Jackie.
Maybe you are looking for
-
Hi def sound card? internal dv4 1123us
I recent ly put this out there and accidentaly clicked on solved after 1 reply/ is there any software that is in this thing that will let me record line in (Im not talking microphone) I mean come-on HP has to support its own device, or at least provi
-
How many times you can repeat a failed delta?
Hi, Expert, I am facing with an failed delta that loads data from a DSO to another. I have repeated the delta 4 times. The first two times, it failed with deadlock, the 3rd time, it failed with out of internal memory issue and now I am getting 6 syst
-
Problem when creating 8i database on RH6.0
my machine is oracle 8i on REdhat 6.0 and when I use script to create database it is said some views ,some tables and synonym do not exist then drop them Will the database work well in future?
-
IBook G3 won't connect to wifi
So I tried to connect to the wifi at my work yesterday using my iBook G3 and it wouldn't connect. We entered the passcode in correctly but it said that the passcode was incorrect. I can connect to other networks just fine. People at my work could con
-
10g ORA-30625: method dispatch on NULL SELF argument is disallowed Options
I found this site for consuming a web service from oracle 9i. I'm trying it from 10g http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php I have an intranet web service (.NET) I know is working as I use it from other clients. But am gett