Estimate undo
UNDO tablespace.
Provides transaction consistency and roll back. If transaction consistency cant be maintained as we've run out of undio segments we get snapshot too old. Well documented.
If we're getting transactions that are running out of undo we can extend the undo tablespace and investigate the transaction to see what its doing. At this point it may be too late, it might be a critical transaction. Is there a way of
A) reporting on UNDO usage? (At 4am last night transaction X took 80% of all available undo space available)
B) alerting when a transaction is reaching max available UNDO space?
A) reporting on UNDO usage? (At 4am last night transaction X took 80% of all available undo space available)
SELECT /* + RULE */ df.tablespace_name "Tablespace",
df.bytes / (1024 * 1024) "Size (MB)",
SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
FROM dba_free_space fs,
(SELECT tablespace_name,SUM(bytes) bytes
FROM dba_data_files
GROUP BY tablespace_name) df
WHERE fs.tablespace_name = df.tablespace_name
GROUP BY df.tablespace_name,df.bytes
UNION ALL
SELECT /* + RULE */ df.tablespace_name tspace,
fs.bytes / (1024 * 1024),
SUM(df.bytes_free) / (1024 * 1024),
Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
FROM dba_temp_files fs,
(SELECT tablespace_name,bytes_free,bytes_used
FROM v$temp_space_header
GROUP BY tablespace_name,bytes_free,bytes_used) df
WHERE fs.tablespace_name = df.tablespace_name
GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
ORDER BY 4 DESC;
B) alerting when a transaction is reaching max available UNDO space?
You can use Grid Control.
Similar Messages
-
How to estimate undo tablespace size in 11g?
I found someone document said, use this sql to estimate undo tablespace:
select (UR*(UPS*DBS))+(DBS*24) as "bytes" from (select value as UR from v$parameter where name='undo_retention'),(select (sum(undoblks)/sum(((end_time-begin_time)*86400))) as UPS from v$undostat),(select value as DBS from v$parameter where name='db_block_size');
but in my 11g database, the "select value as UR from v$parameter where name='undo_retention'" is 0. so above sql is always get 196608(8192*24)
How to estimate undo tablespace size in 11g?
Thanks very much!for undo segments size you should turn it to be autoextend on as well undo management set to be AUTO
i.e
undo_managment='AUTO'
for retention see that link
Ora-01555, snapshot too old: rollback segment number 2 with name "_SYSSMU1
BTW as hemant stated leave it to be auto which is good approach but make sure enough space on disk has been
dedicated for undo segments are allowed to grow to the size they need to be based on the requested undo_retention.
Khurram -
How much undo/Redo will be generate ?
Dear Experts,
(Oracle 10gR2,Windows 2003 Server)
We are going to shink some segments(Recommended by Segment Advisor) with total allocated size around 500G (say 5 segments there ). As shrink space need huge amount of undo/redo space, could you please suggest me how to estimate undo/redo and/or temporary space requirement for this operation( Locally managed, ASSM).
Thanks&Regards
Sunil Kumar
Edited by: sunil kumar on 04-Apr-2011 02:24sunil kumar wrote:
We are going to shink some segments(Recommended by Segment Advisor) with total allocated size around 500G (say 5 segments there ). As shrink space need huge amount of undo/redo space, could you please suggest me how to estimate undo/redo and/or temporary space requirement for this operation( Locally managed, ASSM).
Interesting question - and Aman has pointed you to a generic note I wrote about undo/redo space.
Off the top of my head I think I'd look at it like this:
Size of used space BEFORE shrink - predicted size of used space AFTER shrink = total size of rows moved
total size of rows move / average row length = total number of rows moved.
Then apply the comments in the note for each row, remembering that a "move" of a row is a delete/insert, and don't forget to allow for the indexes on the row. An remember that since the object is very large the cost of random reads of INDEX blocks may be the most signficant performance problem.
Regards
Jonathan Lewis -
Stop undo generation or estimate it.
UPDATE Daily_Price_Position
SET cscn = Daily_Price_Position.NEXTVAL;
In above statement, Daily_Price_Position.NEXTVAL is a sequence
Daily_Price_Position Table has 131,950,909 rows & is of 34gb.
I am struggling to complete above statement. I have already put database in noarchive log and set undo tablespace =99gb, still can't understand why even 99gb is not enough. It gives error that can't exten 8192 block in UNDOTBS1. UNTO_RETENTION is set to 900 and UNDO_MANAGEMENT=auto.
There is no other user connected to database that can perform and select operation on it.
Any suggestion on it ?For timebeing I have increased undotbs to 100gb, to see if it helps. Next option will be to change the procedure and frequenct commit i.e. update 50k rows at a time and commit...
I think that should help.
But still curious to know, at max, how much undo can a table to 34gb generate for such update? Even if it maintains full 2 copies for read consistant value, it should not exceed 68 gb, but here 100gb is also not enough.. -
SELECT query sometimes runs extremely slowly - UNDO question
Hi,
The Background
We have a subpartitioned table:
CREATE TABLE TAB_A
RUN_ID NUMBER NOT NULL,
COB_DATE DATE NOT NULL,
PARTITION_KEY NUMBER NOT NULL,
DATA_TYPE VARCHAR2(10),
START_DATE DATE,
END_DATE DATE,
VALUE NUMBER,
HOLDING_DATE DATE,
VALUE_CURRENCY VARCHAR2(3),
NAME VARCHAR2(60),
PARTITION BY RANGE (COB_DATE)
SUBPARTITION BY LIST (PARTITION_KEY)
SUBPARTITION TEMPLATE
(SUBPARTITION GROUP1 VALUES (1) TABLESPACE BROIL_LARGE_DATA,
SUBPARTITION GROUP2 VALUES (2) TABLESPACE BROIL_LARGE_DATA,
SUBPARTITION GROUP3 VALUES (3) TABLESPACE BROIL_LARGE_DATA,
SUBPARTITION GROUP4 VALUES (4) TABLESPACE BROIL_LARGE_DATA,
SUBPARTITION GROUP5 VALUES (DEFAULT) TABLESPACE BROIL_LARGE_DATA
PARTITION PARTNO_03 VALUES LESS THAN
(TO_DATE(' 2008-07-22 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
( SUBPARTITION PARTNO_03_GROUP1 VALUES (1),
SUBPARTITION PARTNO_03_GROUP2 VALUES (2),
SUBPARTITION PARTNO_03_GROUP3 VALUES (3),
SUBPARTITION PARTNO_03_GROUP4 VALUES (4),
SUBPARTITION PARTNO_03_GROUP5 VALUES (DEFAULT) ),
PARTITION PARTNO_01 VALUES LESS THAN
(TO_DATE(' 2008-07-23 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
( SUBPARTITION PARTNO_01_GROUP1 VALUES (1),
SUBPARTITION PARTNO_01_GROUP2 VALUES (2),
SUBPARTITION PARTNO_01_GROUP3 VALUES (3),
SUBPARTITION PARTNO_01_GROUP4 VALUES (4),
SUBPARTITION PARTNO_01_GROUP5 VALUES (DEFAULT) ),
PARTITION PARTNO_02 VALUES LESS THAN
(TO_DATE(' 2008-07-24 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
( SUBPARTITION PARTNO_02_GROUP1 VALUES (1),
SUBPARTITION PARTNO_02_GROUP2 VALUES (2),
SUBPARTITION PARTNO_02_GROUP3 VALUES (3),
SUBPARTITION PARTNO_02_GROUP4 VALUES (4),
SUBPARTITION PARTNO_02_GROUP5 VALUES (DEFAULT) ),
PARTITION PARTNO_OTHER VALUES LESS THAN (MAXVALUE)
( SUBPARTITION PARTNO_OTHER_GROUP1 VALUES (1),
SUBPARTITION PARTNO_OTHER_GROUP2 VALUES (2),
SUBPARTITION PARTNO_OTHER_GROUP3 VALUES (3),
SUBPARTITION PARTNO_OTHER_GROUP4 VALUES (4),
SUBPARTITION PARTNO_OTHER_GROUP5 VALUES (DEFAULT) )
CREATE INDEX TAB_A_IDX ON TAB_A
(RUN_ID, COB_DATE, PARTITION_KEY, DATA_TYPE, VALUE_CURRENCY)
LOCAL;The table is subpartitioned as each partition typically has 135million rows in it.
Overnight, serveral runs occur that load data into this table (the partitions are rolled over daily, such that the oldest one is dropped and a new one created. Stats are exported from the oldest partition prior to being dropped and imported to the newly created partition. The oldest partition once the partition has been created has it's stats analyzed).
Data loads can load anything from 200 rows to 20million rows into the table, with most of the rows ending up in the Default subpartition. Most of the runs that load a larger set of rows have been set up to add into one of the other 4 subpartitions.
We then run a process to extract data from the table that gets put into a file. This is a two step process (due to Oracle completely picking the wrong execution plan and us not being able to rewrite the query in such a way that it'll pick the right path up by itself!):
1. Identify all the unique currencies
2. Update the (dynamic) sql query to add a CASE clause into the select clause based on the currencies identified in step 1, and run the query.
Step 1 uses this query:
SELECT DISTINCT value_currency
FROM tab_a
WHERE run_id = :b3 AND cob_date = :b2 AND partition_key = :b1;and usually finishes this within 20 minutes.
The problem
Occasionally, this simple query runs over 20 minutes (I don't think we've ever seen it run to completion on these occurrences, and I've certainly seen it take over 3 hours before we killed it, for a run where it would normally complete in 2 or 3 minutes), which we've now come to recognise as it "being stuck". The execution path it takes is the same as when it runs normally, there are no unusual wait events, and no unusual wait times. All in all, it looks "normal" except for the fact that it's taking forever (tongue-in-cheek!) to run. When we kill and rerun, the execution time returns to normal. (We've sent system state dumps to Oracle to be analyzed, and they came back with "The database is doing stuff, can't see anything wrong")
We've never been able to come up with any explanation before, but the same run has failed consistently for the last three days, so I managed to wangle a DBA to help me investigate it further.
After looking through the ASH reports, he proposed a theory that the problem was it was having to go to the UNDO to retrieve results, and that this could explain the massive run time of the query.
I looked at the runs and agreed that UNDO might have been used in that particular instance of the query, as another run had loaded data into the table at the same time it was being read.
However, another one of the problematic runs had not had any inserts (or updates/deletes - they don't happen in our process) during the reading of the data, and yet it had taken a long time too. The ASH report showed that it too had read from UNDO.
My question
I understand from this link: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:44798632736844 about how Selects may generate REDO, but I don't see why UNDO would possibly be generated by a select. Does anyone know of a situation where a select would end up looking through UNDO, even though no inserts/updates/deletes had taken place on the table/index it was looking at?
Also, does the theory that having to look through the UNDO (currently UNDO ts is 50000MB, in case that's relevant) causing queries to take an extremely long time hold water? We're on 10.2.0.3
Message was edited by:
Boneist
Ok, having carried on searching t'internet, I can see that it's maybe Delayed Block Cleanout that's causing the UNDO to be referenced. Even taking that into account, I can't see why going back to the UNDO to be told to commit the change to disk could slow the query down that much? What waits would this show up as, if any?Since you're on 10.2 and I understand that you use
the statistics of the "previous" content for the
partition that you are now loading (am I right?) you
have to be very careful with the 10g optimizer. If
the statistics tell the optimizer that the values
that you're querying for are sufficiently
out-of-range this might change the execution plan
because it estimates that only a few or no rows will
be returned. So if the old statistics do not fit the
new data loaded in terms of column min/max values
then this could be a valid reason for different
execution plans for some executions (depending on the
statistics of the old partition and the current
values used). Your RUN_ID is a good candidate I guess
as it could be ever increasing... If the max value of
the old partition is sufficiently different from the
current value this might be the cause.
Do you actually use bind variables for that
particular statement? Then we have in addition bind
variable peeking and potentially statement re-using
to consider.
I would prefer literals instead of bind variables or
do you encounter parse issues?Yes, that query runs as part of a procedure and uses bind variables (well, pl/sql variables!). We are aware that because of the histograms that get produced, the stats are not as good as we'd like. I'm wondering if analyzing the partition would be the best way to go, only that means analysing the entire partition, not just the subpartition, I guess? But if other inserts are taking place at the same time, having several analyzes taking place won't help the speed of inserting, or won't it matter?
Do you have the "default" 10g statistics gathering
job active? This could also explain why you get
different execution plans at different execution
times. If the job determines that the statistics of
some of your partitions are stale then it will
attempt to gather statistics even if you already have
statistics imported/generated.No, we turned that off. The stats do not change when we rerun the query - we guess there is some sort of contention taking place, possibly when reading from the UNDO, although I would expect that to show up in the waits - it doesn't appear to though.
Data loads can load anything from 200 rows to
20million rows into the table, with most of therows
ending up in the Default subpartition. Most of the
runs that load a larger set of rows have been setup
to add into one of the other 4 subpartitions.
I'm not sure about above description. Do most of the
rows end up in the default subpartition (most rows in
default partition) or do the larger sets load into
the other 4 ones... (most rows in the non-default
partitions)?Sorry, I mean that the loads that load say 20million + rows at a time have a specified subpartition to go into (defined via some config. We had to make up a "partition key" in order to do this as there is nothing in the data that lends itself to the subpartition list, unfortunately - the process determines which subpartition to load to/extract from via a config table), but this applies to not many of the runs. So, the majority of the runs (with fewer rows) go into the default partition.
The query itself scans the index, not the table, doing partition pruning, etc.
The same SQL_ID doesn't mean it's the same plan. So
are you 100% sure that the plans where the same? I
could imagine (see above) that the execution plans
might be different.The DBA looking at it said that the plans were the same, and I have no reason to doubt him. Also, the session browser in Toad shows the same explain plan in the "Current Statement" tab for normal and abnormal runs and is as follows:
Time IO Cost CPU Cost Cardinality Bytes Cost Plan
6 SELECT STATEMENT ALL_ROWS
4 1 4 4 4 82,406 4 1 4 20 4 6 4 HASH UNIQUE
3 1 3 4 3 28,686 3 1 3 20 3 5 3 PARTITION RANGE SINGLE Partition #: 2
2 1 2 4 2 28,686 2 1 2 20 2 5 2 PARTITION LIST SINGLE Partition #: 3
1 1 1 4 1 28,686 1 1 1 20 1 5 1 INDEX RANGE SCAN INDEX TAB_A_IDX Access Predicates: "RUN_ID"=:B3 AND "COB_DATE"=:B2 AND "PARTITION_KEY"=:B1 Partition #: 3
How do you perform your INSERTs? Are overlapping
loads and queries actually working on the same
(sub-)partition of the table or in different ones? Do
you use direct-path inserts or parallel dml?
Direct-path inserts as far I know create "clean"
blocks that do not need a delayed block cleanout.We insert using a select from an external table - there's a parallel hint in there, but I think that is often ignored (at least, I've never seen any hint of sessions running in parallel when looking at the session browser, and I've seen it happen in one of our dev databases, so...). As mentioned above, rows could get inserted into different partitions, although the majority of runs load into the default subpartition. In practise, I don't think more than 3 or 4 loads take place at the same time.
If you loading and querying different partitions then
your queries shouldn't have to check for UNDO except
for the delayed block cleanout case.
You should check at least two important things:
- Are the execution plans different for the slow and
normal executions?
- Get the session statistics (logical I/Os, redo
generated) for the normal and slow ones in order to
see and compare the amount of work that they
generate, and to find out how much redo your query
potentially generated due to delayed block cleanout.It's difficult to do a direct comparison that's exact, due to other work going on in the database, and the abnormal query taking far longer than normal, but here is the ASH comparison between a normal run (1st) and our abnormal run (2nd) (both taken over 90 mins, and the first run may well include other runs that use the same query in the results):
Exec Time of DB Exec Time (ms) #Exec/sec CPU Time (ms) Physical Reads / Exec #Rows Processed
Time / Exec (DB Time) / Exec / Exec
SQL Id 1st 2nd Diff 1st 2nd 1st 2nd 1st 2nd 1st 2nd 1st 2nd Multiple Plans SQL Text
gpgaxqgnssnvt 3.54 15.76 12.23 223,751 1,720,297 0.00 0.00 11,127 49,095 42,333.00 176,565.00 2.67 4.00 No SELECT DISTINCT VALUE_CURRENCY... -
Hi guys.
Our database has 50GB of undo tablespace. I decided to create a second undo tablespace and switch to the new one. Since doing that yesterday, the size of the old undo is 49GB (was thinking that the values will drop to zero) and the new tablespace keeps increasing in size! Its size now is about 20GB. I do have the following question.
a) If I restart the database, it the value of the old undo going to fall to zero?
b) undo_retention=86400. Setting this value to a lesser value say 800seconds, it is going to act the performance of the database? Is it going to release the space on the old undo?
Thanks and any help is appreciated.
DavidThe undo tablespace will not automatically shrink size, since you have a new undo tablespace in place. You can drop the old one if you don't plan to use it.
Set lower undo_retention will certainly help to contain the undo space usage. However you should query v$undostat and v$rollstat to estimate the amount of undo space required for the current workload then size the undo tablespace accordingly. Turn off the auto extend on undo tablespace. -
Hi All,
AIX 5.3
oracle 10.2.0.3
I have production database of 80 GB. I want to take a cold backup during the upgrade process. Now i want to know database backup size. so we can free space from some mount point accordingly.
Is there any way to estimate database backup size?
Thanks,
VishalQuestion: how did you establish that your database is actually 80G?
Is that 80G of data in the database, or is it the sum of all data files, temp tablespace files, undo tablespace files, redo logs, oracle binary software files, control files, etc?
If you intend to do an upgrade of the software, my recommendation is to shut the database down and do a full copy of:
1) your entire oracle product tree (usually /oracle/product), including ORACLE_HOME.
2) your entire 'oradata' structure which (should) include all of your Oracle database data files and all other associated files. -
Hello,
The size of my UNDOTS is 6 GB and undo_retention=21600.
After last application upgrade, we the size of UNDOTS are full and we can't fixit and it create a problem, I open a TAR within Oracle and after two days they don't propose any solution.
Is there any possibility (an Oracle view) that we can see all transaction inside the UDOTS?
For you information, even I increase the size to 9 GB and I reduce the undo_retention=14400, the result are the same full UNDOTS.
Thanks for your suggestion and proposition, it's in production
Regards,
Message was edited by:
user579652
Message was edited by:
user579652The following query/report will help you estimate the amount of undo you require, based on your undo_retention, largest transaction, and block size. If the report shows you need more undo space than you have allocated, then you probably need to increase the amount of undo space or reduce the undo_retention. Pay special attention to the occurances of snapshot too old (ora-01555) and no space.
== =====================================
set linesize 120
set pagesize 60
alter session set nls_date_format = "dd-Mon-yyyy hh24:mi:ss";
COL TXNCOUNT FOR 99,999,999 HEAD 'Txn. Cnt.'
COL MAXQUERYLEN FOR 99,999,999 HEAD 'Max|Query|Sec'
COL MAXCONCURRENCY FOR 9,999 HEAD 'Max|Concr|Txn'
COL bks_per_sec FOR 99,999,999 HEAD 'Blks per|Second'
COL kb_per_second FOR 99,999,999 HEAD 'KB per|Second'
COL undo_mb_required FOR 999,999 HEAD 'MB undo|Needed'
COL ssolderrcnt FOR 9,999 HEAD 'ORA-01555|Count'
COL nospaceerrcnt FOR 9,999 HEAD 'No Space|Count'
break on report
compute max of txncount -
maxquerylen -
maxconcurrency -
bks_per_sec -
kb_per_second -
undo_mb_required on report
compute sum of -
ssolderrcnt -
nospaceerrcnt on report
SELECT begin_time,
txncount-lag(txncount) over (order by end_time) as txncount,
maxquerylen,
maxconcurrency,
undoblks/((end_time - begin_time)*86400) as bks_per_sec,
(undoblks/((end_time - begin_time)*86400)) * t.block_size/1024 as kb_per_second,
((undoblks/((end_time - begin_time)*86400)) * t.block_size/1024) * TO_NUMBER(p2.value)/1024 as undo_MB_required,
ssolderrcnt,
nospaceerrcnt
FROM v$undostat s,
dba_tablespaces t,
v$parameter p,
v$parameter p2
WHERE t.tablespace_name = UPPER(p.value)
AND p.name = 'undo_tablespace'
AND p2.name = 'undo_retention'
ORDER BY begin_time;
show parameter undo
clear computes -
Why does undo table space got full even when i commit between inserts??
Dears,
I have stored procedure which inserts around 5million record(insert select not applicable); and it always fails because of "ORA-30036: unable to extend segment by 8 in undo tablespace" although the procedure commits after every 10,000 records and the undo table space is 2GB. so my question is why does undo table space got full even if i commit?? & do i have other solution than making the undo auto extend??
am working on Orcale 9i RAC
Swaid A. McKeyActually, i had the same problem that my UNDO tablespace starting eating too much space, my undo_retention is set as 3hours, but how can estimate it using the view.
Here the following sample output
SID STATISTIC# VALUE
3 151 0
3 152 0
3 153 0
Can anyone assist with it ? But i still have the strange feeling why would UNDO get full once commit is being used. Even i did try with AUTOEXTEND and it throw me the errors that can't extend UNDO tablespace.
Any ideas.....
Thanks !!
MB -
Hi,
Currently my undo tablespace is 1GB (data file not set to autoextensible due to filesystem space constraint) and undo retention is 900 seconds.
I'm facing alot of snapshot too old errors.
I'm going to increase/tune tablespace size and also undo retention period. from the below query from gv$undostat, shud i set the maximun retention period of undo to the max query length? or only to the max query length there the ora-01555 error happens? how abt the tablespace sizing, how can i estimate.. please advise experts.
Tuned Undo # Unexpired # Expired ORA-1555 Out-Of-space Max Query
INST_ID BEGIN_TIME Retention Stolen Reused Error Error Length
1 07/21/2008 11:12 49564 0 438 0 0 1421
1 07/21/2008 11:22 2086 173 497 0 5 2022
1 07/21/2008 11:32 2602 64 65 0 3 1768
1 07/21/2008 11:42 3118 0 0 0 0 1847
1 07/21/2008 11:52 3632 3 12 0 0 385
1 07/21/2008 12:02 4146 2 17 0 0 572
Tuned Undo # Unexpired # Expired ORA-1555 Out-Of-space Max Query
INST_ID BEGIN_TIME Retention Stolen Reused Error Error Length
1 07/21/2008 12:12 4659 57 60 0 0 32
1 07/21/2008 12:22 5175 47 53 0 0 12
1 07/21/2008 12:32 5690 0 43 0 0 105
1 07/21/2008 12:42 6203 0 116 0 0 488
1 07/21/2008 12:52 6719 0 116 0 0 1088
1 07/21/2008 13:02 7231 0 330 0 0 1687
1 07/21/2008 13:12 7743 0 229 0 0 2290
1 07/21/2008 13:22 8248 13 393 0 0 666
1 07/21/2008 13:32 8713 278 420 0 0 459
1 07/21/2008 13:42 9180 170 288 1 0 1058
1 07/21/2008 13:52 9650 286 335 2 0 1657
1 07/21/2008 14:02 10141 51 273 2 0 733
1 07/21/2008 14:12 10610 85 584 0 0 1389
1 07/21/2008 14:22 10963 89 283 2 0 1716
1 07/21/2008 14:32 12022 32 264 0 0 1598
1 07/21/2008 14:42 10783 0 158 0 0 2918
1 07/21/2008 14:52 11902 0 134 1 0 3519
1 07/21/2008 15:02 13283 34 658 0 0 4121
1 07/21/2008 15:12 12044 0 322 0 0 4722
1 07/21/2008 15:22 2932 5 208 0 0 5322
1 07/21/2008 15:32 3497 45 398 0 0 6200
Tuned Undo # Unexpired # Expired ORA-1555 Out-Of-space Max Query
INST_ID BEGIN_TIME Retention Stolen Reused Error Error Length
1 07/21/2008 15:42 4071 8 489 0 0 6800
1 07/21/2008 15:52 4637 386 494 0 5 7402
1 07/21/2008 16:02 5209 200 812 0 1 7727
1 07/21/2008 16:12 5775 319 568 1 7 1138
1 07/21/2008 16:22 6345 3 1220 0 0 1740
1 07/21/2008 16:32 6858 0 5575 0 0 98
1 07/21/2008 16:42 7420 4 777 0 0 606
1 07/21/2008 16:52 7952 32 1344 0 0 604
1 07/21/2008 17:02 8293 0 6 0 0 43
576 rows selected.Snapshot too old error's most useful solution is to raise the undo tablespace's size. I would raise it anyway, but i think you need to report your manager that you need to upgrade the system, indeed 900 seconds undo retention is not enough to your database.
Simple logic, growing database, growing sql queries, decreasing or steady hardware and sizes? IMPOSSIBLE. -
I found My iPhone contacts on my friends Iphone we both have 4s! But we use the same apple ID and ICloud ID! How can undo what happened? all my private stuff is now on his phone!!! help me plz!!?
Of course if you are both connected to the same iCloud account you have the same contacts - what did you expect?. The contacts live on the server and are read from there by the devices; so as you've both managed to sync your contacts up to iCloud they are now inextricably mixed. You can only delete your contacts by deleting individual ones, and doing that will delete them from your phone as well.
You can only unravel this by
1. In the iCloud contacts page at http://icloud.com, select all the contacts, click on the cogwheel icon at bottom left and choose 'Export vCard'.
2. Sign out of System Preferences>iCloud
3. Create a new Apple ID and open a new iCloud account with it for your own use.
4. Import the vCard back into the iCloud contacts page.
5. Go to http://icloud.com and sign in with the original ID. This is now his ID. Work through the contacts individually deleting the ones you don't want him to have. When done sign out and advise him to change his password.
6. Go to the new iCloud account and delete his contacts individually.
Of course if you have also been syncing calendars and using the same email address there are problems with doing this. -
Undo is not working properly (grayed out)
Undo is not working properly in Indesign CC 9.2. I am using a 17" MBP running OSX 10.9.1.
Processor: 2.2 GHz Intel Core i7
Memory: 4GB 1333 MHz DDR3
I ran into this issue doing a publication layout. I was not doing anything overly complicated. Copying/pasting, placing images, adding text boxes, copying/pasting text boxes. It seems to happen without rhyme or reason.
I know that is not helpful for troubleshooting so I was able to isolate the problem. Here is how to recreate it.
Open new doc (standard letter)
Create text box with random text
copy the text box (cmd C)
paste the text box (cmd V)
move the resulting text box using selection tool (V)
select NEW text box (selection tool)
copy the NEW text box (cmd C)
paste the NEW text box (cmd V)
move the text box (selection tool).
Repeat until there are 5 text boxes (at least).
Undo the various actions after placing and moving the 5 text boxes.
I cannot undo back to a "new document."
In some cases I can only undo 2 actions before "undo" becomes grayed out, and in some cases, I can undo up to 9 or 10 actions before it gets grayed out.
Other programs running:
Illustrator
Photoshop
Text Edit
MS Word 2011
Excell 2011
Messages
Chrome
Finder
Fetch (FTP software)
I need to have these programs running simultaneously in many cases and have done so successfully in the past. I have a feeling it might be a memory issue, but I have not seen a similar post and I never had the issue with CS5 running with an identical setup. I was able to undo actions up until my previous save in CS5 sometimes 25-30 actions.I unplugged the USB items and the problem still persisted so it is not related to any of those.
I shut down InDesign and tried reopening. InDesign crashed at reopen. I have provided the log below. Hopefully this shows where the problem is occurring.
Process: Adobe InDesign CC [3814]
Path: /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Adobe InDesign CC
Identifier: com.adobe.InDesign
Version: 9.2.0.69 (9200)
Code Type: X86-64 (Native)
Parent Process: launchd [172]
Responsible: Adobe InDesign CC [3814]
User ID: ***
Date/Time: 2014-01-27 11:58:37.300 -0800
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: ********************
Sleep/Wake UUID: *********************
Crashed Thread: 8
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
*** error for object 0x6180002737c0: Heap corruption detected, free list canary is damaged
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8af44622 __open_nocancel + 10
1 libsystem_c.dylib 0x00007fff8fa09c9b __opendir2$INODE64 + 59
2 com.apple.CoreFoundation 0x00007fff8d160d4a _CFIterateDirectory + 74
3 com.apple.CoreFoundation 0x00007fff8d1636b3 _CFBundleCopyInfoDictionaryInDirectoryWithVersion + 627
4 com.apple.CoreFoundation 0x00007fff8d16331d CFBundleGetInfoDictionary + 141
5 com.apple.CoreFoundation 0x00007fff8d15fb5b _CFBundleCreate + 827
6 com.apple.CoreFoundation 0x00007fff8d1a3e89 _CFBundleEnsureBundleExistsForImagePath + 89
7 com.apple.CoreFoundation 0x00007fff8d24bb93 _CFBundleEnsureAllBundlesUpToDateAlreadyLocked + 67
8 com.apple.CoreFoundation 0x00007fff8d1a3bf8 CFBundleGetBundleWithIdentifier + 248
9 com.adobe.InDesign.AWS 0x000000011667d2bc 0x116676000 + 29372
10 com.adobe.InDesign.AWS 0x000000011667a577 0x116676000 + 17783
11 com.adobe.InDesign.AWS 0x000000011667a370 0x116676000 + 17264
12 com.adobe.InDesign.AWS 0x00000001166772a7 0x116676000 + 4775
13 com.adobe.InDesign.AWS 0x0000000116683fb0 0x116676000 + 57264
14 com.adobe.InDesign.AWS 0x000000011668472e 0x116676000 + 59182
15 com.adobe.InDesign.AWSUI 0x0000000116646597 0x116636000 + 66967
16 com.adobe.InDesign.AWSUI 0x0000000116645f05 0x116636000 + 65285
17 com.adobe.InDesign.AppFramework 0x000000010d6739bb 0x10d632000 + 268731
18 ObjectModelLib.dylib 0x0000000104b2fcd3 0x104b10000 + 130259
19 ObjectModelLib.dylib 0x0000000104b4306c 0x104b10000 + 209004
20 ObjectModelLib.dylib 0x0000000104b3e3fc ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 7676
21 com.adobe.InDesign 0x0000000100001c7e main + 94
22 com.adobe.InDesign 0x0000000100001bb4 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8af45662 kevent64 + 10
1 libdispatch.dylib 0x00007fff9067043d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff90670152 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8af44716 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff97874c77 _pthread_cond_wait + 787
2 com.apple.CoreServices.CarbonCore 0x00007fff92a51c37 TSWaitOnConditionTimedRelative + 148
3 com.apple.CoreServices.CarbonCore 0x00007fff92a2238d MPWaitOnQueue + 192
4 PMRuntime.dylib 0x0000000101682be1 0x101681000 + 7137
5 com.apple.CoreServices.CarbonCore 0x00007fff92a2290b PrivateMPEntryPoint + 58
6 libsystem_pthread.dylib 0x00007fff97872899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff9787272a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff97876fc9 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8af44e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97873f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97876fb9 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8af4534a fstat$INODE64 + 10
1 IMSLib.dylib 0x0000000119a3d2dd 0x1199c0000 + 512733
2 IMSLib.dylib 0x00000001199f3616 0x1199c0000 + 210454
3 IMSLib.dylib 0x00000001199f39ef 0x1199c0000 + 211439
4 IMSLib.dylib 0x0000000119a1f3c8 0x1199c0000 + 390088
5 IMSLib.dylib 0x00000001199f328d 0x1199c0000 + 209549
6 IMSLib.dylib 0x0000000119a2ebdf 0x1199c0000 + 453599
7 IMSLib.dylib 0x00000001199f64f0 0x1199c0000 + 222448
8 IMSLib.dylib 0x00000001199f894b 0x1199c0000 + 231755
9 IMSLib.dylib 0x0000000119a3fc0e 0x1199c0000 + 523278
10 IMSLib.dylib 0x0000000119a40a0b 0x1199c0000 + 526859
11 IMSLib.dylib 0x00000001199ea34e 0x1199c0000 + 172878
12 IMSLib.dylib 0x00000001199ded11 0x1199c0000 + 126225
13 IMSLib.dylib 0x00000001199d37ef 0x1199c0000 + 79855
14 IMSLib.dylib 0x00000001199e3851 0x1199c0000 + 145489
15 IMSLib.dylib 0x00000001199da4f1 0x1199c0000 + 107761
16 IMSLib.dylib 0x00000001199cce14 0x1199c0000 + 52756
17 libsystem_pthread.dylib 0x00007fff97872899 _pthread_body + 138
18 libsystem_pthread.dylib 0x00007fff9787272a _pthread_start + 137
19 libsystem_pthread.dylib 0x00007fff97876fc9 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8af44e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97873f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97876fb9 start_wqthread + 13
Thread 6:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8af40a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8af3fd18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8d1b0315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8d1af939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8d1af275 CFRunLoopRunSpecific + 309
5 com.apple.Foundation 0x00007fff975a1907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
6 com.apple.Foundation 0x00007fff975a170b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff97872899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff9787272a _pthread_start + 137
9 libsystem_pthread.dylib 0x00007fff97876fc9 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8af44e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97873f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97876fb9 start_wqthread + 13
Thread 8 Crashed:
0 libsystem_kernel.dylib 0x00007fff8af44866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff9787335c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff8fa39bba abort + 125
3 libsystem_malloc.dylib 0x00007fff919a5bf9 nanozone_error + 486
4 libsystem_malloc.dylib 0x00007fff919a5dbb _nano_malloc_check_clear + 445
5 libsystem_malloc.dylib 0x00007fff919a46c4 nano_malloc + 35
6 libsystem_malloc.dylib 0x00007fff919a287c malloc_zone_malloc + 71
7 libsystem_malloc.dylib 0x00007fff919a3290 malloc + 42
8 libc++abi.dylib 0x00007fff90c5853e operator new(unsigned long) + 30
9 libstdc++.6.dylib 0x00007fff8f47d0be std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) + 102
10 libstdc++.6.dylib 0x00007fff8f47d00d std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) + 35
11 libstdc++.6.dylib 0x00007fff8f47dae6 std::string::reserve(unsigned long) + 62
12 libstdc++.6.dylib 0x00007fff8f47de3b std::string::append(char const*, unsigned long) + 101
13 IMSLib.dylib 0x0000000119a414fb 0x1199c0000 + 529659
14 IMSLib.dylib 0x0000000119a416a2 0x1199c0000 + 530082
15 IMSLib.dylib 0x00000001199ea192 0x1199c0000 + 172434
16 IMSLib.dylib 0x00000001199ded11 0x1199c0000 + 126225
17 IMSLib.dylib 0x00000001199d37ef 0x1199c0000 + 79855
18 IMSLib.dylib 0x00000001199e3851 0x1199c0000 + 145489
19 IMSLib.dylib 0x00000001199da4f1 0x1199c0000 + 107761
20 IMSLib.dylib 0x00000001199cce14 0x1199c0000 + 52756
21 libsystem_pthread.dylib 0x00007fff97872899 _pthread_body + 138
22 libsystem_pthread.dylib 0x00007fff9787272a _pthread_start + 137
23 libsystem_pthread.dylib 0x00007fff97876fc9 thread_start + 13
Thread 9:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8af449aa __select + 10
1 com.apple.CoreFoundation 0x00007fff8d1fbd43 __CFSocketManager + 867
2 libsystem_pthread.dylib 0x00007fff97872899 _pthread_body + 138
3 libsystem_pthread.dylib 0x00007fff9787272a _pthread_start + 137
4 libsystem_pthread.dylib 0x00007fff97876fc9 thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8af44e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff97873f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff97876fb9 start_wqthread + 13
Thread 8 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000119dfa000 rcx: 0x0000000119df8958 rdx: 0x0000000000000000
rdi: 0x0000000000007c13 rsi: 0x0000000000000006 rbp: 0x0000000119df8980 rsp: 0x0000000119df8958
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x0000000104bf7000 r13: 0x00006180002737c0 r14: 0x0000000000000006 r15: 0x0000000000000000
rip: 0x00007fff8af44866 rfl: 0x0000000000000206 cr2: 0x00000001083c9000
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
0x100000000 - 0x100005fff +com.adobe.InDesign (9.2.0.69 - 9200) <B7C09BD6-74AF-323E-8D22-D5E1F7965643> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Adobe InDesign CC
0x10000c000 - 0x10000eff7 +com.adobe.InDesign.InDesignModelAndUI (9.0 - 0) <612870BE-869E-3165-9714-55F900A66BCC> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/InDesignModelAndUI.framework/Versions/A/InDesignModelAndUI
0x100014000 - 0x10001cfff +com.adobe.coretech.adobesplashkit (AdobeSplashKit Version 1.0 - 1.0) <65BFDA83-4121-3D12-9BBE-9F4FF1DB3D6A> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeSplashKit.framework/Versions/A/AdobeSplashKit
0x100025000 - 0x10002ffff +ASLSupportLib.dylib (1) <1039F962-C495-36E4-B868-3DA5C43E3EBF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/ASLSupportLib.dylib
0x100037000 - 0x10013aff7 +DV_WidgetBinLib.dylib (1) <57491245-3B90-3D4B-B4B6-4441EE325E3C> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/DV_WidgetBinLib.dylib
0x1001d5000 - 0x10021aff7 +TextPanelLib.dylib (1) <4B30610F-C637-3910-A413-C40325795CAD> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/TextPanelLib.dylib
0x100237000 - 0x100398fff +WidgetBinLib.dylib (1) <50EE77D3-591B-306F-9D62-2026938837EE> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/WidgetBinLib.dylib
0x10044a000 - 0x100616fff +com.adobe.owl (AdobeOwl version 5.0.24 - 5.0.24) <1C99AA07-E73F-370B-82FA-01C1C4AAF97D> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeOwl.framework/Versions/A/AdobeOwl
0x100659000 - 0x10089dfff +com.adobe.dvacore.framework (7.0.849324 - 7.0.849324.0) <08EB97C1-03E5-3C1B-B154-C886807BC6F1> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/dvacore.framework/Versions/A/dvacore
0x100964000 - 0x100df1ff7 +com.adobe.dvaui.framework (7.0.849324 - 7.0.849324.0) <25942AAC-0437-303F-9663-B17113468EBB> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/dvaui.framework/Versions/A/dvaui
0x101089000 - 0x101089fff +com.adobe.InDesign.InDesignModel (9.0 - 0) <7DCCCD9E-8ECB-330B-84AF-4F090F82BBBA> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/InDesignModel.framework/Versions/A/InDesignModel
0x10108e000 - 0x10109cfff +com.adobe.boost_threads.framework (7.0.847203 - 7.0.847203.0) <A0AE19A9-2B8E-310A-8AC1-0E2E026E7A40> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/boost_threads.framework/Versions/A/boost_threads
0x1010b2000 - 0x1010b8ff7 +com.adobe.boost_date_time.framework (7.0.847203 - 7.0.847203.0) <F30F59C3-41C0-3DB1-899A-E2491EA25263> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/boost_date_time.framework/Versions/A/boost_date_time
0x1010c7000 - 0x101536ff7 +PublicLib.dylib (1) <1B305F6E-A0D3-39A3-91FE-B878D638B7A7> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/PublicLib.dylib
0x101681000 - 0x10168bfff +PMRuntime.dylib (1) <0164EA5E-E56E-332F-901A-5E514833C38F> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/PMRuntime.dylib
0x101694000 - 0x1016abff7 +com.adobe.AFL (AdobeAFL 1.5.0 - 1.5) <1C46F2BE-2E4D-3E25-ACDF-85E2962B92DF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeAFL.framework/Versions/A/AdobeAFL
0x1016ba000 - 0x1019cbff7 +com.adobe.CoolType (AdobeCoolType 5.15.00.31977 - 5.15.00.31977) <42323DBD-3A6D-3C41-A2C1-2B944789D8A9> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeCoolType.framework/Versions/A/AdobeCoolType
0x101a13000 - 0x101a30fff +com.adobe.BIB (AdobeBIB 1.2.03.31977 - 1.2.03.31977) <A69D3AA0-9248-3B77-991B-89B2B7FE46BB> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeBIB.framework/Versions/A/AdobeBIB
0x101a38000 - 0x101b7efff +com.adobe.ACE (AdobeACE 2.20.02.31977 - 2.20.02.31977) <3A212837-B075-34C0-96E9-5A4019C9DFEE> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeACE.framework/Versions/A/AdobeACE
0x101b92000 - 0x102163fff +com.adobe.AGM (AdobeAGM 4.30.29.31977 - 4.30.29.31977) <BFFDBF0E-28EF-3720-93BE-293618541D26> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
0x102200000 - 0x10223dfff +com.adobe.ARE (AdobeARE 1.5.02.31977 - 1.5.02.31977) <73174C59-1DDC-3416-A0AD-4D70930ABA60> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeARE.framework/Versions/A/AdobeARE
0x102245000 - 0x10226bfff +com.adobe.BIBUtils (AdobeBIBUtils 1.1.01 - 1.1.01) <FA20BCA0-05BF-35ED-95B7-5775B8310D12> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeBIBUtils.framework/Versions/A/AdobeBIBUtils
0x102273000 - 0x10280cfff +com.adobe.MPS (AdobeMPS 5.8.1.31977 - 5.8.1.31977) <96C4D283-326B-3E50-B555-534492C6AA95> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeMPS.framework/Versions/A/AdobeMPS
0x102889000 - 0x1028a7fff +com.adobe.dvaflashview.framework (7.0.849324 - 7.0.849324.0) <46FFD5B4-2182-3CC3-A258-486E585A5B2D> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/dvaflashview.framework/Versions/A/dvaflashview
0x1028bf000 - 0x1028c3ff7 +com.adobe.ape.shim (3.4.0.29366 - 3.4.0.29366) <B9447EE8-6F91-9E85-C163-96600BF70764> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/adbeape.framework/Versions/A/adbeape
0x1028ca000 - 0x10298cfff +com.adobe.exo.framework (7.0.849324 - 7.0.849324.0) <AF41BB10-6BB7-3645-9F60-AE77E54F04F1> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/exo.framework/Versions/A/exo
0x102a2a000 - 0x102ad8fff +com.adobe.dvaworkspace.framework (7.0.849324 - 7.0.849324.0) <97F274A8-A56B-3F3A-AAA7-66B9FBEFEBF1> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/dvaworkspace.framework/Versions/A/dvaworkspace
0x102b5b000 - 0x1031fafff +com.adobe.PlugPlugOwl (4.2.0.36 - 4.2.0.36) <D6EC53B4-E257-3698-8EA8-24D4E3D98EBD> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/PlugPlugOwl.framework/Versions/A/PlugPlugOwl
0x1034ef000 - 0x10351bff7 +libtbb.dylib (0) <64B7013E-D548-3F7B-A2FB-28B7B932275C> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/libtbb.dylib
0x103536000 - 0x103555fe7 +libtbbmalloc.dylib (0) <6887ED68-67ED-3748-82DA-B39A3EB210BB> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/libtbbmalloc.dylib
0x10357a000 - 0x1042bffff +com.adobe.ICUData (4.0 - 3.61) <01D90725-4B10-312C-9546-9C0CCCA1B7BB> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/ICUData.framework/Versions/4.0/libicudata.40.0.dylib
0x1042d3000 - 0x104404ff7 +com.adobe.ICUInternationalization (4.0 - 3.61) <CD4AD967-00CD-3979-8F82-1166E2058FA6> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/ICUInternationalization.framework/Versions/4.0/libicui18n.40.0 .dylib
0x104458000 - 0x10454eff7 +com.adobe.ICUUnicode (4.0 - 3.61) <2352E6C8-3431-3A99-92B9-382E85A018AC> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/ICUUnicode.framework/Versions/4.0/libicuuc.40.0.dylib
0x104586000 - 0x1046b4fff +com.winsoft.wrservices (WRServices 7.0.0 - 7.0.0) <0853A41B-A14A-37B7-B27F-457F87865EAD> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/WRServices.framework/Versions/A/WRServices
0x10470f000 - 0x1047fffff +com.adobe.amtlib (7.0.0.247 - 7.0.0.247) <48D8FFDB-DFEA-310D-BAE3-DFD8D05B0160> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/amtlib.framework/Versions/A/amtlib
0x104812000 - 0x104814fff +com.adobe.AdobeCrashReporter (7.0 - 7.1) <B68D0D42-8DEB-3F22-BD17-981AC060E9D7> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCrashReporter
0x10481a000 - 0x1048d1ff7 +com.adobe.boost_regex.framework (7.0.847203 - 7.0.847203.0) <F1C659D9-D3E8-3ACE-8368-9161529A6A66> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/boost_regex.framework/Versions/A/boost_regex
0x10493b000 - 0x1049aaff7 +com.adobe.adobe_caps (adobe_caps 7.0.0.21 - 7.0.0.21) <CE3C6356-9EE2-3B88-8261-8612A0743F56> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/adobe_caps.framework/Versions/A/adobe_caps
0x1049b5000 - 0x1049c0fff +com.adobe.boost_signals.framework (7.0.847203 - 7.0.847203.0) <E0B3BB47-4294-3D65-8979-29B2D6C5DD2E> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/boost_signals.framework/Versions/A/boost_signals
0x1049cf000 - 0x1049d3fff +com.adobe.boost_system.framework (7.0.847203 - 7.0.847203.0) <70F73B9F-8416-37BF-9294-086AE475B743> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/boost_system.framework/Versions/A/boost_system
0x1049d9000 - 0x104a7afff +com.adobe.ICUConverter (4.0 - 3.61) <46764474-111C-3B13-AF62-002B71877405> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/ICUConverter.framework/Versions/4.0/libicucnv.40.0.dylib
0x104a9a000 - 0x104afcfff +DataBaseLib.dylib (1) <670C9B64-DD9A-3B32-BDA9-22D6EA26A5EF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/DataBaseLib.dylib
0x104b10000 - 0x104b7dfff +ObjectModelLib.dylib (1) <38EFA738-542E-32EB-A5AA-45380C5CCAAF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/ObjectModelLib.dylib
0x104b9a000 - 0x104bbefff +com.adobe.AXE8SharedExpat (AdobeAXE8SharedExpat 3.8.0.30807 - 3.8.0.30807) <16FF5E16-19E0-3CE1-A68E-27567234429F> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeAXE8SharedExpat.framework/Versions/A/AdobeAXE8SharedExpat
0x108348000 - 0x108386fff +com.adobe.InDesign.Dictionary Editor Dialog (9.2.0.69 - 0) <EC06E951-7EDF-306A-85E2-B52805F8110C> /Applications/Adobe InDesign CC/*/Dictionary Editor Dialog
0x1083a7000 - 0x1083b6ff7 +com.adobe.InDesign.DTTransform (9.2.0.69 - 0) <417A914C-BEA9-3AF6-94BC-158C93DCDC56> /Applications/Adobe InDesign CC/*/DTTransform
0x10846c000 - 0x108479ff7 +com.adobe.InDesign.Text Color Panel (9.2.0.69 - 0) <B9722BDD-B3B2-3B6B-90EC-D7B52D54C678> /Applications/Adobe InDesign CC/*/Text Color Panel
0x108482000 - 0x108496ff7 +com.adobe.InDesign.Story Panel (9.2.0.69 - 0) <989D8312-C513-36B9-9A2A-A161EC806905> /Applications/Adobe InDesign CC/*/Story Panel
0x1084a5000 - 0x1084afff7 +com.adobe.InDesign.Span Columns Panel (9.2.0.69 - 0) <15F063E0-7874-30AE-841C-C10A12CF8B5E> /Applications/Adobe InDesign CC/*/Span Columns Panel
0x1084b8000 - 0x1084c9ff7 +com.adobe.InDesign.SING (9.2.0.69 - 0) <3CC6846B-D663-31F2-BAB9-03BCAD89606E> /Applications/Adobe InDesign CC/*/SING
0x1084d3000 - 0x1084ddfff +com.adobe.InDesign.Justification Panel (9.2.0.69 - 0) <4F940073-AAF8-3FDF-87FA-04A8DC87679D> /Applications/Adobe InDesign CC/*/Justification Panel
0x109caa000 - 0x109cabff7 +com.adobe.InDesign.Metadata Database Filter (9.2.0.69 - 0) <3BE1DF86-81E8-359D-A40E-84EC7A016E16> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Metadata Database Filter.InDesignPlugin/Metadata Database Filter
0x109cb0000 - 0x109ccaff7 +com.adobe.InDesign.IME (9.2.0.69 - 0) <905334C5-8BF8-3958-8216-720BDB4D3A1F> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/IME.InDesignPlugin/IME
0x109cda000 - 0x109cddfff +com.adobe.InDesign.Global Preferences Panel (9.2.0.69 - 0) <3B261D67-E6B5-32E3-AC7E-AFCCDC9B75CB> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Global Preferences Panel.InDesignPlugin/Global Preferences Panel
0x109ce3000 - 0x109cedfff +com.adobe.InDesign.Workgroup Client UI (9.2.0.69 - 0) <5025F9EC-7C4C-377B-92F0-EC208F75B671> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Workgroup Client UI.InDesignPlugin/Workgroup Client UI
0x10aa1f000 - 0x10aa23fff com.apple.agl (3.2.3 - AGL-3.2.3) <1B85306F-D2BF-3FE3-9915-165237B491EB> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x10af61000 - 0x10af9ffff +com.adobe.AAM.AdobeUpdaterNotificationFramework (UpdaterNotifications 7.0.1.102 - 7.0.1.102) <75ADE364-1107-3DA7-84A2-26C6874EB881> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/UpdaterNotifications.framework/Versions/A/UpdaterNotifications
0x10afdc000 - 0x10afeefff +com.adobe.boost_filesystem.framework (7.0.847203 - 7.0.847203.0) <B0F56E9F-BAAB-34C5-93C4-C713203AB0DF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/boost_filesystem.framework/Versions/A/boost_filesystem
0x10c6ee000 - 0x10c6f0ff7 com.apple.textencoding.unicode (2.6 - 2.6) <0EEF0283-1ACA-3147-89B4-B4E014BFEC52> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x10c6f5000 - 0x10c6f9fff +com.adobe.InDesign.Help (9.2.0.69 - 0) <09CFAB79-828F-39A9-8E6C-634999CF4EC8> /Applications/Adobe InDesign CC/*/Help
0x10d632000 - 0x10d7f8ff7 +com.adobe.InDesign.AppFramework (9.2.0.69 - 0) <D84FAD4D-B653-3EB4-8FDA-7264A51F7359> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/AppFramework.InDesignPlugin/AppFramework
0x10e0cf000 - 0x10e255ff7 +com.adobe.InDesign.SettingsInCloud (9.2.0.69 - 0) <EC5B37FA-9195-3243-9D62-C6A5FB8E394A> /Applications/Adobe InDesign CC/*/SettingsInCloud
0x10e640000 - 0x10e7feff7 +com.adobe.InDesign.Text Walker (9.2.0.69 - 0) <BA84432B-6B10-3684-982F-856AB2248204> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text Walker.InDesignPlugin/Text Walker
0x10e856000 - 0x10e8a7fff +com.adobe.InDesign.Linguistics (9.2.0.69 - 0) <13A4BC6D-4C68-3884-9059-5837B952EC17> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Linguistics.InDesignPlugin/Linguistics
0x10e8c1000 - 0x10e927fff +com.adobe.InDesign.Text Panel (9.2.0.69 - 0) <70BA1FF5-A8FD-3D59-976A-5AE782CB79ED> /Applications/Adobe InDesign CC/*/Text Panel
0x10e94a000 - 0x10e996ff7 +com.adobe.InDesign.Spelling Panel (9.2.0.69 - 0) <B208BBCC-1AAB-354C-9CA6-44C6B5D35946> /Applications/Adobe InDesign CC/*/Spelling Panel
0x10e9b0000 - 0x10ec14fff +com.adobe.InDesign.Package and Preflight (9.2.0.69 - 0) <6590908A-0A78-32F4-A455-ABBEC9D97B5E> /Applications/Adobe InDesign CC/*/Package and Preflight
0x10ec5a000 - 0x10ecc7ff7 +com.adobe.AdobeXMPCore (Adobe XMP Core 5.5 -c 21 - 79.154911) <E8E31BC1-F7BC-3018-8CF8-AC3C7B2DCEA2> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeXMP.framework/Versions/A/AdobeXMP
0x10ecd3000 - 0x10eda5fff +com.adobe.InDesign.Text Editor (9.2.0.69 - 0) <C8F82611-461D-3339-A65E-51190B515F9F> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text Editor.InDesignPlugin/Text Editor
0x10edd5000 - 0x10efe3fff +com.adobe.InDesign.Layout UI (9.2.0.69 - 0) <5BC0A7D6-7A69-346C-B5A1-4F4AF2AC5F01> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Layout UI.InDesignPlugin/Layout UI
0x10f043000 - 0x10f0b3fff +com.adobe.InDesign.Import Export UI (9.2.0.69 - 0) <FFA896AE-BAF9-30EC-A788-25AD02061296> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Import Export UI.InDesignPlugin/Import Export UI
0x10f0da000 - 0x10f1e8fff +com.adobe.InDesign.Hyperlinks (9.2.0.69 - 0) <BF029BB8-6578-303F-A983-9ADEE43AB7A4> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Hyperlinks.InDesignPlugin/Hyperlinks
0x10f213000 - 0x10f2b7fff +com.adobe.InDesign.Master Page (9.2.0.69 - 0) <557BD678-3F9D-3A4F-ABDA-8A1DD7D41AF6> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Master Page.InDesignPlugin/Master Page
0x10f2d1000 - 0x10f2fffff +com.adobe.InDesign.Utilities (9.2.0.69 - 0) <9F7A613A-54DB-3604-B811-FCE0BC56F416> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Utilities.InDesignPlugin/Utilities
0x10f31a000 - 0x10f417fff +com.adobe.InDesign.Color Management (9.2.0.69 - 0) <33023C59-D4C5-3BF2-8C42-54BD6E50E651> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Color Management.InDesignPlugin/Color Management
0x10f444000 - 0x10f659ff7 +com.adobe.InDesign.Application UI (9.2.0.69 - 0) <2235307F-D211-397C-BAA7-34028F1C4F56> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Application UI.InDesignPlugin/Application UI
0x10f6f0000 - 0x10fa0eff7 +com.adobe.dvaadameve.framework (7.0.849324 - 7.0.849324.0) <FF303DE3-2F53-3AA7-94E7-93B46DB28918> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/dvaadameve.framework/Versions/A/dvaadameve
0x10fce4000 - 0x10fd33fff +com.adobe.headlights.LogSessionFramework (2.1.2.1785) <160BF2F9-B418-31C5-866F-6FADA1B720ED> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/LogSession.framework/Versions/A/LogSession
0x10fd59000 - 0x10fe17fff +com.adobe.AdobeExtendScript (ExtendScript 4.5.5 - 4.5.5.31983) <7764EE73-651A-3D8A-9B0F-A25DF57D79E1> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeExtendScript.framework/Versions/A/AdobeExtendScript
0x10fe3f000 - 0x10feeaff7 +com.adobe.AdobeScCore (ScCore 4.5.5 - 4.5.5.31983) <0E9111E5-ECBF-3C1C-82DB-9A945F1A573C> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeScCore.framework/Versions/A/AdobeScCore
0x10ff14000 - 0x110064fff +com.adobe.dvascriptui.framework (7.0.849324 - 7.0.849324.0) <EC31CE70-34C1-31E0-A68D-F49D99ADA604> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/dvascriptui.framework/Versions/A/dvascriptui
0x110186000 - 0x110366fff +com.adobe.InDesign.Document Framework (9.2.0.69 - 0) <ABC1E3A8-3AC3-3199-B572-B734998B696E> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Document Framework.InDesignPlugin/Document Framework
0x1106d2000 - 0x110813fff +com.adobe.InDesign.SangamServicer-Mapper (9.2.0.69 - 0) <F2E5BD34-3091-317F-88A8-0B6090F262E0> /Applications/Adobe InDesign CC/*/SangamServicer-Mapper
0x110837000 - 0x1108a0fff +com.adobe.AdobeSangam (AdobeSangam 5.65.0.31977 - 5.65.0.31977) <81A4C7F3-E791-3AD1-A44B-CF5BB5B6A545> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeSangam.framework/Versions/A/AdobeSangam
0x1108ee000 - 0x11091aff7 +com.adobe.Reader for DOCX (Reader for DOCX 5.65.0.31977 - 5.65.0.31977) <C21B199B-542B-34CD-8F0E-F38D970D88BD> /Applications/Adobe InDesign CC/*/Reader for DOCX
0x110925000 - 0x110a23ff7 +com.adobe.AXEDOMCore (AdobeAXEDOMCore 3.8.0.30807 - 3.8.0.30807) <DF0EC9F6-D499-39B8-B2F4-CAF4F742D702> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeAXEDOMCore.framework/Versions/A/AdobeAXEDOMCore
0x110a39000 - 0x110b16fff +com.adobe.AXEXSLT (AdobeAXSLE 3.8.0.30807 - 3.8.0.30807) <6299FB87-471B-3EA2-9E02-6DEA293FA533> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeAXSLE.framework/Versions/A/AdobeAXSLE
0x110b2b000 - 0x110b96ff7 +com.adobe.AdobeSangamML (AdobeSangamML 5.65.0.31977 - 5.65.0.31977) <BF6D92E9-AF42-3B9F-BBDD-FBCDE605C4BE> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeSangamML.framework/Versions/A/AdobeSangamML
0x110bba000 - 0x110c18ff7 +com.adobe.Reader for Excel (Reader for Excel 5.65.0.31977 - 5.65.0.31977) <628DA00F-210B-3856-89F3-66393386E801> /Applications/Adobe InDesign CC/*/Reader for Excel
0x110c2b000 - 0x110c3ffff +com.adobe.AdobeSFL (AdobeSFL 1.1.0.31977 - 1.1.0.31977) <A1874DA3-6F12-333D-8941-ED3A08A1E265> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeSFL.framework/Versions/A/AdobeSFL
0x110c47000 - 0x110d3cfff +com.adobe.Reader for Quark (Reader for Quark 5.65.0.31977 - 5.65.0.31977) <7877BBF5-B31A-3CA9-9E8E-3FDFB174F261> /Applications/Adobe InDesign CC/*/Reader for Quark
0x110d56000 - 0x110db1ff7 +com.adobe.Reader for RTF (Reader for RTF 5.65.0.31977 - 5.65.0.31977) <3ACB0F8E-0B51-3E5C-B924-A31D1D6606F6> /Applications/Adobe InDesign CC/*/Reader for RTF
0x110dca000 - 0x110e38ff7 +com.adobe.Reader for Word (Reader for Word 5.65.0.31977 - 5.65.0.31977) <27531852-B602-3785-94C0-3B316DBEC69C> /Applications/Adobe InDesign CC/*/Reader for Word
0x110e4d000 - 0x110eb3fff +com.adobe.Reader for XLSX (Reader for XLSX 5.65.0.31977 - 5.65.0.31977) <D896568B-FB6A-3036-91FC-A1DF0FA820DF> /Applications/Adobe InDesign CC/*/Reader for XLSX
0x110ecd000 - 0x110ed5ff7 +com.adobe.ZTextReader (ZTextReader 5.65.0.31977 - 5.65.0.31977) <28B268EF-A3AD-3933-B4DC-247428D3A88D> /Applications/Adobe InDesign CC/*/ZTextReader
0x110f5c000 - 0x110fcbfff +com.adobe.InDesign.XMLParser (9.2.0.69 - 0) <745F02C0-071B-3979-B284-391BA59D9CF5> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/XMLParser.InDesignPlugin/XMLParser
0x110fe1000 - 0x111204fff +com.adobe.InDesign.XML (9.2.0.69 - 0) <97314A64-BB21-3965-B9D3-F4C219C3DCDF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/XML.InDesignPlugin/XML
0x11124e000 - 0x11127bfff +com.adobe.InDesign.WorldReady (9.2.0.69 - 0) <787871A9-77D2-3095-8930-4F140D091F0A> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/WorldReady.InDesignPlugin/WorldReady
0x11128b000 - 0x1112c8ff7 +com.adobe.InDesign.Workgroup (9.2.0.69 - 0) <FEA65E81-92F4-36EE-940C-3C7BD07DB7F4> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Workgroup.InDesignPlugin/Workgroup
0x1112d8000 - 0x1112fafff +com.adobe.InDesign.Workgroup Client (9.2.0.69 - 0) <2447A61F-74CA-38D1-9444-22A25D2DEE98> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Workgroup Client.InDesignPlugin/Workgroup Client
0x111308000 - 0x111416fff +com.adobe.InDesign.Widgets (9.2.0.69 - 0) <A9FB91A0-7CDB-3025-B6AC-D53BA8BBEB1E> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Widgets.InDesignPlugin/Widgets
0x11147c000 - 0x1115c0ff7 +com.adobe.InDesign.Transparency (9.2.0.69 - 0) <636FD3CD-06FE-3D25-A252-368317D80C66> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Transparency.InDesignPlugin/Transparency
0x1115eb000 - 0x11259ffef +com.adobe.psl (AdobePSL 14.0.0.31988 - 14.0.0.31988) <1EBD1547-F7B1-379D-8F50-FB49C7E01A58> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobePSL.framework/Versions/A/AdobePSL
0x112762000 - 0x11281bff7 +com.adobe.JP2K (1.2.2 - 1.2.2.31977) <8BD41D6E-B8A2-36FA-B855-7CF02E856A08> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeJP2K.framework/Versions/A/AdobeJP2K
0x112842000 - 0x1128a4fff +com.adobe.InDesign.TOC (9.2.0.69 - 0) <99A6C9FF-2F20-3475-A9CF-24C7B0F63CF3> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/TOC.InDesignPlugin/TOC
0x1128b8000 - 0x112ebbff7 +com.adobe.InDesign.Text (9.2.0.69 - 0) <4216A99F-7F58-3E9B-A37E-8178A6ED812A> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text.InDesignPlugin/Text
0x112f59000 - 0x112fcfff7 +com.adobe.InDesign.Text Wrap (9.2.0.69 - 0) <8B65C672-BB4E-3F46-A7C5-6B2D0331C0F5> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text Wrap.InDesignPlugin/Text Wrap
0x112fe8000 - 0x11300cfff +com.adobe.InDesign.Text Wrap Path (9.2.0.69 - 0) <D826BA05-20A8-367F-9414-573944D46303> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text Wrap Path.InDesignPlugin/Text Wrap Path
0x113015000 - 0x11302bff7 +com.adobe.InDesign.Text Editor Model (9.2.0.69 - 0) <C997B3C0-98C6-34A5-89E0-DBD7FB071AD6> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text Editor Model.InDesignPlugin/Text Editor Model
0x113036000 - 0x11308cff7 +com.adobe.InDesign.Text Attributes (9.2.0.69 - 0) <F90E2E25-38B2-3F12-8902-D5A56D6AD919> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Text Attributes.InDesignPlugin/Text Attributes
0x1130a7000 - 0x113104ff7 +com.adobe.InDesign.TableStyles (9.2.0.69 - 0) <4D83BFF9-CAF4-34EF-BEAE-86E2D8A1D14F> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/TableStyles.InDesignPlugin/TableStyles
0x113117000 - 0x113349fff +com.adobe.InDesign.Table Model (9.2.0.69 - 0) <829471A3-999A-3B01-BD5A-B2ADC2F2972A> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Table Model.InDesignPlugin/Table Model
0x113385000 - 0x1133d8ff7 +com.adobe.InDesign.Image Filters (9.2.0.69 - 0) <F3DF9DCA-6073-3DF8-89EB-18F8D1DB8902> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Image Filters.InDesignPlugin/Image Filters
0x1133e4000 - 0x11346ffff +com.adobe.InDesign.SVGExport (9.2.0.69 - 0) <E86D7C69-48CA-362B-B3A0-CC2C8F4B31B5> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/SVGExport.InDesignPlugin/SVGExport
0x113489000 - 0x113547fff +com.adobe.SVGExport (AdobeSVGExport 6.0 - 6.0) <2FAB4B9A-EDB9-0FF9-55B2-52DEC380D2BF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeSVGExport.framework/Versions/A/AdobeSVGExport
0x11356a000 - 0x11360efff +com.adobe.InDesign.Support for JavaScript (9.2.0.69 - 0) <EC1C0215-E510-3D0F-B692-E2F8853811D9> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Support for JavaScript.InDesignPlugin/Support for JavaScript
0x113639000 - 0x113690ff7 +com.adobe.InDesign.Support for AppleScript (9.2.0.69 - 0) <7D7706C3-B3C9-3B96-8473-CAD03A053148> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Support for AppleScript.InDesignPlugin/Support for AppleScript
0x1136a6000 - 0x1137a8ff7 +com.adobe.InDesign.Graphics (9.2.0.69 - 0) <FCBDB8E7-46E8-3987-9BCB-0E3177F00F11> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Graphics.InDesignPlugin/Graphics
0x1137cc000 - 0x113827ff7 +com.adobe.InDesign.Stroke and Fill (9.2.0.69 - 0) <72D3DE23-CFCC-3821-80AE-0908DB5768F5> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Stroke and Fill.InDesignPlugin/Stroke and Fill
0x11383f000 - 0x113980ff7 +com.adobe.InDesign.Spread (9.2.0.69 - 0) <AF10A69E-0D98-3E25-ABE5-CC310529098A> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Spread.InDesignPlugin/Spread
0x1139b2000 - 0x113a14fff +com.adobe.InDesign.Spread UI (9.2.0.69 - 0) <B7A3AE3F-DC65-34F6-B601-1780AF9220D9> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Spread UI.InDesignPlugin/Spread UI
0x113a30000 - 0x113a7afff +com.adobe.InDesign.Spline (9.2.0.69 - 0) <53E6EF37-C070-39BE-BB18-2703B2041EC6> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Spline.InDesignPlugin/Spline
0x113a92000 - 0x113adaff7 +com.adobe.InDesign.Spline UI (9.2.0.69 - 0) <9FC93D14-6D7C-32EE-BF90-3756FEA25FEE> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Spline UI.InDesignPlugin/Spline UI
0x113af6000 - 0x113b09ff7 +com.adobe.InDesign.Spelling Service (9.2.0.69 - 0) <1E6AAFFE-ACCA-3E0B-AA63-37A767CC336E> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Spelling Service.InDesignPlugin/Spelling Service
0x113b18000 - 0x113b26fff +com.adobe.InDesign.Sound (9.2.0.69 - 0) <43D68A27-E17F-3E9D-A02D-EB3230178339> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Sound.InDesignPlugin/Sound
0x113b32000 - 0x113bbcfff +com.adobe.InDesign.SharedContent (9.2.0.69 - 0) <3863D336-3468-35E6-8298-3C1BFB37FBA5> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/SharedContent.InDesignPlugin/SharedContent
0x113bdd000 - 0x113c05fff +com.adobe.InDesign.Sections (9.2.0.69 - 0) <4DB2B4F0-124A-36F1-B1A3-9BFA36BB2FCF> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Sections.InDesignPlugin/Sections
0x113c16000 - 0x113cc4fff +com.adobe.InDesign.Scripting (9.2.0.69 - 0) <01395410-7F18-323A-BF92-4FAC6F3ECCD5> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Scripting.InDesignPlugin/Scripting
0x113ce3000 - 0x113d0dff7 +com.adobe.InDesign.Rulers (9.2.0.69 - 0) <C21FAD98-14EA-3E6F-9D58-7DED5B0EFB76> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Rulers.InDesignPlugin/Rulers
0x113d20000 - 0x113eb5fff +com.adobe.InDesign.Print (9.2.0.69 - 0) <4E53767E-8497-32D1-B922-735E610640E2> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Print.InDesignPlugin/Print
0x113ee2000 - 0x113f21ff7 +com.adobe.InDesign.PNG Import Filter (9.2.0.69 - 0) <3EA87A99-3FBF-38E5-BE00-896001E5AD91> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/PNG Import Filter.InDesignPlugin/PNG Import Filter
0x113f31000 - 0x113f6afff +com.adobe.InDesign.Photoshop Import Filter (9.2.0.69 - 0) <B62B89C7-29F4-3058-BBD9-62BAB193B133> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Photoshop Import Filter.InDesignPlugin/Photoshop Import Filter
0x113f7a000 - 0x113fe0fff +com.adobe.InDesign.Book (9.2.0.69 - 0) <A57C7841-5282-3A46-8202-CAB3C70DFBD0> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Book.InDesignPlugin/Book
0x113ff7000 - 0x11410dff7 +com.adobe.InDesign.Image (9.2.0.69 - 0) <E026A24C-EF82-33E8-95FD-463A23618CB2> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Image.InDesignPlugin/Image
0x114139000 - 0x114145ff7 +com.adobe.InDesign.Group (9.2.0.69 - 0) <8DF66586-0FC5-3EA5-8F0D-6083387F0697> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Group.InDesignPlugin/Group
0x114152000 - 0x114294fe7 +com.adobe.InDesign.EPS Page Item (9.2.0.69 - 0) <CFD4D636-06B2-3969-91FA-ED68F0873111> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/EPS Page Item.InDesignPlugin/EPS Page Item
0x1142d3000 - 0x11451ffff +com.adobe.InDesign.PDF (9.2.0.69 - 0) <36EED87F-F233-3B82-83C4-57584FEBE296> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/PDF.InDesignPlugin/PDF
0x114561000 - 0x114665fff +com.adobe.PDFPort (AdobePDFPort 2.1.0.31977 - 2.1.0.31977) <83787D51-C878-3CFF-A3A2-F2107F7BB920> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobePDFPort.framework/Versions/A/AdobePDFPort
0x114678000 - 0x1146a1ff7 +com.adobe.PDFSettings (AdobePDFSettings 1.04.0 - 1.4) <E07D101E-E47A-392A-8A44-005B49393DEC> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobePDFSettings.framework/Versions/A/AdobePDFSettings
0x1146ab000 - 0x114917ff7 +com.adobe.InDesign.Generic Page Item (9.2.0.69 - 0) <F0DECCE6-EAF5-30C0-8FB0-48FA56CB3503> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Generic Page Item.InDesignPlugin/Generic Page Item
0x114963000 - 0x1149a7fff +com.adobe.InDesign.Path Type (9.2.0.69 - 0) <32D8F2D5-AF06-375A-85ED-C4E42D3B790B> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Path Type.InDesignPlugin/Path Type
0x1149c0000 - 0x1149caff7 +PathTypeLib.dylib (1) <A6E44FB4-61D6-3729-B3DD-A4D22EEC73B3> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/PathTypeLib.dylib
0x1149d3000 - 0x114a88fff +com.adobe.InDesign.Paragraph Composer (9.2.0.69 - 0) <EEE3D51D-AF42-30AF-A8BA-DE663DC95888> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Paragraph Composer.InDesignPlugin/Paragraph Composer
0x114a99000 - 0x114adafff +com.adobe.InDesign.Open Place (9.2.0.69 - 0) <6CBC4B8F-3B3D-3B14-9512-6808497AC68A> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Open Place.InDesignPlugin/Open Place
0x114aee000 - 0x114b06ff7 +com.adobe.InDesign.Movie (9.2.0.69 - 0) <FD78448B-F572-32C2-9580-4A0681AC69EE> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Movie.InDesignPlugin/Movie
0x114b15000 - 0x114ba0fff +com.adobe.InDesign.Metadata (9.2.0.69 - 0) <361ED9DD-BAD7-35E5-AFE5-3176BAD1C0FC> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Metadata.InDesignPlugin/Metadata
0x114bbd000 - 0x114ccafff +com.adobe.AdobeXMPFiles (Adobe XMP Files 5.6 -f 81 - 79.154911) <38348CA8-7905-3AA4-AA00-95A6D912C491> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/Frameworks/AdobeXMPFiles.framework/Versions/A/AdobeXMPFiles
0x114d00000 - 0x114d5cff7 +com.adobe.InDesign.Media (9.2.0.69 - 0) <560CE1DB-99AF-389F-8BC2-37D5F83C110F> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Media.InDesignPlugin/Media
0x114d72000 - 0x114eacfff +com.adobe.InDesign.Links (9.2.0.69 - 0) <1BCD7856-3DD0-3C58-AF61-0E430CF5EFBC> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Links.InDesignPlugin/Links
0x114ee1000 - 0x114f0afff +com.adobe.InDesign.Layout (9.2.0.69 - 0) <98815961-6446-3917-B266-7E3DB625B782> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Layout.InDesignPlugin/Layout
0x114f19000 - 0x114f46fff +com.adobe.InDesign.Layer (9.2.0.69 - 0) <94604B73-0E52-30CB-9CC0-805F5B138FE4> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/Layer.InDesignPlugin/Layer
0x114f59000 - 0x115029fff +com.adobe.InDesign.INXCore (9.2.0.69 - 0) <FCF49243-A7FD-3993-A242-7ECAB3971857> /Applications/Adobe InDesign CC/Adobe InDesign CC.app/Contents/MacOS/Required/INXCore.InDesignPlugin/INXCore
0x115051000 - 0x115157ff7 +com.adobe.InDesign.Indexing (9.2.0.69 - 0) <CD23A88C-DBB2-3F46-91CC -
I am setting new Windows 8.1 Pro computers, and am installing Windows 8.1 Pro to bare drives. Everything goes fine until Windows Update starts installing updates, and then the computer goes for hours installing updates, and then "We
could not complete the updates Undoing changes". It's an endless loop. It seems to be the same 38 updates. This is a recent phenomenon. I have not run into this until the last week or two on several new computer installs.
Again these are brand new installs, so something is clearly wrong with the Windows updates.
If anyone can please tell me how to avoid this, it would be much appreciated.
MichaelHi Michael,
" This is a recent phenomenon"
Have you made any modifications to the machines ?
To resolve this issue ,running the built-in troubleshoot tool is a very good beginning .It will automatically diagnostic the windows update components and check the configurations for us .
Control Panel\All Control Panel Items\Troubleshooting\Fix problems with Windows Update
If there are antivirus software installed in these machines, please turn off them temporarily to have a check.
The command line included in the link as S.Sengupta posted is very useful and convenient to repair the windows corrupted files .We can have a try .
"sfc /scannow" ,"DISM.EXE /online /cleanup-image /restorehealth "
We also can check the windowsupdate.log for more information to troubleshoot this issue .
Run "windowsupdate.log"
If you have trouble in analyzing the log ,please upload them to the OneDrive and paste the link here .
Best regards -
I accidentally clicked "restore" when I meant to "back up" on my iphone 5, is there anyway I can undo that and get back to what I had?
Once the Device is being Restored with iTunes... it is too late to save anything...
To minimise loss... Restore from the most recent Backup...
Restore from Backup
http://support.apple.com/kb/ht1766 -
Material Cost estimate modification
Hi Experts
I want to modified this report and add cost estimate value from MBEW (field is STPRS) for each material to this report. I have used the table MBEW but unable to locate where to start.
Can anyone have a look and comment on this report
REPORT command_extract .
*CLASS cl_gui_control DEFINITION LOAD.
*CLASS cl_gui_frontend_services DEFINITION LOAD.
Tables
TABLES:
kna1,
knb1,
knvv,
mara,
mast, "JPC20061107
marc,
makt,
sscrfields.
CONSTANTS: BEGIN OF gc_status,
acc TYPE zcrstat1 VALUE ' ACC',
hol TYPE zcrstat1 VALUE ' HOL',
sto TYPE zcrstat1 VALUE ' STO',
ok TYPE zcrstat1 VALUE ' OK',
hold TYPE zcrstat1 VALUE 'HOLD',
END OF gc_status.
CONSTANTS: BEGIN OF gc_reason,
000 TYPE zreason VALUE '000',
001 TYPE zreason VALUE '001',
002 TYPE zreason VALUE '002',
003 TYPE zreason VALUE '003',
004 TYPE zreason VALUE '004',
005 TYPE zreason VALUE '005',
006 TYPE zreason VALUE '006',
007 TYPE zreason VALUE '007',
008 TYPE zreason VALUE '008',
010 TYPE zreason VALUE '010',
011 TYPE zreason VALUE '011',
021 TYPE zreason VALUE '021',
022 TYPE zreason VALUE '022',
023 TYPE zreason VALUE '023',
024 TYPE zreason VALUE '024',
025 TYPE zreason VALUE '025',
026 TYPE zreason VALUE '026',
999 TYPE zreason VALUE '999',
END OF gc_reason.
TYPES: BEGIN OF ty_kna1_fields,
kunnr TYPE kna1-kunnr,
sperr TYPE kna1-sperr,
aufsd TYPE kna1-aufsd,
lifsd TYPE kna1-lifsd,
faksd TYPE kna1-faksd,
loevm TYPE kna1-loevm,
END OF ty_kna1_fields.
TYPES: BEGIN OF ty_knb1_fields,
kunnr TYPE knb1-kunnr,
bukrs TYPE knb1-bukrs,
sperr TYPE knb1-sperr,
loevm TYPE knb1-loevm,
END OF ty_knb1_fields.
TYPES: BEGIN OF ty_knvv_fields,
kunnr TYPE knvv-kunnr,
vkorg TYPE knvv-vkorg,
vtweg TYPE knvv-vtweg,
spart TYPE knvv-spart,
aufsd TYPE knvv-aufsd,
lifsd TYPE knvv-lifsd,
faksd TYPE knvv-faksd,
END OF ty_knvv_fields.
TYPES: BEGIN OF ty_knkk_fields,
kunnr TYPE knkk-kunnr,
kkber TYPE knkk-kkber,
ctlpc TYPE knkk-ctlpc,
crblb TYPE knkk-crblb,
knkli TYPE knkk-knkli,
klimk TYPE knkk-klimk,
skfor TYPE knkk-skfor,
ssobl TYPE knkk-ssobl,
END OF ty_knkk_fields.
TYPES: BEGIN OF ty_cust_stat_output,
kunnr(10) TYPE c, "Customer #
stat(4) TYPE c, "Customer status
END OF ty_cust_stat_output.
TYPES:
BEGIN OF ty_customers,
kunnr(10) TYPE c, " Customer #
div1(1) TYPE c, " Pipe delimiter
name1(32) TYPE c, " Customer name
div2(1) TYPE c, " Pipe delimiter
altkn(8) TYPE c, " Old Customer #
div3(1) TYPE c, " Pipe delimiter
stras(30) TYPE c, " Street
div4(1) TYPE c, " Pipe delimiter
ort01(20) TYPE c, " City
div5(1) TYPE c, " Pipe delimiter
regio(3) TYPE c, " State
div6(1) TYPE c, " Pipe delimiter
pstlz(4) TYPE c, " Postcode
div7(1) TYPE c, " Pipe delimiter
telf1(14) TYPE c, " Phone 1
div8(1) TYPE c, " Pipe delimiter
telf2(14) TYPE c, " Phone 2
div9(1) TYPE c, " Pipe delimiter
erdat(10) TYPE c, " date
div10(1) TYPE c, " Pipe delimiter
splant(2) TYPE c, " plant
div11(1) TYPE c, " Pipe delimiter
END OF ty_customers,
it_ty_customers TYPE ty_customers OCCURS 0,
BEGIN OF ty_custstat,
kunnr(11) TYPE c, " Customer #
company(2) TYPE c, " #
status(3) TYPE c, " acc,cod,hol,
END OF ty_custstat,
it_ty_custstat TYPE ty_custstat OCCURS 0.
TYPES:
BEGIN OF ty_materialm,
matnr(12) TYPE c, " Material #
maktx2(40) TYPE c, " Command sales desc.
maktx(16) TYPE c, " Basic description
extwg(6) TYPE c, " External Material Group
flag1(1) TYPE c, "
flag2(1) TYPE c, "
flag3(1) TYPE c, "
flag4(1) TYPE c, "
END OF ty_materialm,
it_ty_materialm TYPE ty_materialm OCCURS 0,
BEGIN OF ty_materialp,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " plant
batch(1) TYPE c, " download to batch
END OF ty_materialp,
it_ty_materialp TYPE ty_materialp OCCURS 0.
TYPES:
BEGIN OF ty_bom,
matnr(12) TYPE c, " Material #
werks(4) TYPE c, " Plant
posnr(3) TYPE c, " position
idnrk(12) TYPE c, " BOM material #
menge(10) TYPE c, " Quantity
meins(3) TYPE c, " Unit of Measure
END OF ty_bom,
it_ty_bom TYPE ty_bom OCCURS 0,
*Start of block of changes for JPC20061107
BEGIN OF ty_bom_sapfmt,
matnr TYPE MAST-MATNR, " Material #
werks TYPE MAST-WERKS, " Plant
posnr TYPE STPO-POSNR, " position
idnrk TYPE STPO-IDNRK, " BOM material #
menge TYPE STPO-MENGE, " Quantity
meins TYPE STPO-MEINS, " Unit of Measure
potx1 TYPE STPO-POTX1, " Text description for BOM
END OF ty_bom_sapfmt.
BEGIN OF ty_bomlist,
matnr LIKE mast-matnr, " Material #
stlnr LIKE mast-stlnr, " BOM #
posnr LIKE stpo-posnr, " BOM item#
idnrk LIKE stpo-idnrk, " BOM material #
menge LIKE stpo-menge, " BOM material qty
meins LIKE stpo-meins, " BOM material uom
END OF ty_bomlist,
it_ty_bomlist TYPE ty_bomlist OCCURS 0.
*Ending block of changes for JPC20061107
Selection screen definition
SELECTION-SCREEN: BEGIN OF BLOCK gen WITH FRAME TITLE text-001.
PARAMETERS:
p_dir like rlgrap-filename obligatory, " extract directory
p_ccust TYPE c DEFAULT ' ' AS CHECKBOX, " Check box customers
p_cmatm TYPE c DEFAULT ' ' AS CHECKBOX, " Check box Materials
p_cbom TYPE c DEFAULT ' ' AS CHECKBOX, " Check box BOMs
p_ccst TYPE c DEFAULT ' ' AS CHECKBOX. " Check box credit stat
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-006.
PARAMETERS:
p_gui RADIOBUTTON GROUP rg1 USER-COMMAND u01,
p_svr RADIOBUTTON GROUP rg1 DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK a.
SELECTION-SCREEN: END OF BLOCK gen.
SELECTION-SCREEN: BEGIN OF BLOCK cust WITH FRAME TITLE text-002.
PARAMETERS:
p_dcust LIKE filepath-pathintern DEFAULT 'Z_COMMAND_CUST_EXTRACT',
p_fcust LIKE rlgrap-filename,
p_dcomp LIKE knb1-bukrs,
p_dsale LIKE knvv-vkorg,
p_dwerk(3) TYPE c.
SELECTION-SCREEN: END OF BLOCK cust.
SELECTION-SCREEN: BEGIN OF BLOCK matnr WITH FRAME TITLE text-003.
PARAMETERS:
p_dmatm LIKE filepath-pathintern
DEFAULT 'Z_COMMAND_MATERIAL_EXTRACT',
p_fmatm LIKE rlgrap-filename,
p_fmatp LIKE rlgrap-filename,
p_dwerks LIKE marc-werks,
p_dspras LIKE makt-spras,
p_dbatch(1) TYPE c,
p_dflag1(1) TYPE c,
p_dflag2(1) TYPE c,
p_dflag3(1) TYPE c,
p_dflag4(1) TYPE c.
SELECT-OPTIONS:
s_dextwg FOR mara-extwg.
SELECTION-SCREEN: END OF BLOCK matnr.
SELECTION-SCREEN: BEGIN OF BLOCK bom WITH FRAME TITLE text-004.
PARAMETERS:
p_dbom LIKE filepath-pathintern DEFAULT 'Z_COMMAND_BOM_EXTRACT',
p_fbom LIKE rlgrap-filename.
p_bwerks LIKE mast-werks. "Made a select-optoin JPC20061107
SELECT-OPTIONS:
s_bmatnr FOR MARA-MATNR, "JPC20061107
s_bwerks FOR MAST-WERKS no-extension no intervals, "JPC20061107
s_bextwg FOR mara-extwg.
SELECTION-SCREEN: END OF BLOCK bom.
SELECTION-SCREEN: BEGIN OF BLOCK ccst WITH FRAME TITLE text-005.
PARAMETERS:
p_dccst LIKE filepath-pathintern
DEFAULT 'Z_COMMAND_CUST_STAT_EXTRACT',
p_fccst LIKE rlgrap-filename,
p_fccst2 LIKE rlgrap-filename,
p_fccstl LIKE rlgrap-filename.
SELECTION-SCREEN BEGIN OF BLOCK b WITH FRAME TITLE text-007.
PARAMETERS: p_csall RADIOBUTTON GROUP gp2.
PARAMETERS: p_csdlt RADIOBUTTON GROUP gp2 DEFAULT 'X'.
PARAMETERS: p_append RADIOBUTTON GROUP GP3 DEFAULT 'X', "Append files output to server for cust credit data ?
p_owrite RADIOBUTTON GROUP GP3.
SELECTION-SCREEN END OF BLOCK b.
SELECT-OPTIONS:
s_kunnr FOR kna1-kunnr.
SELECTION-SCREEN: END OF BLOCK ccst.
DATA: clsdir TYPE REF TO cl_gui_frontend_services.
DATA: strfolder TYPE string.
DATA: folderln TYPE i.
DATA: gva_error(1) TYPE c VALUE ' '.
Initial procedure on START ***************
INITIALIZATION.
p_fcust = 'CUST.prn'.
p_fmatm = 'MATM.prn'.
p_fmatp = 'MATP.prn'.
p_fbom = 'BOM.prn'.
p_fccst = 'CCSTAT.prn'.
p_fccst2 = 'CCSTATC.prn'.
p_fccstl = 'CCSTATL.prn'.
s_dextwg-option = 'BT'.
s_dextwg-low = '1'.
s_dextwg-high = '8'.
APPEND s_dextwg.
s_bextwg-option = 'BT'.
s_bextwg-low = '1'.
s_bextwg-high = '1'.
APPEND s_bextwg.
AT SELECTION-SCREEN.
IF p_ccust EQ 'X' AND ( p_fcust IS INITIAL OR p_dcust IS INITIAL ).
MESSAGE s000(zppu)
WITH 'You must specify the file details for the customer data'.
gva_error = 'X'.
ENDIF.
IF p_cmatm EQ 'X' AND ( p_fmatm IS INITIAL OR
p_fmatp IS INITIAL OR
p_dmatm IS INITIAL ).
MESSAGE s001(zppu)
WITH 'You must specify the file details for the material data'.
gva_error = 'X'.
ENDIF.
IF p_cbom EQ 'X' AND ( p_fbom IS INITIAL OR p_dbom IS INITIAL ).
MESSAGE s002(zppu)
WITH 'You must specify the file details for the BOM data'.
gva_error = 'X'.
ENDIF.
IF p_cbom EQ 'X'.
IF s_bwerks-low is initial.
MESSAGE s002(zppu)
WITH 'You must specify a plant to run BOM extract for'.
gva_error = 'X'.
ENDIF.
IF LINES( s_bwerks ) > 1.
MESSAGE s002(zppu)
WITH 'You can only specify 1 plant for BOM extract'.
gva_error = 'X'.
ENDIF.
ENDIF.
IF p_ccst EQ 'X' AND ( p_fccst IS INITIAL OR
p_fccst2 IS INITIAL OR
p_fccstl IS INITIAL OR
p_dccst IS INITIAL ).
MESSAGE s002(zppu)
WITH 'You must specify the file details for the customer'
'status data'.
gva_error = 'X'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
PERFORM user_command.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fcust.
PERFORM get_gui_filename USING p_dcust p_fcust.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fmatm.
PERFORM get_gui_filename USING p_dmatm p_fmatm.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fmatp.
PERFORM get_gui_filename USING p_dmatm p_fmatp.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fbom.
PERFORM get_gui_filename USING p_dbom p_fbom.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccst.
PERFORM get_gui_filename USING p_dccst p_fccst.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccst2.
PERFORM get_gui_filename USING p_dccst p_fccst2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fccstl.
PERFORM get_gui_filename USING p_dccst p_fccstl.
END-OF-SELECTION.
Data selection execution.
DATA: lwa_kna1 TYPE kna1,
lwa_knb1 TYPE knb1,
lwa_knvv TYPE knvv.
DATA: lwa_marc TYPE marc,
lwa_mara TYPE marav,
lwa_makt TYPE makt.
DATA: lit_marav TYPE marav OCCURS 0.
DATA: lit_customers TYPE it_ty_customers,
lwa_customers TYPE ty_customers.
DATA: lit_custstat TYPE it_ty_custstat,
lwa_custstat TYPE ty_custstat.
DATA: lit_materialm TYPE it_ty_materialm,
lwa_materialm TYPE ty_materialm.
DATA: lit_materialp TYPE it_ty_materialp,
lwa_materialp TYPE ty_materialp.
*(del)DATA: lwa_bomlist TYPE ty_bomlist, "JPC20061107
*(del) lit_bomlist TYPE it_ty_bomlist. "JPC20061107
DATA: lwa_bom TYPE ty_bom_sapfmt,
lit_bom TYPE it_ty_bom WITH HEADER LINE. "JPC20061107
lit_bom TYPE it_ty_bom. "JPC20061107
DATA: output_file TYPE string.
DATA: lock_file TYPE string.
DATA: lva_mssage TYPE string.
DATA: lva_matnr(18) TYPE n.
DATA: lva_date TYPE datum.
DATA: txtper(3) TYPE c.
DATA: custper TYPE i.
DATA: custcount TYPE i.
DATA: itemnum TYPE i.
CHECK gva_error <> 'X'.
IF p_ccust EQ 'X'. " Do the customer file extract
PERFORM extract_customer_details.
ENDIF.
IF p_cmatm EQ 'X'. " Do the Material file extract
PERFORM extract_material_details.
ENDIF.
IF p_cbom EQ 'X'. " Do the BOM file extract
PERFORM extract_bom_details.
ENDIF.
IF p_ccst EQ 'X'. " Do the customer credit status file extract
PERFORM extract_credit_status_details.
ENDIF.
*& Form extract_customer_details
text
--> p1 text
<-- p2 text
FORM extract_customer_details.
SELECT * FROM knb1
INTO lwa_knb1
WHERE bukrs = p_dcomp.
MOVE-CORRESPONDING lwa_knb1 TO lwa_customers.
MOVE-CORRESPONDING lwa_knb1 TO lwa_custstat.
MOVE '#' TO lwa_custstat-company.
MOVE p_dwerk TO lwa_customers-splant.
WG1K903075: Start Delete---*
move: '|' to lwa_customers-div1,
'|' to lwa_customers-div2,
'|' to lwa_customers-div3,
'|' to lwa_customers-div4,
'|' to lwa_customers-div5,
'|' to lwa_customers-div6,
'|' to lwa_customers-div7,
'|' to lwa_customers-div8,
'|' to lwa_customers-div9,
'|' to lwa_customers-div10,
'|' to lwa_customers-div11.
WG1K903075: End Delete-----*
WG1K903075: Start Insert---*
MOVE: ' ' TO lwa_customers-div1,
' ' TO lwa_customers-div2,
' ' TO lwa_customers-div3,
' ' TO lwa_customers-div4,
' ' TO lwa_customers-div5,
' ' TO lwa_customers-div6,
' ' TO lwa_customers-div7,
' ' TO lwa_customers-div8,
' ' TO lwa_customers-div9,
' ' TO lwa_customers-div10,
' ' TO lwa_customers-div11.
WG1K903075: End Insert-----*
APPEND lwa_customers TO lit_customers.
APPEND lwa_custstat TO lit_custstat.
ENDSELECT.
DESCRIBE TABLE lit_customers LINES custcount.
LOOP AT lit_customers INTO lwa_customers.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
SELECT SINGLE * FROM kna1
INTO lwa_kna1
WHERE kunnr = lwa_customers-kunnr.
MOVE-CORRESPONDING lwa_kna1 TO lwa_customers.
lva_date = lwa_customers-erdat.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = lva_date
IMPORTING
date_external = lwa_customers-erdat
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
REPLACE ALL OCCURRENCES OF '.'
IN lwa_customers-erdat WITH '/'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lwa_customers-kunnr
IMPORTING
output = lwa_customers-kunnr.
WRITE: lwa_customers-kunnr RIGHT-JUSTIFIED TO lwa_customers-kunnr.
MODIFY lit_customers FROM lwa_customers.
Percentage indicator display
lva_mssage = 'Extracting customers'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dcust p_fcust output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_customers INTO lwa_customers.
TRANSFER lwa_customers TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fcust TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lit_customers
EXCEPTIONS
OTHERS = 11.
ENDIF.
output_file = custcount.
CONCATENATE
output_file
' Customers extracted'
INTO
lva_mssage.
message lva_mssage type 'I'.
ENDFORM. " extract_customer_details
*& Form extract_material_details
text
--> p1 text
<-- p2 text
FORM extract_material_details.
select maramatnr maramaktx
maramatkl marcwerks
SELECT *
FROM marav AS mara
INNER JOIN marc AS marc
ON marc~matnr EQ mara~matnr
INTO CORRESPONDING FIELDS OF lwa_mara
WHERE marc~werks = p_dwerks
AND mara~spras = 'EN'
AND mara~extwg IN s_dextwg.
MOVE-CORRESPONDING lwa_mara TO lwa_materialm.
WRITE: lwa_mara-matnr TO lwa_materialm-matnr.
MOVE: p_dflag1 TO lwa_materialm-flag1,
p_dflag2 TO lwa_materialm-flag2,
p_dflag3 TO lwa_materialm-flag3,
p_dflag4 TO lwa_materialm-flag4.
APPEND lwa_materialm TO lit_materialm.
ENDSELECT.
DESCRIBE TABLE lit_materialm LINES custcount.
LOOP AT lit_materialm INTO lwa_materialm.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
CLEAR lwa_materialp.
CLEAR lwa_mara.
MOVE: lwa_materialm-matnr TO lwa_materialp-matnr,
p_dwerks TO lwa_materialp-werks,
p_dbatch TO lwa_materialp-batch.
APPEND lwa_materialp TO lit_materialp.
MOVE: lwa_materialm-matnr TO lva_matnr.
MOVE: lva_matnr TO lwa_mara-matnr.
SELECT SINGLE maktx FROM makt
INTO lwa_materialm-maktx2
WHERE matnr = lwa_mara-matnr
AND spras = p_dspras.
IF lwa_materialm-maktx2 IS INITIAL.
lwa_materialm-maktx2 = lwa_materialm-maktx.
ENDIF.
MODIFY lit_materialm FROM lwa_materialm.
Percentage indicator display
lva_mssage = 'Extracting materials'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dmatm p_fmatm output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_materialm INTO lwa_materialm.
TRANSFER lwa_materialm TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fmatm TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_materialm
EXCEPTIONS
OTHERS = 11.
ENDIF.
IF p_gui IS INITIAL.
PERFORM get_file_path USING p_dmatm p_fmatp output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
LOOP AT lit_materialp INTO lwa_materialp.
TRANSFER lwa_materialp TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fmatp TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_materialp
EXCEPTIONS
OTHERS = 11.
ENDIF.
REFRESH lit_materialm.
ENDFORM. " extract_material_details
*& Form extract_bom_details
text
--> p1 text
<-- p2 text
FORM extract_bom_details.
Lines below commented out and replaced with SELECT from ABAP Query run from
transaction ZBOM. Previously duplicate materials were selected. JPC20061107
REFRESH lit_materialm.
SELECT *
FROM marav AS mara
INNER JOIN marc AS marc
ON marcmatnr EQ maramatnr
INTO CORRESPONDING FIELDS OF lwa_mara
WHERE marc~werks = p_bwerks
AND mara~spras = 'EN'
AND mara~extwg IN s_bextwg.
APPEND lwa_mara TO lit_marav.
ENDSELECT.
DESCRIBE TABLE lit_marav LINES custcount.
LOOP AT lit_marav INTO lwa_mara.
Percentage indicator calculation
txtper = 100 * sy-tabix / custcount.
custper = txtper.
SELECT
mast~matnr
mast~stlnr
stpo~posnr
stpo~idnrk
stpo~menge
stpo~meins
FROM mast AS mast
LEFT OUTER JOIN stpo AS stpo
ON stpostlnr EQ maststlnr
INTO lwa_bomlist
WHERE mast~matnr = lwa_mara-matnr.
CLEAR lwa_bom.
MOVE-CORRESPONDING lwa_bomlist TO lwa_bom.
WRITE: lwa_bomlist-matnr TO lwa_bom-matnr.
IF lwa_bomlist-idnrk IS INITIAL.
WRITE: 'BACKBIN' TO lwa_bom-idnrk.
ELSE.
WRITE: lwa_bomlist-idnrk TO lwa_bom-idnrk.
ENDIF.
MOVE: lwa_bomlist-posnr TO itemnum.
WRITE: itemnum TO lwa_bom-posnr RIGHT-JUSTIFIED.
write: lwa_bomlist-menge
to lwa_bom-menge
decimals 2.
MOVE: p_bwerks TO lwa_bom-werks.
APPEND lwa_bom TO lit_bom.
ENDSELECT.
Percentage indicator display
lva_mssage = 'Extracting material B.O.Ms'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
select MASTMATNR MASTWERKS STPOPOSNR STPOIDNRK STPOMENGE STPOMEINS "JPC20061220
select MAST~MATNR MAST~WERKS STPO~POSNR STPO~IDNRK STPO~MENGE STPO~MEINS STPO~POTX1 "JPC20061220
into lwa_bom
from ( MAST
inner join STKO
on STKO~STLAL = MAST~STLAL
and STKO~STLNR = MAST~STLNR
and STKO~WRKAN = MAST~WERKS
inner join MARA as MARA_H
on MARA_H~MATNR = MAST~MATNR
left outer join STAS
on STAS~STLAL = STKO~STLAL
and STAS~STLNR = STKO~STLNR
and STAS~STLTY = STKO~STLTY
inner join STPO
on STPO~STLKN = STAS~STLKN
and STPO~STLNR = STAS~STLNR
and STPO~STLTY = STAS~STLTY
inner join MARA JPC20061220
left outer join MARA "JPC20061220
on MARA~MATNR = STPO~IDNRK )
where MARA_H~MATNR in s_bmatnr
and MAST~WERKS in s_bwerks
and MARA_H~EXTWG in s_bextwg.
clear lit_bom.
WRITE lwa_bom-matnr TO lit_bom-matnr.
MOVE lwa_bom-werks TO lit_bom-werks.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = lwa_bom-posnr
IMPORTING
output = lit_bom-posnr.
SHIFT lit_bom-posnr right deleting trailing space.
IF lwa_bom-idnrk IS INITIAL.
WRITE 'BACKBIN' TO lit_bom-idnrk. JPC20061220
WRITE lwa_bom-potx1 TO lit_bom-idnrk. "JPC20061220
ELSE.
WRITE lwa_bom-idnrk TO lit_bom-idnrk.
ENDIF.
MOVE: lwa_bom-menge TO lit_bom-menge,
lwa_bom-meins TO lit_bom-meins.
APPEND lit_bom.
ENDSELECT.
SORT lit_bom ascending.
Ending for lines inserted for change 20061107
IF p_gui IS INITIAL. "write to server
PERFORM get_file_path USING p_dbom p_fbom output_file.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
custcount = lines( lit_bom ).
LOOP AT lit_bom.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
lva_mssage = 'Extracting material B.O.Ms'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING percentage = custper
text = lva_mssage.
TRANSFER lit_bom TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
ELSE.
MOVE p_fbom TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
write_field_separator = ' '
TABLES
data_tab = lit_bom
EXCEPTIONS
OTHERS = 11.
ENDIF.
ENDFORM. " extract_bom_details
*& Form get_file_path
text
-->P_LOGICAL_PATH_NAME text
-->P_FILENAME text
-->P_FILENAME_WITH_PATH text
FORM get_file_path USING p_logical_path_name p_filename
p_filename_with_path.
DATA: l_opsys TYPE sy-opsys,
l_blank_filename TYPE c,
l_filename TYPE string.
IF p_gui IS INITIAL.
MOVE 'WN32' TO l_opsys.
ELSE.
MOVE 'WN' TO l_opsys.
ENDIF.
IF p_filename IS INITIAL.
MOVE 'XXX' TO l_filename.
MOVE 'X' TO l_blank_filename.
ELSE.
MOVE p_filename TO l_filename.
ENDIF.
CALL FUNCTION 'FILE_GET_NAME_USING_PATH'
EXPORTING
logical_path = p_logical_path_name
operating_system = l_opsys
file_name = l_filename
IMPORTING
file_name_with_path = p_filename_with_path
EXCEPTIONS
path_not_found = 1
missing_parameter = 2
operating_system_not_found = 3
file_system_not_found = 4
OTHERS = 5.
IF NOT l_blank_filename IS INITIAL.
REPLACE ALL OCCURRENCES OF 'XXX' IN p_filename_with_path WITH space.
ENDIF.
ENDFORM. "get_file_path
*& Form value_request_p_fcust
text
--> p1 text
<-- p2 text
FORM get_gui_filename USING p_path p_filename.
DATA: l_fdir TYPE string.
CHECK NOT p_gui IS INITIAL.
PERFORM get_file_path USING p_path space
l_fdir.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_path = l_fdir
mask = ',.prn,.prn.'
title = 'Select Excel file for download'
IMPORTING
filename = p_filename
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
ENDFORM. " value_request_p_fcust
*& Form extract_credit_status_details
text
--> p1 text
<-- p2 text
FORM extract_credit_status_details .
DATA: lt_credit_stat TYPE STANDARD TABLE OF zint_credit_stat,
l_credit_stat TYPE zint_credit_stat,
l_current_stat1 TYPE zcrstat1,
l_current_stat2 TYPE zcrstat2,
l_current_reason TYPE zreason,
lt_output_stat TYPE STANDARD TABLE OF zint_credit_stat,
l_output_stat TYPE zint_credit_stat,
lt_output1 TYPE STANDARD TABLE OF ty_cust_stat_output,
lt_output2 TYPE STANDARD TABLE OF ty_cust_stat_output,
l_output TYPE ty_cust_stat_output.
SELECT a~mandt a~kunnr a~name1 b~curstat1 b~curstat2 b~curtimestamp
b~curreason b~prevstat1 b~prevstat2 b~prvtimestamp
b~prevreason
INTO TABLE lt_credit_stat
FROM kna1 AS a
LEFT OUTER JOIN zint_credit_stat AS b
ON a~kunnr = b~kunnr
WHERE a~kunnr IN s_kunnr.
DESCRIBE TABLE lt_credit_stat LINES custcount.
LOOP AT lt_credit_stat INTO l_credit_stat.
txtper = 100 * sy-tabix / custcount.
custper = txtper.
PERFORM determine_current_status USING l_credit_stat-kunnr
l_current_stat1
l_current_stat2
l_current_reason.
IF NOT p_csdlt IS INITIAL.
Only do delta download
IF l_current_stat1 NE l_credit_stat-curstat1 OR
l_current_stat2 NE l_credit_stat-curstat2.
PERFORM add_record_to_output TABLES lt_output_stat
USING l_current_stat1
l_current_stat2
l_current_reason
l_credit_stat.
ENDIF.
ELSE.
Download all records
PERFORM add_record_to_output TABLES lt_output_stat
USING l_current_stat1
l_current_stat2
l_current_reason
l_credit_stat.
ENDIF.
Percentage indicator display
lva_mssage = 'Extracting customer status'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = custper
text = lva_mssage.
ENDLOOP.
Create output table
LOOP AT lt_output_stat INTO l_output_stat.
CLEAR l_output.
WRITE l_output_stat-kunnr TO l_output-kunnr.
SHIFT l_output-kunnr RIGHT DELETING TRAILING space.
MOVE l_output_stat-curstat1 TO l_output-stat.
APPEND l_output TO lt_output1.
MOVE l_output_stat-curstat2 TO l_output-stat.
APPEND l_output TO lt_output2.
ENDLOOP.
SORT lt_output1.
SORT lt_output2.
IF p_gui IS INITIAL.
Lock File
PERFORM get_file_path USING p_dccst p_fccstl lock_file.
If the file already exists then abort processing
OPEN DATASET lock_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 8.
MESSAGE s002(zppu)
WITH 'Lock file' lock_file 'already exists on server,'
'processing aborted'.
LEAVE PROGRAM.
ENDIF.
OPEN DATASET lock_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE s002(zppu)
WITH 'Lock file' lock_file 'cannot be opened on the server,'
'processing aborted'.
LEAVE PROGRAM.
ENDIF.
File 1
PERFORM get_file_path USING p_dccst p_fccst output_file.
If user requests cust status data to be appended use different OPEN
IF p_append is initial.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
ELSE.
OPEN DATASET output_file FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
ENDIF.
IF sy-subrc EQ 0.
LOOP AT lt_output1 INTO l_output.
TRANSFER l_output TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
File 2
PERFORM get_file_path USING p_dccst p_fccst2 output_file.
If user requests cust status data to be appended use different OPEN
IF p_append is initial.
OPEN DATASET output_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
ELSE.
OPEN DATASET output_file FOR APPENDING IN TEXT MODE ENCODING DEFAULT.
ENDIF.
IF sy-subrc EQ 0.
LOOP AT lt_output2 INTO l_output.
TRANSFER l_output TO output_file.
ENDLOOP.
CLOSE DATASET output_file.
ELSE.
MESSAGE s002(zppu)
WITH 'Dataset' output_file 'cannot be opened on the server'.
ENDIF.
DELETE DATASET lock_file.
ELSE.
MOVE p_fccst TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lt_output1
EXCEPTIONS
OTHERS = 11.
MOVE p_fccst2 TO output_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = output_file
filetype = 'ASC'
TABLES
data_tab = lt_output2
EXCEPTIONS
OTHERS = 11.
ENDIF.
IF NOT p_svr IS INITIAL.
PERFORM update_status_table TABLES lt_output_stat.
ENDIF.
output_file = custcount.
CONCATENATE
output_file
' Customers extracted'
INTO
lva_mssage.
ENDFORM. " extract_credit_status_details
*& Form user_command
text
--> p1 text
<-- p2 text
FORM user_command .
LOOP AT SCREEN.
IF screen-name EQ 'P_DCUST' OR
screen-name EQ '%_P_DCUST_%_APP_%-TEXT' OR
screen-name EQ 'P_DMATM' OR
screen-name EQ '%_P_DMATM_%_APP_%-TEXT' OR
screen-name EQ 'P_DBOM' OR
screen-name EQ '%_P_DBOM_%_APP_%-TEXT' OR
screen-name EQ 'P_DCCST' OR
screen-name EQ '%_P_DCCST_%_APP_%-TEXT' OR
screen-name EQ 'P_FCCSTL' OR
screen-name EQ '%_P_FCCSTL_%_APP_%-TEXT'.
IF p_gui IS INITIAL.
screen-input = 1.
screen-output = 1.
screen-invisible = 0.
screen-active = 1.
ELSE.
screen-input = 0.
screen-output = 0.
screen-invisible = 1.
screen-active = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDFORM. " user_command
*& Form determine_current_status
text
-->P_L_CREDIT_STAT_KUNNR text
-->P_L_CURRENT_STAT1 text
-->P_L_CURRENT_STAT2 text
FORM determine_current_status USING p_kunnr p_stat1 p_stat2 p_reason.
STATICS: lt_kna1 TYPE STANDARD TABLE OF ty_kna1_fields,
lt_knb1 TYPE STANDARD TABLE OF ty_knb1_fields,
lt_knvv TYPE STANDARD TABLE OF ty_knvv_fields,
lt_knkk TYPE STANDARD TABLE OF ty_knkk_fields.
DATA: l_kna1 TYPE ty_kna1_fields,
l_knb1 TYPE ty_knb1_fields,
l_knvv TYPE ty_knvv_fields,
l_knkk TYPE ty_knkk_fields,
l_faedt TYPE rfpos-faedt,
l_days TYPE p,
l_used TYPE rf02l-klprz.
IF lt_kna1[] IS INITIAL.
PERFORM load_kna1 TABLES lt_kna1.
ENDIF.
IF lt_knb1[] IS INITIAL.
PERFORM load_knb1 TABLES lt_knb1.
ENDIF.
IF lt_knvv[] IS INITIAL.
PERFORM load_knvv TABLES lt_knvv.
ENDIF.
IF lt_knkk[] IS INITIAL.
PERFORM load_knkk TABLES lt_knkk.
ENDIF.
MOVE gc_status-acc TO p_stat1.
MOVE gc_status-ok TO p_stat2.
MOVE gc_reason-000 TO p_reason.
Customer Block/Unblock
READ TABLE lt_kna1 INTO l_kna1 WITH KEY kunnr = p_kunnr BINARY SEARCH.
IF sy-subrc EQ 0.
IF NOT l_kna1-sperr IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-001 TO p_reason.
ENDIF.
IF l_kna1-aufsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-002 TO p_reason.
ENDIF.
IF l_kna1-lifsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-003 TO p_reason.
ENDIF.
IF l_kna1-faksd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-004 TO p_reason.
ENDIF.
IF NOT l_kna1-loevm IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-999 TO p_reason.
ENDIF.
ENDIF.
CHECK p_stat1 NE gc_status-sto.
LOOP AT lt_knb1 INTO l_knb1 WHERE kunnr EQ p_kunnr.
IF NOT l_kna1-sperr IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-005 TO p_reason.
ENDIF.
IF NOT l_knb1-loevm IS INITIAL.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-999 TO p_reason.
ENDIF.
IF p_stat1 EQ gc_status-sto.
EXIT.
ENDIF.
ENDLOOP.
CHECK p_stat1 NE gc_status-sto.
LOOP AT lt_knvv INTO l_knvv WHERE kunnr EQ p_kunnr.
IF l_knvv-aufsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-006 TO p_reason.
ENDIF.
IF l_knvv-lifsd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-007 TO p_reason.
ENDIF.
IF l_knvv-faksd EQ '01'.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-008 TO p_reason.
ENDIF.
IF p_stat1 EQ gc_status-sto.
EXIT.
ENDIF.
ENDLOOP.
CHECK p_stat1 NE gc_status-sto.
READ TABLE lt_knkk INTO l_knkk WITH KEY kunnr = p_kunnr
kkber = 'BP01'
BINARY SEARCH.
IF sy-subrc EQ 0.
Exceeded Trading Terms
IF l_knkk-ctlpc EQ 'Z03' OR
l_knkk-ctlpc EQ 'Z04' OR
l_knkk-ctlpc EQ 'Z05'.
CALL FUNCTION 'CUSTOMER_OLDEST_OPEN_ITEM'
EXPORTING
i_kkber = l_knkk-kkber
i_kunnr = l_knkk-kunnr
IMPORTING
e_faedt = l_faedt
EXCEPTIONS
invalid_call = 1
no_bukrs = 2
no_items = 3
OTHERS = 4.
IF sy-subrc EQ 0.
l_days = sy-datum - l_faedt.
ELSE.
l_days = 0.
ENDIF.
IF l_knkk-ctlpc EQ 'Z03' AND l_knkk-crblb IS INITIAL AND
l_days GT 45.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-021 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z04' AND l_knkk-crblb IS INITIAL AND
l_days GT 40.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-022 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z05' AND l_knkk-crblb IS INITIAL AND
l_days GT 30.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-023 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z03' AND NOT l_knkk-crblb IS INITIAL AND
l_days GT 45.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-024 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z04' AND NOT l_knkk-crblb IS INITIAL AND
l_days GT 40.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-025 TO p_reason.
ENDIF.
IF l_knkk-ctlpc EQ 'Z05' AND NOT l_knkk-crblb IS INITIAL AND
l_days GT 30.
MOVE gc_status-sto TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-026 TO p_reason.
ENDIF.
CHECK p_stat1 NE gc_status-sto.
Exceeded Credit Limit Checks
PERFORM get_credit_exposure USING l_knkk-knkli l_knkk-kkber
l_knkk-ctlpc l_knkk-klimk
l_knkk-skfor l_knkk-ssobl
l_used.
IF l_used GE 95 AND l_knkk-crblb IS INITIAL.
MOVE gc_status-hol TO p_stat1.
MOVE gc_status-hold TO p_stat2.
MOVE gc_reason-010 TO p_reason.
ENDIF.
IF l_used GE 95 AND NOT l_knkk-crblb IS INITIAL.
MOVE gc_status-Yes thread closed
Prioz
Maybe you are looking for
-
Does Time Machine backup Boot Camp partitions as well?
If I have a Boot Camp partition (I do), will it be backed up by Time Machine as well? How can I check? I.e. how can I open that partition from Mac OS / Time Machine?
-
I just installed 7.3, and I keep getting an error that says "The iTunes Library File cannot be saved. An unknown error occurred (-50)." Anyone know how to fix this? I tried to re-download, but can't since it is the current version. Thanks! MacBook
-
Using OBIEE for a custom Data Warehouse
Hi Everyone, I am very new to OBIEE and I have a few questions about this product family. 1. I have an existing custom build data warehouse, and I would like to know, is it possible to have build reports on this data warehouse? 2. I understand that O
-
Hi, I need to retieve the number of records that will be retrieved by a query as follows. How can this be done? Is there a method to do it using native dynamic sql (open .. for .. using ) instead of DBMS_SQL (Because Native is faster than dbms_SQL )?
-
Every time Server need a restart for jsf changes to reflect
in our SIT environment every time we need a restart for JSF changes to reflect. !! is there any setting in web.xml to jsf changes .. Thanks Rajendar