Report KSB1 take time to give output
Hi
When we run the T-Code KSB1 for a report it is taking more than 1 Hour to proceed the report for one month time period.
This happening only for certain group of cost centers only. Can somebody help to solve this issue.
Regards
Kesharika
HI,
there is a number of SAPNET notes dealing with performance of CO line item reports (search "KSB1" and "performance" for example note number 607011, 840414,...).
Depending on your specific situation (reading from archive, how are the CC groups defined,...) you should read the notes and do the things suggested there.
Best regards, Christian
Similar Messages
-
Adding Hyperlinks in Report shuould take action in PDF Output
Hi All,
I had a requirement with reports
Explanation of the requirement.
I had a report aaa.rdf which gives a (one)employee monthly details.
which need to be output in PDF.
now the requuirement is
I had added labels "next-month" and "previous-month" labels at either side of report title.
I need the code to kept in these labels such that when this report is executed and taken into PDF file, when user
user clicks on the "next-month" or "previous-month" in that PDF file, the action to take is it should re-ran the same report(aaa.rdf) and should display the output in PDF in the same window but now the output should show the
coressponding next-month or previous-month results respectively of that employee.
please let me know if this make sense.
please guide for the above requirement.
this is very very urgent your help will be appreciated.
Thanks in advance
RRMHi,
it is not too late ....
It's possible to add such Hyperlinks to the pdf-Output of a report.
With use of the built-in rw.set_hyperlink('hyperlink') in a format trigge you can realize that. "hyperlink" is for example then something like:
'/reports/rwservlet?destype=cache&desformat=pdf&report=drilldetail.jsp&userid=scott/tiger@josi&p_deptno='||:deptno
In your case it's a call to the same report you run before and you had to set your month-parameter in the call depending your current month (next or previous).
With srw.set_hyperlink_attrs('string') it's possible to add additional attributes like for example
srw.set_hyperlink_attrs('target=_new')
which opens a new browser window.
This works for HTML & PDF.
Regards
Rainer -
Application Diagnostics takes long long time to generate output report
Hello All
Please give me suggestion how can I improve performance of Application Diagnostics. It takes long long time to generate output report for a single transaction, i.e. Invoice.
Thanks
MakshudDo you have the statistics collected up to date?
Please make sure you have applied the latest patch as per these docs.
E-Business Suite Diagnostics Installation Guide [ID 167000.1]
E-Business Suite Diagnostic Tools FAQ and Troubleshooting Guide for Release 11i and R12 [ID 235307.1]
If you still have any performance issues when running the tool, I would suggest you log a SR.
Thanks,
Hussein -
VA05 & VA05N - Taking Long time to Give the Output.
Dear All,
VA05 & VA05N - Taking Long time to Give the Output for
Single date & Single Sales Office
if I create Z-Program (VBAK) also taking Long time for Single date & Single Sales Office.
Please Give some idea to Optimization the VA05 & VA05N.
Please Give your Valuable solution.
Thanks,
Durai.VDear Lakshmipathi,
In my Previous client (ECC 5.0) VA05N Executing very fast for one month date for all sales office.
They running SAP around 3 years, there data also huge but its giving fast output.
But my current client ECC 5.0, here running SAP around 2.5 years, But here taking Long time to give
the output for singe date & one Sales Office.
But Billing details report VF05N Executing very fast.
Thanks,
Durai.V -
Hi All ,
I am facing an issue where the EPM Excel Templates on SERVER ROOT FOLDER take time to open on 1 system . It also takes great amount of time to REFRESH . While on an another system the same Report opens rather quickly and refreshes also quickly .
Regards,
SHUBHAMHi Shubham,
Now day excel problems are due to some MS update. Not sure but have a look at below note.
2107965 - Issues in EPM Add-in after installing Microsoft updates -
Crystal Report 10 take toomuch time to display report
hi every one
i have designed some reports with crystal report 10. i am using classic ASP
and windows 2003 Enterprise server as web server. The problem is that when i browse the report in Internet explorer, it takes too much time to display the report, and many times it does not display the report giving simply the message "the page cannot be displayed" 500 HTTP internal error. i am using SQL server 2000 SP4 as data source. when i use Access it disp[lay the report but take too much time to display the report.
pls help me
thanksAll I can do is provide suggestions (CR 10 has been out of any support for over 4 years now...).
Make sure you are using the latest updates - both on your dev and on the deployed server. Search for the updates here:
http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
You also need to consider "too much time to display the report". As compared to what? E.g.; how is the performance with the same database, dataset, etc, in the CR designer? The performance at runtime will never be better than the designer.
You may also want to experiment with different database connections (OLE DB, ODBC, Native) and different DB clients.
Finally, see the following for tips on how to improve performance:
http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d08468e2-a81d-2b10-faa9-9837f58ee1c2?quicklink=index&overridelayout=true
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8029cc96-6ff3-2b10-47a2-b30ea790ea5b
The above is written for the CR SDK for .NET, but the same tips will apply to your solution
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Report execution takes long time
Dear all,
we have a report which takes long time to exceute due to select statement.. here is the code..
SELECT vkorg vtweg spart kunnr kunn2 AS division FROM knvp
INTO CORRESPONDING FIELDS OF TABLE hier
WHERE kunn2 IN s_kunnr
AND vkorg EQ '0001'
AND parvw EQ 'ZV'.
l_parvw = 'WE'.
SORT hier.
* select all invoices within the specified invoice creation dates.
CHECK NOT hier[] IS INITIAL.
SELECT vbrk~vbeln vbrk~fkart vbrk~waerk vbrk~vkorg vbrk~vtweg vbrk~spart vbrk~knumv
vbrk~konda vbrk~bzirk vbrk~pltyp vbrk~kunag vbrp~vbeln vbrp~aubel vbrp~posnr
vbrp~fkimg vbrp~matnr vbrp~prctr vbpa~kunnr
vbrp~pstyv vbrp~uepos
vbrp~kvgr4 vbrp~ean11
INTO CORRESPONDING FIELDS OF TABLE it_bill
FROM vbrk INNER JOIN vbrp ON vbrp~vbeln = vbrk~vbeln
INNER JOIN vbpa ON vbpa~vbeln = vbrk~vbeln
FOR ALL entries IN hier
WHERE (lt_syntax)
AND vbrk~vbeln IN s_vbeln
* AND vbrk~erdat IN r_period
AND vbrk~fkdat IN r_period
AND vbrk~rfbsk EQ 'C'
AND vbrk~vkorg EQ hier-vkorg
AND vbrk~vtweg EQ hier-vtweg
AND vbrk~spart EQ hier-spart.
Can anyone say about how to reduce the execution time.?
Edited by: Thomas Zloch on Sep 22, 2010 2:46 PM - please use code tagsHi
first of all never use move corressponding.
Rather you should declare a work area for table hier.
select values into the work area and then append that workarea into the table hier.
In case of for all entries include all the primary keys in the selection and for the keys which are of no use declare constants with initial valules like:
'prmkey' is a primary field for table 'tab1' .
Constants: field1 type tab1-prmkey value initial.
and then in your where condition write.
prmkey GE field1.
I hope it is clear to you now.
Thanks
lalit Gupta -
Execution takes time for the report in Application
I have developed a report for payroll runresult.Its execution time is 3 minutes,but when i run in application it takes half an hour
The query i use is...
SELECT round((sum(nvl(DECODE(PET.element_name,'Basic Salary',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'House Rent Allowance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Transport Allowance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Petrol Allowance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Vehicle Allowance',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Additional HRA',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Other Allowance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Carried Balance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Mobile Allowance',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Fixed Over Time',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Rent Deduction',ROUND(prrv.result_value,3),0),0)) -
sum(nvl(DECODE(PET.element_name,'Vehicle Allowance Deducted',ROUND(prrv.result_value,3),0),0)) -
sum(nvl(DECODE(PET.element_name,'HRA Deducted',ROUND(prrv.result_value,3),0),0)) -
sum(nvl(DECODE(PET.element_name,'Rent Deduction',ROUND(prrv.result_value,3),0),0)) -
sum(nvl(DECODE(PET.element_name,'Insurance Deduction',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Medical Insurance',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Family Passage Allowance',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Salik Allowance',ROUND(prrv.result_value,3),0),0)) -
sum(nvl(DECODE(PET.element_name,'Family Insurance Deduction',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Fixed Incentive',ROUND(prrv.result_value,3),0),0)) +
sum(nvl(DECODE(PET.element_name,'Company Accomodation Provided',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Mess Deduction',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Normal Overtime',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Special Overtime',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Telephone Allowance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Other Allowance',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Other Earnings',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Other Deductions',ROUND(prrv.result_value,3),0),0)) -
sum(nvl(DECODE(PET.element_name,'Salary Advance Recovery',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Air Ticket Refund',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Vehicle Fines and Charges',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Abroad Emergency Leave',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Abscond Leave',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Air Fare Paid',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Recovery Carried Balance',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Hajj Leave',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Local Leave',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Sick Leave Deduction',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Sick Leave Without certificate',ROUND(prrv.result_value,3),0),0))-
sum(nvl(DECODE(PET.element_name,'Round Off Deduction',ROUND(prrv.result_value,3),0),0))+
sum(nvl(DECODE(PET.element_name,'Round Off Earnings',ROUND(prrv.result_value,3),0),0))),0)Net_Salary,papf.national_identifier groupcode,papf.FULL_NAME,paav.effective_date,
haout.name costcentre,pg.name grade, pj.name designation ,paaf.ASSIGNMENT_NUMBER employee_number,decode(pop.org_payment_method_name,'RI_CASH','C','B')Payment
FROM pay_run_results_v prrv,pay_run_results prr,pay_assignment_actions paa,per_all_assignments_f paaf,per_all_people_f papf,hr_all_organization_units_tl haout,
per_grades pg, per_jobs pj,pay_assignment_actions_v paav,pay_personal_payment_methods_f ppp,pay_all_payrolls_f pap,pay_payroll_actions ppa,
pay_org_payment_methods_f_tl pop,pay_element_types_f PET
WHERE --prrv.assignment_action_id = 49449 and
ppp.assignment_id(+) = paa.assignment_id
AND pop.org_payment_method_id(+) = ppp.org_payment_method_id AND
paa.ASSIGNMENT_ACTION_ID=prrv.ASSIGNMENT_ACTION_ID and paaf.ASSIGNMENT_ID=paa.ASSIGNMENT_ID
and haout.organization_id=paaf.ORGANIZATION_ID
and papf.EMPLOYEE_NUMBER=paaf.ASSIGNMENT_NUMBER
AND prrv.run_result_id = prr.run_result_id
AND ppa.effective_date BETWEEN pet.effective_start_date
AND pet.effective_end_date
AND prr.element_type_id = pet.element_type_id
and prrv.CLASSIFICATION_NAME not like 'Info%'
-- and prrv.element_name not like 'Gross Salary%'
-- and prrv.element_name not like 'Annual%'
and pj.job_id(+)=paaf.job_id
and haout.name=nvl(:P_Dept,haout.name)
and ppa.PAYROLL_ACTION_ID=paa.PAYROLL_ACTION_ID
and pap.PAYROLL_ID=ppa.PAYROLL_ID
and paav.ASSIGNMENT_ID=paaf.ASSIGNMENT_ID
and paav.ASSIGNMENT_ACTION_ID=paa.ASSIGNMENT_ACTION_ID
and pap.PAYROLL_NAME=NVL(:P_PAYROLL_NAME,pap.PAYROLL_NAME)
--and papf.national_identifier = 03917
and paav.effective_date >= TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY')
AND paav.effective_date <= LAST_DAY (TO_DATE ('01-' || :p_start_date, 'DD-MON-YYYY'))
-- and paav.DATE_EARNED=to_char(:p_date,'DD-MON-YYYY')
and pg.grade_id(+)=paaf.grade_id group by papf.national_identifier,papf.FULL_NAME,paav.effective_date,
haout.name ,pg.name , pj.name,paaf.ASSIGNMENT_NUMBER,pop.org_payment_method_name,papf.employee_number
Cant analyse where it takes time...
Regards,
MeraI don't think that the "SUM" structure in the SELECT makes a difference in performance (And DO NOT use PL/SQL for this!) And as long as you SUM most PET.element_name values you do not need to filter by them.
But, of course, the solution of "Sven W." would make the code MUCH nicer (took me a while to get it) and the "format" of the join conditions would take anyone ages to maintain that code!
But your problem is that the execution differs massively right?
Do you do the same thing? E.g. bind variables in the interactive part? Do the variables have the same value?
Do you filter on the other variables like "P_DEPT" etc. ?
"and haout.name=nvl(:P_Dept,haout.name)"
The good thing is that you have an execution which makes you happy so you need to compare the SQL and the execution for both. Somewhere must be a difference. (Is the result the same by the way (just in case your parameters differ)?)
If the results and parameters are the same, then do you not work with parameters in the "interactive" test and ORACLE is choosing a different execution plan as it knows more about your question. If that's the case, try to hint the query so that it's using the desired execution plan when you work with parameters.
And how did you get that "execution plan" it's missing so much data and it's not formated. (put around it and check in "Preview" if it looks as desired)
-- andy -
Standard SAP HR report to give output on change in fields values
Hi
Is there any starndard report in sap hr which will give output on changes on the infotype fileds for given two dates.Hi,
Use FM HR_INFOTYPE_LOG_GET_DETAIL .
Regards,
Srini. -
How we can display the running time as an output by writting abap report?
hi to all,
my name ahmed iam just abap fresher.i know java/j2ee very well.
i want to display the runing time as an output of abap report.Is it possible if possible how.Hi,
system field SY-UZEIT
WRITE : SY-UZEIT.
Regards,
V.Balaji
Reward if Usefull... -
FBL3N T-code takes lot of time to produced output.
Hi expert,
FBL3N T-code takes lot of time to produced output.
and many times accure TIME_OUT Runtime error.
REgards,Hi Vivek,
When you run the T-code FBL3N , Monitor SM50 and check the tables and run the statistics on the specified tables using Db20 t-code.
Refer to below link for more information.
http://help.sap.com/saphelp_nwpi71/helpdata/en/45/d59f51b3735594e10000000a1553f7/content.htm
Also
Refer to Note 1135916 - Line items: Help for analysis for long runtime
Check whether a suitable database index has been created in the dictionary (transaction SE11 -> indexes). If no index has been created, create the corresponding index and activate it.
Possible fields may be:
BSIS/BSAS: MANDT, BUKRS, HKONT, BUDAT
BSIK/BSAK: MANDT, BUKRS, LIFNR, BUDAT
BSID/BSAD: MANDT, BUKRS, KUNNR, BUDAT
Regards,
Sravanthi
Edited by: Sravanthi.sap on Jan 9, 2012 10:17 PM -
Firstly hello to all. I’m looking to create a vi that will
take a single logged output from a thermocouple and monitor the temperature and
produce a Boolean when the temperature has stabilised for a pre determined time
say 1minuet. I have managed to find a couple of examples on the forum but one
will only run on V8.2 and I have V8, the other is for more than one channel
witch is fine I can always reduce this, but it was the timing feature I was
having difficulty with. I looking to monitor the temperature of a motor until
it has stabilised prior to testing and then to use this temperature as a
reference. Pleas forgive my ignorance if this is a very simple thing but I’ am
learning and really enjoying it. Thank you in advance for your answers.Hi
Graham, thank you for you reply.
What I’ am trying to achieve is a vi I can use in a motor
testing setup, a part of this would be to warm the motor up until the exhaust
air temperature has stabilised, this takes approximately 10 minuets. I was
thinking of just letting the motor run for this time and leave it at this, but
some motors warm up quicker that others and. I am basically looking for a vi with
an adjustable temperature window of say ±5 C° in 1° increments, timing wise 1minuet
to 10min the adjustment is so I a can use this for another application. I tried
to adjust the code I found at the link below but had a little difficulty with
the timing. Thank you so much for your help it’s much appreciated.
sine.ni.com/niforum/niforum?forumDU=http://forums.ni.com/ni/board/message?board.id=170&message.id=251017&requireLogin=False -
I am using iPhone 5 by Cricket and it is international unlock and i tried that when i entered the sim first time it gives network but when i take out the sim and entered the sim again it doesnt give network and keep searching why ?? Is this problem can be resolve
Don't know where you got that idea, all US Cricket iPhones are carrier locked, with NO way to get them officially unlocked, as Cricket DOES NOT offer official unlocking for the iPhone.
-
I am running TS 3.5 and LV 8.2.1. I want to know how long each line is taking to run. Is there a way to set up a global pre/post condition that would create time stamps? I would then be able to perhaps grab some identifying property of the step and log this property and the delta-time to an output or file...etc.
I would be very grateful for any help or suggestions.
Many thanks!The time information you're looking for should already be in the ResultList»TS»Sequence Call»ResultList»TS Variable. I've attached a screenshot of this. Let me know if this is the kind of information you are looking for.
Regards,
Steven Zittrower
Applications Engineer
National Instruments
http://www.ni.com/support
Message Edited by StevieZ on 04-03-2009 11:34 AM
Attachments:
seq.png 53 KB -
SSRS Reports taking long time to load
Hello,
Problem : SSRS Reports taking long time to load
My System environment : Visual Studio 2008 SP1 and SQL Server 2008 R2
Production Environment : Visual Studio 2008 SP1 and SQL Server 2008 R2
I have created a Parameterized report (6 parameters), it will fetch data from 1 table. table has 1 year and 6 months data, I am selecting parameters for only 1 month (about 2500 records). It is taking almost 2 minutes and 30 seconds
to load the report.
This report running efficiently in my system (report load takes only 5 to 6 seconds) but in
production it is taking 2 minutes 30 seconds.
I have checked the Execution log from production so I found the timing for
Data retrieval (approx~) Processing (approx~) Rendering (approx~)
10 second 15 sec
2 mins and 5 sec.
But Confusing point is that , if I run the same report at different time overall output time is same (approx) 2 min 30 sec but
Data retrieval (approx~) Processing (approx~) Rendering (approx~)
more than 1 min 15 sec
more than 1 min
so 1 question why timings are different ?
My doubts are
1) If query(procedure to retrieve the data) is the problem then it should take more time always,
2) If Report structure is problem then rendering will also take same time (long time)
for this (2nd point) I checked on blog that Rendering depends on environment structure e.g. Network bandwidth, RAM, CPU Usage , Number of users accessing same report at a time.
So I did testing of report when no other user working on any report But failed (same result output is 2 min 30 sec)
From network team I got the result is that there is no issue or overload in CPU usage or RAM also No issue in Network bandwidth.
Production Database Server and Report server are different (but in same network).
I checked that database server the SQL Server is using almost Full RAM (23 GB out of 24 GB)
I tried to allocate the memory to less amount up to 2GB (Trial solution I got from Blogs) but this on also failed.
one hint I got from colleague that , change the allocated memory setting from static memory to dynamic to SQL Server
(I guess above point is the same) I could not find that option Static and Dynamic memory setting.
I did below steps
Connected to SQL Server Instance
Right click on Instance go to properties, Go to Memory Tab
I found three options 1) Server Memory 2) Other memory 3) Section for "Configured values and Running values"
Then I tried to reduce Maximum Server memory up to 2 GB (As mentioned above)
All trials failed, this issue I could not find the roots for this issue.
Can anyone please help (it's bit urgent).Hi UdayKGR,
According to your description, your report takes too long to load on your production environment. Right?
In this scenario, since the report runs quickly in developing environment, we initially think it supposed to be the issue on data retrieval. However, based on the information in execution log, it takes longest time on rendering part. So we suggest you optimize
the report itself to reduce the time for rendering. Please refer to the link below:
My report takes too long to render
Here is another article about overall performance optimization for Reporting Services:
Reporting Services Performance and Optimization
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
Maybe you are looking for
-
Apple mini DVI to video adapter HELP!
Can someone please tell me which cords I need to use this? Please give me pictures as I am not proficient with TV cords O.o
-
I ordered Snow Leopard and received the disk from Apple. It loaded fine in my white Macbook 4 ,1 that has 4GB memory, Intel Core 2 Duo, 2.1 GHZ processor and L2Cache 3mb. Decided to upgrade once more to Mountain Lion (skipped Lion) and purchased the
-
Using Ref Cursor in procedure in place of normal cursor
Hi, I have a procedure where i have the follwoing cursors declared, CURSOR c_wip IS SELECT tdvalue FROM tabledetails WHERE tdidcode = 'PEL_DASHBOARD' AND tdkey LIKE 'WIP_QUEUES%'; CURSOR c_pending IS SELECT tdvalue FROM tabledetails WHERE tdidcode =
-
Cant create iCloud photo album in Yosemite
I have imported some photos in iPhoto. I tried to create an iCloud album but it won't let me. Is this a bug in Yosemite?
-
Re all tracks change to a lighter color tone.
re all tracks change to a lighter color tone. Hi guys.. occasionally I click something not sure what, as my pen on a Wacom tablet is very trigger happy.... then all the tracks turn a lighter green and I cant edit them any more. I feel sure that this