Friday, November 6, 2015

SAP BW Production Support Issues

1. DTP Failure

Select the step-> right click and select “Display Message”-> there we will get the message which gives the reason for ABEND.

A DTP can failure due to following reasons, in such case we can go for restarting the job.
·         System Exception Error
·         Request Locked
·         ABAP Run time error.
·         Duplicate records
·         Erroneous Records from PSA.
Duplicate records:
            In case of duplication in the records, we can find it in the error message along with the Info Provider’s name. Before restarting the job after deleting the bad DTP request, we have to handle the duplicate records. Go to the info provider -> DTP step -> Update tab -> check handle duplicate records -> activate -> Execute DTP. After successful competition of the job uncheck the Handle Duplicate records option and activate.

DTP Log Run:

·         If a DTP is taking log time than the regular run time without having the back ground job, then we have to turn the status of the DTP into Red and then delete the DTP bad request (If any), repeat the step or restart the job.

·         Before restarting the Job/ repeating the DTP step, make sure about the reason for failure.
·         If the failure is due to “Space Issue” in the F fact table, engage the DBA team and also BASIS team and explain them the issue. Table size needs to be increased before performing any action in BW. It’ll be done by DBA Team. After increasing the space in the F fact table we can restart the job.
  
  
Erroneous Records from PSA:
  
     When ever a DTP fails because of erroneous records while fetching the data from PSA to Data Target, in such cases data needs to be changed in the ECC. If it is not possible, then after getting the approval from the business, we can edit the Erroneous records in PSA and then we have to run the DTP.

Go to PSA -> select request -> select error records -> edit the records and save.
Then run the DTP.
  
2.      INFO PACKAGE FAILURE:
  
The following are the reasons for Info Pack failure.
·         Source System Connection failure
·         tRFC/IDOC failure
·         Communication Issues
·         Processing the IDOC Manually in BI

·         Check the source system connection with the help of SAP BASIS, if it is not fine ask them to rebuild the connection. After that restart the job (Info Pack).
Go to RSA1 -> select source system -> System -> Connection check.

·         In case of any failed tRFC’s/IDOC’s, the error message will be like “Error in writing the partition number DP2” or “Caller 01, 02 errors”. In such case reprocess the tRFC/IDOC with the help of SAP BASIS, and then job will finish successfully.
   
·         If the data is loading from the source system to DSO directly, then delete the bad request in the PSA table, then restart the job

·         Info Pack Long Run: If an info pack is running long, then check whether the job is finished at source system or not. If it is finished, then check whether any tRFC/IDOC struck/Failed with the help of SAP BASIS. Even after reprocessing the tRFC, if the job is in yellow status then turn the status into “Red”. Now restart / repeat the step. After completion of the job force complete.

·         Before turning the status to Red/Green, make sure whether the load is of Full/Delta and also the time stamp is properly verified.

·         Time Stamp Verification:

Select Info Package-> Process Monitor -> Header -> Select Request -> Go to source System (Header->Source System) -> Sm37-> give the request and check the status of the request in the source system -> If it is in active, then we have to check whether there any struck/failed tRFC’s/IDOC’s
If the request is in Cancelled status in Source system -> Check the Info Pack status in BW system -> If IP status is also in failed state/cancelled state -> Check the data load type (FULL or DELTA) -> if the status is full then we can turn the Info Package status red and then we can repeat/restart the Info package/job. -> If the load is of Delta type then we have to go RSA7 in source system-> (Compare the last updated time in Source System SM37 back ground job)) Check the time stamp -> If the time stamp in RSA7 is matching then turn the Info Package status to Red -> Restart the job. It’ll fetch the data in the next iteration
If the time stamp is not updated in RSA7 -> Turn the status into Green -> Restart the job. It’ll fetch the data in the next iteration.

