Dynamic Page Performance Issues
Hello,
We have a number of pl/sql procedures that display information, and are currently implemented as portlets via separate dynamic pages. The dynamic page simply calls the PL/SQL procedure with the appropriate parameters, and overall it works well.
What I have been noticing though, is analyzing a page using the &_debug=1 parameter, shows an example portlet (dynamic page) being generated - Portlet Timing: 4969 msecs. When running the procedure on its own (/pls/portal/schema.pkg.proc) it runs in about 1.5 - 2.0 seconds.
Why does the dynamic page implementation add so much overhead? Is there something else that I can or should be tuning to help this? Any ideas?
Similar results have been proven on other procedures/dynamic pages, so it seems to be an issue across the board.
Thanks in advance,
Mike
Dynamic Page Porltets are expensive because they contact the database to run there associated queries EVERY time they are called.
There is an inherent overhead with the Portal architecture when contacting the database to generate portlets. The best thing you can do is tune your query to the maximum.
Thanks
Peter
Similar Messages
-
(Sorry for my English)
I'm using iPad almost everyday not only for browsing web but for productivity tools as well, like Evernote or Pages. But I have had several problems with Pages for iPad and one of them is about the performance. When I start a document, it works well or at least it looks good working. But if the document get longer, Pages becomes terribly slow and actually I type far faster than Pages does. I want to know whether it happens only on my iPad or not. I tried to shut down all background working programs and completely recovered iPad on iTunes, too. But it doesn't help to solve this problem. What should I do now? Please give me some suggestions. Thank you-
iPad: iOS 4.2.1
Pages: 1.3.1
Not jailbreaked
Default language: Korean
Keyboard: English, Korean, GermanI have a Pages document with 20 pages of text (English) no problems. I placed some Asian text into 5 pages and Pages slowed down.
It is the Asian text that is slowing down Pages... You could try typing in the Notes app and copy that into Pages. The Notes app didn't slow down with Asian text. -
Photoshop, smart objects and dynamic filters performance issues
Hello,
I am quite new to Photoshop, after several years with Capture NX 2 to process thousands of NEF and RW2 files (RAW from Nikon and Panasonic).
I use Photoshop to read RAW pictures, convert them to a smart object, then apply several dynamic filters, mainly from the Nik Collection (Dfine, Color Efex Pro, Sharperner Pro), sometimes Topaz Denoise. I do that with actions, so I can batch process many pictures.
But sometimes I have to manually adjust some settings, and this where I do not really understand the way Photoshop works. If I have to adjust let say the last filter on the stack, Photoshop reprocesses all the filters below, which can be very tedious as this takes lot of time.
Is there a way to tell Photoshop to keep all intermediate data in memory, so if you have to adjust one of the last filters the process starts immediately?
Any help would be greatly appreciate.
Frederic.Thank you Chris.
I am surprised, as for years there has been a lot of discussions about Capture NX2 which was supposed to be slow. In fact, when using the same filters (+ Nik Color Efex), NX2 is much much faster than Photoshop, and when you have to make an adjustment in any of the setttings, you can do that immediateley.
Of course, Photoshop is completely opened and NX2 totally closed (and now not supported anymore).
But, I really don't know how to adapt my workflow, except buying the most powerful PC possible (I already have 2 which are quite powerful), and this will still be far from being comfortable. I am used to tune manually many many pictures (adjust noise reduction, sharpening, light, colors ...), and this was quite fast with NX2.
I am probably not on the correct forum for this, and I will try to investigate elsewhere.
Anyhow, thank you for your answer.
Frédéric -
Performance issues with dynamic action (PL/SQL)
Hi!
I'm having perfomance issues with a dynamic action that is triggered on a button click.
I have 5 drop down lists to select columns which the users want to filter, 5 drop down lists to select an operation and 5 boxes to input values.
After that, there is a filter button that just submits the page based on the selected filters.
This part works fine, the data is filtered almost instantaneously.
After this, I have 3 column selectors and 3 boxes where users put values they wish to update the filtered rows to,
There is an update button that calls the dynamic action (procedure that is written below).
It should be straight out, the only performance issue could be the decode section, because I need to cover cases when user wants to set a value to null (@) and when he doesn't want update 3 columns, but less (he leaves '').
Hence P99_X_UC1 || ' = decode(' || P99_X_UV1 ||','''','|| P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 ||')
However when I finally click the update button, my browser freezes and nothing happens on the table.
Can anyone help me solve this and improve the speed of the update?
Regards,
Ivan
P.S. The code for the procedure is below:
create or replace
PROCEDURE DWP.PROC_UPD
(P99_X_UC1 in VARCHAR2,
P99_X_UV1 in VARCHAR2,
P99_X_UC2 in VARCHAR2,
P99_X_UV2 in VARCHAR2,
P99_X_UC3 in VARCHAR2,
P99_X_UV3 in VARCHAR2,
P99_X_COL in VARCHAR2,
P99_X_O in VARCHAR2,
P99_X_V in VARCHAR2,
P99_X_COL2 in VARCHAR2,
P99_X_O2 in VARCHAR2,
P99_X_V2 in VARCHAR2,
P99_X_COL3 in VARCHAR2,
P99_X_O3 in VARCHAR2,
P99_X_V3 in VARCHAR2,
P99_X_COL4 in VARCHAR2,
P99_X_O4 in VARCHAR2,
P99_X_V4 in VARCHAR2,
P99_X_COL5 in VARCHAR2,
P99_X_O5 in VARCHAR2,
P99_X_V5 in VARCHAR2,
P99_X_CD in VARCHAR2,
P99_X_VD in VARCHAR2
) IS
l_sql_stmt varchar2(32600);
p_table_name varchar2(30) := 'DWP.IZV_SLOG_DET';
BEGIN
l_sql_stmt := 'update ' || p_table_name || ' set '
|| P99_X_UC1 || ' = decode(' || P99_X_UV1 ||','''','|| P99_X_UC1 ||',''@'',null,'|| P99_X_UV1 ||'),'
|| P99_X_UC2 || ' = decode(' || P99_X_UV2 ||','''','|| P99_X_UC2 ||',''@'',null,'|| P99_X_UV2 ||'),'
|| P99_X_UC3 || ' = decode(' || P99_X_UV3 ||','''','|| P99_X_UC3 ||',''@'',null,'|| P99_X_UV3 ||') where '||
P99_X_COL ||' '|| P99_X_O ||' ' || P99_X_V || ' and ' ||
P99_X_COL2 ||' '|| P99_X_O2 ||' ' || P99_X_V2 || ' and ' ||
P99_X_COL3 ||' '|| P99_X_O3 ||' ' || P99_X_V3 || ' and ' ||
P99_X_COL4 ||' '|| P99_X_O4 ||' ' || P99_X_V4 || ' and ' ||
P99_X_COL5 ||' '|| P99_X_O5 ||' ' || P99_X_V5 || ' and ' ||
P99_X_CD || ' = ' || P99_X_VD ;
--dbms_output.put_line(l_sql_stmt);
EXECUTE IMMEDIATE l_sql_stmt;
END;Hi Ivan,
I do not think that the decode is performance relevant. Maybe the update hangs because some other transaction has uncommitted changes to one of the affected rows or the where clause is not selective enough and needs to update a huge amount of records.
Besides that - and I might be wrong, because I only know some part of your app - the code here looks like you have a huge sql injection vulnerability here. Maybe you should consider re-writing your logic in static sql. If that is not possible, you should make sure that the user input only contains allowed values, e.g. by white-listing P99_X_On (i.e. make sure they only contain known values like '=', '<', ...), and by using dbms_assert.enquote_name/enquote_literal on the other P99_X_nnn parameters.
Regards,
Christian -
Hi All,
We have used WSRP Portlet in Webcenter Portal Page. The Portlet is created using JSF Bridge out of ADF Bounded Taskflow.
It is causing Performance issue. Every time static content like js, css and images URLs are downloaded and the URL contain portlet_id and few other dynamic parameters like resource_id, client_id etc.
We are not able to cache these static content as these contains dynamic URL. This ADF Specific images, js and css files are taking longer time to load.
Sample URL:
/<PORTAL_CONTEXT>/resourceproxy/~.clientId~3D-1~26resourceId~3Dresource-url~25253Dhttp~2525253A~2525252F~2525252F<10.*.*.*>~2525253A7020~2525252FportletProdApp~2525252Fafr~2525252Fring_60.gif~26locale~3Den~26checksum~3D3e839bc581d5ce6858c88e7cb3f17d073c0091c7/ring_60.gif
/<PORTAL_CONTEXT>/resourceproxy/~.clientId~3D-1~26resourceId~3Dresource-url~25253Dhttp~2525253A~2525252F~2525252F<10.*.*.*>~2525253A7020~2525252FportletProdApp~2525252Fafr~2525252Fpartition~2525252Fie~2525252Fn~2525252Fdefault~2525252Fopt~2525252Fimagelink-11.1.1.7.0-4251.js~26locale~3Den~26checksum~3Dd00da30a6bfc40b22f7be6d92d5400d107c41d12/imagelink-11.1.1.7.0-4251.js
Technologies Used:
Webcenter Portal PS6
Jdeveloper 11.1.1.7
Please suggest , how this performance issue can be resolved?
Thanks.
Regards,
DigeshStrange...
I can't reproduce this because i have issues with creating portlets... If i can solve this issue i will do some testing and see if i can reproduce the issue...
Can you create a new producer with a single portlet that uses a simple taskflow and see if that works?
Are you also using business components in the taskflows or something? You can try removing some parts of the taskflow and test if it works so you can identify the component(s) that causes the issues. -
Hi.
Can anybody tell what the bottleneck is in this script? It is a dynamic page (portal 3.0.9). The select statements are not very complicated.
ANY HELP IS WELCOME!!
<HTML>
<BODY BGCOLOR="#FFFFFF" TEXT="#444444">
<ORACLE>
declare
cursor c_runway is select distinct runway from vem_flights where nvl(:v_runway,runway) = runway;
v_runway vem_flights.runway%type;
v_select number;
v_totaal number;
v_percentage number;
v_aantal_jaren number;
v_aantal_maanden number;
v_aantal_weken number;
v_aantal_dagen number;
v_tijd number;
teller number;
kopstring varchar2(500);
selectstring varchar2(500) := '';
begin
v_tijd := :v_tijdvak;
:v_begindate := :v_begindate;
:v_enddate := :v_enddate;
if v_tijd = 3 then
select round(months_between(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS'),to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'))) into v_aantal_maanden from dual;
if last_day(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')) > add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),v_aantal_maanden) then
v_aantal_maanden := v_aantal_maanden + 1;
for teller in 1 .. v_aantal_maanden loop
if teller = 1 then
kopstring := '<td><b><i>Baan\Tijdvak </i></b></td>'||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),'DD-MM-YYYY')||' t/m '||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller),'DD-MM-YYYY')||'</i></b></td>';
elsif teller > 1 and teller < v_aantal_maanden then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1),'DD-MM-YYYY')||' t/m '||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller),'DD-MM-YYYY')||'</b></i></td>';
elsif teller = v_aantal_maanden then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS'),'DD-MM-YYYY')||'</i></b></td>';
end if;
end loop;
v_aantal_maanden := v_aantal_maanden - 1;
else
for teller in 1 .. v_aantal_maanden loop
if teller = 1 then
kopstring := '<td><b><i>Baan\Tijdvak </i></b></td>'||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),'DD-MM-YYYY')||' t/m '||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller),'DD-MM-YYYY')||'</i></b></td>';
elsif teller > 1 and teller < v_aantal_maanden then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1),'DD-MM-YYYY')||' t/m '||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller),'DD-MM-YYYY')||'</b></i></td>';
elsif teller = v_aantal_maanden then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS'),'DD-MM-YYYY')||'</i></b></td>';
end if;
end loop;
end if;
htp.p('<font face = "arial" size="3"><b>Verticale afwijkingen overdag van naderende vliegtuigen buiten de TMA</b></font><p> <p>');
htp.p('<table border="1">');
htp.p('<tr>'||kopstring||'</tr>');
open c_runway;
loop
fetch c_runway into v_runway;
exit when c_runway%notfound;
selectstring := '<td><b><i>'||v_runway||'</i></b>';
if last_day(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')) > add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),v_aantal_maanden) then
v_aantal_maanden := v_aantal_maanden + 1;
for teller in 1 .. v_aantal_maanden loop
if teller = 1 then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
elsif teller > 1 and teller < v_aantal_maanden then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
elsif teller = v_aantal_maanden then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
end loop;
v_aantal_maanden := v_aantal_maanden - 1;
else
for teller in 1 .. v_aantal_maanden loop
if teller = 1 then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
elsif teller > 1 and teller < v_aantal_maanden then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')
and add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')-1,teller)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
elsif teller = v_aantal_maanden then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between add_months(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS'),teller-1)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
end loop;
end if;
htp.p('<tr>'||selectstring||'</tr>');
end loop;
close c_runway;
htp.p('</table>');
htp.p('</font>');
elsif v_tijd = 1 then
select to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS') - to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') into v_aantal_dagen from dual;
for teller in 0 .. v_aantal_dagen loop
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + teller,'DD-MM-YYYY')||'</b></i></td>';
end loop;
htp.p('<font face = "arial" size="3"><b>Verticale afwijkingen overdag van naderende vliegtuigen buiten de TMA</b></font><p> <p>');
htp.p('<table border="1">');
htp.p('<tr>');
htp.p('<td><b><i>Baan\Tijdvak </i></b></td>'||kopstring);
htp.p('</tr>');
open c_runway;
loop
fetch c_runway into v_runway;
exit when c_runway%notfound;
selectstring := '<td><b><i>'||v_runway||'</i></b>';
for teller in 0 .. v_aantal_dagen loop
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time = to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + teller
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time = to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + teller
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
end loop;
htp.p('<tr>'||selectstring||'</tr>');
end loop;
close c_runway;
htp.p('</table>');
htp.p('</font>');
elsif v_tijd = 2 then
select trunc(to_char(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS') - to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')) / 7) into v_aantal_weken from dual;
for teller in 0 .. v_aantal_weken loop
if teller < v_aantal_weken then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*14) - 1),'DD-MM-YYYY')||'</b></i></td>';
elsif teller = v_aantal_weken then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*14) - 1),'DD-MM-YYYY')||'</b></i></td>';
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS'),'DD-MM-YYYY')||'</b></i></td>';
end if;
end loop;
htp.p('<font face = "arial" size="3"><b>Verticale afwijkingen overdag van naderende vliegtuigen buiten de TMA</b></font><p> <p>');
htp.p('<table border="1">');
htp.p('<tr>');
htp.p('<td><b><i>Baan\Tijdvak </i></b></td>'||kopstring);
htp.p('</tr>');
open c_runway;
loop
fetch c_runway into v_runway;
exit when c_runway%notfound;
selectstring := '<td><b><i>'||v_runway||'</i></b>';
for teller in 0 .. v_aantal_weken loop
if teller < v_aantal_weken then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*14) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*14) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
elsif teller = v_aantal_weken then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*14) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*14) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
end loop;
htp.p('<tr>'||selectstring||'</tr>');
end loop;
close c_runway;
htp.p('</table>');
htp.p('</font>');
elsif v_tijd = 4 then
select trunc(to_char(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS') - to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS')) / 365) into v_aantal_jaren from dual;
for teller in 0 .. v_aantal_jaren loop
if teller < v_aantal_jaren then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*730) - 1),'DD-MM-YYYY')||'</b></i></td>';
elsif teller = v_aantal_jaren then
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*730) - 1),'DD-MM-YYYY')||'</b></i></td>';
kopstring := kopstring||'<td colspan="3"><b><i>'||to_char(to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*7),'DD-MM-YYYY')||' t/m '||to_char(to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS'),'DD-MM-YYYY')||'</b></i></td>';
end if;
end loop;
htp.p('<font face = "arial" size="3"><b>Verticale afwijkingen overdag van naderende vliegtuigen buiten de TMA</b></font><p> <p>');
htp.p('<table border="1">');
htp.p('<tr>');
htp.p('<td><b><i>Baan\Tijdvak </i></b></td>'||kopstring);
htp.p('</tr>');
open c_runway;
loop
fetch c_runway into v_runway;
exit when c_runway%notfound;
selectstring := '<td><b><i>'||v_runway||'</i></b>';
for teller in 0 .. v_aantal_jaren loop
if teller < v_aantal_jaren then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*730) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*730) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
elsif teller = v_aantal_jaren then
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*730) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365)
and to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + ((teller*730) - 1)
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
select count(*)
into v_select
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.gs21 = 'X'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
select count(*)
into v_totaal
from vem_flights vem
where vem.aircrafttype = 'JET'
and vem.destination = 'EHAM'
and vem.period = 'DAY'
and vem.runway = v_runway
and vem.departure NOT IN ('EHLE','EHRD','EHVB')
and vem.date_time between to_date(:v_begindate,'DD-MM-YYYY HH24.MI.SS') + (teller*365)
and to_date(:v_enddate,'DD-MM-YYYY HH24.MI.SS')
and (rtrim((to_char(vem.date_time,'HH24'))) >= :v_starthour or :v_starthour = '%')
and (rtrim((to_char(vem.date_time,'HH24'))) < :v_endhour or :v_endhour = '%')
and rtrim((to_char(vem.date_time,'DAY'))) IN (:v_day);
if v_totaal != 0 then
select round((v_select/v_totaal)*100) into v_percentage from dual;
elsif v_totaal = 0 then
select 0 into v_percentage from dual;
end if;
end if;
if v_percentage > 5 then
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td><font color="red">'||to_char(v_percentage)||'%</font></td>';
else
selectstring := selectstring||'<td>'||to_char(v_select)||'</td><td>'||to_char(v_totaal)||'</td><td>'||to_char(v_percentage)||'%</td>';
end if;
end loop;
htp.p('<tr>'||selectstring||'</tr>');
end loop;
close c_runway;
htp.p('</table>');
htp.p('</font>');
end if;
end;
</ORACLE>
</BODY>
</HTML>I set up a helper package to return my reference cursors:
Package SOME_PKG as type t_RefCur is REF CURSOR;
I added the appropriate function to return the cursors. Here a simple example:
FUNCTION get_leads(x in NUMBER, y in NUMBER)
RETURN t_RefCur IS
v_ReturnCursor t_RefCur;
v_SQL VARCHAR2(500);
BEGIN
v_SQL:= 'select * from SOME_TABLE_OR_VIEW where account = :n and location = :m';
OPEN v_ReturnCursor FOR v_SQL using x,y;
RETURN v_ReturnCursor;
END get_leads;
Then I make my call from the portlet which goes something like this:
<oracle>
declare
arow SOME_TABLE_OR_VIEW%ROWTYPE;
invcursor SOME_PKG.t_RefCur;
X number;
Y number;
begin
invcursor := SOME_PKG.get_leads(get_account_number(X), get_location(Y));
/*portlet formatting and looping...
fetch invcursor into arow;
htp.p(arow.SOME_ROW_FROM_TABLE);
end;
</oracle>
I have gotten very good performance with reference cursors in Oracle.
Good luck. -
Dynamic Link from After Effects CC to Premiere Pro CC Performance Issues
I just updated my After Effects and Premiere Pro to CC and since doing so I've found numerous performance issues. One that is seriously hurting my workflow is the poor performance of the dynamic link with After Effects compositions into Premiere Pro. In CS6, you could make a change to the AE composition, save it, click over to Premiere Pro and it would quickly update and you can play your timeline and preview your changes. You could also move the clips around and add cross dissolves and watch the changes quickly in Premiere Pro CS6. Now, since updating to CC, if you save the composition in AE and click over to Premiere Pro it won't update on its own. Sometimes it just shows a single frame of the AE composition. I found that if you right click and "Edit Original", go into AE and then click back over to Premiere Pro and it will finally update. But if you make any changes to the placement of the AE composition on the timeline, or add a cross dissolve, fade, etc. it again won't play the AE composition any longer. After you make any changes to the AE composition you have to right click and go to "Edit Original", go into AE, and then click back over to Premiere Pro.. Then it will finally update.
iMac
Quad Core 3.4GHz
32G RAM
OS X MavericksThanks Kevin.
Unfortunately in my case the export doesn't solve the issue. The video only looks good while in the composition... I've tried exporting it in all the different formats with several codecs, but to no avail...
You can check my own post in the After Effects forum: AE linked composition looks different in Premiere -
Issue in Customizing ESS dynamic page(Bizcard view)
Hi experts,
I am working on Customization of ESS portal.
I am able to build and deploy application successfully .We are able to customize Detail View.
Problem Here is , I am Supposed to modify in BIzcard Iview which is a dynamic page.
Can any body help in understanding how data is fetched in bizcard iview and where the logic is to be added to modify the page (in which method).
Any pointer related to dynamic Customization of ESS portal is appreciated.Hi,
I have tried alot for the same, but i didn't get any thing, so we built our own application.
I copied one of the sap delivered DC and done my customizations.
if that is small chnage in the IView side you can do the portal personalization.
Cheers,
Apparao -
Issue in customizing ESS Dynamic Page
Hi All,
I am working on Customization of ESS portal.
I am able to build and deploy application successfully .We are able to customize Detail View.
Problem Here is , I am Supposed to modify in BIzcard Iview which is a dynamic page.
Can any body help in understanding how data is fetched in bizcard iview and where the logic is to be added to modify the page (in which method).
Any pointer related to dynamic Customization of ESS portal is appreciated.Thank You staurt.
I also got the SdnTechEd Documnet now. Was going through that.
It Tells about the creation of Std Package.
I need quick help on my first Change . I.e
for (int i = 0; i < wdContext.nodeSelectedInfotype().size(); i++)
if(wdContext.nodeSelectedInfotype().getSelectedInfotypeElementAt(i).getBanka()== "1")
wdContext.nodeSelectedInfotype().getSelectedInfotypeElementAt(i).setZlsch("T");
wdContext.currentContextElement().setVa_Payment_Enable(false);
I have requirement.
If the Bank type is other bank (banka=1) then payment method should be of type T and non editable.
I have wrote the above logic in Detail view init method of Controller and tried in View init too.It is making Payment method non editable in both the pages.
Any pointer for above details. -
Performance Issue for BI system
Hello,
We are facing performance issues for BI System. Its a preproductive system and its performance is degrading badly everyday. I was checking system came to know program buffer hit ratio is increaasing everyday due to high Swaps. So asked to change the parameter abap/buffersize which was 300Mb to 500Mb. But still no major improvement is found in the system.
There is 16GB Ram available and Server is HP-UX and with Netweaver2004s with Oracle 10.2.0.4.0 installed in it.
The Main problem is while running a report or creating a query is taking way too long time.
Kindly help me.Hello SIva,
Thanks for your reply but i have checked ST02 and ST03 and also SM50 and its normal
we are having 9 dialog processes, 3 Background , 2 Update and 1 spool.
No one is using the system currently but in ST02 i can see the swaps are in red.
Buffer HitRatio % Alloc. KB Freesp. KB % Free Sp. Dir. Size FreeDirEnt % Free Dir Swaps DB Accs
Nametab (NTAB) 0
Table definition 99,60 6.798 20.000 29.532 153.221
Field definition 99,82 31.562 784 2,61 20.000 6.222 31,11 17.246 41.248
Short NTAB 99,94 3.625 2.446 81,53 5.000 2.801 56,02 0 2.254
Initial records 73,95 6.625 998 16,63 5.000 690 13,80 40.069 49.528
0
boldprogram 97,66 300.000 1.074 0,38 75.000 67.177 89,57 219.665 725.703bold
CUA 99,75 3.000 875 36,29 1.500 1.401 93,40 55.277 2.497
Screen 99,80 4.297 1.365 33,35 2.000 1.811 90,55 119 3.214
Calendar 100,00 488 361 75,52 200 42 21,00 0 158
OTR 100,00 4.096 3.313 100,00 2.000 2.000 100,00 0
0
Tables 0
Generic Key 99,17 29.297 1.450 5,23 5.000 350 7,00 2.219 3.085.633
Single record 99,43 10.000 1.907 19,41 500 344 68,80 39 467.978
0
Export/import 82,75 4.096 43 1,30 2.000 662 33,10 137.208
Exp./ Imp. SHM 89,83 4.096 438 13,22 2.000 1.482 74,10 0
SAP Memory Curr.Use % CurUse[KB] MaxUse[KB] In Mem[KB] OnDisk[KB] SAPCurCach HitRatio %
Roll area 2,22 5.832 22.856 131.072 131.072 IDs 96,61
Page area 1,08 2.832 24.144 65.536 196.608 Statement 79,00
Extended memory 22,90 958.464 1.929.216 4.186.112 0 0,00
Heap memory 0 0 1.473.767 0 0,00
Call Stati HitRatio % ABAP/4 Req ABAP Fails DBTotCalls AvTime[ms] DBRowsAff.
Select single 88,59 63.073.369 5.817.659 4.322.263 0 57.255.710
Select 72,68 284.080.387 0 13.718.442 0 32.199.124
Insert 0,00 151.955 5.458 166.159 0 323.725
Update 0,00 378.161 97.884 395.814 0 486.880
Delete 0,00 389.398 332.619 415.562 0 244.495
Edited by: Srikanth Sunkara on May 12, 2011 11:50 AM -
Performance issues with Imac intel 2011 27 inch..
I have an 2011 imac 3,4 GHz Intel Core i7 with 16 GB 1333 MHz DDR3 RAM.
Since a few months i noticed performance issues with FCPX, where before it would run through video it shows sometimes the color ball. Now the computer is slow in starting up and shutting down also. Ran disk utility but to no avail. I am now considering reinstalling mavericks.
But I ran etrecheck.
here are the results, please who can help me? I use this computer to edit and about everything else.
copied:
Problem description:
slow start and slow quit of computer. Performance issues with fcpx and other programms.
EtreCheck version: 2.1.8 (121)
Report generated 6 maart 2015 21:49:31 CET
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (27-inch, Mid 2011) (Technical Specifications)
iMac - model: iMac12,2
1 3.4 GHz Intel Core i7 CPU: 4-core
16 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1333 MHz ok
BANK 1/DIMM0
4 GB DDR3 1333 MHz ok
BANK 0/DIMM1
4 GB DDR3 1333 MHz ok
BANK 1/DIMM1
4 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
AMD Radeon HD 6970M - VRAM: 1024 MB
iMac 2560 x 1440
System Software: ℹ️
OS X 10.9.4 (13E28) - Time since boot: 0:7:46
Disk Information: ℹ️
WDC WD1001FALS-403AA0 disk1 : (1 TB)
EFI (disk1s1) <not mounted> : 210 MB
MacintoshHD2 (disk1s2) /Volumes/MacintoshHD2 : 999.86 GB (152.18 GB free)
APPLE SSD TS256C disk0 : (251 GB)
EFI (disk0s1) <not mounted> : 210 MB
MacintoshHD (disk0s2) / : 250.14 GB (62.78 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HL-DT-STDVDRW GA32N
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Mitsumi Electric Hub in Apple Extended USB Keyboard
Logitech USB-PS/2 Optical Mouse
Mitsumi Electric Apple Extended USB Keyboard
Western Digital Ext HDD 1021 2 TB
EFI (disk2s1) <not mounted> : 210 MB
datavideo (disk2s2) /Volumes/datavideo : 1.37 TB (133.89 GB free)
prive (disk2s3) /Volumes/prive : 627.23 GB (68.13 GB free) - 7 errors
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Lexar USB_3_0 Reader
Seagate Expansion Desk 3 TB
EFI (disk3s1) <not mounted> : 315 MB
downloads (disk3s2) /Volumes/downloads : 249.18 GB (138.35 GB free)
BackUpBro (disk3s3) /Volumes/BackUpBro : 2.75 TB (1.03 TB free)
Apple Internal Memory Card Reader
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
G-Technology G-RAID with Thunderbolt
Configuration files: ℹ️
/etc/sysctl.conf - Exists
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Toast 11 Titanium/Spin Doctor.app
[not loaded] com.hzsystems.terminus.driver (4) [Click for support]
/Library/Extensions
[not loaded] com.Avid.driver.AvidDX (5.9.1 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.desktopvideo.iokit.driver (10.1.4 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.desktopvideo.iokit.framebufferdriver (10.1.4 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.desktopvideo.multibridge.iokit.driver (10.1.4 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.driver.BlackmagicIO (10.1.4 - SDK 10.8) [Click for support]
/Library/Extensions/DeckLink_Driver.kext/Contents/PlugIns
[not loaded] com.blackmagic-design.desktopvideo.firmware (10.1.4 - SDK 10.8) [Click for support]
/System/Library/Extensions
[not loaded] at.obdev.nke.LittleSnitch (3876 - SDK 10.8) [Click for support]
[not loaded] com.SafeNet.driver.Sentinel (7.5.2) [Click for support]
[not loaded] com.paceap.kext.pacesupport.master (5.9.1 - SDK 10.6) [Click for support]
[not loaded] com.roxio.BluRaySupport (1.1.6) [Click for support]
/System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns
[not loaded] com.paceap.kext.pacesupport.leopard (5.9.1 - SDK 10.4) [Click for support]
[not loaded] com.paceap.kext.pacesupport.panther (5.9.1 - SDK 10.-1) [Click for support]
[loaded] com.paceap.kext.pacesupport.snowleopard (5.9.1 - SDK 10.6) [Click for support]
[not loaded] com.paceap.kext.pacesupport.tiger (5.9.1 - SDK 10.4) [Click for support]
/Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
[not loaded] com.roxio.TDIXController (2.0) [Click for support]
Startup Items: ℹ️
Digidesign Mbox 2: Path: /Library/StartupItems/Digidesign Mbox 2
DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
Startup items are obsolete in OS X Yosemite
Problem System Launch Agents: ℹ️
[running] com.paragon.NTFS.notify.plist [Click for support]
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[loaded] com.adobe.CS4ServiceManager.plist [Click for support]
[loaded] com.avid.ApplicationManager.plist [Click for support]
[loaded] com.avid.backgroundservicesmanager.plist [Click for support]
[loaded] com.avid.dmfsupportsvc.plist [Click for support]
[loaded] com.avid.interplay.dmfservice.plist [Click for support]
[loaded] com.avid.interplay.editortranscode.plist [Click for support]
[loaded] com.avid.transcodeserviceworker.plist [Click for support]
[running] com.blackmagic-design.DesktopVideoFirmwareUpdater.plist [Click for support]
[failed] com.brother.LOGINserver.plist [Click for support] [Click for details]
[loaded] com.paragon.updater.plist [Click for support]
[failed] com.teamviewer.teamviewer.plist [Click for support] [Click for details]
[failed] com.teamviewer.teamviewer_desktop.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.SwitchBoard.plist [Click for support]
[loaded] com.adobe.versioncueCS4.plist [Click for support]
[loaded] com.avid.AMCUninstaller.plist [Click for support]
[running] com.avid.interplay.editorbroker.plist [Click for support]
[running] com.avid.interplay.editortranscodestatus.plist [Click for support]
[loaded] com.blackmagic-design.desktopvideo.XPCService.plist [Click for support]
[running] com.blackmagic-design.DesktopVideoHelper.plist [Click for support]
[running] com.blackmagic-design.streaming.BMDStreamingServer.plist [Click for support]
[not loaded] com.digidesign.fwfamily.helper.plist [Click for support]
[running] com.edb.launchd.postgresql-8.4.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
[loaded] com.noiseindustries.FxFactory.FxPlug.plist [Click for support]
[loaded] com.noiseindustries.FxFactory.plist [Click for support]
[running] com.paceap.eden.licensed.plist [Click for support]
[loaded] com.teamviewer.Helper.plist [Click for support]
[failed] com.teamviewer.teamviewer_service.plist [Click for support]
[loaded] jp.co.canon.MasterInstaller.plist [Click for support]
[loaded] PACESupport.plist [Click for support]
User Login Items: ℹ️
iTunesHelper Programma Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: ℹ️
Default Browser: Version: 537 - SDK 10.9
OfficeLiveBrowserPlugin: Version: 12.2.6 [Click for support]
AdobePDFViewerNPAPI: Version: 11.0.0 - SDK 10.6 [Click for support]
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 7.0 - SDK 10.8
SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
AdobePDFViewer: Version: 11.0.0 - SDK 10.6 [Click for support]
EPPEX Plugin: Version: 10.0 [Click for support]
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
User internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.0 [Click for support]
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
Blackmagic Desktop Video [Click for support]
DigidesignMbox2 [Click for support]
Digidesign Mbox 2 Pro [Click for support]
Flash Player [Click for support]
Paragon NTFS for Mac ® OS X [Click for support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
MacintoshHD: Disk size: 250.14 GB Disk used: 187.36 GB
downloads: Disk size: 249.18 GB Disk used: 110.84 GB
Destinations:
G-RAID with Thunderbolt [Local]
Total size: 8.00 TB
Total number of backups: 6
Oldest backup: 2014-04-08 14:24:41 +0000
Last backup: 2014-09-24 21:58:28 +0000
Size of backup disk: Excellent
Backup size 8.00 TB > (Disk size 499.32 GB X 3)
Top Processes by CPU: ℹ️
2% Google Chrome
1% WindowServer
0% opendirectoryd
0% mds
0% dpd
Top Processes by Memory: ℹ️
206 MB mds_stores
172 MB com.apple.IconServicesAgent
155 MB Google Chrome
137 MB Dock
113 MB Google Chrome Helper
Virtual Memory Information: ℹ️
10.02 GB Free RAM
4.36 GB Active RAM
1.35 GB Inactive RAM
1.44 GB Wired RAM
1.24 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Mar 6, 2015, 09:37:26 PM Self test - passed
Mar 6, 2015, 08:15:56 PM /Library/Logs/DiagnosticReports/Mail_2015-03-06-201556_[redacted].hangProblem description:
disk problems
EtreCheck version: 2.1.8 (121)
Report generated 7 maart 2015 14:16:18 CET
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (27-inch, Mid 2011) (Technical Specifications)
iMac - model: iMac12,2
1 3.4 GHz Intel Core i7 CPU: 4-core
16 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1333 MHz ok
BANK 1/DIMM0
4 GB DDR3 1333 MHz ok
BANK 0/DIMM1
4 GB DDR3 1333 MHz ok
BANK 1/DIMM1
4 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
AMD Radeon HD 6970M - VRAM: 1024 MB
iMac 2560 x 1440
System Software: ℹ️
OS X 10.9.4 (13E28) - Time since boot: 0:19:51
Disk Information: ℹ️
WDC WD1001FALS-403AA0 disk1 : (1 TB)
EFI (disk1s1) <not mounted> : 210 MB
MacintoshHD2 (disk1s2) /Volumes/MacintoshHD2 : 999.86 GB (152.18 GB free)
APPLE SSD TS256C disk0 : (251 GB)
EFI (disk0s1) <not mounted> : 210 MB
MacintoshHD (disk0s2) / : 250.14 GB (62.97 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
HL-DT-STDVDRW GA32N
HGST HDS724040ALE640 disk2 : (4 TB)
EFI (disk2s1) <not mounted> : 210 MB
disk2s2 (disk2s2) <not mounted> : 4.00 TB
Boot OS X (disk2s3) <not mounted> : 134 MB - one error
HGST HDS724040ALE640 disk3 : (4 TB)
EFI (disk3s1) <not mounted> : 210 MB
disk3s2 (disk3s2) <not mounted> : 4.00 TB
Boot OS X (disk3s3) <not mounted> : 134 MB
USB Information: ℹ️
Mitsumi Electric Hub in Apple Extended USB Keyboard
Logitech USB-PS/2 Optical Mouse
Mitsumi Electric Apple Extended USB Keyboard
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. FaceTime HD Camera (Built-in)
Lexar USB_3_0 Reader
Seagate Expansion Desk 3 TB
EFI (disk5s1) <not mounted> : 315 MB
downloads (disk5s2) /Volumes/downloads : 249.18 GB (138.35 GB free)
BackUpBro (disk5s3) /Volumes/BackUpBro : 2.75 TB (1.03 TB free)
Apple Computer, Inc. IR Receiver
Apple Internal Memory Card Reader
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
G-Technology G-RAID with Thunderbolt
Configuration files: ℹ️
/etc/sysctl.conf - Exists
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Toast 11 Titanium/Spin Doctor.app
[not loaded] com.hzsystems.terminus.driver (4) [Click for support]
/Library/Extensions
[not loaded] com.Avid.driver.AvidDX (5.9.1 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.desktopvideo.iokit.driver (10.1.4 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.desktopvideo.iokit.framebufferdriver (10.1.4 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.desktopvideo.multibridge.iokit.driver (10.1.4 - SDK 10.8) [Click for support]
[not loaded] com.blackmagic-design.driver.BlackmagicIO (10.1.4 - SDK 10.8) [Click for support]
/Library/Extensions/DeckLink_Driver.kext/Contents/PlugIns
[not loaded] com.blackmagic-design.desktopvideo.firmware (10.1.4 - SDK 10.8) [Click for support]
/System/Library/Extensions
[not loaded] at.obdev.nke.LittleSnitch (3876 - SDK 10.8) [Click for support]
[not loaded] com.SafeNet.driver.Sentinel (7.5.2) [Click for support]
[not loaded] com.paceap.kext.pacesupport.master (5.9.1 - SDK 10.6) [Click for support]
[not loaded] com.roxio.BluRaySupport (1.1.6) [Click for support]
/System/Library/Extensions/PACESupportFamily.kext/Contents/PlugIns
[not loaded] com.paceap.kext.pacesupport.leopard (5.9.1 - SDK 10.4) [Click for support]
[not loaded] com.paceap.kext.pacesupport.panther (5.9.1 - SDK 10.-1) [Click for support]
[loaded] com.paceap.kext.pacesupport.snowleopard (5.9.1 - SDK 10.6) [Click for support]
[not loaded] com.paceap.kext.pacesupport.tiger (5.9.1 - SDK 10.4) [Click for support]
/Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
[not loaded] com.roxio.TDIXController (2.0) [Click for support]
Startup Items: ℹ️
Digidesign Mbox 2: Path: /Library/StartupItems/Digidesign Mbox 2
DigidesignLoader: Path: /Library/StartupItems/DigidesignLoader
Startup items are obsolete in OS X Yosemite
Problem System Launch Agents: ℹ️
[running] com.paragon.NTFS.notify.plist [Click for support]
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist [Click for support]
[loaded] com.adobe.CS4ServiceManager.plist [Click for support]
[running] com.avid.ApplicationManager.plist [Click for support]
[running] com.avid.backgroundservicesmanager.plist [Click for support]
[loaded] com.avid.dmfsupportsvc.plist [Click for support]
[loaded] com.avid.interplay.dmfservice.plist [Click for support]
[loaded] com.avid.interplay.editortranscode.plist [Click for support]
[loaded] com.avid.transcodeserviceworker.plist [Click for support]
[running] com.blackmagic-design.DesktopVideoFirmwareUpdater.plist [Click for support]
[failed] com.brother.LOGINserver.plist [Click for support] [Click for details]
[loaded] com.paragon.updater.plist [Click for support]
[failed] com.teamviewer.teamviewer.plist [Click for support] [Click for details]
[failed] com.teamviewer.teamviewer_desktop.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.adobe.SwitchBoard.plist [Click for support]
[loaded] com.adobe.versioncueCS4.plist [Click for support]
[loaded] com.avid.AMCUninstaller.plist [Click for support]
[running] com.avid.interplay.editorbroker.plist [Click for support]
[running] com.avid.interplay.editortranscodestatus.plist [Click for support]
[loaded] com.blackmagic-design.desktopvideo.XPCService.plist [Click for support]
[running] com.blackmagic-design.DesktopVideoHelper.plist [Click for support]
[running] com.blackmagic-design.streaming.BMDStreamingServer.plist [Click for support]
[not loaded] com.digidesign.fwfamily.helper.plist [Click for support]
[running] com.edb.launchd.postgresql-8.4.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
[loaded] com.noiseindustries.FxFactory.FxPlug.plist [Click for support]
[loaded] com.noiseindustries.FxFactory.plist [Click for support]
[running] com.paceap.eden.licensed.plist [Click for support]
[loaded] com.teamviewer.Helper.plist [Click for support]
[failed] com.teamviewer.teamviewer_service.plist [Click for support]
[loaded] jp.co.canon.MasterInstaller.plist [Click for support]
[loaded] PACESupport.plist [Click for support]
User Login Items: ℹ️
iTunesHelper Programma Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Internet Plug-ins: ℹ️
Default Browser: Version: 537 - SDK 10.9
OfficeLiveBrowserPlugin: Version: 12.2.6 [Click for support]
AdobePDFViewerNPAPI: Version: 11.0.0 - SDK 10.6 [Click for support]
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 7.0 - SDK 10.8
SharePointBrowserPlugin: Version: 14.0.0 [Click for support]
AdobePDFViewer: Version: 11.0.0 - SDK 10.6 [Click for support]
EPPEX Plugin: Version: 10.0 [Click for support]
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
User internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.0 [Click for support]
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
Blackmagic Desktop Video [Click for support]
DigidesignMbox2 [Click for support]
Digidesign Mbox 2 Pro [Click for support]
Flash Player [Click for support]
Paragon NTFS for Mac ® OS X [Click for support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
MacintoshHD: Disk size: 250.14 GB Disk used: 187.17 GB
downloads: Disk size: 249.18 GB Disk used: 110.83 GB
Destinations:
G-RAID with Thunderbolt [Local]
Total size: 8.00 TB
Total number of backups: 6
Oldest backup: 2014-04-08 14:24:41 +0000
Last backup: 2014-09-24 21:58:28 +0000
Size of backup disk: Excellent
Backup size 8.00 TB > (Disk size 499.32 GB X 3)
Top Processes by CPU: ℹ️
2% WindowServer
1% fontd
0% firefox
0% AvidApplicationManager
0% AppleSpell
Top Processes by Memory: ℹ️
498 MB firefox
241 MB mds_stores
172 MB com.apple.IconServicesAgent
137 MB Dock
100 MB java
Virtual Memory Information: ℹ️
12.33 GB Free RAM
2.39 GB Active RAM
1.11 GB Inactive RAM
1.34 GB Wired RAM
934 MB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Mar 7, 2015, 01:56:19 PM Self test - passed
Mar 6, 2015, 08:15:56 PM /Library/Logs/DiagnosticReports/Mail_2015-03-06-201556_[redacted].hang -
Performance Issues with Photoshop CS6 64-Bit
Hello -
Issue at hand: over the course of the last few weeks, I have noticed significant issues with performance since the last update to PS CS6 via the Adobe Application Manager, ranging from unexpected shut downs to bringing my workstation to a crawl (literally, my cursor seems to crawl across my displays). I'm curious as to if anyone else is experiencing these issues, or if there is a solution I have not yet tried. Here is a list of actions that result in these performance issues - there are likely more that I have either not experienced due to my frustration, or have not documented as occuring multiple times:
Opening files - results in hanging process, takes 3-10 seconds to resolve
Pasting from clipboard - results in hanging process, takes 3-10 seconds to resolve
Saving files - takes 3-10 seconds to open the dialog, another 3-10 seconds to return to normal window (saving a compressed PNG)
Eyedropper tool - will either crash Photoshop to desktop, or take 5-15 seconds to load
Attempting to navigate any menu - will either crash Photoshop to desktop, or take 5-15 seconds to load
Attempts I've taken to resolve this matter, which have failed:
Uninstalled all fonts that I have added since the last update (this was a pain in the ***, thank you Windows explorer for being glitchy)
Uninstall application and reinstall application
Use 32-bit edition
Changing process priority to Above Normal
Confirm process affinity to all available CPU cores
Change configuration of Photoshop performance options
61% of memory is available to Photoshop to use (8969 MB)
History states: 20; Cache levels: 6; Cache tile size: 1024K
Scratch disks: active on production SSD, ~10GB space available
Dedicated graphics processor is selected (2x nVidia cards in SLI)
System Information:
Intel i7 2600K @ 3.40GHz
16GB DDR3, Dual Channel RAM
2x nVidia GeForce GTS 450 cards, 1GB each
Windows 7 Professional 64-bit
Adobe Creative Cloud
This issue is costing me time I could be working every day, and I'm about ready to begin searching for alternatives and cancel my membership if I can't get this resolved.Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
Physical processor count: 4
Logical processor count: 8
Processor speed: 3392 MHz
Built-in memory: 16350 MB
Free memory: 12070 MB
Memory available to Photoshop: 14688 MB
Memory used by Photoshop: 61 %
Image tile size: 1024K
Image cache levels: 6
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Basic
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 1.1 CUDA 4.2.1
OpenGL Version: 3.0
Video Rect Texture Size: 16384
OpenGL Memory: 1024 MB
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTS 450/PCIe/SSE2
Display: 2
Display Bounds: top=0, left=1920, bottom=1080, right=3840
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
Video Card Number: 3
Video Card: NVIDIA GeForce GTS 450
Driver Version: 9.18.13.1106
Driver Date: 20130118000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode:
Video Card Caption: NVIDIA GeForce GTS 450
Video Card Memory: 1024 MB
Video Card Number: 2
Video Card: LogMeIn Mirror Driver
Driver Version: 7.1.542.0
Driver Date: 20060522000000.000000-000
Video Card Driver:
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: LogMeIn Mirror Driver
Video Card Memory: 0 MB
Video Card Number: 1
Video Card: NVIDIA GeForce GTS 450
Driver Version: 9.18.13.1106
Driver Date: 20130118000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTS 450
Video Card Memory: 1024 MB
Serial number: 90970233273769828003
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\ANDREW~1\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 111.8G, 7.68G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/09/10-12:31:21 5.0.4 79.517869
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 7.0.0.1686
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.1.0.20577 2.1.0.20577
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
LogSession.dll LogSession 2.1.2.1681
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
Required plug-ins:
3D Studio 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
Angled Strokes 13.0
Average 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 8.1
Camera Raw Filter 8.1
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Collada 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Embed Watermark 4.0
Entropy 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Extrude 13.0
FastCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Maximum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mean 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Measurement Core 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Median 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mezzotint 13.0
Minimum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
MMXCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Picture Package Filter 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Pinch 13.0
Pixar 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Range 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.1.2
Shear 13.0
Skewness 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
STL 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Sumi-e 13.0
Summation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Variations 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
WIA Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Wind 13.0
Wireless Bitmap 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
ZigZag 13.0
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONE -
Performance issues with FDK in large XML documents
In my current project with FrameMaker 8 I'm experiencing severe performance issues with some FDK API calls.
The documents are about 3-8 MBytes in size. Fortmatted they cover 150-250 pages.
When importing such an XML document I do some extensive "post-processing" using FDK. This processing happens in Sr_EventHandler() during the SR_EVT_END_READER event. I noticed that some FDK functions calls which modify the document's structure, like F_ApiSetAttribute() or F_ApiNewElementInHierarchy(), take several seconds, for the larger documents even minutes, to complete one single function call. I tried to move some of these calls to earlier events, mostly to SR_EVT_END_ELEM. There the calls work without a delay. Unfortunately I can't rewrite the FDK client to move all the calls that are lagging to earlier events.
Does anybody have a clue why such delays happen, and possibly can make a suggestion, how to solve this issue? Thank you in advance.
PS: I already thought of splitting such a document in smaller pieces by using the FrameMaker book function. But I don't think, the structure of the documents will permit such an automatic split, and it definitely isn't an option to change the document structure (the project is about migrating documents from Interleaf to XML with the constraint of keeping the document layout identical).FP_ApplyFormatRules sounds really good--I'll give it a try on Monday. Wonder how I could miss it, as I already tried FP_Reformatting and FP_Displaying at no avail?! By the way, what is actually meant with FP_Reformatting (when I used it I assumed it would do exactly what FP_ApplyFormatRules sounds to do), or is that one another of Lynne's well-kept secrets?
Thank's for all the helpful suggestions, guys. On Friday I already had my first improvements in a test version of my client: I did some (not all necessary) structural changes using XSLT pre-processing, and processing went down from 8 hours(!) to 1 hour--Yeappie! I was also playing with the idea of writing a wrapper to F_ApiNewElementInHierarchy() which actually pastes an appropriate element created in a small flow on the reference pages at the intended insertion location. But now, with FP_ApplyFormatRules on the horizon, I'm quite confident to get even the complicated stuff under control, which cannot be handled by the XSLT pre-processing, as it is based on the actual formatting of the document at run-time and cannot be anticipated in pre-processing.
--Franz -
Performance Issue For Opening And Closing Balance In FBL1N/3N/5N
Dear experts,
I Am Having Requirement to Bring Opening And Closing Balance In FBL1N, FBL3N, FBL5N.
For This requirement I Used BADI : FI_ITEMS_CH_DATA~CHANGE_ITEMS, below is my Code For FBL1N, And I've Done the same For 3N/5N...With Related BAPI
* IF SY-TCODE = 'FBL1N'.
* LOOP AT ct_items INTO gs_items.
* CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
* EXPORTING
* date = gs_items-budat
* days = '01'
* months = '00'
* signum = '-'
* years = '00'
* IMPORTING
* calc_date = lv_date.
* CALL FUNCTION 'BAPI_AP_ACC_GETKEYDATEBALANCE'
* EXPORTING
* companycode = gs_items-bukrs
* vendor = gs_items-konto
* keydate = lv_date
** BALANCESPGLI = ' '
** NOTEDITEMS = ' '
** IMPORTING
** RETURN =
* TABLES
* keybalance = lv_obal.
* CALL FUNCTION 'BAPI_AP_ACC_GETKEYDATEBALANCE'
* EXPORTING
* companycode = gs_items-bukrs
* vendor = gs_items-konto
* keydate = gs_items-budat
** BALANCESPGLI = ' '
** NOTEDITEMS = ' '
** IMPORTING
** RETURN =
* TABLES
* keybalance = lv_cbal
* READ TABLE lv_cbal INTO gs_cbal INDEX 1.
* gs_items-cbal = gs_cbal-lc_bal.
* READ TABLE lv_obal INTO gs_obal INDEX 1.
* gs_items-obal = gs_obal-lc_bal.
* MODIFY ct_items FROM gs_items TRANSPORTING obal cbal.
* CLEAR: gs_items,gs_obal,gs_cbal.
* ENDLOOP.
* ENDIF.
So, Above Code Causing Me the Performance Issue, Kindly Suggest Me the Solution..
Regards,
uday.Hi Uday,
I am sending you the code i used for the creation a Zreport based on FBL5N. Please check if it can of any help.
*& Report ZFBL5N *
REPORT zfbl5n_new .
TABLES : bsid,knc1,lfc1.
TYPE-POOLS: slis.
TYPES: BEGIN OF ty_bsid,
bukrs TYPE bsid-bukrs,
kunnr TYPE bsid-kunnr,
belnr TYPE bsid-belnr,
buzei TYPE bsid-buzei,
bldat TYPE bsid-bldat,
blart TYPE bsid-blart,
bschl TYPE bsid-bschl,
shkzg TYPE bsid-shkzg,
dmbtr TYPE bsid-dmbtr,
augdt TYPE bsid-augdt,
augbl TYPE bsid-augbl,
zuonr TYPE bsid-zuonr,
sgtxt TYPE bsid-sgtxt,
zfbdt TYPE bsid-zfbdt,
zterm TYPE bsid-zterm,
zbd1t TYPE bsid-zbd1t,
zbd2t TYPE bsid-zbd2t,
zbd3t TYPE bsid-zbd3t,
kkber TYPE bsid-kkber,
bstat TYPE bsid-bstat,
umskz TYPE bsid-umskz,
END OF ty_bsid.
TYPES: BEGIN OF ty_bsik,
bukrs TYPE bsik-bukrs,
lifnr TYPE bsik-lifnr,
belnr TYPE bsik-belnr,
buzei TYPE bsik-buzei,
bldat TYPE bsik-bldat,
blart TYPE bsik-blart,
bschl TYPE bsik-bschl,
shkzg TYPE bsik-shkzg,
dmbtr TYPE bsik-dmbtr,
augdt TYPE bsik-augdt,
augbl TYPE bsik-augbl,
zuonr TYPE bsik-zuonr,
sgtxt TYPE bsik-sgtxt,
zfbdt TYPE bsik-zfbdt,
* KKBER TYPE bsik-kkber,
zterm TYPE bsik-zterm,
zbd1t TYPE bsik-zbd1t,
zbd2t TYPE bsik-zbd2t,
zbd3t TYPE bsik-zbd3t,
bstat TYPE bsid-bstat,
umskz TYPE bsid-umskz,
END OF ty_bsik.
TYPES: BEGIN OF ty_final,
belnr TYPE bsid-belnr,
* buzei TYPE bsak-buzei,
bldat TYPE bsid-bldat,
blart TYPE bsid-blart,
chq TYPE bsid-zuonr,
debit TYPE bsid-dmbtr,
credit TYPE bsid-dmbtr,
txt TYPE bsid-sgtxt,
date TYPE bsid-zfbdt,
kkber TYPE bsid-kkber,
zterm TYPE bsid-zterm,
augbl TYPE bsid-augbl,
augdt TYPE bsid-augdt,
flag TYPE c,
END OF ty_final.
TYPES : BEGIN OF gs_openbal,
bukrs TYPE bapi3007_2-comp_code,
kunnr TYPE bapi3007_2-customer,
dmbtr TYPE bapi3007_2-lc_amount,
END OF gs_openbal.
DATA: it_bsid TYPE STANDARD TABLE OF ty_bsid,
it_bsik TYPE STANDARD TABLE OF ty_bsik,
it_final TYPE STANDARD TABLE OF ty_final.
DATA: wa_bsid TYPE ty_bsid,
wa_bsik TYPE ty_bsik,
wa_final TYPE ty_final.
DATA: w_days TYPE t5a4a-dlydy,
w_month TYPE t5a4a-dlymo,
w_year TYPE t5a4a-dlyyr,
w_date TYPE p0001-begda,
w_name1 TYPE kna1-name1,
w_ort01 TYPE kna1-ort01,
w_lifnr TYPE kna1-lifnr,
w_dmbtr1 TYPE bsid-dmbtr,
w_dmbtr2 TYPE bsid-dmbtr,
w_dmbtr3 TYPE bsad-dmbtr,
w_dmbtr4 TYPE bsad-dmbtr,
w_opbal TYPE bsid-dmbtr,
w_credit TYPE bsik-dmbtr,
w_debit TYPE bsik-dmbtr,
w_clobal TYPE bsik-dmbtr,
w_credit1 TYPE bsik-dmbtr,
w_debit1 TYPE bsik-dmbtr,
w_clobal1 TYPE bsik-dmbtr.
DATA: ld_yrper LIKE rwcoom-fiscper,
kunnr LIKE kna1-kunnr,
x_norm TYPE c,
x_park,
x_apar,
x_merk,
ok_code(4),
wa_x001 LIKE x001,
return LIKE bapireturn,
line_count LIKE sy-loopc,
number_of_records TYPE i,
xindex LIKE sy-tabix,
open LIKE knc1-um01s,
temp(20),
close LIKE knc1-um01s,
gjahr LIKE bsid-gjahr,
period LIKE bkpf-monat,
f(1),
v_char(2),
closec(20),
openc(20),
debit LIKE bapi3007_2-lc_amount,
credit LIKE debit.
DATA : v_dmbtr LIKE bsid-dmbtr.
*DATA : tot_debit LIKE t_ar-debit,
* tot_credit LIKE t_ar-credit.
DATA : t_kna1 LIKE kna1 OCCURS 1 WITH HEADER LINE,
t_knb1 LIKE knb1 OCCURS 10 WITH HEADER LINE.
DATA ibsid LIKE bsid OCCURS 0 WITH HEADER LINE.
DATA ibsad LIKE bsad OCCURS 0 WITH HEADER LINE.
DATA ibsik LIKE bsik OCCURS 0 WITH HEADER LINE.
DATA ibsak LIKE bsak OCCURS 0 WITH HEADER LINE.
DATA : it_fieldcat_alv TYPE slis_t_fieldcat_alv,
wa_fieldcat_alv TYPE slis_fieldcat_alv,
is_layout_alv TYPE slis_layout_alv,
wa_layout_alv TYPE slis_layout_alv,
it_list_top_of_page TYPE slis_t_listheader,
it_events TYPE slis_t_event,
wa_events TYPE LINE OF slis_t_event.
DATA : BEGIN OF ibukrs OCCURS 0,
bukrs LIKE t001-bukrs,
END OF ibukrs.
DATA : BEGIN OF ikunnr1 OCCURS 0,
kunnr LIKE knc1-kunnr,
END OF ikunnr1.
DATA : BEGIN OF ikunnr OCCURS 0,
kunnr LIKE knc1-kunnr,
bukrs LIKE t001-bukrs,
lifnr LIKE lfc1-lifnr,
END OF ikunnr.
DATA: it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
DATA: r_bschl TYPE RANGE OF bschl,
wa_bschl LIKE LINE OF r_bschl.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : p_kunnr TYPE bsid-kunnr OBLIGATORY,
p_bukrs TYPE bsid-bukrs OBLIGATORY.
SELECT-OPTIONS: so_budat FOR bsid-budat .
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS : p_normal AS CHECKBOX,
p_spl AS CHECKBOX,
p_vendor AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK b2.
PERFORM get_data.
PERFORM process_data.
*PERFORM calculate_openbal. " Commented by anish
PERFORM calculate_open_bal.
PERFORM calculate_closing_bal.
PERFORM build_catalog_sort USING it_sort.
PERFORM reuse_alv_events_get .
PERFORM display_data.
*& Form GET_DATA
* text
* --> p1 text
* <-- p2 text
FORM get_data .
SELECT bukrs kunnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t kkber
bstat umskz FROM bsid
INTO TABLE it_bsid
WHERE bukrs = p_bukrs
AND kunnr = p_kunnr
AND budat IN so_budat.
SELECT bukrs kunnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t kkber
bstat umskz FROM bsad
APPENDING TABLE it_bsid
WHERE bukrs = p_bukrs
AND kunnr = p_kunnr
AND budat IN so_budat.
SELECT SINGLE name1 ort01 lifnr FROM kna1
INTO (w_name1 , w_ort01 , w_lifnr)
WHERE kunnr = p_kunnr.
IF p_vendor IS NOT INITIAL.
SELECT bukrs lifnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t
bstat umskz FROM bsik
APPENDING TABLE it_bsik
WHERE bukrs = p_bukrs
AND lifnr = w_lifnr
AND budat IN so_budat.
SELECT bukrs lifnr belnr buzei bldat blart bschl shkzg dmbtr augdt augbl zuonr sgtxt zfbdt zterm zbd1t zbd2t zbd3t
bstat umskz FROM bsak
APPENDING TABLE it_bsik
WHERE bukrs = p_bukrs
AND lifnr = w_lifnr
AND budat IN so_budat.
ENDIF.
SORT it_bsid BY bschl.
DELETE it_bsid WHERE bschl = '04'.
DELETE it_bsid WHERE bschl = '07'.
DELETE it_bsid WHERE bschl = '17'.
DELETE it_bsid WHERE bschl = '34'.
DELETE it_bsid WHERE bschl = '27'.
DELETE it_bsid WHERE bschl = '37'.
SORT it_bsik BY bschl.
DELETE it_bsik WHERE bschl = '04'.
DELETE it_bsik WHERE bschl = '07'.
DELETE it_bsik WHERE bschl = '17'.
DELETE it_bsik WHERE bschl = '34'.
DELETE it_bsik WHERE bschl = '27'.
DELETE it_bsik WHERE bschl = '37'.
ENDFORM. " GET_DATA
*& Form PROCESS_DATA
* text
* --> p1 text
* <-- p2 text
FORM process_data .
DATA:okay TYPE c VALUE space.
w_month = '00'.
w_year = '00'.
SORT it_bsid BY bldat .
LOOP AT it_bsid INTO wa_bsid.
PERFORM check_item_ok USING p_normal
p_spl
p_vendor
* x_park
wa_bsid
CHANGING okay.
CHECK okay = 'X'.
wa_final-belnr = wa_bsid-belnr.
wa_final-bldat = wa_bsid-bldat.
wa_final-blart = wa_bsid-blart.
wa_final-txt = wa_bsid-sgtxt.
wa_final-kkber = wa_bsid-kkber.
wa_final-zterm = wa_bsid-zterm.
wa_final-augbl = wa_bsid-augbl.
wa_final-augdt = wa_bsid-augdt.
wa_final-flag = 'C'.
IF wa_bsid-blart = 'DZ'.
wa_final-chq = wa_bsid-zuonr.
ENDIF.
IF wa_bsid-shkzg = 'S'.
wa_final-debit = wa_bsid-dmbtr.
ELSEIF wa_bsid-shkzg = 'H'.
wa_final-credit = wa_bsid-dmbtr.
ENDIF.
w_credit = w_credit + wa_final-credit.
w_debit = w_debit + wa_final-debit.
****** Net due date
IF wa_bsid-zbd1t IS NOT INITIAL.
w_days = wa_bsid-zbd1t.
ELSEIF wa_bsid-zbd2t IS NOT INITIAL.
w_days = wa_bsid-zbd2t.
ELSEIF wa_bsid-zbd3t IS NOT INITIAL.
w_days = wa_bsid-zbd3t.
ENDIF.
IF w_days IS INITIAL.
wa_final-date = wa_bsid-zfbdt.
ELSE.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = wa_bsid-zfbdt
days = w_days
months = w_month
signum = '+'
years = w_year
IMPORTING
calc_date = w_date.
wa_final-date = w_date.
ENDIF.
APPEND wa_final TO it_final.
CLEAR: w_days , w_date , wa_final .
ENDLOOP.
IF it_bsik IS NOT INITIAL.
CLEAR: w_days , w_date.
SORT it_bsik BY bldat.
LOOP AT it_bsik INTO wa_bsik.
wa_final-belnr = wa_bsik-belnr.
wa_final-bldat = wa_bsik-bldat.
wa_final-blart = wa_bsik-blart.
wa_final-txt = wa_bsik-sgtxt.
* wa_final-kkber = wa_bsik-kkber.
wa_final-zterm = wa_bsik-zterm.
wa_final-augbl = wa_bsik-augbl.
wa_final-augdt = wa_bsik-augdt.
wa_final-flag = 'V'.
IF wa_bsik-blart = 'DZ'.
wa_final-chq = wa_bsik-zuonr.
ENDIF.
IF wa_bsik-shkzg = 'S'.
wa_final-debit = wa_bsik-dmbtr.
ELSEIF wa_bsik-shkzg = 'H'.
wa_final-credit = wa_bsik-dmbtr.
ENDIF.
w_credit1 = w_credit1 + wa_final-credit.
w_debit1 = w_debit1 + wa_final-debit.
******* Net Due date
IF wa_bsik-zbd1t IS NOT INITIAL.
w_days = wa_bsik-zbd1t.
ELSEIF wa_bsik-zbd2t IS NOT INITIAL.
w_days = wa_bsik-zbd2t.
ELSEIF wa_bsik-zbd3t IS NOT INITIAL.
w_days = wa_bsik-zbd3t.
ENDIF.
IF w_days IS INITIAL.
wa_final-date = wa_bsik-zfbdt.
ELSE.
CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = wa_bsik-zfbdt
days = w_days
months = w_month
signum = '+'
years = w_year
IMPORTING
calc_date = w_date.
ENDIF.
wa_final-date = w_date.
APPEND wa_final TO it_final.
CLEAR: wa_final.
ENDLOOP.
ENDIF.
ENDFORM. " PROCESS_DATA
*& Form DISPLAY_DATA
* text
* --> p1 text
* <-- p2 text
FORM display_data .
wa_fieldcat_alv-fieldname = 'BELNR'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-003.
wa_fieldcat_alv-outputlen = '11'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'BLDAT'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-004.
wa_fieldcat_alv-outputlen = '13'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'BLART'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-005.
wa_fieldcat_alv-outputlen = '02'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'CHQ'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-006.
wa_fieldcat_alv-outputlen = '09'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'DEBIT'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-007.
wa_fieldcat_alv-outputlen = '15'.
wa_fieldcat_alv-do_sum = 'X'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'CREDIT'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-008.
wa_fieldcat_alv-outputlen = '15'.
wa_fieldcat_alv-do_sum = 'X'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'TXT'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-009.
wa_fieldcat_alv-outputlen = '50'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'DATE'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-010.
wa_fieldcat_alv-outputlen = '12'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'KKBER'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-011.
wa_fieldcat_alv-outputlen = '04'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'ZTERM'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-012.
wa_fieldcat_alv-outputlen = '13'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'AUGBL'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-013.
wa_fieldcat_alv-outputlen = '15'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'AUGDT'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-seltext_l = text-014.
wa_fieldcat_alv-outputlen = '17'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
wa_fieldcat_alv-fieldname = 'FLAG'.
wa_fieldcat_alv-tabname = 'IT_FINAL'.
wa_fieldcat_alv-tech = 'X'.
APPEND wa_fieldcat_alv TO it_fieldcat_alv.
CLEAR wa_fieldcat_alv.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = wa_layout_alv
it_fieldcat = it_fieldcat_alv
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
it_sort = it_sort
it_events = it_events
i_save = 'A'
TABLES
t_outtab = it_final
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
* EXPORTING
* i_callback_program = sy-repid
* i_callback_top_of_page = 'TOP_OF_PAGE'
* is_layout = wa_layout_alv
* it_fieldcat = it_fieldcat_alv
* it_sort = it_sort
*** I_DEFAULT = 'X'
** i_save = 'A'
*** IT_EVENTS =
* TABLES
* t_outtab = it_final
* EXCEPTIONS
* program_error = 1
* OTHERS = 2
* IF sy-subrc <> 0.
*** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*** WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
* ENDIF.
ENDFORM. " DISPLAY_DATA
*& Form TOP_OF_PAGE
* Header at top of page.
FORM top_of_page.
SKIP 1.
WRITE: AT 35 'Account Statement from' , so_budat-low , 'to' , so_budat-high.
SKIP 2.
WRITE: AT /5 'CUSTOMER:' , p_kunnr.
WRITE: AT 35 'Name:' , w_name1.
WRITE: AT /5 'Company:' , p_bukrs.
WRITE: AT 35 'City:' , w_ort01.
SKIP 1.
WRITE: AT /5 'Opening Balance as on' , so_budat-low , ' ' , w_opbal LEFT-JUSTIFIED.
SKIP 2.
ENDFORM. "TOP_OF_PAGE
*& Form END_OF_PAGE
* Footer at End of page.
FORM end_of_page.
SKIP 2.
IF so_budat-high IS NOT INITIAL.
WRITE: AT 5 'Closing Balance as on' , so_budat-high , ' ' , w_clobal LEFT-JUSTIFIED.
ELSE.
WRITE: AT 5 'Closing Balance ' , w_clobal LEFT-JUSTIFIED.
ENDIF.
ENDFORM. "end_of_page
*& Form CALCULATE_OPENBAL
* text
* --> p1 text
* <-- p2 text
FORM calculate_openbal .
DATA:v_gjahr TYPE bsid-gjahr.
DATA: v_period LIKE t009b-poper,v_monat LIKE t001-periv.
CALL FUNCTION 'FI_PERIOD_DETERMINE'
EXPORTING
i_budat = so_budat-low
i_bukrs = p_bukrs
* I_PERIV = ' '
* I_GJAHR = 0000
* I_MONAT = 00
* X_XMO16 = ' '
IMPORTING
e_gjahr = v_gjahr
* e_monat = v_monat
e_poper = v_period.
IF sy-subrc NE 0.
ENDIF.
DATA: f_date LIKE sy-datum.
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = v_gjahr
i_monmit = 00
i_periv = 'V3'
i_poper = v_period
IMPORTING
e_date = f_date.
period = v_period - 1.
gjahr = v_gjahr.
DATA wa_kna1 LIKE kna1.
CALL FUNCTION 'READ_KNA1'
EXPORTING
xkunnr = p_kunnr
IMPORTING
xkna1 = wa_kna1
EXCEPTIONS
key_incomplete = 1
not_authorized = 2
not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE w023(zwww).
CALL SCREEN 0010.
ENDIF.
MOVE-CORRESPONDING wa_kna1 TO t_kna1.
APPEND t_kna1.
SELECT kunnr FROM kna1 INTO TABLE ikunnr1
WHERE kunnr = p_kunnr.
SELECT bukrs FROM t001 INTO TABLE ibukrs
FOR ALL ENTRIES IN t_knb1
WHERE bukrs = t_knb1-bukrs.
LOOP AT ikunnr1.
LOOP AT ibukrs.
ikunnr-kunnr = ikunnr1-kunnr.
ikunnr-bukrs = ibukrs-bukrs.
READ TABLE t_kna1 WITH KEY kunnr = ikunnr1-kunnr.
ikunnr-lifnr = t_kna1-lifnr.
APPEND ikunnr.
ENDLOOP.
ENDLOOP.
DELETE ikunnr WHERE bukrs NE p_bukrs.
LOOP AT ikunnr.
CLEAR: knc1,lfc1,f.
IF NOT ( ikunnr-kunnr IS INITIAL ) AND NOT ( p_vendor IS INITIAL ).
SELECT SINGLE * FROM lfc1
WHERE gjahr = gjahr AND bukrs = ikunnr-bukrs
AND lifnr = ikunnr-lifnr.
ENDIF.
SELECT SINGLE * FROM knc1
WHERE gjahr = gjahr AND bukrs = p_bukrs
AND kunnr = p_kunnr.
IF sy-subrc = 0.
CASE period .
WHEN 12.
open = knc1-umsav +
knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
knc1-um09s - knc1-um09h + knc1-um10s - knc1-um10h +
knc1-um11s - knc1-um11h + knc1-um12s - knc1-um12h.
IF NOT ( lfc1 IS INITIAL ).
open = open + lfc1-umsav +
lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
lfc1-um09s - lfc1-um09h + lfc1-um10s - lfc1-um10h +
lfc1-um11s - lfc1-um11h + lfc1-um12s - lfc1-um12h.
ENDIF.
WHEN 11.
open = knc1-umsav +
knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
knc1-um09s - knc1-um09h + knc1-um10s - knc1-um10h +
knc1-um11s - knc1-um11h.
IF NOT ( lfc1 IS INITIAL ) .
open = open + lfc1-umsav +
lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
lfc1-um09s - lfc1-um09h + lfc1-um10s - lfc1-um10h +
lfc1-um11s - lfc1-um11h.
ENDIF.
WHEN 10.
open = knc1-umsav +
knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
knc1-um09s - knc1-um09h + knc1-um10s - knc1-um10h .
IF NOT ( lfc1 IS INITIAL ) .
open = open + lfc1-umsav +
lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
lfc1-um09s - lfc1-um09h + lfc1-um10s - lfc1-um10h.
ENDIF.
WHEN 9.
open = knc1-umsav +
knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h +
knc1-um09s - knc1-um09h .
IF NOT ( lfc1 IS INITIAL ) .
open = open + lfc1-umsav +
lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h +
lfc1-um09s - lfc1-um09h.
ENDIF.
WHEN 8.
open = knc1-umsav +
knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
knc1-um07s - knc1-um07h + knc1-um08s - knc1-um08h.
IF NOT ( lfc1 IS INITIAL ) .
open = open + lfc1-umsav +
lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
lfc1-um05s - lfc1-um05h + lfc1-um06s - lfc1-um06h +
lfc1-um07s - lfc1-um07h + lfc1-um08s - lfc1-um08h .
ENDIF.
WHEN 7.
open = knc1-umsav +
knc1-um01s - knc1-um01h + knc1-um02s - knc1-um02h +
knc1-um03s - knc1-um03h + knc1-um04s - knc1-um04h +
knc1-um05s - knc1-um05h + knc1-um06s - knc1-um06h +
knc1-um07s - knc1-um07h .
IF NOT ( lfc1 IS INITIAL ) .
open = open + lfc1-umsav +
lfc1-um01s - lfc1-um01h + lfc1-um02s - lfc1-um02h +
lfc1-um03s - lfc1-um03h + lfc1-um04s - lfc1-um04h +
lfc1-um05s - lfc1-um -
Short dump due to performance issue
Hi all,
I am facing performance issue in my sandbox. Below is the content of short dump.
Short text
Unable to fulfil request for 805418 bytes of memory space.
What happened?
Each transaction requires some main memory space to process
application data. If the operating system cannot provide any more
space, the transaction is terminated.
What can you do?
Try to find out (e.g. by targetted data selection) whether the
transaction will run with less main memory.
If there is a temporary bottleneck, execute the transaction again.
If the error persists, ask your system administrator to check the
following profile parameters:
o ztta/roll_area (1.000.000 - 15.000.000)
Classic roll area per user and internal mode
usual amount of roll area per user and internal mode
o ztta/roll_extension (10.000.000 - 500.000.000)
Amount of memory per user in extended memory (EM)
o abap/heap_area_total (100.000.000 - 1.500.000.000)
Amount of memory (malloc) for all users of an application
server. If several background processes are running on
one server, temporary bottlenecks may occur.
Pls help me to resolve this issue
Regards,
Kalyani
Edited by: kalyani usa on Jan 9, 2008 9:04 PMHi Rob Burbank,
I am pasting the transaction I found in the dump
Transaction......... "SESSION_MANAGER "
Transactions ID..... "4783E5B027A73C1EE10000000A200A17"
Program............. "SAPMSYST"
Screen.............. "SAPMSYST 0500"
Screen line......... 16
Also i am pasting the screenshot of ST02
Nametab (NTAB) 0
Table definition 99,22 6.799 3.591 62,97 20.000 12.591 62,96 0 8.761
Field definition 99,06 31.563 345 1,15 20.000 13.305 66,53 244 7.420
Short NTAB 99,22 3.625 2.590 86,33 5.000 3.586 71,72 0 1.414
Initial records 52,50 6.625 3.408 56,80 5.000 249 4,98 817 5.568
0
program 99,58 300.000 1.212 0,42 75.000 67.561 90,08 7.939 46.575
CUA 99,08 3.000 211 8,84 1.500 1.375 91,67 23.050 846
Screen 99,46 4.297 1.842 45,00 2.000 1.816 90,80 81 963
Calendar 100,00 488 401 85,14 200 111 55,50 0 89
OTR 100,00 4.096 3.281 100,00 2.000 2.000 100,00 0
0
Tables 0
Generic Key 99,69 29.297 2.739 9,87 5.000 177 3,54 57 56.694
Single record 89,24 10.000 63 0,64 500 468 93,60 241 227.134
0
Export/import 76,46 50.000 40.980 83,32 2.000 2.676
Exp./ Imp. SHM 97,82 4.096 3.094 94,27 2.000 1.999 99,95 0
SAP Memory Curr.Use % CurUse[KB] MaxUse[KB] In Mem[KB] OnDisk[KB] SAPCurCach HitRatio %
Roll area 0,16 432 18.672 131.072 131.072 IDs 98,11
Page area 0,19 496 187.616 65.536 196.608 Statement 95,00
Extended memory 9,89 151.552 1.531.904 1.531.904 0 0,00
Heap memory 0 0 1.953.045 0
0,00
Regards,
Kalyani
Maybe you are looking for
-
I was charged for supposed to be "free games" atleast $10.97 and i didn't know that i will be charged and if i knew i would not downloaded this games. So therefore i would like to request for a refund. Thanks!
-
HP Pavilion dv7-6b03sg does no longer start
The laptop of my daughter does no longer start. It does not react at all. When connected to the power adapter the LED next to the power plug of the laptop is white, if the battery is not inserted and yellow, if the battery is inserted. All other LEDs
-
Implementing JFrame Resizing Rules?
Recently I've needed to enforce rules on a JFrame's dimensions (for example: preserving an aspect ratio). The obvious solution is to call setSize() from ComponentListener's componentResize() method. This is functional, but looking at the Java source,
-
Oracle equivalent of SAP BAPI/RFC? Stored Procedures?
Hello all. I am looking at the development of integrating our desktop application with Oracle. We would like to upload/download objects from Oracle EAM such as Assets, Work Orders, etc using ODP.NET. We already have a similar connector to SAP. In thi
-
How to import external HDD iPhoto library to internal storage Photos+iCloud
I have a larger iPhoto library of +250GB on a external USB drive, I want all of that in iCloud with the new Photos app, however I would also like to have them on my internal drive on the 'optimized storage' options so I have access to them (and if ne