CLEAN_REQREQ_UP with perform rollback
Hi experts!
We have the following job scheduled in SRM5.0:
CLEAN_REQREQ_UP
But receive a perform rollback error in backend R/3 system.
Does anybody know why?
Thanks for your help.
Best regards,
Corinne
Hi
Please provide the complete Error / Short dump details using ST22 Transaction.
What is the R/3 version you are using ?
Regards
- Atul
Similar Messages
-
Perform rollback occurs during initial load of material
Hi Gurus,
When we try to do the initial load of materials, only some part of the materials are replicated to SRM. We have the R3AC1 filter of taking only the materials with Purchasing view. We have no other filter. Although there are 576 materials that match this filter, only 368 materials are replicated to SRM.
One thing we have observed is that when we have a look at SM21 (System Log) we see "Perform rollback" actions. Below is the details of the log. Can anyone help on our issue?
Details Page 2 Line 30 System Log: Local Analysis of sapsrmt 1
Time
Tip
Nr
Clt
User
İKodu
Grp
N
Text
23:52:59
DIA
003
013
ALEREMOTE
R6
8
Perform rollback
Perform rollback
Details
Recording at local and central time........................ 29.11.2006 23:52:59
Task......
Process
User......
Terminal
Session
İKodu
Program
Cl
Problem cl
Package
87262
Dialog work process No. 003
ALEREMOTE
1
SAPMSSY1
W
Warning
STSK
Further details for this message type
Module nam
Line
Error text
Caller....
Reason/cal
thxxhead
1300
ThIRoll
roll ba
No documentation for syslog message R6 8 exists
Technical details
File
Offset
RecFm
System log type
Grp
N
variable message data
4
456660
m
Error (Function,Module,Row)
R6
8
ThIRollroll bathxxhead1300Hi,
Some of our material groups were problematic. After removing these the problem is resolved.
FYI -
Issues with performance and RAM previews
Just did a major system upgrade from an iMac to a Mac Pro, and now I'm having an issue with performance...specifically with RAM previews.
When I try to do a RAM preview with audio, it grinds my entire OS to a hault (can't switch apps, or click on much of anything). It eventually clears up enough for me to stop the RAM preview.
So, I'm wondering if maybe my Memory & Multiprocessing settings might be off.
Here are my system specs:
Mac Pro
2 x 2.4GHz 6-Core Intel Xeon (12 cores)
64GB RAM
ATI Radeon HD 5870
AE CS6 (11.0.2.11)
AE is installed on an SSD drive and the scratch disk is an internal HDD.
Here are my AE Memory Settings:
Here's my GPU Info:
Let me know if any other info is needed...You are reserving far too little RAM for other software.
See this: "Performance tip: Don't starve your software of RAM."
(Also, I recommend going through all of these materials: http://forums.adobe.com/thread/543440 )
Regarding the SSD: Putting your application files on it means that applications load/boot faster. This is fine, but that benefit is just when you first start the application. If you put your cache files on it, then you get the benefit every time that something is read from or written to the cache---i.e., many times per second, for the entire time that you're working. Put your cache files on your SSD. BTW, there's no reason to not put your application files and caches on the same SSD. The reason that you split things across multiple disks is to prevent simultaneous reads and writes to and from a slow disk; the program loading from disk happens at a different time than reading and writing cache files, so there is no potential for conflict and slowdown. -
Problem with performance in flash player 11.4.402.287
Hi,
We found the problem in 11.4.402.287 flash player. IN Debug version, Flex application works fine but in standard version we experience problems with performance.
This happens only in 11.4.402 version for Firefox. In another browsers and Flash player versions everything works fine.
For example, 11.3 for Firefox does not have this problem.
Application has a lot of small objects that receives rollover and rollout events and depend on object highlited some of these objectsHi,
Can you try 11.5 beta? http://labs.adobe.com/downloads/flashplayer11-5.html
thanks,
Hitomi -
Hi All,
I am running an SSIS solution that runs 5 packages in sequence. Only one package fails because of the error:
[SSIS.Pipeline] Warning: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console.
I have added myself to the performance counters group.
I am running windows 7 with SSIS 2008.
Any ideas would be appreciated. I have read that some have disabled the warning, but I cannot figure out how to disable a warning.
Thanks.
IvanHi Ivan,
A package would not fail due the warning itself, speaking of which means the account executing it is not privileged to load the Perf counters, and should thus be safely ignored.
To fix visit: http://support.microsoft.com/kb/2496375/en-us
So, the package either has an error or it actually runs.
Arthur My Blog -
I am getting the following warning for my SSIS08 package:
Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console.
I did check Warning in SSIS 2008 , but didn't find any solution.
The package processes data and executes fine , but why do I see this warning? When I run this package on my machine, I see no such warning, it's only when I deploy it to our DEV SSIS server, I get this warning.
Thanks,
SonalI am getting the following warning for my SSIS08 package:
Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console.
I did check
Warning in SSIS 2008 , but didn't find any solution.
The package processes data and executes fine , but why do I see this warning? When I run this package on my machine, I see no such warning, it's only when I deploy it to our DEV SSIS server, I get this warning.
Thanks,
Sonal
You have to include the account you use to execute the package in the performance counters group.
SSIS Tasks Components Scripts Services | http://www.cozyroc.com/
Could you tell me where is "performance counters" group, I can not find it.
Thanks ! -
Need help with performance & memory tuning in a data warehousing environment
Dear All,
Good Day.
We had successfully migrated from a 4 node half-rack V2 Exadata to a 2 node quarter rack X4-2 Exadata. However, we are facing some issues with performance only for few loads while others have in fact shown good improvement.
1. The total memory on the OS is 250GB for each node (two compute nodes for a quarter rack).
2. Would be grateful if someone could help me with the best equation to calculate the SGA and PGA ( and also in allocation of shared_pool, large_pool etc) or whether Automatic Memory Management is advisable?
3. We had run exachk report which suggested us to configure huge pages.
4. When we tried to increase the SGA to more than 30GB the system doesn't allow us to do so. We had however set the PGA to 85GB.
5. Also, we had observed that some of the queries involving joins and indexes are taking longer time.
Any advise would be greatly appreciated.
Warm Regards,
Vikram.Hi Vikram,
There is no formula about SGA and PGA, but the best practices for OLTP environments is for a give ammount of memory (which cannot be up to 80% of total RAM from server) you should make 80% to SGA and 20% to PGA. For Data Warehouse envs, the values are like 60% SGA and 40% PGA or it can be up to 50%-50%. Also, some docs disencourage you to keep the database in Automatic Memory Management when you are using a big SGA (> 10G).
As you are using a RAC environment, you should configure Huge Pages. And if the systems are not allowing you to increase memory, just take a look at the semaphore parameters, probably they are set lower values. And for the poor performance queries, we need to see explain plans, table structure and you would also analyze if smart scan is playing the game.
Regards. -
Issue with Performance Point Filters and SSRS when visibility is toggled
I have a SSRS report that has the visibility toggled with the (+/-) sign. The report is SQL Server 2008 R2 / SharePoint Integrated in a SharePoint 2010 Site. The reports datasource is an Analysis Services database.
I am displaying the report in a Performance Point Dashboard and am connecting it to Performance Point filters using the member unique name. The report filters correctly when the dashboard filters change. However, when I click to expand a plus sign to toggle
the visibility, the report goes back to it's default filters of '[Dimension].[All]' and all data is returned, and the visibility is not expanded.
I have confirmed that the report visibility toggling works in BIDS and via the report that is stored in SharePoint. I have also confirmed that it works when the report is stored in the native mode report server, and integrated with Performance
Point in the same manner.
So, I 'think' I have whittled the problem down to be the combination of SharePoint Integrated and Performance Point.
Anyone have any ideas?
JewelsHi,
I am having a similar issue with PerformancePoint SSRS and visibility togle. Were you able to figure this out?
I have a report which calls a sub report. When I click on the report it passes parameters to sub report which works fine. But as soon as I click the visibility toggle, it goes back to default. Strange thing is that it works in PerformancePoint as a
stand alone report (sub report alone in PP). Just when it is a sub report and parameters are passed through url this issue happens.
Any suggestions are welcome. I have spent hours trying to figure this one out. -
ECM integration with Performance Management
I am trying to integrate the Appraisals with ECM. The required configuration is done in SPRO. The problem which I face is that the number assigned to the appraisal template is different in the development box and in the quality box. I tried to configure external number range for appraisal template but the system still automatically asigns the internal number.
Has any one of you successfully done the ECM integration with Performance Manageemnt? How did you go about the different number issue?Could not get the number range working. Transported the templates instead.
-
Is anyone else having an issue with performance in Mavericks?
My computer is brand new. Just bought it a week ago. Since I installed Mavericks, I have been having very big issues with performance. It now takes forever to start up, it loads programs extremely slowly, and it randomly freezes for a few minutes at a time. Is anyone else having these issues? I have already re-installed the OS. What else can I do?
Mavericks has certainly made up for all the problem-free updates I've had in the past! I have significant system drag (endless spinning beachballs....), Safari is incredibly slow, Mail - gmail & icloud - almost unusable. I'm desperately hoping the first OS update fixes things.
-
Hello, Weblogic 12.1.1 increases threads with 'Retry rollback request for tx:' And in all threads Xid is identical
For this reason, the server begins to work very slowly and ultimately it is necessary to restart.
The problem is similar to the Doc ID 1287437.1 - WebLogic Server Retries Rollback Request Threads Until Server is Out of Resources. But we have a version 12.1.1 , not 10.3.3.
The sample in the screenshot.
Help me please, thanksHi,
Increasing the size of the redo logfile size may reduce the number of switches as it takes time to fill the file up but your system's redo generatin will stil be the same. Reduce the frequent commits.
Use the following notes to further narrow down the possible root cause.
WAITEVENT: "log file sync" Reference Note [ID 34592.1]
WAITEVENT: "log file parallel write" Reference Note [ID 34583.1] -
Need help with performance for very very huge tables...
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production.
My DB has many tables and out of which I am interested in getting data from product and sales.
select /*parallel 32*/count(1) from (
select /*parallel 32*/distinct prod_code from product pd, sales s
where pd.prod_opt_cd is NULL
and s.sales_id = pd.sales_id
and s.creation_dts between to_date ('2012-07-01','YYYY-MM-DD') and
to_date ('2012-07-31','YYYY-MM-DD')
More information -
Total Rows in sales table - 18001217
Total rows in product table - 411800392
creation_dts dont have index on it.
I started query in background but after 30 hours I saw the error saying -
ORA-01555: snapshot too old: rollback segment number 153 with name
Is there any other way to get above data in optimized way?Formatting your query a bit (and removing the hints), it evaluates to:
SELECT COUNT(1)
FROM (SELECT DISTINCT prod_code
FROM product pd
INNER JOIN sales s
ON s.sales_id = pd.sales_id
WHERE pd.prod_opt_cd is NULL
AND s.creation_dts BETWEEN TO_DATE('2012-07-01','YYYY-MM-DD')
AND TO_DATE('2012-07-31','YYYY-MM-DD')
);This should be equivalent to
SELECT COUNT(DISTINCT prod_code)
FROM product pd
INNER JOIN sales s
ON s.sales_id = pd.sales_id
WHERE pd.prod_opt_cd is NULL
AND s.creation_dts BETWEEN TO_DATE('2012-07-01','YYYY-MM-DD')
AND TO_DATE('2012-07-31','YYYY-MM-DD');On the face of it, that's a ridiculously simple query If s.sales_id and pd.sales_id are both indexed, then I don't see why it would take a huge amount of time. Even having to perform a FTS on the sales table because creation_dts isn't indexed shouldn't make it a 30-hour query. If either of those two is not indexed, then it's a much uglier prospect in joining the two tables. However, if you often join the product and sales tables (which seems likely), then not having those fields indexed would be contraindicated. -
Help with performance of a subroutine
Hi Experts,
can anyone help me tweek the code so that the performance is improved? will appreciate ur response.
thanks in advance.
*& Form GET_PHY_QUANTITY
text
-->P_LT_LAGP text
<--P_LS_LAGP text
<--P_LT_PHYSICAL text
form get_phy_quantity using p_lt_aqua type tt_aqua
p_lt_lagp type tt_lagp
changing p_ls_aqua type gs_aqua
p_ls_lagp type gs_lagp
p_lt_physical.
types: begin of ty_hu,
lgnum_hu type /scwm/lgnum,
huident type /scwm/de_huident,
guid_hu type guid,
end of ty_hu.
types: begin of ty_ordim,
lgnum type /scwm/lgnum,
lgpla type /scwm/lgpla,
guid_stock type /lime/guid_stock,
end of ty_ordim.
types: begin of ty_nquan,
guid_stock type /lime/guid_stock,
guid_parent type /lime/guid_parent,
punit type /lime/unit,
pquan type /lime/quantity,
coo type /scwm/de_coo,
lgpla type /scwm/lgpla, "RJ
end of ty_nquan.
data: ls_hu type ty_hu,
ls_ordim type ty_ordim,
ls_nquan type ty_nquan,
lv_tabix type sy-tabix.
data: lt_guid type standard table of ty_hu,
ls_guid type ty_hu,
lt_hu type standard table of ty_hu,
lt_ordim like standard table of ls_ordim,
lt_nquan like standard table of ls_nquan .
data: ls_data type zspm_binquan.
data: lt_data type standard table of zspm_binquan.
lgpla in p_lt_lagp and huident in /scwm/hu_iw01 have different data types.
So, we are moving the lgpla field to a huident field before selection from the table.
loop at p_lt_lagp into p_ls_lagp.
move p_ls_lagp-lgnum to ls_hu-lgnum_hu.
move p_ls_lagp-lgpla to ls_hu-huident.
append ls_hu to lt_hu.
read table p_lt_aqua into p_ls_aqua with key lgnum = p_ls_lagp-lgnum
lgpla = p_ls_lagp-lgpla
matid = '00000000000000000000000000000000'.
if sy-subrc = 0.
" If AQUA table has blank Product, we have to get it from WT table.
IF p_ls_aqua-matid IS INITIAL.
move p_ls_aqua-guid_stock to ls_ordim-guid_stock.
move p_ls_aqua-lgnum to ls_ordim-lgnum.
move p_ls_aqua-lgpla to ls_ordim-lgpla.
append ls_ordim to lt_ordim.
ENDIF.
endif.
endloop.
clear: ls_ordim, ls_hu, p_ls_aqua, p_ls_lagp.
select lgnum_hu huident guid_hu
from /scwm/hu_iw01
into table lt_guid
for all entries in lt_hu
where lgnum_hu = lt_hu-lgnum_hu and huident = lt_hu-huident.
if sy-subrc = 0.
sort lt_guid by guid_hu.
delete adjacent duplicates from lt_guid comparing all fields.
endif.
select n~guid_stock
n~guid_parent
n~unit
n~quan
q~coo
into table lt_nquan
from ( /lime/nquan as n
left outer join /scwm/quan as q
on qguid_stock = nguid_stock
and qguid_parent = nguid_parent )
for all entries in lt_guid
where n~guid_parent = lt_guid-guid_hu
and n~guid_stock gt '0000000000000000'
and n~vsi eq space
and n~quan gt 0.
sort lt_nquan by guid_parent guid_stock.
loop at lt_nquan into ls_nquan. "RJ
lv_tabix = sy-tabix.
read table lt_guid into ls_guid with key guid_hu = ls_nquan-guid_parent.
if sy-subrc eq 0.
ls_nquan-lgpla = ls_guid-huident.
modify lt_nquan from ls_nquan index lv_tabix.
endif.
endloop.
loop at lt_nquan into ls_nquan.
If there is physical qty but no available quantity, move to lt_ordim table.
read table p_lt_aqua into p_ls_aqua with key guid_stock = ls_nquan-guid_stock
lgpla = ls_nquan-lgpla.
if sy-subrc ne 0.
read table lt_guid into ls_hu with key guid_hu = ls_nquan-guid_parent binary search.
if sy-subrc = 0.
move ls_hu-lgnum_hu to ls_ordim-lgnum.
move ls_hu-huident to ls_ordim-lgpla.
move ls_nquan-guid_stock to ls_ordim-guid_stock.
append ls_ordim to lt_ordim.
endif.
endif.
endloop.
sort lt_ordim by lgpla guid_stock.
clear: ls_nquan, ls_ordim.
loop at lt_nquan into ls_nquan.
move-corresponding ls_nquan to ls_data.
If not in AQUA table, get the batch, stock type from WT tables, ORDIM_O or ORDIM_C.
read table lt_ordim into ls_ordim with key lgpla = ls_nquan-lgpla
guid_stock = ls_nquan-guid_stock binary search.
if sy-subrc = 0.
select single matid cat charg wdatu
from /scwm/ordim_o
into (ls_data-matid, ls_data-cat, ls_data-charg, ls_data-wdatu)
where lgnum eq ls_ordim-lgnum and guid_stock eq ls_ordim-guid_stock.
if sy-subrc ne 0.
select single matid cat charg wdatu
from /scwm/ordim_c
into (ls_data-matid, ls_data-cat, ls_data-charg, ls_data-wdatu)
where lgnum eq ls_ordim-lgnum and guid_stock eq ls_ordim-guid_stock.
endif.
ls_data-lgnum = ls_ordim-lgnum.
ls_data-huident = ls_ordim-lgpla.
else. " if there is avail. qty., get batch and other info from AQUA table.
read table p_lt_aqua into p_ls_aqua with key guid_stock = ls_nquan-guid_stock
lgpla = ls_nquan-lgpla.
if sy-subrc = 0.
ls_data-lgnum = p_ls_aqua-lgnum.
ls_data-huident = p_ls_aqua-lgpla.
ls_data-matid = p_ls_aqua-matid.
ls_data-cat = p_ls_aqua-cat.
ls_data-charg = p_ls_aqua-charg.
ls_data-wdatu = p_ls_aqua-wdatu.
endif.
endif.
append ls_data to lt_data.
endloop.
p_lt_physical = lt_data.
refresh: lt_data, lt_ordim, lt_guid, lt_hu, lt_nquan.
endform. " GET_PHY_QUANTITYHi friends,
I have a function module which does array insertions and is causing a slowdown can you please recommend any changes ? or any ideas as to what can be done? Thanks in advance.
Thanks,
Kathy.
<code>
function Zwmsid_ship_id_insert .
""Update Function Module:
""Local Interface:
*" IMPORTING
*" VALUE(IT_SHIP_ID_HD) TYPE Z_TT_SID_HD
*" VALUE(IT_SHIP_ID_ITM) TYPE Z_TT_SID_IT
*" VALUE(IT_SHIP_ID_PR) TYPE Z_TT_SID_PR
*" VALUE(IT_SHIP_ID_HU) TYPE Z_TT_SID_HU
*" VALUE(IT_SHIP_ID_REFDOC) TYPE Z_TT_SID_RFD
*" EXCEPTIONS
*" INSERTION_FAILED
This is for Inserting Data from the IMPORT parameter Tables into
the DB tables.
To avoid run-time dump, ACCEPTING DUPLICATE KEYS addition is used.
if exception is result, ROLLBACK work is done in the calling module
Local Data Objects
Variables
data: lv_initial_sid type c,
Work Area
ls_ship_id_hd type Z_tsid_hd, " Ship-Id Header
ls_sid_ht type Z_tsid_ht, " Ship-ID History
Internal Tables
lt_sid_ht type Z_tt_sid_ht. " Ship-ID History Table
data: lv_timestamp(15) type c,
lv_systimstp type /scdl/dl_cretst,
lv_tz type tznzone value 'UTC'.
Build the Ship-ID data for building History table
loop at it_ship_id_hd into ls_ship_id_hd.
if ls_ship_id_hd-ship_id is initial.
lv_initial_sid = gc_x.
endif.
ls_sid_ht-ship_id = ls_ship_id_hd-ship_id . " Ship-ID
ls_sid_ht-status = gc_created . " CR
ls_sid_ht-direction = ls_ship_id_hd-direction. " Direction
ls_sid_ht-username = sy-uname . " User Name
append ls_sid_ht to lt_sid_ht.
clear: ls_sid_ht, ls_ship_id_hd.
endloop.
if not lv_initial_sid is initial.
clear: lv_initial_sid.
message e014 raising insertion_failed.
endif.
Inserting Ship-ID Header Data
insert Z_tsid_hd from table it_ship_id_hd
accepting duplicate keys.
if sy-subrc ne 0.
message e011 raising insertion_failed.
endif.
Inserting Ship-ID Item Data
insert Z_tsid_it from table it_ship_id_itm
accepting duplicate keys.
if sy-subrc ne 0.
message e011 raising insertion_failed.
endif.
Inserting Ship-ID Partner Data
insert Z_tsid_pr from table it_ship_id_pr
accepting duplicate keys.
if sy-subrc ne 0.
message e011 raising insertion_failed.
endif.
Inserting Ship-ID HU (handling Unit) Data
insert Z_tsid_hu from table it_ship_id_hu
accepting duplicate keys.
if sy-subrc ne 0.
message e011 raising insertion_failed.
endif.
Inserting Ship-ID Reference Document table Data
insert Z_tsid_rfd from table it_ship_id_refdoc
accepting duplicate keys.
if sy-subrc ne 0.
message e011 raising insertion_failed.
endif.
Inserting into Ship-ID History Table
insert Z_tsid_ht from table lt_sid_ht
accepting duplicate keys.
if sy-subrc ne 0.
message e011 raising insertion_failed.
endif.
endfunction.
<code> -
Problem with performance in a code.
Hi People! I have problems with the performance of this program. The tables that I use have much data and the program take two hours to finish.
Please, some one tell me how can I make a better performance.
Thanks!
This is the program:
TABLES:
faglflext, "Saldos mensuales por cta.
contable y prf center.
zavg_bal_table,
skat. "Chart of accounts
********************INTERNAL TABLE DEFINITION***************************
DATA: BEGIN OF t_itab1 OCCURS 0.
DATA: rbukrs TYPE faglflext-rbukrs. "Company Code
DATA: racct TYPE faglflext-racct. "Account ID
DATA: prctr TYPE faglflext-prctr. "Profit Center
DATA: kslvt TYPE faglflext-kslvt. "Total of the period in group currency
DATA: ksl01 TYPE faglflext-ksl01. "Total of the period in group currency
DATA: ksl02 TYPE faglflext-ksl02. "Total of the period in group currency
DATA: ksl03 TYPE faglflext-ksl03. "Total of the period in group currency
DATA: ksl04 TYPE faglflext-ksl04. "Total of the period in group currency
DATA: ksl05 TYPE faglflext-ksl05. "Total of the period in group currency
DATA: ksl06 TYPE faglflext-ksl06. "Total of the period in group currency
DATA: ksl07 TYPE faglflext-ksl07. "Total of the period in group currency
DATA: ksl08 TYPE faglflext-ksl08. "Total of the period in group currency
DATA: ksl09 TYPE faglflext-ksl09. "Total of the period in group currency
DATA: ksl10 TYPE faglflext-ksl10. "Total of the period in group currency
DATA: ksl11 TYPE faglflext-ksl11. "Total of the period in group currency
DATA: ksl12 TYPE faglflext-ksl12. "Total of the period in group currency
DATA: ksl13 TYPE faglflext-ksl13. "Total of the period in group currency
DATA: ksl14 TYPE faglflext-ksl14. "Total of the period in group currency
DATA: ksl15 TYPE faglflext-ksl15. "Total of the period in group currency
DATA: ksl16 TYPE faglflext-ksl16. "Total of the period in group currency
DATA: rldnr TYPE faglflext-rldnr. "Ledger in GL Accounting
DATA: rtcur TYPE faglflext-rtcur. "Currency Key
DATA: txt20 TYPE skat-txt20. "Description Text
DATA: saknr TYPE skat-saknr. "G/L account number
DATA: ktopl TYPE skat-ktopl. "Chart of Accounts
DATA: rpmax TYPE faglflext-rpmax. "Period
DATA: total_sum LIKE faglflext-ksl01. "Amount of the first month
DATA: ryear LIKE faglflext-ryear. "Fiscal Year
DATA: year LIKE faglflext-ryear. "Past Year
DATA: day_a TYPE sy-datum.
DATA: per_day TYPE rr_umper.
DATA: average TYPE vtcur12.
DATA: agregate TYPE vtcur12.
DATA: accumulate TYPE vtcur12.
DATA: average_sap TYPE rr_umper.
DATA: END OF t_itab1.
DATA: BEGIN OF t_itab2 OCCURS 0.
DATA: rbukrs TYPE faglflext-rbukrs. "Company Code
DATA: racct TYPE faglflext-racct. "Account ID
DATA: prctr TYPE faglflext-prctr. "Profit Center
DATA: kslvt TYPE faglflext-kslvt. "Total of the period in group currency
DATA: ksl01 TYPE faglflext-ksl01. "Total of the period in group currency
DATA: ksl02 TYPE faglflext-ksl02. "Total of the period in group currency
DATA: ksl03 TYPE faglflext-ksl03. "Total of the period in group currency
DATA: ksl04 TYPE faglflext-ksl04. "Total of the period in group currency
DATA: ksl05 TYPE faglflext-ksl05. "Total of the period in group currency
DATA: ksl06 TYPE faglflext-ksl06. "Total of the period in group currency
DATA: ksl07 TYPE faglflext-ksl07. "Total of the period in group currency
DATA: ksl08 TYPE faglflext-ksl08. "Total of the period in group currency
DATA: ksl09 TYPE faglflext-ksl09. "Total of the period in group currency
DATA: ksl10 TYPE faglflext-ksl10. "Total of the period in group currency
DATA: ksl11 TYPE faglflext-ksl11. "Total of the period in group currency
DATA: ksl12 TYPE faglflext-ksl12. "Total of the period in group currency
DATA: ksl13 TYPE faglflext-ksl13. "Total of the period in group currency
DATA: ksl14 TYPE faglflext-ksl14. "Total of the period in group currency
DATA: ksl15 TYPE faglflext-ksl15. "Total of the period in group currency
DATA: ksl16 TYPE faglflext-ksl16. "Total of the period in group currency
DATA: rldnr TYPE faglflext-rldnr. "Ledger in GL Accounting
DATA: rtcur TYPE faglflext-rtcur. "Currency Key
DATA: txt20 TYPE skat-txt20. "Description Text
DATA: saknr TYPE skat-saknr. "G/L account number
DATA: ktopl TYPE skat-ktopl. "Chart of Accounts
DATA: rpmax TYPE faglflext-rpmax. "Period
DATA: total_sum LIKE faglflext-ksl01. "Amount of the first month
DATA: ryear LIKE faglflext-ryear. "Fiscal Year
DATA: year LIKE faglflext-ryear. "Past Year
DATA: END OF t_itab2.
DATA: BEGIN OF t_zavg OCCURS 0.
DATA: bukrs TYPE bukrs.
DATA: racct TYPE racct.
DATA: prctr TYPE prctr.
DATA: day_a TYPE sy-datum.
DATA: per_day TYPE rr_umper.
DATA: average TYPE vtcur12.
DATA: agregate TYPE vtcur12.
DATA: accumulate TYPE vtcur12.
DATA: average_sap TYPE rr_umper.
DATA: END OF t_zavg.
DATA: BEGIN OF t_zavg2 OCCURS 0.
DATA: day_a TYPE sy-datum.
DATA: racct TYPE racct.
DATA: prctr TYPE prctr.
DATA: per_day TYPE rr_umper.
DATA: average TYPE vtcur12.
DATA: agregate TYPE vtcur12.
DATA: accumulate TYPE vtcur12.
DATA: average_sap TYPE rr_umper.
DATA: END OF t_zavg2.
* Variable definition *
DATA: balance_month_01 LIKE faglflext-ksl01.
DATA: balance_month_02 LIKE faglflext-ksl01.
DATA: balance_month_03 LIKE faglflext-ksl01.
DATA: balance_month_04 LIKE faglflext-ksl01.
DATA: balance_month_05 LIKE faglflext-ksl01.
DATA: balance_month_06 LIKE faglflext-ksl01.
DATA: balance_month_07 LIKE faglflext-ksl01.
DATA: balance_month_08 LIKE faglflext-ksl01.
DATA: balance_month_09 LIKE faglflext-ksl01.
DATA: balance_month_10 LIKE faglflext-ksl01.
DATA: balance_month_11 LIKE faglflext-ksl01.
DATA: balance_month_12 LIKE faglflext-ksl01.
DATA: balance_month_13 LIKE faglflext-ksl01.
DATA: current_average_balance LIKE zavg_bal_table-average.
DATA: current_balance LIKE faglflext-ksl01.
DATA: current_activity_balance LIKE faglflext-ksl01.
DATA: current_aggregate_balance LIKE zavg_bal_table-agregate.
DATA: average_balance_ytd LIKE zfintbco0001-period_avg_12.
DATA: count TYPE i.
DATA: wa_itab LIKE LINE OF t_itab1.
DATA: wa_low LIKE LINE OF t_itab1.
DATA: wa_high LIKE LINE OF t_itab1.
DATA: wa_itab2 LIKE LINE OF t_itab2.
DATA: wa_zavg2 LIKE LINE OF t_zavg2.
DATA: wa_zavg LIKE LINE OF t_zavg.
DATA: t_acum TYPE i.
DATA: companycode TYPE faglflext-rbukrs.
DATA: descripcion TYPE skat-txt20.
DATA: oref TYPE REF TO cx_root,
emsg TYPE zedesc,
param1 TYPE zparm,
parm1 TYPE zparm.
DATA: avg1 TYPE faglflext-ksl01. "AVG = AVERAGE
DATA: avg2 TYPE faglflext-ksl01.
DATA: avg3 TYPE faglflext-ksl01.
DATA: avg4 TYPE faglflext-ksl01.
DATA: avg5 TYPE faglflext-ksl01.
DATA: avg6 TYPE faglflext-ksl01.
DATA: avg7 TYPE faglflext-ksl01.
DATA: avg8 TYPE faglflext-ksl01.
DATA: avg9 TYPE faglflext-ksl01.
DATA: avg10 TYPE faglflext-ksl01.
DATA: avg11 TYPE faglflext-ksl01.
DATA: avg12 TYPE faglflext-ksl01.
DATA: conteo TYPE i.
DATA: conteo2 TYPE i.
DATA: numerocta TYPE faglflext-racct.
DATA: profitcenter TYPE faglflext-prctr.
DATA: average_month_01 TYPE zavg_bal_table-average.
DATA: aggregate_month_01 TYPE zavg_bal_table-agregate.
DATA: average_month_02 TYPE zavg_bal_table-average.
DATA: aggregate_month_02 TYPE zavg_bal_table-agregate.
DATA: average_month_03 TYPE zavg_bal_table-average.
DATA: aggregate_month_03 TYPE zavg_bal_table-agregate.
DATA: average_month_04 TYPE zavg_bal_table-average.
DATA: aggregate_month_04 TYPE zavg_bal_table-agregate.
DATA: average_month_05 TYPE zavg_bal_table-average.
DATA: aggregate_month_05 TYPE zavg_bal_table-agregate.
DATA: average_month_06 TYPE zavg_bal_table-average.
DATA: aggregate_month_06 TYPE zavg_bal_table-agregate.
DATA: average_month_07 TYPE zavg_bal_table-average.
DATA: aggregate_month_07 TYPE zavg_bal_table-agregate.
DATA: average_month_08 TYPE zavg_bal_table-average.
DATA: aggregate_month_08 TYPE zavg_bal_table-agregate.
DATA: average_month_09 TYPE zavg_bal_table-average.
DATA: aggregate_month_09 TYPE zavg_bal_table-agregate.
DATA: average_month_10 TYPE zavg_bal_table-average.
DATA: aggregate_month_10 TYPE zavg_bal_table-agregate.
DATA: average_month_11 TYPE zavg_bal_table-average.
DATA: aggregate_month_11 TYPE zavg_bal_table-agregate.
DATA: average_month_12 TYPE zavg_bal_table-average.
DATA: aggregate_month_12 TYPE zavg_bal_table-agregate.
DATA: ano TYPE i.
DATA: ano_pasado TYPE i.
DATA: ano_corriente TYPE i.
DATA: mesdia TYPE adb_pfrom.
DATA: firstline TYPE i.
DATA: kslvt TYPE faglflext-kslvt.
DATA: ksl01 TYPE faglflext-ksl01.
DATA: ksl02 TYPE faglflext-ksl02.
DATA: ksl03 TYPE faglflext-ksl03.
DATA: ksl04 TYPE faglflext-ksl04.
DATA: ksl05 TYPE faglflext-ksl05.
DATA: ksl06 TYPE faglflext-ksl06.
DATA: ksl07 TYPE faglflext-ksl07.
DATA: ksl08 TYPE faglflext-ksl08.
DATA: ksl09 TYPE faglflext-ksl09.
DATA: ksl10 TYPE faglflext-ksl10.
DATA: ksl11 TYPE faglflext-ksl11.
DATA: ksl12 TYPE faglflext-ksl12.
DATA: ksl13 TYPE faglflext-ksl13.
DATA: ksl14 TYPE faglflext-ksl14.
DATA: ksl15 TYPE faglflext-ksl15.
DATA: ksl16 TYPE faglflext-ksl16.
DATA: itab_kslvt TYPE faglflext-kslvt.
DATA: itab_ksl01 TYPE faglflext-ksl01.
DATA: itab_ksl02 TYPE faglflext-ksl02.
DATA: itab_ksl03 TYPE faglflext-ksl03.
DATA: itab_ksl04 TYPE faglflext-ksl04.
DATA: itab_ksl05 TYPE faglflext-ksl05.
DATA: itab_ksl06 TYPE faglflext-ksl06.
DATA: itab_ksl07 TYPE faglflext-ksl07.
DATA: itab_ksl08 TYPE faglflext-ksl08.
DATA: itab_ksl09 TYPE faglflext-ksl09.
DATA: itab_ksl10 TYPE faglflext-ksl10.
DATA: itab_ksl11 TYPE faglflext-ksl11.
DATA: itab_ksl12 TYPE faglflext-ksl12.
DATA: itab_ksl13 TYPE faglflext-ksl13.
DATA: itab_ksl14 TYPE faglflext-ksl14.
DATA: itab_ksl15 TYPE faglflext-ksl15.
DATA: itab_ksl16 TYPE faglflext-ksl16.
DATA: itab_bal00 TYPE faglflext-kslvt.
DATA: itab_bal01 TYPE faglflext-ksl01.
DATA: itab_bal02 TYPE faglflext-ksl02.
DATA: itab_bal03 TYPE faglflext-ksl03.
DATA: itab_bal04 TYPE faglflext-ksl04.
DATA: itab_bal05 TYPE faglflext-ksl05.
DATA: itab_bal06 TYPE faglflext-ksl06.
DATA: itab_bal07 TYPE faglflext-ksl07.
DATA: itab_bal08 TYPE faglflext-ksl08.
DATA: itab_bal09 TYPE faglflext-ksl09.
DATA: itab_bal10 TYPE faglflext-ksl10.
DATA: itab_bal11 TYPE faglflext-ksl11.
DATA: itab_bal12 TYPE faglflext-ksl12.
DATA: itab_bal13 TYPE faglflext-ksl13.
DATA: itab_bal14 TYPE faglflext-ksl14.
DATA: itab_bal15 TYPE faglflext-ksl15.
DATA: itab_bal16 TYPE faglflext-ksl16.
DATA: numero_de_cta TYPE faglflext-racct.
DATA: company_code TYPE faglflext-rbukrs.
DATA: profit_center TYPE faglflext-prctr.
DATA: currency_code TYPE faglflext-rtcur.
DATA: average_month TYPE zavg_bal_table-average.
DATA: aggregate_month TYPE zavg_bal_table-agregate.
* VARIABLES FOR INTERFACES LOG
DATA: v_tipo TYPE zzfinbc85typede VALUE 1. "Tipo 1 = OUT
DATA: v_nom_int(9) TYPE c VALUE 'ZFINFII00'. "Nombre de la interfaz
DATA: v_modulo(2) TYPE c VALUE 'FI'. "Modulo
DATA: v_comp_code(4) TYPE c VALUE '0000'. "Compañia 0000
DATA: v_alegacy(4) TYPE c VALUE '0001'.
DATA: v_fecha TYPE d.
DATA: v_error2(3) TYPE c VALUE 'E'.
DATA: l_sys_exc TYPE REF TO cx_ai_system_fault.
DATA: last_day TYPE sy-datum.
DATA: numero_mes TYPE i.
DATA: ryear TYPE faglflext-ryear.
DATA: numero_cuenta TYPE faglflext-racct.
DATA: numero_profit TYPE faglflext-prctr.
DATA: day_a TYPE i.
DATA: text(20) TYPE c.
*Acknowledge
DATA: lo_async_messaging TYPE REF TO if_wsprotocol_async_messaging,
lo_msg_id_protocol TYPE REF TO if_wsprotocol_message_id,
l_msg_id TYPE sxmsguid,
l_ack_request TYPE prx_ack_request_details.
DATA: fecha TYPE sy-datum.
DATA: fecha_ejecutandose TYPE sy-datum.
DATA: fecha_corriente TYPE i.
DATA: jan_fin TYPE sy-datum.
DATA: feb_fin TYPE sy-datum.
DATA: febb_fin TYPE sy-datum.
DATA: mar_fin TYPE sy-datum.
DATA: apr_fin TYPE sy-datum.
DATA: may_fin TYPE sy-datum.
DATA: jun_fin TYPE sy-datum.
DATA: jul_fin TYPE sy-datum.
DATA: aug_fin TYPE sy-datum.
DATA: sep_fin TYPE sy-datum.
DATA: oct_fin TYPE sy-datum.
DATA: nov_fin TYPE sy-datum.
DATA: dec_fin TYPE sy-datum.
DATA: porciento1 TYPE faglflext-ksl01.
DATA: porciento2 TYPE faglflext-ksl01.
DATA: porciento3 TYPE faglflext-ksl01.
DATA: porciento4 TYPE faglflext-ksl01.
DATA: porciento5 TYPE faglflext-ksl01.
DATA: porciento6 TYPE faglflext-ksl01.
DATA: porciento7 TYPE faglflext-ksl01.
DATA: porciento8 TYPE faglflext-ksl01.
DATA: porciento9 TYPE faglflext-ksl01.
DATA: porciento10 TYPE faglflext-ksl01.
DATA: porciento11 TYPE faglflext-ksl01.
DATA: porciento12 TYPE faglflext-ksl01.
data: mes(2) type c value '00'.
data: mes_anterior type sy-datum.
data: ceros(2) type c.
*DEFINICION DE RANGOS.
RANGES profit FOR faglflext-prctr.
RANGES account FOR faglflext-racct.
RANGES end_month FOR zavg_bal_table-day_a.
*Sele asigna el fin de mes a cada variable para que sea utilizada luego en el programa.
jan_fin = '20060131'.
feb_fin = '20060228'.
febb_fin = '20060229'.
mar_fin = '20060331'.
apr_fin = '20060430'.
may_fin = '20060531'.
jun_fin = '20060630'.
jul_fin = '20060731'.
aug_fin = '20060831'.
sep_fin = '20060930'.
oct_fin = '20061031'.
nov_fin = '20061130'.
dec_fin = '20061231'.
*Inicializando las variables a valor '0'.
balance_month_01 = 0.
balance_month_02 = 0.
balance_month_03 = 0.
balance_month_04 = 0.
balance_month_05 = 0.
balance_month_06 = 0.
balance_month_07 = 0.
balance_month_08 = 0.
balance_month_09 = 0.
balance_month_10 = 0.
balance_month_11 = 0.
balance_month_12 = 0.
balance_month_13 = 0.
current_average_balance = 0.
current_balance = 0.
current_activity_balance = 0.
current_aggregate_balance = 0.
average_balance_ytd = 0.
count = 0.
t_acum = 0.
conteo = 1.
conteo2 = 1.
ceros = '00'.
*THIS IS A STRUCTURE NAMED E_SKAT. WITH THE TWO FIELDS NAMED SAKNR *
*AND TXT20. *
TYPES: BEGIN OF e_skat,
ktopl LIKE skat-ktopl,
saknr LIKE skat-saknr,
txt20 LIKE skat-txt20,
END OF e_skat.
* SORT THE STRUCTURE IN ORDER FOR BEST PERFORMANCE *
DATA it_skat TYPE SORTED TABLE OF e_skat
WITH UNIQUE KEY saknr WITH HEADER LINE.
DATA: wa_skat LIKE LINE OF it_skat.
* CONSTANT DEFINITIONS (HAVE THE SAME VALUE EVER) *
CONSTANTS:
etype TYPE zetype VALUE 'INTER', "Utilizada con la funcion de error
innum TYPE zintnum VALUE 'ZFINFII00', "Utilizada con la funcion de error
inname TYPE zinname VALUE 'Sendero and Cognos Interfase', "Utilizada con la funcion de error
c_cuenta(10) TYPE c VALUE '0000270011',
c_ol(2) TYPE c VALUE '0L',
c_chart(4) TYPE c VALUE 'CAPI', "Chart Of Accounts
c_ceros(17) TYPE n VALUE '00000000000000.00', "ceros
acct_cog(10) TYPE n VALUE '0000270011', "Numero de cta. que se busca en COGNOS.
capi(4) TYPE c VALUE 'CAPI'.
* PARAMETROS de entrada para el usuario. *
SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
PARAMETERS:
p_date TYPE sy-datum DEFAULT sy-datum. "Fecha de corrida
IF p_date IS INITIAL.
p_date = sy-datum.
ENDIF.
* PARAMETEROS DE ENTRADA POR MEDIO DE RANGOS PARA EL USUARIO *
SELECT-OPTIONS:
p_bukrs FOR faglflext-rbukrs.
SELECTION-SCREEN END OF BLOCK bl1.
*IF THE USER SELECT THIS CHECK BOX WITH A CHECK MARK THE PROGRAM *
*SUBMIT THIS INTERFACE TO. *
SELECTION-SCREEN BEGIN OF BLOCK bl2 WITH FRAME TITLE text-002.
PARAMETERS:
p_cognos TYPE c AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK bl2.
* This statement calls the subroutine specified, SENDERO or COGNOS *
IF p_cognos IS INITIAL.
PERFORM sendero.
ELSE.
PERFORM cognos.
ENDIF.
EXIT.
* SENEDERO INTERFACE *
FORM sendero.
*ESTE SELECT EXTRAE LA DATA DE LA TABLA FAGFLEXT Y SKAT
DATA: msgdetails TYPE zgl_sendero_file_dt_tab.
DATA: wa_msgdetails LIKE LINE OF msgdetails.
SELECT a~ryear a~rpmax a~rtcur a~racct a~rbukrs a~prctr
a~kslvt a~ksl01 a~ksl02 a~ksl03 a~ksl04 a~ksl05
a~ksl06 a~ksl07 a~ksl08 a~ksl09 a~ksl10 a~ksl11
a~ksl12 a~ksl13 a~ksl14 a~ksl15 a~ksl16 b~saknr
b~txt20 b~ktopl
FROM faglflext AS a INNER JOIN skat AS b ON a~racct = b~saknr AND a~rclnt = b~mandt
CLIENT SPECIFIED INTO CORRESPONDING FIELDS OF TABLE t_itab1
WHERE a~rclnt = sy-mandt
AND a~rbukrs IN p_bukrs
AND a~rldnr = '0L'
AND a~ryear = p_date+0(4)
AND b~spras EQ sy-langu
AND b~ktopl EQ 'CAPI'.
*SI NO ENCUENTRA DATA EN LA TABLA FAGLFLEXT ENVIA EL MENSAJE DE ERROR
*A LA TABLA DE ERROR.
IF sy-subrc <> 0.
MOVE 'No data found in FLAGLFLEXT or ZAVG_BAL_TABLE for this process.'(e01) TO emsg.
* PERFORM call_error_function USING emsg.
* PERFORM call_log_function_send.
MESSAGE: emsg TYPE 'E'.
ENDIF.
*EN ESTE SELECT SACO LA DESCRIPCION DE LA CUENTA
SORT t_itab1 BY racct ASCENDING.
DELETE t_itab1 WHERE racct = ''.
SORT t_itab1 BY prctr ASCENDING.
CLEAR t_itab1.
READ TABLE t_itab1 INTO wa_low INDEX 1 .
DESCRIBE TABLE t_itab1 LINES firstline.
READ TABLE t_itab1 INTO wa_high INDEX firstline.
IF wa_high-prctr = 'DUMMY'. "SI EL ULTIMO RECORD CONTIENE ALGUN 'DUMMY' ESCOJER EL RECORD DE ARRIBA.
firstline = firstline - 1. "CONTIENE EL NUMERO DEL INDICE.
READ TABLE t_itab1 INTO wa_high INDEX firstline.
ENDIF.
profit-sign = 'I'.
profit-option = 'BT'.
profit-low = wa_low-prctr.
profit-high = wa_high-prctr.
APPEND profit.
*COMPUTOS PARA CALCULAR EL ULTIMO DIA DEL MES.
fecha = p_date.
numero_mes = p_date+4(2). "PASO NUMERO DEL MES A VARIABLE.
p_date+4(2) = p_date+4(2) - numero_mes. "LE RESTO EL MISMO MES A LA FECHA PARA COMENZAR EL CONTEO DESDE EL MES 1.
DO numero_mes TIMES. "SE VA A EJECUTAR LAS MISMAS VECES DEL NUMERO DEL MES.
p_date+4(2) = p_date+4(2) + 1. "SE INCREMENTA EL NUMERO DEL MES.
CALL FUNCTION 'SG_PS_GET_LAST_DAY_OF_MONTH' "Obtiene el ultimo numero del mes.
EXPORTING
day_in = p_date
IMPORTING
last_day_of_month = last_day
EXCEPTIONS
day_in_not_valid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF fecha = p_date.
fecha = fecha - 1. "le resta a fecha -1 para que busque en la tabla zavg_bal_table el record del dia anterior.
end_month-sign = 'I'.
end_month-option = 'EQ'.
end_month-low = fecha.
APPEND end_month.
ELSE.
end_month-sign = 'I'.
end_month-option = 'EQ'.
end_month-low = last_day.
APPEND end_month.
ENDIF.
ENDDO.
SORT end_month BY low ASCENDING.
SELECT bukrs racct prctr day_a per_day average agregate accumulate average_sap
FROM zavg_bal_table CLIENT SPECIFIED APPENDING TABLE t_zavg
WHERE mandt = sy-mandt
AND bukrs IN p_bukrs
AND day_a <= sy-datum
AND prctr IN profit.
SORT t_itab1 BY rbukrs racct prctr.
SORT t_zavg BY bukrs racct prctr day_a.
*IMPRESION Y ENVIO DE LOS DATOS REQUERIDOS
*Estos If verifican el mes que se esta ejecutando por el usuario para cambiarselo a la variable que identifica el fin de mes.
IF p_date+4(2) = jan_fin+4(2).
jan_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = feb_fin+4(2).
feb_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = mar_fin+4(2).
mar_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = apr_fin+4(2).
apr_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = may_fin+4(2).
may_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = jun_fin+4(2).
jun_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = jul_fin+4(2).
jul_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = aug_fin+4(2).
aug_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = sep_fin+4(2).
sep_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = oct_fin+4(2).
oct_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = nov_fin+4(2).
nov_fin+6(2) = p_date+6(2).
ENDIF.
IF p_date+4(2) = dec_fin+4(2).
dec_fin+6(2) = p_date+6(2).
ENDIF.
*Comienza primer loop en el programa a t_itab1 que es la tabla interna que contiene los datos de faglflext.
LOOP AT t_itab1 INTO wa_itab WHERE racct NE ''.
AT NEW prctr. "Limpia las variables que se muestran en el clear cada ves que comienza un nuevo profit center.
CLEAR: itab_kslvt, itab_ksl01, itab_ksl02, itab_ksl03, itab_ksl04, itab_ksl05, itab_ksl06, itab_ksl07, itab_ksl08,
itab_ksl09, itab_ksl10, itab_ksl11, itab_ksl12, itab_ksl13, itab_ksl14, itab_ksl15, itab_ksl16,
itab_bal00, itab_bal01, itab_bal02, itab_bal03, itab_bal04, itab_bal05, itab_bal06, itab_bal07,
itab_bal08, itab_bal09, itab_bal10, itab_bal11, itab_bal12, itab_bal13, itab_bal14, itab_bal15,
itab_bal16.
ENDAT.
*Se le pasa a la variable itab_ksl## el valor del mes que contenga flext.
itab_kslvt = itab_kslvt + wa_itab-kslvt. itab_ksl01 = itab_ksl01 + wa_itab-ksl01. itab_ksl02 = itab_ksl02 + wa_itab-ksl02.
itab_ksl03 = itab_ksl03 + wa_itab-ksl03. itab_ksl04 = itab_ksl04 + wa_itab-ksl04.
itab_ksl05 = itab_ksl05 + wa_itab-ksl05. itab_ksl06 = itab_ksl06 + wa_itab-ksl06.
itab_ksl07 = itab_ksl07 + wa_itab-ksl07. itab_ksl08 = itab_ksl08 + wa_itab-ksl08.
itab_ksl09 = itab_ksl09 + wa_itab-ksl09. itab_ksl10 = itab_ksl10 + wa_itab-ksl10.
itab_ksl11 = itab_ksl11 + wa_itab-ksl11. itab_ksl12 = itab_ksl12 + wa_itab-ksl12.
itab_ksl13 = itab_ksl13 + wa_itab-ksl13. itab_ksl14 = itab_ksl14 + wa_itab-ksl14.
itab_ksl15 = itab_ksl15 + wa_itab-ksl15. itab_ksl16 = itab_ksl16 + wa_itab-ksl16.
*En estas variables va acumulando el valor por mes. Osea, va sumando todo lo que tenga de ese mes por profit center. Al venir un profit
*nuevo esta se limpia.
itab_bal00 = itab_bal00 + wa_itab-kslvt. itab_bal01 = itab_bal01 + wa_itab-ksl01. itab_bal02 = itab_bal02 + wa_itab-ksl02.
itab_bal03 = itab_bal03 + wa_itab-ksl03. itab_bal04 = itab_bal04 + wa_itab-ksl04.
itab_bal05 = itab_bal05 + wa_itab-ksl05. itab_bal06 = itab_bal06 + wa_itab-ksl06.
itab_bal07 = itab_bal07 + wa_itab-ksl07. itab_bal08 = itab_bal08 + wa_itab-ksl08.
itab_bal09 = itab_bal09 + wa_itab-ksl09. itab_bal10 = itab_bal10 + wa_itab-ksl10.
itab_bal11 = itab_bal11 + wa_itab-ksl11. itab_bal12 = itab_bal12 + wa_itab-ksl12.
itab_bal13 = itab_bal13 + wa_itab-ksl13. itab_bal14 = itab_bal14 + wa_itab-ksl14.
itab_bal15 = itab_bal15 + wa_itab-ksl15. itab_bal16 = itab_bal16 + wa_itab-ksl16.
ryear = wa_itab-ryear.
CLEAR t_zavg.
sy-subrc = 0.
numero_de_cta = wa_itab-racct.
company_code = wa_itab-rbukrs.
profit_center = wa_itab-prctr.
currency_code = wa_itab-rtcur.
descripcion = wa_itab-txt20.
*Segundo loop a realizarce. Este utiliza la tabla interna: t_zavg la cual contiene los datos extraidos de zavg_bal_table.
LOOP AT t_zavg INTO wa_zavg WHERE bukrs = wa_itab-rbukrs AND racct = wa_itab-racct AND prctr = wa_itab-prctr.
AT NEW prctr. "Al cambiar el profit center limpia las variables que se encuentran en el clear.
CLEAR: average_month_01, average_month_02, average_month_03, average_month_04, average_month_05,
average_month_06, average_month_07, average_month_08, average_month_09, average_month_10, average_month_11,
average_month_12, average_month.
ENDAT.
*Dependiendo del mes que contiene el record de la tabla t_zavg este va acumulando el average_month.
IF wa_zavg-day_a+4(2) = '01'.
average_month_01 = average_month_01 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '02'.
average_month_02 = average_month_02 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '03'.
average_month_03 = average_month_03 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '04'.
average_month_04 = average_month_04 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '05'.
average_month_05 = average_month_05 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '06'.
average_month_06 = average_month_06 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '07'.
average_month_07 = average_month_07 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '08'.
average_month_08 = average_month_08 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '09'.
average_month_09 = average_month_09 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '10'.
average_month_10 = average_month_10 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '11'.
average_month_11 = average_month_11 + wa_zavg-accumulate.
ENDIF.
IF wa_zavg-day_a+4(2) = '12'.
average_month_12 = average_month_12 + wa_zavg-accumulate.
ENDIF.
*Este if verifica que cuando el record que se esta verificando sea con fecha de fin de mes calcule el resto del codigo que se encuentra debajo.
IF wa_zavg-day_a = jan_fin OR wa_zavg-day_a = feb_fin OR wa_zavg-day_a = mar_fin OR wa_zavg-day_a = apr_fin OR wa_zavg-day_a = may_fin OR wa_zavg-day_a = jun_fin OR
wa_zavg-day_a = jul_fin OR wa_zavg-day_a = aug_fin OR wa_zavg-day_a = sep_fin OR wa_zavg-day_a = oct_fin OR
wa_zavg-day_a = nov_fin OR wa_zavg-day_a = dec_fin.
aggregate_month = wa_zavg-agregate.
day_a = wa_zavg-day_a.
*Calcula el aggregate_month dependiendo de la fecha del record que se esta procesando.
IF wa_zavg-day_a+4(2) = '01'.
aggregate_month_01 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '02'.
aggregate_month_02 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '03'.
aggregate_month_03 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '04'.
aggregate_month_04 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '05'.
aggregate_month_05 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '06'.
aggregate_month_06 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '07'.
aggregate_month_07 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '08'.
aggregate_month_08 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '09'.
aggregate_month_09 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '10'.
aggregate_month_10 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '11'.
aggregate_month_11 = wa_zavg-agregate.
ENDIF.
IF wa_zavg-day_a+4(2) = '12'.
aggregate_month_12 = wa_zavg-agregate.
ENDIF.
ENDIF.
*Este if verifica que cuando el record que se esta verificando sea con fecha de fin de mes calcule el resto del codigo que se encuentra debajo.
IF wa_zavg-day_a+4(4) = jan_fin+4(4) OR wa_zavg-day_a+4(4) = feb_fin+4(4) OR wa_zavg-day_a+4(4) = febb_fin+4(4) OR wa_zavg-day_a+4(4) = mar_fin+4(4) OR
wa_zavg-day_a+4(4) = apr_fin+4(4) OR wa_zavg-day_a+4(4) = may_fin+4(4) OR wa_zavg-day_a+4(4) = jun_fin+4(4) OR wa_zavg-day_a+4(4) = jul_fin+4(4) OR
wa_zavg-day_a+4(4) = aug_fin+4(4) OR wa_zavg-day_a+4(4) = sep_fin+4(4) OR wa_zavg-day_a+4(4) = oct_fin+4(4) OR wa_zavg-day_a+4(4) = nov_fin+4(4) OR
wa_zavg-day_a+4(4) = dec_fin+4(4).
*Calcula la division entre la cantidad acumulada por mes y la fecha del fin de mes.
IF average_month_01 IS NOT INITIAL.
porciento1 = average_month_01 / jan_fin+6(2).
average_month = porciento1.
ENDIF.
IF average_month_02 IS NOT INITIAL.
porciento2 = average_month_02 / feb_fin+6(2).
average_month = porciento2.
ENDIF.
IF average_month_03 IS NOT INITIAL.
porciento3 = average_month_03 / mar_fin+6(2).
average_month = porciento3.
ENDIF.
IF average_month_04 IS NOT INITIAL.
porciento4 = average_month_04 / apr_fin+6(2).
average_month = porciento4.
ENDIF.
IF average_month_05 IS NOT INITIAL.
porciento5 = average_month_05 / may_fin+6(2).
average_month = porciento5.
ENDIF.
IF average_month_06 IS NOT INITIAL.
porciento6 = average_month_06 / jun_fin+6(2).
average_month = porciento6.
ENDIF.
IF average_month_07 IS NOT INITIAL.
porciento7 = average_month_07 / jul_fin+6(2).
average_month = porciento7.
ENDIF.
IF average_month_08 IS NOT INITIAL.
porciento8 = average_month_08 / aug_fin+6(2).
average_month = porciento8.
ENDIF.
IF average_month_09 IS NOT INITIAL.
porciento9 = average_month_09 / sep_fin+6(2).
average_month = porciento9.
ENDIF.
IF average_month_10 IS NOT INITIAL.
porciento10 = average_month_10 / oct_fin+6(2).
average_month = porciento10.
ENDIF.
IF average_month_11 IS NOT INITIAL.
porciento11 = average_month_11 / nov_fin+6(2).
average_month = porciento11.
ENDIF.
IF average_month_12 IS NOT INITIAL.
porciento12 = average_month_12 / dec_fin+6(2).
average_month = porciento12.
ENDIF.
*Cuando la fecha que esta entrando el usuario es la misma a la del record que se esta procesando en ese momento ejecuta el siguiente IF.
IF p_date+4(4) = wa_zavg-day_a+4(4).
current_average_balance = average_month.
current_aggregate_balance = aggregate_month.
average_balance_ytd = average_month.
ENDIF.
ENDIF.
ENDLOOP.
AT END OF prctr.
IF sy-subrc = 0.
*ESTAS VARIABLES SE ESTAN PASANDO A UNA VARIABLE NORMAL YA QUE SI SE DEJAN DENTRO DEL WORK AREA (WA) LE PONE ASTERISCOS.
*LOS IF QUE SE DEMUESTRAN ABAJO SON PARECIDOS A LOS UTILIZADOS EN LA *
*PARTE POSTERIOR LO UNICO QUE LA FECHA UTILIZADA NO ES EXTRAIDA DE LA *
*TABLA, ES LA QUE EL USUARIO INSERTA DENTRO DEL PARAMETRO. *
IF p_date+4(2) >= '01'.
COMPUTE: balance_month_01 = itab_bal00 + itab_bal01.
ENDIF.
IF p_date+4(2) >= '02'.
COMPUTE: balance_month_02 = itab_bal00 + itab_bal01 + itab_bal02.
ENDIF.
IF p_date+4(2) >= '03'.
COMPUTE: balance_month_03 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03.
ENDIF.
IF p_date+4(2) >= '04'.
COMPUTE: balance_month_04 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04.
ENDIF.
IF p_date+4(2) >= '05'.
COMPUTE: balance_month_05 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05.
ENDIF.
IF p_date+4(2) >= '06'.
COMPUTE: balance_month_06 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06.
ENDIF.
IF p_date+4(2) >= '07'.
COMPUTE: balance_month_07 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07.
ENDIF.
IF p_date+4(2) >= '08'.
COMPUTE: balance_month_08 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08.
ENDIF.
IF p_date+4(2) >= '09'.
COMPUTE: balance_month_09 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09.
ENDIF.
IF p_date+4(2) >= '10'.
COMPUTE: balance_month_10 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10.
ENDIF.
IF p_date+4(2) >= '11'.
COMPUTE: balance_month_11 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11.
ENDIF.
IF p_date+4(2) >= '12'.
COMPUTE: balance_month_12 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11 + itab_bal12.
ENDIF.
IF p_date+4(2) >= '13'.
COMPUTE: balance_month_13 = itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11 + itab_bal12 + itab_bal13.
ENDIF.
COMPUTE: current_balance = + itab_bal00 + itab_bal01 + itab_bal02 + itab_bal03 + itab_bal04 + itab_bal05 + itab_bal06 + itab_bal07 + itab_bal08 + itab_bal09 + itab_bal10 + itab_bal11 + itab_bal12 + itab_bal13 + itab_bal14 + itab_bal15 + itab_bal16.
*Computo para el activity balance.
IF p_date+4(2) = '01'.
current_activity_balance = itab_ksl01.
ENDIF.
IF p_date+4(2) = '02'.
current_activity_balance = itab_ksl02.
ENDIF.
IF p_date+4(2) = '03'.
current_activity_balance = itab_ksl03.
ENDIF.
IF p_date+4(2) = '04'.
current_activity_balance = itab_ksl04.
ENDIF.
IF p_date+4(2) = '05'.
current_activity_balance = itab_ksl05.
ENDIF.
IF p_date+4(2) = '06'.
current_activity_balance = itab_ksl06.
ENDIF.
IF p_date+4(2) = '07'.
current_activity_balance = itab_ksl07.
ENDIF.
IF p_date+4(2) = '08'.
current_activity_balance = itab_ksl08.
ENDIF.
IF p_date+4(2) = '09'.
current_activity_balance = itab_ksl09.
ENDIF.
IF p_date+4(2) = '10'.
current_activity_balance = itab_ksl10.
ENDIF.
IF p_date+4(2) = '11'.
current_activity_balance = itab_ksl11.
ENDIF.
IF p_date+4(2) = '12'.
current_activity_balance = itab_ksl12.
ENDIF.
*LE RESTA 1 AL AÑO CORRIENTE PARA VERIFICAR LUEGO SI EXISTE INFORMACION*
*DE AÑOS ANTERIORES. *
ano = ryear - 1.
* Get the values of the past year. *
ano = p_date+0(4) - 1.
IF ryear = ano.
wa_msgdetails-activity_previous_year = itab_ksl12.
* balance_previous_year = wa_msgdetails-balance_previous_year. *
wa_msgdetails-average_previous_year = average_month_12.
wa_msgdetails-aggreg_previous_year = aggregate_month_12.
ELSE.
*If the table don't have data the variables get '0000000000000'. *
wa_msgdetails-activity_previous_year = '00000000000000.00'.
wa_msgdetails-average_previous_year = '00000000000000.00'.
wa_msgdetails-aggreg_previous_year = '00000000000000.00'.
AT LAST.
wa_msgdetails-balance_previous_year = '00000000000000.00'.
wa_msgdetails-balance_previous_year = itab_kslvt +
itab_ksl01 +
itab_ksl02 +
itab_ksl03 +
itab_ksl04 +
itab_ksl05 +
itab_ksl06 +
itab_ksl07 +
itab_ksl08 +
itab_ksl09 +
itab_ksl10 +
itab_ksl11 +
itab_ksl12.
ENDAT.
ENDIF.
wa_msgdetails-account = numero_de_cta.
wa_msgdetails-company = company_code.
wa_msgdetails-cost_center = profit_center.
wa_msgdetails-currency_code = currency_code.
wa_msgdetails-account_description = descripcion.
wa_msgdetails-activity_month_01 = itab_ksl01.
wa_msgdetails-average_month_01 = porciento1.
wa_msgdetails-aggreg_month_01 = aggregate_month_01.
wa_msgdetails-activity_month_02 = itab_ksl02.
wa_msgdetails-average_month_02 = porciento2.
wa_msgdetails-aggreg_month_02 = aggregate_month_02.
wa_msgdetails-activity_month_03 = itab_ksl03.
wa_msgdetails-average_month_03 = porciento3.
wa_msgdetails-aggreg_month_03 = aggregate_month_03.
wa_msgdetails-activity_month_04 = itab_ksl04.
wa_msgdetails-average_month_04 = porciento4.
wa_msgdetails-aggreg_month_04 = aggregate_month_04.
wa_msgdetails-activity_month_05 = itab_ksl05.
wa_msgdetails-average_month_05 = porciento5.
wa_msgdetails-aggreg_month_05 = aggregate_month_05.
wa_msgdetails-activity_month_06 = itab_ksl06.
wa_msgdetails-average_month_06 = porciento6.
wa_msgdetails-aggreg_month_06 = aggregate_month_06.
wa_msgdetails-activity_month_07 = itab_ksl07.
wa_msgdetails-average_month_07 = porciento7.
wa_msgdetails-aggreg_month_07 = aggregate_month_07.
wa_msgdetails-activity_month_08 = itab_ksl08.
wa_msgdetails-average_month_08 = porciento8.
wa_msgdetails-aggreg_month_08 = aggregate_month_08.
wa_msgdetails-activity_month_09 = itab_ksl09.
wa_msgdetails-average_month_09 = porciento9.
wa_msgdetails-aggreg_month_09 = aggregate_month_09.
wa_msgdetails-activity_month_10 = itab_ksl10.
wa_msgdetails-average_month_10 = porciento10.
wa_msgdetails-aggreg_month_10 = aggregate_month_10.
wa_msgdetails-activity_month_11 = itab_ksl11.
wa_msgdetails-average_month_11 = porciento11.
wa_msgdetails-aggreg_month_11 = aggregate_month_11.
wa_msgdetails-activity_month_12 = itab_ksl12.
wa_msgdetails-average_month_12 = porciento12.
wa_msgdetails-aggreg_month_12 = aggregate_month_12.
wa_msgdetails-activity_month_13 = itab_ksl13.
wa_msgdetails-average_month_13 = '00000000000000.00'.
wa_msgdetails-aggreg_month_13 = '00000000000000.00'.
wa_msgdetails-balance_month_01 = balance_month_01.
wa_msgdetails-balance_month_02 = balance_month_02.
wa_msgdetails-balance_month_03 = balance_month_03.
wa_msgdetails-balance_month_04 = balance_month_04.
wa_msgdetails-balance_month_05 = balance_month_05.
wa_msgdetails-balance_month_06 = balance_month_06.
wa_msgdetails-balance_month_07 = balance_month_07.
wa_msgdetails-balance_month_08 = balance_month_08.
wa_msgdetails-balance_month_09 = balance_month_09.
wa_msgdetails-balance_month_10 = balance_month_10.
wa_msgdetails-balance_month_11 = balance_month_11.
wa_msgdetails-balance_month_12 = balance_month_12.
wa_msgdetails-balance_month_13 = balance_month_13.
wa_msgdetails-current_balance = current_balance.
wa_msgdetails-current_activity_balance = current_activity_balance.
CLEAR: porciento1, porciento2, porciento3, porciento4, porciento5, porciento6, porciento7, porciento8, porciento9, porciento10, porciento11,
porciento12, average_month.
*se multiplican las siguientes variables que contienen cantidades por -1 cuando el primer numero de la cta. es igual a
* 5, 6, 7, ó 8.
IF numero_de_cta+4(1) = '5' OR numero_de_cta+4(1) = '6' OR numero_de_cta+4(1) = '7' OR numero_de_cta+4(1) = '8'.
IF wa_msgdetails-current_balance IS NOT INITIAL.
wa_msgdetails-current_balance = wa_msgdetails-current_balance * -1.
ENDIF.
IF wa_msgdetails-activity_previous_year IS NOT INITIAL.
wa_msgdetails-activity_previous_year = wa_msgdetails-activity_previous_year * -1.
ENDIF.
IF wa_msgdetails-average_previous_year IS NOT INITIAL.
wa_msgdetails-average_previous_year = wa_msgdetails-average_previous_year * -1.
ENDIF.
IF wa_msgdetails-aggreg_previous_year IS NOT INITIAL.
wa_msgdetails-aggreg_previous_year = wa_msgdetails-aggreg_previous_year * -1.
ENDIF.
IF wa_msgdetails-balance_previous_year IS NOT INITIAL.
wa_msgdetails-balance_previous_year = wa_msgdetails-balance_previous_year * -1.
ENDIF.
IF wa_msgdetails-current_activity_balance IS NOT INITIAL.
wa_msgdetails-current_activity_balance = wa_msgdetails-current_activity_balance * -1.
ENDIF.
IF wa_msgdetails-activity_month_01 IS NOT INITIAL.
wa_msgdetails-activity_month_01 = wa_msgdetails-activity_month_01 * -1.
ENDIF.
IF wa_msgdetails-balance_month_01 IS NOT INITIAL.
wa_msgdetails-balance_month_01 = wa_msgdetails-balance_month_01 * -1.
ENDIF.
IF wa_msgdetails-average_month_01 IS NOT INITIAL.
wa_msgdetails-average_month_01 = wa_msgdetails-average_month_01 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_01 IS NOT INITIAL.
wa_msgdetails-aggreg_month_01 = wa_msgdetails-aggreg_month_01 * -1.
ENDIF.
IF wa_msgdetails-activity_month_02 IS NOT INITIAL.
wa_msgdetails-activity_month_02 = wa_msgdetails-activity_month_02 * -1.
ENDIF.
IF wa_msgdetails-balance_month_02 IS NOT INITIAL.
wa_msgdetails-balance_month_02 = wa_msgdetails-balance_month_02 * -1.
ENDIF.
IF wa_msgdetails-average_month_02 IS NOT INITIAL.
wa_msgdetails-average_month_02 = wa_msgdetails-average_month_02 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_02 IS NOT INITIAL.
wa_msgdetails-aggreg_month_02 = wa_msgdetails-aggreg_month_02 * -1.
ENDIF.
IF wa_msgdetails-activity_month_03 IS NOT INITIAL.
wa_msgdetails-activity_month_03 = wa_msgdetails-activity_month_03 * -1.
ENDIF.
IF wa_msgdetails-balance_month_03 IS NOT INITIAL.
wa_msgdetails-balance_month_03 = wa_msgdetails-balance_month_03 * -1.
ENDIF.
IF wa_msgdetails-average_month_03 IS NOT INITIAL.
wa_msgdetails-average_month_03 = wa_msgdetails-average_month_03 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_03 IS NOT INITIAL.
wa_msgdetails-aggreg_month_03 = wa_msgdetails-aggreg_month_03 * -1.
ENDIF.
IF wa_msgdetails-activity_month_04 IS NOT INITIAL.
wa_msgdetails-activity_month_04 = wa_msgdetails-activity_month_04 * -1.
ENDIF.
IF wa_msgdetails-balance_month_04 IS NOT INITIAL.
wa_msgdetails-balance_month_04 = wa_msgdetails-balance_month_04 * -1.
ENDIF.
IF wa_msgdetails-average_month_04 IS NOT INITIAL.
wa_msgdetails-average_month_04 = wa_msgdetails-average_month_04 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_04 IS NOT INITIAL.
wa_msgdetails-aggreg_month_04 = wa_msgdetails-aggreg_month_04 * -1.
ENDIF.
IF wa_msgdetails-activity_month_05 IS NOT INITIAL.
wa_msgdetails-activity_month_05 = wa_msgdetails-activity_month_05 * -1.
ENDIF.
IF wa_msgdetails-balance_month_05 IS NOT INITIAL.
wa_msgdetails-balance_month_05 = wa_msgdetails-balance_month_05 * -1.
ENDIF.
IF wa_msgdetails-average_month_05 IS NOT INITIAL.
wa_msgdetails-average_month_05 = wa_msgdetails-average_month_05 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_05 IS NOT INITIAL.
wa_msgdetails-aggreg_month_05 = wa_msgdetails-aggreg_month_05 * -1.
ENDIF.
IF wa_msgdetails-activity_month_06 IS NOT INITIAL.
wa_msgdetails-activity_month_06 = wa_msgdetails-activity_month_06 * -1.
ENDIF.
IF wa_msgdetails-balance_month_06 IS NOT INITIAL.
wa_msgdetails-balance_month_06 = wa_msgdetails-balance_month_06 * -1.
ENDIF.
IF wa_msgdetails-average_month_06 IS NOT INITIAL.
wa_msgdetails-average_month_06 = wa_msgdetails-average_month_06 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_06 IS NOT INITIAL.
wa_msgdetails-aggreg_month_06 = wa_msgdetails-aggreg_month_06 * -1.
ENDIF.
IF wa_msgdetails-activity_month_07 IS NOT INITIAL.
wa_msgdetails-activity_month_07 = wa_msgdetails-activity_month_07 * -1.
ENDIF.
IF wa_msgdetails-balance_month_07 IS NOT INITIAL.
wa_msgdetails-balance_month_07 = wa_msgdetails-balance_month_07 * -1.
ENDIF.
IF wa_msgdetails-average_month_07 IS NOT INITIAL.
wa_msgdetails-average_month_07 = wa_msgdetails-average_month_07 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_07 IS NOT INITIAL.
wa_msgdetails-aggreg_month_07 = wa_msgdetails-aggreg_month_07 * -1.
ENDIF.
IF wa_msgdetails-activity_month_08 IS NOT INITIAL.
wa_msgdetails-activity_month_08 = wa_msgdetails-activity_month_08 * -1.
ENDIF.
IF wa_msgdetails-balance_month_08 IS NOT INITIAL.
wa_msgdetails-balance_month_08 = wa_msgdetails-balance_month_08 * -1.
ENDIF.
IF wa_msgdetails-average_month_08 IS NOT INITIAL.
wa_msgdetails-average_month_08 = wa_msgdetails-average_month_08 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_08 IS NOT INITIAL.
wa_msgdetails-aggreg_month_08 = wa_msgdetails-aggreg_month_08 * -1.
ENDIF.
IF wa_msgdetails-activity_month_09 IS NOT INITIAL.
wa_msgdetails-activity_month_09 = wa_msgdetails-activity_month_09 * -1.
ENDIF.
IF wa_msgdetails-balance_month_09 IS NOT INITIAL.
wa_msgdetails-balance_month_09 = wa_msgdetails-balance_month_09 * -1.
ENDIF.
IF wa_msgdetails-average_month_09 IS NOT INITIAL.
wa_msgdetails-average_month_09 = wa_msgdetails-average_month_09 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_09 IS NOT INITIAL.
wa_msgdetails-aggreg_month_09 = wa_msgdetails-aggreg_month_09 * -1.
ENDIF.
IF wa_msgdetails-activity_month_10 IS NOT INITIAL.
wa_msgdetails-activity_month_10 = wa_msgdetails-activity_month_10 * -1.
ENDIF.
IF wa_msgdetails-balance_month_10 IS NOT INITIAL.
wa_msgdetails-balance_month_10 = wa_msgdetails-balance_month_10 * -1.
ENDIF.
IF wa_msgdetails-average_month_10 IS NOT INITIAL.
wa_msgdetails-average_month_10 = wa_msgdetails-average_month_10 * -1.
ENDIF.
IF wa_msgdetails-aggreg_month_10 IS NOT INITIAL.
wa_msgdetails-aggreg_month_10 = wa_msgdetails-aggreg_month_10 * -1.
ENDIF.
IF wa_msgdetails-activity_month_11 IS NOT INITIAL.
wa_msgdetails-activity_month_11 = wa_msgdetails-activity_month_11 * -1.
ENDIF.
IF wa_msgdetails-balance_month_11 IS NOT INITIAL.
wa_msgdetails-balance_month_11 = wa_msgdetails-balance_month_11 * -1.
ENDIF.
IF wa_msgdetails-average_month_11 IS NOT INITIAL.
wa_msgdetails-average_month_11 = wa_msgdetails-average_month_11 *Hi,
Are the month-ends (jan_fin etc) stored in the system? There are many variable declarations and if statements that could probably be eliminated if that is the case. More efficient use of storing those variables in internal tables so that the data is only used when needed.
Warren -
Upgrading from Exchange 2007 SP2 to SP3 stops and fails with Performance Counter
We are upgrading from Exchange 2007 SP2 to SP3.
Exchange Server is on Windows 2008 Enterprise 64 bit OS -SP2
DC is on windows 2008 Enterprise 32 bit OS - SP2
When we run Exchange SP3 setup.exe GUI, it runs through the pre-requisites completely and then starts to configure the Hub Transport services but @ exactly 55% it throws an error window "Exchange Server Setup encountered an error"
On repeating this process i noticed it throws the same error at 55% while "Performance COunter Configuring". Please find below the entries of exchangesetup.log
[2/1/2015 1:09:30 PM] [0] **********************************************
[2/1/2015 1:09:30 PM] [0] Starting Microsoft Exchange 2007 Setup
[2/1/2015 1:09:30 PM] [0] **********************************************
[2/1/2015 1:09:30 PM] [0] Operating System version: Microsoft Windows NT 6.0.6002 Service Pack 2.
[2/1/2015 1:09:30 PM] [0] Setup version: 8.3.83.6.
[2/1/2015 1:09:30 PM] [0] Logged on user: chakfig\Administrator.
[2/1/2015 1:09:30 PM] [0] Command Line Parameter Name='mode', Value='Upgrade'.
[2/1/2015 1:09:30 PM] [0] Command Line Parameter Name='sourcedir', Value='J:\EXSP01\SP3'.
[2/1/2015 1:09:30 PM] [0] Command Line Parameter Name='fromsetup', Value=''.
[2/1/2015 1:09:30 PM] [0] ExSetupUI was started with the following command: '-mode:upgrade -sourcedir:J:\EXSP01\SP3 /FromSetup'.
[2/1/2015 1:09:30 PM] [0] Setup is choosing the domain controller to use
[2/1/2015 1:09:31 PM] [0] Setup is choosing a local domain controller...
[2/1/2015 1:09:35 PM] [0] Setup has chosen the local domain controller PGCDC.chakfig.local for initial queries
[2/1/2015 1:09:35 PM] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use PGCDC.chakfig.local
[2/1/2015 1:09:35 PM] [0] Setup is choosing a global catalog...
[2/1/2015 1:09:35 PM] [0] Setup has chosen the global catalog server PGCDC.chakfig.local.
[2/1/2015 1:09:35 PM] [0] Setup will use the domain controller 'PGCDC.chakfig.local'.
[2/1/2015 1:09:35 PM] [0] Setup will use the global catalog 'PGCDC.chakfig.local'.
[2/1/2015 1:09:35 PM] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 1:09:35 PM] [0] Exchange organization container for the organization is 'CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 1:09:35 PM] [0] Setup will search for an Exchange Server object for the local machine with name 'PGCVMEXG'.
[2/1/2015 1:09:35 PM] [0] Exchange Server object found : 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 1:09:35 PM] [0] The following roles are unpacked: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole
[2/1/2015 1:09:35 PM] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole
[2/1/2015 1:09:35 PM] [0] The local server has some Exchange files installed.
[2/1/2015 1:09:35 PM] [0] Setup will use the path 'J:\EXSP01\SP3' for installing Exchange.
[2/1/2015 1:09:35 PM] [0] Setup will discover the installed roles from server object 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 1:09:35 PM] [0] 'BridgeheadRole' is installed on the server object.
[2/1/2015 1:09:35 PM] [0] 'ClientAccessRole' is installed on the server object.
[2/1/2015 1:09:35 PM] [0] 'MailboxRole' is installed on the server object.
[2/1/2015 1:09:35 PM] [0] The server is cluster type: 'None'.
[2/1/2015 1:09:35 PM] [0] The requested cluster type: 'None'.
[2/1/2015 1:09:35 PM] [0] The installation mode is set to: 'BuildToBuildUpgrade'.
[2/1/2015 1:09:35 PM] [0] An Exchange organization with name 'chakfig' was found in this forest.
[2/1/2015 1:09:35 PM] [0] Active Directory Initialization status : 'True'.
[2/1/2015 1:09:35 PM] [0] Schema Update Required Status : 'False'.
[2/1/2015 1:09:35 PM] [0] Organization Configuration Update Required Status : 'False'.
[2/1/2015 1:09:35 PM] [0] Domain Configuration Update Required Status : 'False'.
[2/1/2015 1:09:35 PM] [0] The locally installed version is 8.3.83.6.
[2/1/2015 1:09:35 PM] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server'.
[2/1/2015 1:09:35 PM] [0] The backup copy of the install path is 'C:\Program Files\Microsoft\Exchange Server'.
[2/1/2015 1:09:35 PM] [0] The backup copy of the previously installed version is '8.2.176.2'.
[2/1/2015 1:09:36 PM] [0] Setup is determining what organization-level operations to perform.
[2/1/2015 1:09:36 PM] [0] Because the value was specified, setup is setting the argument OrganizationName to the value chakfig.
[2/1/2015 1:09:36 PM] [0] The installed .msi file is current for this version of setup.
[2/1/2015 1:09:36 PM] [0] RootDataHandler has 1 DataHandlers
[2/1/2015 1:12:38 PM] [0] End of Setup
[2/1/2015 1:12:38 PM] [0] **********************************************
[2/1/2015 2:17:36 PM] [0] **********************************************
[2/1/2015 2:17:36 PM] [0] Starting Microsoft Exchange 2007 Setup
[2/1/2015 2:17:36 PM] [0] **********************************************
[2/1/2015 2:17:36 PM] [0] Operating System version: Microsoft Windows NT 6.0.6002 Service Pack 2.
[2/1/2015 2:17:36 PM] [0] Setup version: 8.3.83.6.
[2/1/2015 2:17:36 PM] [0] Logged on user: chakfig\Administrator.
[2/1/2015 2:17:37 PM] [0] Command Line Parameter Name='mode', Value='Upgrade'.
[2/1/2015 2:17:37 PM] [0] Command Line Parameter Name='sourcedir', Value='J:\EXSP01\SP3'.
[2/1/2015 2:17:37 PM] [0] Command Line Parameter Name='fromsetup', Value=''.
[2/1/2015 2:17:37 PM] [0] ExSetupUI was started with the following command: '-mode:upgrade -sourcedir:J:\EXSP01\SP3 /FromSetup'.
[2/1/2015 2:17:41 PM] [0] Setup is choosing the domain controller to use
[2/1/2015 2:17:41 PM] [0] Setup is choosing a local domain controller...
[2/1/2015 2:17:43 PM] [0] Setup has chosen the local domain controller PGCDC.chakfig.local for initial queries
[2/1/2015 2:17:43 PM] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use PGCDC.chakfig.local
[2/1/2015 2:17:43 PM] [0] Setup is choosing a global catalog...
[2/1/2015 2:17:43 PM] [0] Setup has chosen the global catalog server PGCDC.chakfig.local.
[2/1/2015 2:17:43 PM] [0] Setup will use the domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:17:43 PM] [0] Setup will use the global catalog 'PGCDC.chakfig.local'.
[2/1/2015 2:17:43 PM] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 2:17:43 PM] [0] Exchange organization container for the organization is 'CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 2:17:43 PM] [0] Setup will search for an Exchange Server object for the local machine with name 'PGCVMEXG'.
[2/1/2015 2:17:43 PM] [0] Exchange Server object found : 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 2:17:43 PM] [0] The following roles are unpacked: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole
[2/1/2015 2:17:43 PM] [0] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole
[2/1/2015 2:17:43 PM] [0] The local server has some Exchange files installed.
[2/1/2015 2:17:43 PM] [0] Setup will use the path 'J:\EXSP01\SP3' for installing Exchange.
[2/1/2015 2:17:43 PM] [0] Setup will discover the installed roles from server object 'CN=PGCVMEXG,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=chakfig,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=chakfig,DC=local'.
[2/1/2015 2:17:43 PM] [0] 'BridgeheadRole' is installed on the server object.
[2/1/2015 2:17:43 PM] [0] 'ClientAccessRole' is installed on the server object.
[2/1/2015 2:17:43 PM] [0] 'MailboxRole' is installed on the server object.
[2/1/2015 2:17:43 PM] [0] The server is cluster type: 'None'.
[2/1/2015 2:17:43 PM] [0] The requested cluster type: 'None'.
[2/1/2015 2:17:43 PM] [0] The installation mode is set to: 'BuildToBuildUpgrade'.
[2/1/2015 2:17:43 PM] [0] An Exchange organization with name 'chakfig' was found in this forest.
[2/1/2015 2:17:43 PM] [0] Active Directory Initialization status : 'True'.
[2/1/2015 2:17:43 PM] [0] Schema Update Required Status : 'False'.
[2/1/2015 2:17:43 PM] [0] Organization Configuration Update Required Status : 'False'.
[2/1/2015 2:17:43 PM] [0] Domain Configuration Update Required Status : 'False'.
[2/1/2015 2:17:43 PM] [0] The locally installed version is 8.3.83.6.
[2/1/2015 2:17:43 PM] [0] Exchange Installation Directory : 'C:\Program Files\Microsoft\Exchange Server'.
[2/1/2015 2:17:43 PM] [0] The backup copy of the install path is 'C:\Program Files\Microsoft\Exchange Server'.
[2/1/2015 2:17:43 PM] [0] The backup copy of the previously installed version is '8.2.176.2'.
[2/1/2015 2:17:43 PM] [0] Setup is determining what organization-level operations to perform.
[2/1/2015 2:17:43 PM] [0] Because the value was specified, setup is setting the argument OrganizationName to the value chakfig.
[2/1/2015 2:17:43 PM] [0] The installed .msi file is current for this version of setup.
[2/1/2015 2:17:43 PM] [0] RootDataHandler has 1 DataHandlers
[2/1/2015 2:17:47 PM] [0] Validating options for the 4 requested roles
[2/1/2015 2:17:47 PM] [0] UpgradeModeDataHandler has 5 handlers and 5 work units
[2/1/2015 2:17:52 PM] [0] Validating options for the 4 requested roles
[2/1/2015 2:17:52 PM] [0] UpgradeModeDataHandler has 5 handlers and 5 work units
[2/1/2015 2:17:53 PM] [0] **************
[2/1/2015 2:17:53 PM] [0] Setup will run the task 'test-setuphealth'
[2/1/2015 2:17:53 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $true -ExchangeVersion '8.3.83.6' -Roles 'Bridgehead' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
-TargetDir 'C:\Program Files\Microsoft\Exchange Server''
[2/1/2015 2:17:53 PM] [1] Beginning processing.
[2/1/2015 2:18:19 PM] [1] Beginning processing.
[2/1/2015 2:18:19 PM] [1] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
[2/1/2015 2:18:19 PM] [1] Searching objects "PGCVMEXG" of type "Server" under the root "$null".
[2/1/2015 2:18:19 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:18:19 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:18:19 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
[2/1/2015 2:18:20 PM] [1] Ending processing.
[2/1/2015 2:18:20 PM] [1] Beginning processing.
[2/1/2015 2:18:20 PM] [1] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
[2/1/2015 2:18:20 PM] [1] Searching objects of type "SmtpSendConnectorConfig" with filter "$null", scope "SubTree" under the root "Administrative Groups".
[2/1/2015 2:18:20 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:18:20 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
[2/1/2015 2:18:20 PM] [1] Ending processing.
[2/1/2015 2:18:20 PM] [1] Ending processing.
[2/1/2015 2:18:20 PM] [0] **************
[2/1/2015 2:18:20 PM] [0] Setup will run the task 'test-setuphealth'
[2/1/2015 2:18:20 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $false -ExchangeVersion '8.3.83.6' -Roles 'ClientAccess' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
-TargetDir 'C:\Program Files\Microsoft\Exchange Server' -IISInstalled $true'
[2/1/2015 2:18:20 PM] [1] Beginning processing.
[2/1/2015 2:18:26 PM] [1] Beginning processing.
[2/1/2015 2:18:26 PM] [1] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
[2/1/2015 2:18:55 PM] [1] Searching objects of type "SmtpSendConnectorConfig" with filter "$null", scope "SubTree" under the root "Administrative Groups".
[2/1/2015 2:18:55 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:18:55 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
[2/1/2015 2:18:55 PM] [1] Ending processing.
[2/1/2015 2:18:55 PM] [1] Ending processing.
[2/1/2015 2:18:55 PM] [0] **************
[2/1/2015 2:18:55 PM] [0] Setup will run the task 'test-setuphealth'
[2/1/2015 2:18:55 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $false -ExchangeVersion '8.3.83.6' -Roles 'ClientAccess' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
-TargetDir 'C:\Program Files\Microsoft\Exchange Server' -IISInstalled $true'
[2/1/2015 2:18:55 PM] [1] Beginning processing.
[2/1/2015 2:19:01 PM] [1] Beginning processing.
[2/1/2015 2:19:01 PM] [1] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
[2/1/2015 2:19:01 PM] [1] Searching objects "PGCVMEXG" of type "Server" under the root "$null".
[2/1/2015 2:19:01 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:19:01 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:19:01 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
[2/1/2015 2:19:01 PM] [1] Ending processing.
[2/1/2015 2:19:01 PM] [1] Ending processing.
[2/1/2015 2:19:01 PM] [0] **************
[2/1/2015 2:19:01 PM] [0] Setup will run the task 'test-setuphealth'
[2/1/2015 2:19:01 PM] [1] Setup launched task 'test-setuphealth -DomainController 'PGCDC.chakfig.local' -DownloadConfigurationUpdates $false -ExchangeVersion '8.3.83.6' -Roles 'Mailbox' -ScanType 'PrecheckUpgrade' -SetupRoles 'Bridgehead','ClientAccess','Mailbox','AdminTools'
-TargetDir 'C:\Program Files\Microsoft\Exchange Server' -IISInstalled $true'
[2/1/2015 2:19:01 PM] [1] Beginning processing.
[2/1/2015 2:19:04 PM] [1] Beginning processing.
[2/1/2015 2:19:04 PM] [1] Ending processing.
[2/1/2015 2:19:07 PM] [1] Beginning processing.
[2/1/2015 2:19:07 PM] [1] Administrator Active Directory session settings are: View Entire Forest: 'True', Configuration Domain Controller: 'PGCDC.chakfig.local', Preferred Global Catalog: 'PGCDC.chakfig.local', Preferred Domain Controllers: '{ PGCDC.chakfig.local
[2/1/2015 2:19:07 PM] [1] Searching objects "PGCVMEXG" of type "Server" under the root "$null".
[2/1/2015 2:19:07 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:19:07 PM] [1] Previous operation run on domain controller 'PGCDC.chakfig.local'.
[2/1/2015 2:19:07 PM] [1] Preparing to output objects. Maximum result set size "unlimited".
[2/1/2015 2:19:07 PM] [1] Ending processing.
[2/1/2015 2:19:08 PM] [1] Ending processing.
[2/1/2015 2:19:20 PM] [0] Setup is determining what organization-level operations to perform.
[2/1/2015 2:19:20 PM] [0] Because the value was specified, setup is setting the argument OrganizationName to the value chakfig.
[2/1/2015 2:19:20 PM] [0] The installed .msi file is current for this version of setup.
[2/1/2015 2:19:20 PM] [0] RootDataHandler has 1 DataHandlers
[2/1/2015 2:19:20 PM] [0] **************
[2/1/2015 2:19:20 PM] [0] Setup will run the task 'Install-BridgeheadRole'
[2/1/2015 2:19:20 PM] [1] Setup launched task 'Install-BridgeheadRole -DomainController 'PGCDC.chakfig.local' -UpdatesDir 'J:\EXSP01\SP3\Updates''
[2/1/2015 2:19:20 PM] [1] Beginning processing.
[2/1/2015 2:19:20 PM] [1] Attempting Install for BridgeheadRole.
[2/1/2015 2:19:20 PM] [1] The following roles are current:
[2/1/2015 2:19:26 PM] [1] Reading components for role 'BridgeheadRole' from 'res://BridgeheadRoleDefinition.xml'
[2/1/2015 2:19:26 PM] [1] Found 22 components
[2/1/2015 2:19:26 PM] [1] Loaded component 'All Roles Common First - Run Once' with 10 task info blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
[2/1/2015 2:19:26 PM] [1] Loaded component 'All Roles Common First' with 8 task info blocks from 'res://AllRolesCommonFirst.xml'
[2/1/2015 2:19:27 PM] [1] Loaded component 'All Roles Precompile Management Binaries' with 30 task info blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
[2/1/2015 2:19:27 PM] [1] Loaded component 'Bridgehead Permissions Configuration' with 1 task info blocks from 'res://BridgeheadLocalPermissionsComponent.xml'
[2/1/2015 2:19:27 PM] [1] Loaded component 'Common Perf Counters ' with 2 task info blocks from 'res://CommonPerfCountersComponent.xml'
[2/1/2015 2:19:27 PM] [1] Loaded component 'Provision Server' with 9 task info blocks from 'res://ProvisionServerComponent.xml'
[2/1/2015 2:19:28 PM] [1] Loaded component 'All Active-Directory Roles Common' with 14 task info blocks from 'res://AllADRolesCommon.xml'
[2/1/2015 2:19:28 PM] [1] Loaded component 'Exchange 2003 Pseudo-MTA Configuration' with 1 task info blocks from 'res://LegacyMTAComponent.xml'
[2/1/2015 2:19:28 PM] [1] Loaded component 'Exchange 2003 SMTP VSI Configuration' with 1 task info blocks from 'res://LegacySMTPComponent.xml'
[2/1/2015 2:19:29 PM] [1] Loaded component 'Transport Perf Counters' with 21 task info blocks from 'res://TransportPerfCountersComponent.xml'
[2/1/2015 2:19:29 PM] [1] Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task info blocks from 'res://RpcEpmapFirewallException.xml'
[2/1/2015 2:19:29 PM] [1] Loaded component 'Bridgehead Role Setter' with 1 task info blocks from 'res://BridgeheadRoleSetterComponent.xml'
[2/1/2015 2:19:29 PM] [1] Loaded component 'Transport Common Configuration' with 22 task info blocks from 'res://TransportCommonComponent.xml'
[2/1/2015 2:19:30 PM] [1] Loaded component 'Bridgehead Perf Counters' with 8 task info blocks from 'res://BridgeheadPerfCountersComponent.xml'
[2/1/2015 2:19:30 PM] [1] Loaded component 'Bridgehead Configuration' with 18 task info blocks from 'res://BridgeheadComponent.xml'
[2/1/2015 2:19:30 PM] [1] Loaded component 'Transport Log Search Service' with 1 task info blocks from 'res://TransportLogSearchServiceComponent.xml'
[2/1/2015 2:19:31 PM] [1] Loaded component 'Data Storage Configuration' with 1 task info blocks from 'res://DataStorageComponent.xml'
[2/1/2015 2:19:31 PM] [1] Loaded component 'Monitoring Service Configuration' with 5 task info blocks from 'res://MonitoringComponent.xml'
[2/1/2015 2:19:31 PM] [1] Loaded component 'Active Directory Topology Service Configuration' with 2 task info blocks from 'res://AllADRolesCommonServiceControl.xml'
[2/1/2015 2:19:31 PM] [1] Loaded component 'Bridgehead Service Configuration' with 3 task info blocks from 'res://BridgeheadServiceControl.xml'
[2/1/2015 2:19:32 PM] [1] Loaded component 'Transport Common Service Control' with 1 task info blocks from 'res://TransportCommonServiceControl.xml'
[2/1/2015 2:19:32 PM] [1] Loaded component 'All Roles Common Last' with 4 task info blocks from 'res://AllRolesCommonLast.xml'
[2/1/2015 2:19:32 PM] [1] The following roles are installed: BridgeheadRole ClientAccessRole MailboxRole AdminToolsRole
[2/1/2015 2:19:32 PM] [1] Writing informational script to 'C:\ExchangeSetupLogs\Install-BridgeheadRole-20150201-1419320497.ps1'
[2/1/2015 2:19:32 PM] [1] Executing '$RoleIsClusterNode = $False', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClusterNode = $False'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleRoles = "BridgeheadRole,ClientAccessRole,MailboxRole,AdminToolsRole"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleRoles = "BridgeheadRole,ClientAccessRole,MailboxRole,AdminToolsRole"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleIsAdminToolsRoleInstalled = $True', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsAdminToolsRoleInstalled = $True'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleNetBIOSName = "pgcvmexg"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleNetBIOSName = "pgcvmexg"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleInvocationID = "20150201-1419320497"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleInvocationID = "20150201-1419320497"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleInstallPath = "C:\Program Files\Microsoft\Exchange Server\"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleInstallPath = "C:\Program Files\Microsoft\Exchange Server\"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleStartTransportService = $True', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleStartTransportService = $True'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleLoggedOnUser = "chakfig\Administrator"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggedOnUser = "chakfig\Administrator"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleInstallationMode = "BuildToBuildUpgrade"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleInstallationMode = "BuildToBuildUpgrade"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RolePreviousVersion = "8.2.176.2"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RolePreviousVersion = "8.2.176.2"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleIsMailboxRoleInstalled = $True', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsMailboxRoleInstalled = $True'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleBinPath = "C:\Program Files\Microsoft\Exchange Server\Bin"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleBinPath = "C:\Program Files\Microsoft\Exchange Server\Bin"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleSetupLoggingPath = "C:\ExchangeSetupLogs"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleSetupLoggingPath = "C:\ExchangeSetupLogs"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleFqdnOrName = "pgcvmexg"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleFqdnOrName = "pgcvmexg"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleTargetVersion = "8.3.83.6"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleTargetVersion = "8.3.83.6"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleUpdatesDir = "J:\EXSP01\SP3\Updates"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleUpdatesDir = "J:\EXSP01\SP3\Updates"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleIsClientAccessRoleInstalled = $True', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClientAccessRoleInstalled = $True'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleRoleName = "BridgeheadRole"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleRoleName = "BridgeheadRole"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleDomainController = "PGCDC.chakfig.local"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleDomainController = "PGCDC.chakfig.local"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleProductPlatform = "amd64"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleProductPlatform = "amd64"'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleIsBridgeheadRoleInstalled = $True', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleIsBridgeheadRoleInstalled = $True'.
[2/1/2015 2:19:32 PM] [1] Executing '$RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"'.
[2/1/2015 2:19:32 PM] [1] Found 136 tasks to execute
[2/1/2015 2:19:32 PM] [1] Processing component 'All Roles Common First - Run Once' (Configuring the server.).
[2/1/2015 2:19:32 PM] [1] Executing 'if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName = 'Installdw20shared.msilog';
} install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
LOGVERBOSE=1");', handleError = False
[2/1/2015 2:19:32 PM] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName
= 'Installdw20shared.msilog'; } install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
LOGVERBOSE=1");'.
[2/1/2015 2:19:32 PM] [2] Beginning processing.
[2/1/2015 2:19:33 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
[2/1/2015 2:19:33 PM] [2] PackagePath was set to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'; normalizing to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
[2/1/2015 2:19:33 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
[2/1/2015 2:19:33 PM] [2] Installing MSI package 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007.xml, Xml Node Name = _locDefinition
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge.xml, Xml Node Name = _locDefinition
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007_WinSrv2008.xml, Xml Node Name = _locDefinition
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError
= False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge_WinSrv2008.xml, Xml Node Name = _locDefinition
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:34 PM] [1] Executing 'Set-WERRegistryMarkers;', handleError = False
[2/1/2015 2:19:34 PM] [2] Launching sub-task '$error.Clear(); Set-WERRegistryMarkers;'.
[2/1/2015 2:19:34 PM] [2] Beginning processing.
[2/1/2015 2:19:34 PM] [2] Ending processing.
[2/1/2015 2:19:35 PM] [1] Processing component 'All Roles Common First' (Creating the Exchange server configuration in the Active Directory).
[2/1/2015 2:19:35 PM] [1] Executing '$RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames', handleError = False
[2/1/2015 2:19:35 PM] [2] Launching sub-task '$error.Clear(); $RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames'.
[2/1/2015 2:19:35 PM] [1] Executing 'Set-LocalPermissions', handleError = False
[2/1/2015 2:19:35 PM] [2] Launching sub-task '$error.Clear(); Set-LocalPermissions'.
[2/1/2015 2:19:35 PM] [2] Beginning processing.
[2/1/2015 2:19:49 PM] [2] Ending processing.
[2/1/2015 2:19:49 PM] [1] Executing 'get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true', handleError = False
[2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true'.
[2/1/2015 2:19:49 PM] [1] Executing 'get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true', handleError = False
[2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true'.
[2/1/2015 2:19:49 PM] [1] Executing 'get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true', handleError = False
[2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true'.
[2/1/2015 2:19:49 PM] [1] Executing '$mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile -MofFilePath:$mflFilePath;',
handleError = True
[2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); $mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile
-MofFilePath:$mflFilePath;'.
[2/1/2015 2:19:49 PM] [2] Beginning processing.
[2/1/2015 2:19:49 PM] [2] Exchange tracing provider was installed successfully.
[2/1/2015 2:19:49 PM] [2] Ending processing.
[2/1/2015 2:19:49 PM] [2] Beginning processing.
[2/1/2015 2:19:49 PM] [2] Exchange tracing provider was installed successfully.
[2/1/2015 2:19:49 PM] [2] Ending processing.
[2/1/2015 2:19:49 PM] [1] Processing component 'All Roles Precompile Management Binaries' (Pre-compiling management binaries.).
[2/1/2015 2:19:49 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/1/2015 2:19:49 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/1/2015 2:19:49 PM] [2] Beginning processing.
[2/1/2015 2:19:49 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll" /verbose
[2/1/2015 2:19:50 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll
All compilation targets are up to date.
[2/1/2015 2:19:50 PM] [2] Process standard error:
[2/1/2015 2:19:50 PM] [2] Ending processing.
[2/1/2015 2:19:50 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/1/2015 2:19:50 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/1/2015 2:19:50 PM] [2] Beginning processing.
[2/1/2015 2:19:50 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll" /verbose
[2/1/2015 2:19:50 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll
All compilation targets are up to date.
[2/1/2015 2:19:50 PM] [2] Process standard error:
[2/1/2015 2:19:50 PM] [2] Ending processing.
[2/1/2015 2:19:50 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/1/2015 2:19:50 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/1/2015 2:19:50 PM] [2] Beginning processing.
[2/1/2015 2:19:50 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll" /verbose
[2/1/2015 2:19:51 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll
All compilation targets are up to date.
[2/1/2015 2:19:51 PM] [2] Process standard error:
[2/1/2015 2:19:51 PM] [2] Ending processing
[2/1/2015 2:20:07 PM] [2] Process standard error:
[2/1/2015 2:20:07 PM] [2] Ending processing.
[2/1/2015 2:20:07 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.PowerShell.configuration.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/1/2015 2:20:07 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.PowerShell.configuration.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/1/2015 2:20:07 PM] [2] Beginning processing.
[2/1/2015 2:20:07 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.PowerShell.configuration.dll" /verbose
[2/1/2015 2:20:10 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.PowerShell.configuration.dll
All compilation targets are up to date.
[2/1/2015 2:20:10 PM] [2] Process standard error:
[2/1/2015 2:20:10 PM] [2] Ending processing.
[2/1/2015 2:20:10 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Management.SnapIn.Esm.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/1/2015 2:20:10 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Management.SnapIn.Esm.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/1/2015 2:20:10 PM] [2] Beginning processing.
[2/1/2015 2:20:10 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Management.SnapIn.Esm.dll" /verbose
[2/1/2015 2:20:12 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Management.SnapIn.Esm.dll
All compilation targets are up to date.
[2/1/2015 2:20:12 PM] [2] Process standard error:
[2/1/2015 2:20:12 PM] [2] Ending processing.
[2/1/2015 2:20:12 PM] [1] Processing component 'Bridgehead Permissions Configuration' (Setting folder and registry permissions).
[2/1/2015 2:20:12 PM] [1] Executing 'Set-LocalPermissions -Feature:"Bridgehead"', handleError = False
[2/1/2015 2:20:12 PM] [2] Launching sub-task '$error.Clear(); Set-LocalPermissions -Feature:"Bridgehead"'.
[2/1/2015 2:20:12 PM] [2] Beginning processing.
[2/1/2015 2:20:12 PM] [2] Ending processing.
[2/1/2015 2:20:12 PM] [1] Processing component 'Common Perf Counters ' (Configuring performance counters).
[2/1/2015 2:20:12 PM] [1] Executing 'new-perfcounters -DefinitionFileName ExchangeTopologyPerformanceCounters.xml', handleError = True
[2/1/2015 2:20:12 PM] [2] Launching sub-task '$error.Clear(); new-perfcounters -DefinitionFileName ExchangeTopologyPerformanceCounters.xml'.
[2/1/2015 2:20:12 PM] [2] Beginning processing.
[2/1/2015 2:20:12 PM] [2] Processing file: C:\Program Files\Microsoft\Exchange Server\Setup\Perf\ExchangeTopologyPerformanceCounters.xml
[2/1/2015 2:20:12 PM] [2] Performance counter name is Latest Exchange Topology Discovery Time in Seconds, type is NumberOfItems32.
[2/1/2015 2:20:12 PM] [2] Performance counter name is Number of Exchange Topology Discoveries, type is NumberOfItems32.
[2/1/2015 2:20:12 PM] [2] Performance counter name is Number of Siteless Servers, type is NumberOfItems32.
Appreciate if someone can help us move forward in this scenario.
We have
1. disabled anti virus and tried.
2. removed watermarks and action entries in the registry
3. tried almost everything mentioned on google but i am not able to move forward.
Please help. we need this as part of our migration to Exchange 2013 for co-existence.
Thank you.
PhilipExchangeSetup.log (part 3)
[2/2/2015 8:06:45 PM] [1] Executing '$RoleSetupLoggingPath = "C:\ExchangeSetupLogs"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleSetupLoggingPath = "C:\ExchangeSetupLogs"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleFqdnOrName = "pgcvmexg"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleFqdnOrName = "pgcvmexg"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleTargetVersion = "8.3.83.6"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleTargetVersion = "8.3.83.6"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleUpdatesDir = "C:\SP3\Updates"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleUpdatesDir = "C:\SP3\Updates"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleIsClientAccessRoleInstalled = $True', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleIsClientAccessRoleInstalled = $True'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleRoleName = "BridgeheadRole"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleRoleName = "BridgeheadRole"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleDomainController = "PGCDC.platcorp.local"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleDomainController = "PGCDC.platcorp.local"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleProductPlatform = "amd64"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleProductPlatform = "amd64"'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleIsBridgeheadRoleInstalled = $True', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleIsBridgeheadRoleInstalled = $True'.
[2/2/2015 8:06:45 PM] [1] Executing '$RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); $RoleLoggingPath = "C:\Program Files\Microsoft\Exchange Server\Logging"'.
[2/2/2015 8:06:45 PM] [1] Found 136 tasks to execute
[2/2/2015 8:06:45 PM] [1] Processing component 'All Roles Common First - Run Once' (Configuring the server.).
[2/2/2015 8:06:45 PM] [1] Executing 'if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName = 'Installdw20shared.msilog';
} install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
LOGVERBOSE=1");', handleError = False
[2/2/2015 8:06:45 PM] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -eq "amd64") { $watsonMSI = 'dw20sharedamd64.msi'; $watsonMSILogFileName = 'Installdw20sharedamd64.msilog'; } else { $watsonMSI = 'dw20shared.msi'; $watsonMSILogFileName
= 'Installdw20shared.msilog'; } install-MsiPackage -PackagePath ($RoleInstallPath + "bin\$watsonMSI") -LogFile ($RoleSetupLoggingPath + "\$watsonMSILogFileName") -UpdatesDir $RoleUpdatesDir -PropertyValues ("APPGUID=`"{24B2C164-DE66-44fe-B468-A46D9D5E6B31}`"
LOGVERBOSE=1");'.
[2/2/2015 8:06:45 PM] [2] Beginning processing.
[2/2/2015 8:06:45 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
[2/2/2015 8:06:45 PM] [2] PackagePath was set to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'; normalizing to 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
[2/2/2015 8:06:45 PM] [2] ProductCode is '95120000-00b9-0409-1000-0000000ff1ce'.
[2/2/2015 8:06:45 PM] [2] Installing MSI package 'C:\Program Files\Microsoft\Exchange Server\bin\dw20sharedamd64.msi'.
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007.xml, Xml Node Name = _locDefinition
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge.xml, Xml Node Name = _locDefinition
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007_WinSrv2008.xml, Xml Node Name = _locDefinition
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";', handleError
= False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-InstallPathInAppConfig -ConfigFileRelativePath "Scripts\" -ConfigFileName "Exchange2007Edge_WinSrv2008.xml" -ReplacementString "%ProgramFiles%\Microsoft\Exchange Server\";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Remove-XmlNode -XmlFileRelativePath "Scripts\" -XmlFileName "Exchange2007Edge_WinSrv2008.xml" -XmlNodeNameToRemove "_locDefinition";'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] ExchangeInstallPath = C:\Program Files\Microsoft\Exchange Server\, Relative Path = Scripts\, Xml Full File Path = C:\Program Files\Microsoft\Exchange Server\Scripts\Exchange2007Edge_WinSrv2008.xml, Xml Node Name = _locDefinition
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Executing 'Set-WERRegistryMarkers;', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-WERRegistryMarkers;'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:06:47 PM] [2] Ending processing.
[2/2/2015 8:06:47 PM] [1] Processing component 'All Roles Common First' (Creating the Exchange server configuration in the Active Directory).
[2/2/2015 8:06:47 PM] [1] Executing '$RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); $RoleNames = $RoleRoles.Replace('Role','').Split(','); .\ServiceControl.ps1 EnableServices $RoleNames'.
[2/2/2015 8:06:47 PM] [1] Executing 'Set-LocalPermissions', handleError = False
[2/2/2015 8:06:47 PM] [2] Launching sub-task '$error.Clear(); Set-LocalPermissions'.
[2/2/2015 8:06:47 PM] [2] Beginning processing.
[2/2/2015 8:07:00 PM] [2] Ending processing.
[2/2/2015 8:07:00 PM] [1] Executing 'get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true', handleError = False
[2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "HealthService" } | stop-service -Force:$true'.
[2/2/2015 8:07:00 PM] [1] Executing 'get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true', handleError = False
[2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "MOM" } | stop-service -Force:$true'.
[2/2/2015 8:07:00 PM] [1] Executing 'get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true', handleError = False
[2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); get-service | where { $_.Name -ieq "OnePoint" } | stop-service -Force:$true'.
[2/2/2015 8:07:00 PM] [1] Executing '$mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile -MofFilePath:$mflFilePath;',
handleError = True
[2/2/2015 8:07:00 PM] [2] Launching sub-task '$error.Clear(); $mofFilePath = ($RoleInstallPath + "bin\Exchange.MOF"); $mflFilePath = ($RoleInstallPath + "bin\Exchange.MFL"); compile-moffile -MofFilePath:$mofFilePath; compile-moffile
-MofFilePath:$mflFilePath;'.
[2/2/2015 8:07:00 PM] [2] Beginning processing.
[2/2/2015 8:07:01 PM] [2] Exchange tracing provider was installed successfully.
[2/2/2015 8:07:01 PM] [2] Ending processing.
[2/2/2015 8:07:01 PM] [2] Beginning processing.
[2/2/2015 8:07:01 PM] [2] Exchange tracing provider was installed successfully.
[2/2/2015 8:07:01 PM] [2] Ending processing.
[2/2/2015 8:07:01 PM] [1] Processing component 'All Roles Precompile Management Binaries' (Pre-compiling management binaries.).
[2/2/2015 8:07:01 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/2/2015 8:07:01 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Rpc.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/2/2015 8:07:01 PM] [2] Beginning processing.
[2/2/2015 8:07:01 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll" /verbose
[2/2/2015 8:07:02 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Rpc.dll
All compilation targets are up to date.
[2/2/2015 8:07:02 PM] [2] Process standard error:
[2/2/2015 8:07:02 PM] [2] Ending processing.
[2/2/2015 8:07:02 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/2/2015 8:07:02 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\microsoft.Exchange.Common.IL.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/2/2015 8:07:02 PM] [2] Beginning processing.
[2/2/2015 8:07:02 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll" /verbose
[2/2/2015 8:07:02 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\microsoft.Exchange.Common.IL.dll
All compilation targets are up to date.
[2/2/2015 8:07:02 PM] [2] Process standard error:
[2/2/2015 8:07:02 PM] [2] Ending processing.
[2/2/2015 8:07:02 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/2/2015 8:07:02 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Diagnostics.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/2/2015 8:07:02 PM] [2] Beginning processing.
[2/2/2015 8:07:02 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll" /verbose
[2/2/2015 8:07:02 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Diagnostics.dll
All compilation targets are up to date.
[2/2/2015 8:07:02 PM] [2] Process standard error:
[2/2/2015 8:07:02 PM] [2] Ending processing.
[2/2/2015 8:07:02 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Common.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/2/2015 8:07:02 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Common.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/2/2015 8:07:02 PM] [2] Beginning processing.
[2/2/2015 8:07:02 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Common.dll" /verbose
[2/2/2015 8:07:03 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Common.dll
All compilation targets are up to date.
[2/2/2015 8:07:03 PM] [2] Process standard error:
[2/2/2015 8:07:03 PM] [2] Ending processing.
[2/2/2015 8:07:03 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Core.Strings.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/2/2015 8:07:03 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Core.Strings.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/2/2015 8:07:03 PM] [2] Beginning processing.
[2/2/2015 8:07:03 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Core.Strings.dll" /verbose
[2/2/2015 8:07:03 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Core.Strings.dll
All compilation targets are up to date.
[2/2/2015 8:07:03 PM] [2] Process standard error:
[2/2/2015 8:07:03 PM] [2] Ending processing.
[2/2/2015 8:07:03 PM] [1] Executing '$fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Net.dll"); precompile-ManagedBinary -BinaryName $fullPath;', handleError = False
[2/2/2015 8:07:03 PM] [2] Launching sub-task '$error.Clear(); $fullPath = [System.IO.Path]::Combine($RoleInstallPath, "bin\Microsoft.Exchange.Net.dll"); precompile-ManagedBinary -BinaryName $fullPath;'.
[2/2/2015 8:07:03 PM] [2] Beginning processing.
[2/2/2015 8:07:03 PM] [2] Starting: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen.exe arguments: install "C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Net.dll" /verbose
[2/2/2015 8:07:04 PM] [2] Process standard output: Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4252
Copyright (c) Microsoft Corporation. All rights reserved.
Installing assembly C:\Program Files\Microsoft\Exchange Server\bin\Microsoft.Exchange.Net.dll
All compilation targets are up to date.
Maybe you are looking for
-
Any suggestions on how to print this document?
-
Hello, I've bought a Sitecom WL-608 and it does not work as it should. It seems to be recognized by Arch: (I have to mention before that, "eth0" is a build-in interface, the stick will be used on another computer but since I have no internet there I
-
Lync mobile app will not launch after upgrade to lollipop on HTC One (M8)
Lync mobile app will not launch after upgrade to lollipop on HTC One (M8). Is this a known issue or is a fix available?
-
[svn:osmf:] 10447: Add more unit tests for VAST validation.
Revision: 10447 Author: [email protected] Date: 2009-09-20 19:59:57 -0700 (Sun, 20 Sep 2009) Log Message: Add more unit tests for VAST validation. Modified Paths: osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as osmf/t
-
Received error message 213:11 upon installation of CS5.1 upgrade from CS2 in Windows 7, unable to change SLStore to read only as administrator as suggested elsewhere. SLSstore reverts to read-only after changing, applying and clicking OK. Same proble