Source System
BW System
Source System RSA7
Source System SM37
Action
I/P Status RED(Cancelled)
I/P Status (Active)
Time stamp matching with SM37 last updated time
Time stamp matching with RSA7 time stamp
Turn the I/P Status into Red and Restart the Job
I/P Status RED(Cancelled)
I/P Status (Cancelled)
Time stamp matching with SM37 last updated time
Time stamp matching with RSA7 time stamp
Turn the I/P Status into Red and Restart the Job
I/P Status RED(Cancelled)
I/P Status (Active)
Time stamp is not  matching with SM37 last updated time
Time stamp is not matching with RSA7 time stamp
Turn the I/P status into Green and Restart the job
I/P Status RED(Cancelled)
I/P Status (Cancelled)
Time stamp is not  matching with SM37 last updated time
Time stamp is not matching with RSA7 time stamp
Turn the I/P status into Green and Restart the job



·         Processing the IDOC Manually in BI:
  
When there is an IDOC which is stuck in the BW and successfully completed the background job in the source system, in such cases we can process the IDOC manually in the BW.

Go to Info Package -> Process Monitor -> Details -> select the IDOC which is in yellow status(stuck) -> Right click -> Process the IDOC manually -> it’ll take some time to get processed.
******Make sure that we can process the IDOC in BW only when the back ground job is completed in the source system and stuck in the BW only.



3.      DSO Activation Failure:

When there is a failure in DSO activation step, check whether the data is loading to DSO from PSA or from the source system directly. If the data is loading to DSO from PSA, then activate the DSO manually as follows

·         Right click DSO Activation Step -> Target Administration -> Select the latest request in DSO -> select Activate -> after request turned to green status, Restart the job.

·         If the data is loading directly from the source system to DSO, then delete the bad request in the PSA table, then restart the job

4.      Failure in Drop Index/ Compression step:

When there is a failure in Drop Index/ compression step, check the Error Message. If it is failed due to “Lock Issue”, it means job failed because of the parallel process or action which we have performed on that particular cube or object. Before restarting the job, make sure whether the object is unlocked or not.

There is a chance of failure in Index step in case of TREX server issues. In such cases engage BASIS team and get the info reg TREX server and repeat/ Restart the job once the server is fixed.

Compression Job may fail when there is any other job which is trying to load the data or accessing from the Cube. In such case job fails with the error message as “Locked by ......” Before restarting the job, make sure whether the object is unlocked or not.


5. Roll Up failure:

“Roll Up” fails due to Contention Issue. When there is Master Data load is in progress, there is a chance of Roll up failure due to resource contention. In such case before restarting the job/ step, make sure whether the master data load is completed or not. Once the master data load finishes restart the job.


6. Change Run – Job finishes with error RSM 756
      
When there is a failure in the attribute change run due to Contention, we have to wait for the other job (Attribute change run) completion. Only one ACR can run in BW at a time. Once the other ACR job is completed, then we can restart/repeat the job.

We can also run the ACR manually in case of nay failures.
Go to RSA1-> Tool -> Apply Hierarchy/Change Run -> select the appropriate Request in the list for which we have to run ACR -> Execute.

7. Transformation In-active:

In case of any changes in the production/moved to the production without saving properly or any modification done in the transformation without changing, in such cases there is a possibility of Load failure with the error message as “ Failure due to Transformation In active”.

In such cases, we will have to activate the Transformation which is inactive.
Go to RSA1 -> select the transformation -> Activate

In case of no authorization for activating the transformation in production system, we can do it by using the program - RSDG_TRFN_ACTIVATE

Try the following steps to use the program "RSDG_TRFN_ACTIVATE” here you will need to enter certain details:
Transformation ID: Transformation’s Tech Name (ID)
Object Status: ACT
Type of Source: “Source Name”
Source name: “Source Tech Name”
Type of Target: Target Name
Target name: “Target Tech Name”
A.      Execute. The Transformation status will be turned into Active.
Then we can restart the job. Job will be completed successfully.


     8. Process Chain Started from the yesterday’s failed step:
In few instances, process chain starts from the step which was failed in the previous iteration instead of starting from the “Start” step.
In such cases we will have to delete the previous day’s process chain log, to start the chain form the beginning (from Start variant).
Go To ST13-> Select the Process Chain -> Log -> Delete.
Or we can use Function Module for Process Chain Log Deletion: RSPROCESS_LOG_DELETE.
Give the log id of the process chain, which we can get from the ST13 screen.
Then we can restart the chain.
Turning the Process Chain Status using Function Module:
At times, when there is no progress in any of the process chains which is running for a long time without any progress, we will have to turn the status of the entire chain/Particular step by using the Function Module.
Function Module: RSPC_PROCESS_FINISH
  
The program "RSPC_PROCESS_FINISH" for making the status of a particular process as finished.
To turn any DTP load which was running long, so please try the following steps to use the program "RSPC_PROCESS_FINISH" here you need to enter the following details:

LOG ID: this id will be the id of the parent chain.
CHAIN: here you will need to enter the chain name which has failed process.
TYPE: Type of failed step can be found out by checking the table "RSPCPROCESSLOG" via "SE16" or "ZSE16" by entering the Variant & Instance of the failed step. The table "RSPCPROCESSLOG" can be used to find out various details regarding a particular process.
INSTANCE & VARIANT: Instance & Variant name can be found out by right clicking on the failed step and then by checking the "Displaying Messages Options" of the failed step & then checking the chain tab.
STATE: State is used to identify the overall state of the process. Below given are the various states for a step.
R Ended with errors
G Successfully completed
F Completed
A Active
X Canceled
P Planned
S Skipped at restart
Q Released
Y Ready
Undefined
J Framework Error upon Completion (e.g. follow-on job missing)

9. Hierarchy save Failure:
When there a failure in Hierarchy Save, then we have to follow the below process...
If there is an issue with Hierarchy save, we will have to schedule the Info packages associated with the Hierarchies manually. Then we have to run Attribute Change Run to update the changes to the associated Targets. Please find the below mentioned the step by step process...
ST13-> Select Failed Process Chain -> Select Hierarchy Save Step -> Rt click Display Variant -> Select the info package in the hierarchy -> Go to RSA! -> Run the Info Package Manually -> Tools -> Run Hierarchy/Attribute Change Run -> Select Hierarchy List (Here you can find the List of Hierarchies) -> Execute.


Monday, April 27, 2015

Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation

This BLOG will discuss how to configure your browser parameters as well as discuss how to install the latest SAP NetWeaver 2004s BI Frontend Components. Keep in mind that it is always best to keep your frontend patches up to do date.

This is for SAP NetWeaver 2004s SPS8 or greater.




Setting up Internet Explorer 6.0

One of the first things to do if you have a browser issue is to clear all temporary files, cookies, and offline content from your browser cache.

If you are using Microsoft Internet Explorer, there are number of issues you may run into with the portal and frontend if you don't have your browser settings configured appropriately. To use the Web Analyzer or any functionality involving the SAP NetWeaver Portal, make sure you have your browser setup correctly.

I highly recommend updating to the latest support package of Internet Explorer (as of this article being written, that would be SP2). For sake of simplicity, I am going to focus on Internet Explorer 6.0 SP2 or greater. Previous releases have numerous issues and there are numerous hotfixes that apply. If you are using previous versions, see Microsoft's knowledge base article at: http://support.microsoft.com/kb/827667/.

One of the key settings within your Internet Explorer Browser is the “Do not save encrypted pages to disk” seting. It is recommended to unselect this setting in your browser as per OSS Notes 901949 and 855500. This may have slight performance issues, but this has been known to cause many javascript errors (many times these are permission denied errors) due to Internet Explorer bugs. If you have to use this setting, make sure you see Microsoft hotfix, http://support.microsoft.com/?kbid=825057 , although it is recommended not to use this setting.

One of the common things that I would also suggest checking is that your proxy information is setup correctly within your Internet Explorer connection settings. I know this is low hanging fruit, but it is very important.

Within Internet Explorer, you should make sure that you add your SAP NetWeaver Portal and BI systems to the list of trusted sites within Internet Explorer. This is available through the Tools -> Internet Options -> Security -> Trusted Sites -> Sites area.

Within Internet Explorer, you should make sure that you add your SAP NetWeaver Portal and BI systems to the list of sites that can always use cookies. This is available through the Tools -> Internet Options -> Privacy -> Sites

Within Internet Explorer, you should make sure that you add your SAP NetWeaver Portal and BI systems to the list of sites that are NOT blocked by the popup blocker. This is available through the Tools -> Internet Options -> Privacy -> Popup Blocker Settings

Within Internet Explorer, you should check your advanced tab settings.
Also, a requirement is to ensure that javascript is enabled for your internet explorer browser. If you disable javascript, your page and portal won’t load. See this Microsoft guide on how to enable javascript on your client browser.

http://support.microsoft.com/?scid=http%3a%2f%2fwww.support.microsoft.com%2fgp%2fnoscript%2f
If you’re having issues with IE such that it won’t decompress HTTP Content on IE 6 SP2. Ensure that your wininet.dll file is at the following version for IE 6 SP2.



If it is not, see this Microsoft hotfix page
http://support.microsoft.com/kb/871205

for a resolution to this issue.

One other thing to ensure that if you have any 3rd party popup blockers within Internet Explorer, such as Google Toolbar, Yahoo Toolbar, etc…, make sure you disable the popup blocking or allow popups from the SAP system’s domain.

Next, add your local domain to your trusted sites in Internet Explorer. If you can’t add the entire domain, add the ABAP and JAVA systems manually.
If you’re still having issues with Internet Explorer 6.0 and you’ve followed all these steps, I suggest using HTTPWatch or another http trace program and check your http return codes when loading pages and also use the javascript debugger to get a better idea of the types of javascript errors you are receiving. Then search Microsoft’s Knowledge Base articles at http://support.microsoft.com. Feel free to post them to this blog, and I’ll update other messages I may find as I work with customers.

In addition, you need the latest version of the mshtml.dll version for Windows XP SP2. This is mentioned and available in this microsoft hotfix: http://support.microsoft.com/kb/917425.




Setting up Internet Explorer 7.0

Internet Explorer 7.0 is supported for NetWeaver as of SPS10.



Setting up Mozilla Firefox

I typically recommend keeping your Mozilla Firefox browser up to date. Currently, Mozilla Firefox 1.5.0.4 has no known issues where hotfixes need to be applied.

Clear Cache if you’re having issues.

Make sure that your proxy is defined for Mozilla Firefox.

Make sure you setup your BI and Portal system as “Allowed” to create cookies.

Make sure you setup your BI and Portal system as not blocked by the popup blocker.

Make sure you enable Java and Javascript.

To date, I have not had any client issues with Mozilla Firefox 1.5.0.4, although the Visual Composer Design Time only works with Internet Explorer.



Installing Latest Version of .NET 1.1 framework

Download and install the latest version of Microsoft .NET Framework 1.1. Currently, there is a version 2.0 available, but 1.1 is required. See OSS note 877774 for details.
Keep in mind this must be installed BEFORE SAPGUI or the BI Addon is installed.
http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3



Install Microsoft Visual J# .NET

This is a new Prerequisite (Note 964495): You need have installed "Microsoft Visual J# .NET Version 1.1 Redistributable Package"
http://www.microsoft.com/downloads/details.aspx?FamilyId=E3CF70A9-84CA-4FEA-9E7D-7D674D2C7CA1&displaylang=en



Installing SAPGUI Client

To use the BEx Toolset, you will need to install the SAPGUI Client software. In general, you will need to download the following files. Keep in mind that as newer versions of the SAPGUI files become available, it is recommended to keep these up to date.

The first step is to download files. For sake of simplicity, I’m going to talk about a completely new install. I do recommend that to ensure you have a clean install and all your SAPGUI files up to date, a clean install is the best option.

1. Go to Control Panel and remove SAPGUI. Uninstall all your SAP Frontend Components (Control Panel -> Add or Remove Programs -> SAP Front End)

2. The first step is to download the SAP Frontend Installer. Available at:
http://service.sap.com/swdc/
-> Download
-> Installations and Upgrades
-> Entry by Application Group
-> SAP Frontend Components
-> SAP GUI FOR WINDOWS
-> SAP GUI FOR WINDOWS 6.40
-> Installation
-> NW 2004s SR1 Presentation - 6.40 Compilation 5 Present. 1/3
You only need this one file for SAPGUI BI components As of today (6/26/06), this is the latest file:
https://smpdl.sap-ag.de/~swdc/012002523100000185562006E/50078731_4.ZIP?_ACTION=DL_DIRECT

3. Extract the downloaded file to C:\SAPGUI_INSTALL\

4. Run Sapsweep to delete any frontend dlls or other components that are on this frontend machine.

5. Launch Microsoft Excel and run Help -> Detect and Repair to remove any references to SAP Addins.

6. Run Setup from C:\SAPGUI_INSTALL\DVD_NW_2004s_SR1_Presentation\PRES1\GUI\WINDOWS\WIN32\setup.exe Make sure you choose ALL components to install (including all addons). If you don’t want to install all components, make sure you choose BI Addon, BW Addon, and SAPGUI as a minimum.

Update SAPGUI Client to latest patches

1. Download these files: Make sure you save the patch files as “.exe” files.
http://service.sap.com/swdc
-> Download
-> Support Packages and Patches
-> Entry by Application Group
-> SAP Frontend Components
-> SAP GUI for Windows 6.40
-> SAP GUI for Windows 6.40
-> Win32

Latest Patches for:

SAPsetup for SAP GUI 6.40

Currently, this is setup23 located at:
https://smpdl.sap-ag.de/~swdc/012002523100000136352006D/setup640_23-10001615.exe?_ACTION=DL_DIRECT

SAP GUI for Windows 6.40 Patch

Currently, this is patch21 located at:
https://smpdl.sap-ag.de/~swdc/012002523100005644132006D/gui640_21-10001615.exe?_ACTION=DL_DIRECT

SAP BW 3.5 AddOn Patch

Currently, this is BW 3.5 Patch 11 located at:
https://smpdl.sap-ag.de/~swdc/012002523100007596782006D/bw350_11-10001615.exe?_ACTION=DL_DIRECT

SAP Netweaver 2004s BI AddOn Patch

Currently this is SAP NetWeaver 2004s BI FEP 904 located at:
https://smpdl.sap-ag.de/~swdc/012002523100007950122006D/Bw700SP09P_904-10001615.exe?_ACTION=DL_DIRECT

5. Run SAPsetup for SAP GUI 6.40

6. Run SAP GUI for Windows 6.40 Patch

7. Run SAP BW 3.5 AddOn Patch

8. Run SAP Netweaver 2004s BI AddOn Patch




Installing MSXML Parser

The latest version of Microsoft XML Parser should be installed. MSXML parser comes installed on Windows XP machines, but if you’re using a prior operating system, you may need to install it. Also, you should make sure the version you are using is up to date. MSXML Parser is required for Visual Composer designtime.

Currently, the latest version is MSXML Parser 6.0 which is located at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=993c0bcf-3bcf-4009-be21-27e85e1857b1&DisplayLang=en



Installing Adobe SVG Viewer

Download and run Adobe SVG Viewer 3.0 http://www.adobe.com/support/downloads/product.jsp?product=46&platform=Windows Adobe SVG Viewer is required for all users that will use the Visual Composer Designtime. It is not required for any runtime users or for any other BEx tools (at least it isn’t required yet …)




Installing Adobe Flash Player

Download and Install Adobe Flash Player (v7.0+) - plug in for Internet Explorer 6.0 Adobe Flash Player is required for Visual Composer (both designtime and runtime). This is located at:
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash



Ensure that the BExAnalyzer Application has authority to create dll's in the user's temp folder

If you have a viruscanner or DLL Creation blocking, make sure you allow the BExAnalyzer the authorization to create temporary DLLs as this occurs when the BEx Analyzer is launched. The dlls are generated from the .NET xml serialization framework and are only persistent while the application is running. These are deleted when the application is closed.



Verify SAPGUI Settings for BI

In excel, go to Tools -> Macro -> Security -> Trusted Publishers Verify the SAP AG certificate and make sure “Trust Access to Visual Basic Project” and “Trust all installed addins and templates” are checked.

Run C:\Program Files\SAP\FrontEnd\Bw\sapbexc350.xla and ensure there are no red files…

Run C:\Program Files\SAP\FrontEnd\Bw\sapbexc700.xla and ensure there are no red files…



Server Side Settings

Step 1 – Ensure that your ABAP and JAVA systems are on the same fully qualified domain name. There are numerous cross-domain issues that could occur. Also, ensure that all communication server side is using the fully qualified domain name.

Step 2 – You may be missing style elements which could cause incorrect rendering. If you are still having issues, try switching to an SAP Delivered Theme instead of Custom Theme on the Portal. 


Source :- scn.sap.com/