Quantcast
Channel: SCN : Document List - SAP NetWeaver Administrator
Viewing all 273 articles
Browse latest View live

How to searching for specific error content in ABAP server logs

$
0
0

Purpose

 

The purpose of this document is help in searching for specific content (relating to an error log) in the SAP Netweaver Application Server ABAP workprocess (or any other R/3 related service/process) traces. This can be a very tedious affair if many workprocesses are configured and this document explains how to do this from the SAP server end, rather than logging to the operating system to search in the actual trace file.

 

Example Scenario

 

Lets say the configured Single Sign On (SSO) setup between SAP Portal and the R/3 system fails with issues similar to:


SSO error.png



Usually in such cases, the BASIS admin analyzes the J2EE and ABAP server logs. Now from the J2EE end, more details can be seen from the diagtool trace ( see http://service.sap.com/sap/support/notes/1045019 for SAP NW 6.40 and 7.00 servers and
http://service.sap.com/sap/support/notes/1332726 for SAP NW 7.1+ servers), but when it comes to the ABAP server, the request can be handled by any one of the R/3 dialog workprocesses (usually one productive ABAP instance has 20 or more dialog workprocesses). Now searching all the dev_w0 files can be a cumbersome affair particularly if many ABAP instances are involved.


Solution


Use the ABAP server search function (TCode: /nSM51).

SM51.png



Type in the search text entry. There are some recurring error entries like “note 1055856” , “cannot create SAP logon ticket”, “TWPSSO2ACL”, “ticket issuer not trusted” etc. when there is an SSO issue. Or just use the user ID with which the issue was reproduced (or time or any other valid parameter).
error.png

 

 

The next screen shows you the exact trace file which has the error:

error details.png


Navigate to the trace file (using /nAL11 or /nST11) and voila, you get more information:


actual error file.png

 

Now, check the note and help documents to solve this. The only caveat is that this search is instance specific; if you have more than one ABAP server, this needs to be done individually on each instance.

 

NOTE: http://service.sap.com/sap/support/notes/1769367Issuer of SSO ticket is not authorized also provides important information on troubleshooting such issues.





Big FPN Issue resolved :)

$
0
0

In our Project we were facing lot of issue while configuring FPN between  BI producer portal and Portal Consumer .

 

Finally the issue is resolved but  here are some tips i want to consolidate which can help to fix the issue :-

 

 

1.We correctly configured SSO between BI producer portal and Consumer

 

 

Then also we were getting below  error  while registering fpn :-

 

com.sap.security.core.persistence.remote.CommunicationException: Sending request to connection 'bi-finscm_portal' has failed. Please check attached exception.: javax.xml.soap.SOAPException: SOAP Response Message was not well formed (java.net.SocketTimeoutException: Read timed out).

at com.sap.portal.ivs.global.roles.RemoteProducerAccessImpl.sendToRemote(RemoteProducerAccessImpl.java:545)

 

We tested SSO , network connectivity between both portal .

 

Then finally we found below RCA 

According to the following SAP Note 1718291 (Consumer Portal availability when producer Portal is down) the configuration of the 'SOAPCallTimeout'

parameter should be set to 30000 milliseconds (30 seconds) and it was

set to 30 milliseconds (0.03 second) in our system. There for we

always get a timeout error when we try to reach the producer host.

 

We  configured the parameters and necessary steps as suggested in SAP Note 1718291.

 

Configured FPN and it worked .

 

Please share your experience also on FPN configurations

 

 

Regards,

 

Abhishek

File system becomes full due to large PDF spool files.

$
0
0

File system becomes full due to large PDF spool files.

 

Usually spool files are generated in /sapmnt/SID/global directory based on this parameter rspo/store_location value. If this directory becomes full, it will affect background jobs and others to fail.

 

Usually payroll users print large amount of PDF files and that may fill up the file system space at OS level in the above directory.  Also, .PDF file does not appear at OS level. PDF files create as *.xfd, *.cfg, *.pfg in the OS global directory.

 

To address the file system issues and delete the PDF files, please follow the steps below

 

  • At OS level, putty into the affected system
  • cd /sapmnt/SID/
  • df -h - This command display the usage of file system (see screenshot), in this example, it has 29% space left, but when file system becomes full, you will see 100% usage.

spool.GIF

  • enter this command du1 - This command display size of each directory in that folder (/sapmnt/SID).  As you can see in the below figure, the size of the global directory is 586 MB.

spool1.GIF

  • Now cd to global directory and do ls -lart to display the files in that  global directory.
  • You will see files similar to the following.    The spool files are prefixed with SPOOL0000 then spool number.  In this example, the spool number is 138496.

          SPOOL0000138496_00020.pcl

          SPOOL0000138496_00020.cfg

          SPOOL0000138496_00021.xfd

  • Login into SAP, enter Tcode SP01, select the PDF files with large number pages and delete.  If you want save these files on your PC before deleting, run this report RSTXPDFT4 based on this note: 1833550
  • Then check the space at the OS level, you should see plenty of space created.

 

Hope this help.

 

Thank you

 

Adil

Providing Diagtool and TSHW Trace to SAP

$
0
0

There are some time when SAP Needs Diagtool and TSHW trace for analysis of Portal Issue .

 

Based on the SAP KBAs 1916332 and 1921472 we can provide  traces .

 



These SAP Notes Provide detail Information and steps which we follow we will be able to provide .



Open the Diagtool using the following URL: http://<host>:<port>/diagtool/tc



In case it is not deployed follow the steps in the SAP note 1045019

 

 

 

We can follow subsequent Step as mentioned in SAP Note  1916332 and 1921472 .


This process helpes us to fix Portal Issue .So I created Short Article .





Regards ,



Abhishek


ADS connection from PPM 4.0 to Portal 7.3

$
0
0

Created by  : Brindavan Mookaiah

Designation : SAP BASIS Consultant

 

 

          ADS connection from PPM system to Portal 7.3

 

 

 

SAP ADS connection from PPM4.0 to Portal 7.3

 

Pre-requisite steps

AS JAVA

Adobe document services

Deploy ADS if not there

check the ADS-USER

Create ADSUSER with role SAP_ADSCALLER       

ADS services

Check ADS services is running or not http://<server>:Port/nwa

 

AS ABAP

Check user ADS_AGENT

Create ADS_AGENT with required role SAP_BC_FP_ICF, SAP_BC_FPADS_ICF & SAP_BC_JSF_COMMUNICATION

Check T-code SM59

Authoration required to create RFC connection

Services activation-(SICF)


/default_host/sap/bc/fp
/default_host/sap/bc/fpads

PDF printer

Check the PDF printer if not create in SPAD

 

Step by step

As java

  1. 1)      Deploy ADS in java………………………………………………………………………………………………………
  2. 2)      Create ADSUSER……………………………………………………………………………………………………….
  3. 3)      Check ADS services…………………………………………………………………………………………………….
  4. 4)      Create RFC in SOA from JAVA to ABAP systems................………………………………………………….......

 

 

AS ABAP

  1. 1)      Create ADS_AGENT user………………………………………………………………………………………..
  2. 2)      Activate services in SICF…………………………………………………………………………………………
  3. 3)      Create PDF printer…………………………………………………………………………………………………
  4. 4)      Create RFC connection from ABAP to JAVA systems. ……………………………………………………....
  5. 5)      Test connection ……………………………………………………………………………………………………

 

Issues and troubleshooting …………………………………………………………………………………………………..



  1. 1)      Deploy ADS

                     Adobe Document Services (ADS) comes installed by default with NetWeaver AS Java and is SAP’s standard way of creating PDFs by SAP applications. These PDFs can be normal PDFs or interactive (called Adobe Interactive Forms). The SAP system using ADS can be any NetWeaver ABAP or Java system

Note: If ADS is not in JAVA than deploy through telnet or JSPM

Reference link: -Http://wiki.scn.sap.com/wiki/display/TechTSG/(JSTSG)(Telnet)DeployController+Commands?original_fqdn=wiki.sdn.sap.com

 

  1. 2)      Create ADSUSER

               Create ADSUSER with assigned the role SAP_ADSCALLER   in Java system

           Check in “http://<server>:Port/irj/portal

Capture1.JPG


3) Check ADS services : http://<server>:Port/nwa

      Operations --> Systems --> Start & Stop

 

Capture2.JPG


 

4) 1) Create RFC connection to from ABAP to JAVA systems : http://<server>:Port/nwa

 

Create Destination FP_ICF_DATA_<SID of As ABAP> in SOA.

Go to nwa (http://<server>:<port>/nwa)

  1. Go to SOA --> Technical Configuration-->Select Destinations

 

 

Capture3.JPG

 

   Click create 

 

Capture4.JPG





Enter Destination Name as FP_ICF_DATA_<SID of As ABAP>Select Destination Type as HTTP. Click Next. Enter URL of As ABAP system (http://<server>:<port>) e.g. http://<servername>.com:8000


Capture5.JPG

 

 

Capture20.JPG

Enter System ID and Client of As ABAP system. Click Next


 

 

Capture21.JPG

 

  Select Authentication as Basic. Enter User as ADS_AGENT and its password.

 

Capture22.JPG

 

 

Click on Finish.


Capture10.JPG

 

As ABAP

Login to As ABAP system.

1) Create user ADS_AGENT as a system user in transaction SU01 and assign roles SAP_BC_FP_ICF, SAP_BC_FPADS_ICF & SAP_BC_JSF_COMMUNICATION.

Note: Either assign standard roles or make a copy of this role to Z roles. If you are assigning standard roles then make sure that profile of these roles should be generated.

2) Create role ADSCALLERS in PFCG and assign user ADSUSER to it.

 

3) Activate services in SICF

Go to T_cpde SICF and click excute


Capture11.JPG


Activate below services

/default_host/sap/bc/fp

/default_host/sap/bc/fpads   


Capture12.JPG

 

Capture13.JPG

Capture23.JPG

 


Create RFC connection to from ABAP to JAVA systems


Go to t-code SM59 and create ADS RFC as Type G.

a) In Target System settings, enter target host name and Service no. of your As Java systems.

b) In Path Prefix, enter- /AdobeDocumentServices/Config?style=rpc

 

Capture14.JPG

 

c) In Logon & Security tab, select Basic Authentication. Then, enter user adsuser and its password

 

Capture15.JPG

 

Save and click connection test

 

Capture16.JPG

 

Configuration Check for PDF-Based Forms in ABAP

 

For test this report you need LOCL or PDF1 printer to check. if you dont have PDF1 printer then create the same in T-code SPAD.


Login into ABAP system and  executed the below report in T-code SE38.


  1. 1)   FP_PDF_TEST_00

 

Capture17.JPG

  1. 1)   FP_TEST_00

 

 

Capture18.JPG

 

Issue and trouble shooting


Ads connection issue with report “FP_TEST_00”

Error:

“ADS: com.adobe.ProcessingException:

 

 

Capture19.JPG

 

 

Solution

 

1) Stop the JAVA system

2) Login into  JAVA system at OS level and go to the folder like below

 

  " /usr/sap/SID/J00/j2ee/os_libs"

 

then  rename the file  "adssap" "adssap.org"

 

 

portal system need to start again and the file adssap will generate automatically.


Issue has been resolved.


For more help for issue and trouble explained in SAP NOTE: 944221 - Error analysis for problems in form processing.

Find background job with a Work Process number or PID

$
0
0

Finding background job with a Work Process number (PID)

 

Many of us already know how to find the which Work Process are being used by a background job.  The background job details show the Work Process number being used by that background job.

 

But if you don't know the background job name and there are some long running work process in SM66.  How do you find the background job name?

 

  • In SM66, double click on the long running BTC Work process
  • Click on Job Information Tab appear at the bottom (this tab only appears in BTC work process) and you won't see this tab in Dailog WP)
  • The information tab will display the Job Name, User, Report being used by job. etc.

 

Also there are other ways where you can find the

SM66.GIF

SM66 1.GIF

SM66.GIF

SM66 1.GIF

 

Hope this helps.

 

Thank you

 

Adil

How to get the Query's "Saved Lists" without using SQ01

$
0
0

The "Saved Lists" in SQ01 can only be accessed from SQ01. There is no standard tool or report for displaying it. That means if you create a Z transaction code to run this query, you cannot access the "Saved Lists" from your Z Tcode.

 

If you want do create a customer report to display the "Saved Lists", you can use the following functions/reports:

- function RSAQ_REPORT_NAME to get the report name for a specific query
- function RSAQHLI_HANDLE_LIST_ID to choose a specific saved list for a query report
- report RSAQQLIS to display this list

Setting up Email Alerts in SUM Tool

$
0
0

Setting up Email Alerts in SUM Tool in UNIX

Below are detailed steps with screen shot to configure email ALERTS in SUM tool.
Once configured, SUM will send a email to the configured email ID whenever the SUM tool is waiting for user input.
This is useful as some of the upgrade phases ranges from few minutes to few hours.

Pre-requisites:

  • Find out the SMTP server name and port (you can find it from TCODE SCOT in a SAP ABAP system)

Steps:

1. Create the script and place it in a location that can be accessed by SUM tool

> 1068 $ cat email_pq3.sh

#!/bin/bash

SUBJECT="SUM tool need input for PQ3"

smtp=<smtp_server_name>:<smtp_port>

EMAIL=<your_email_address>

echo "SUM tool need input" | mailx -s "$SUBJECT" "$EMAIL"

2. Test the script

- verify the script can run without errors

- ensure you receive the email when you execute the script

3. Configuration in SUM tool (screen shot attached)

3.1. Launch SUM tool

3.2. select SUM tool ==> Select Alert ==> Alert Info

3.3. For "Program" select the script that you created

3.4. Leave "Alert File" default value

3.5. Set "Alert Delay" (default 600s=10min, I usually set it to 120s)

3.6. Test the alert mechanism works by clicking the "Test" button

     - clicking the test button will call the script you prepared in step 1

     - so this should trigger an email alert

3.7. Ensure the "Set Active" checkbox is checked

3.8. Press OK

SUM_GUI_EMAIL_ALERT.png

4. Now whenever the SUM tool need an input from the user, once the time specified in "Alert Delay" is reached you will receive an email.


5. For WINDOWS VBS script can be created using the sample script in http://scn.sap.com/thread/1647075


ORA-24324 and ORA-01041 Errors in SAP Oracle - Solution

$
0
0

Dear All;

 

I had this error when I was working on my Oracle database, and though of sharing the solution with you:

 

The error is:

------------------------------------------------------------------------------------

ORA-24324: service handle not initialized

ORA-01041: internal error. hostdef extension doesn't exist

------------------------------------------------------------------------------------

 

Capture.PNG

 

This error means that Oracle database is not able to start, or it is not able to start it's background processes. So to fix this go and check your services for the database if they are running.

 

Capture.PNG

 

After that start your oracle listener if it is not running yet via "lsnrctl start" as below:

Capture.PNG

 

Now start your SAP services. To make sure that your SAP application is running, and connected to the database run "R3trans -D" as below. The return code should be 0 for success:

Capture.PNG

 

Hope this was helpful.

 

Best Regards

~Amal Aloun

Setting up Email Alerts in SUM Tool

$
0
0

Setting up Email Alerts in SUM Tool in UNIX

Below are detailed steps with screen shot to configure email ALERTS in SUM tool.
Once configured, SUM will send a email to the configured email ID whenever the SUM tool is waiting for user input.
This is useful as some of the upgrade phases ranges from few minutes to few hours.

Pre-requisites:

  • Find out the SMTP server name and port (you can find it from TCODE SCOT in a SAP ABAP system)

Steps:

1. Create the script and place it in a location that can be accessed by SUM tool

> 1068 $ cat email_pq3.sh

#!/bin/bash

SUBJECT="SUM tool need input for PQ3"

smtp=<smtp_server_name>:<smtp_port>

EMAIL=<your_email_address>

echo "SUM tool need input" | mailx -s "$SUBJECT" "$EMAIL"

2. Test the script

- verify the script can run without errors

- ensure you receive the email when you execute the script

3. Configuration in SUM tool (screen shot attached)

3.1. Launch SUM tool

3.2. select SUM tool ==> Select Alert ==> Alert Info

3.3. For "Program" select the script that you created

3.4. Leave "Alert File" default value

3.5. Set "Alert Delay" (default 600s=10min, I usually set it to 120s)

3.6. Test the alert mechanism works by clicking the "Test" button

     - clicking the test button will call the script you prepared in step 1

     - so this should trigger an email alert

3.7. Ensure the "Set Active" checkbox is checked

3.8. Press OK

SUM_GUI_EMAIL_ALERT.png

4. Now whenever the SUM tool need an input from the user, once the time specified in "Alert Delay" is reached you will receive an email.


5. For WINDOWS VBS script can be created using the sample script in http://scn.sap.com/thread/1647075

SAP NWBC for HTML and Desktop configuration steps

$
0
0

                          SAP NWBC for HTML and Desktop configuration steps

 

 

 

 

 

 

Summary :-

 

     This dcoumnenst conatin the information about requirement , hardware , configuration steps and Comparison of NWBC for Desktop and NWBC for HTML.

Created by  : Brindavan Mookaiah

Designation : SAP BASIS Consultant

 

 

 

Table of content:-

 

1)  Hardware and software requirement.................................................................................................

2)  Differences Between NWBC for Desktop and NWBC for HTML.......................................................

3)  Configuration steps...........................................................................................................................

4) Insatllation NBC for Desktop and HTML............................................................................................

 

 

NWBC is shipped in two variants:

1. NWBC for Desktop is a MS Windows/.NET-based application that needs a local installation. It uses SAP GUI for Windows under the hood to run Dynpro-based transactions and integrates Web
applications using the Internet Explorer control in its shell.

2. NWBC for HTML is a browser based version using HTTP/s for connecting to a SAP NetWeaver Application Server ABAP backend. SAP GUI transactions are rendered using the SAP GUI for HTML.

  you prefer based on your client requirmenet.

 

Step 1

 

   Hardware and software requirement

 

 

Client Installation
NWBC for desktop  4.0NWBC for HTML
Operating SystemMicrosoft Windows platforms: X SP3, Vista, 7Microsoft Windows platforms: XP SP3, Vista, 7
HardwareAt least 1 GB memory ,Minimum screen size of 1024x768,The NWBC application (using .NET3.5 and WPF) running on the desktop consumes
main memory in the magnitude of 100 MB
No desktop installation is required,Browsers need minimal resources to render the HTML  representation of the navigation tree ,Refer to the PAM for details under NetWeaver 7.0
Internet ExploreMicrosoft Internet Explorer 8.0, 9.0 and 10Microsoft Internet Explorer 6 / 7 / 8 / 9 / 10 / 11
software requirement.Net 3.5, SAP Netwarver web application server 7.31Zero footprint

 

 

 

Step 2

 

Differences Between NWBC for Desktop and NWBC for HTML

 

Differences Between NWBC for Desktop and NWBC for HTML
Delta NWBC for Desktop - NWBC for HTML
FeatureNWBC for DesktopNWBC for HTML
Menus:
                     Yes
             NO
Favorites
Personalize
Help
Individual menu entries
Search:
                      Yes
                  NO
Enterprise search
External search
Desktop search
Navigation Panel:
                       Yes
              NO
Drag&Drop of work centers
List of available work centers
Personalized work center icons
Quick navigation at work center
Quick Launch                        NO                NO
Hide top-level navigation panel                       NO                 NO
Window manager                       NO                NO
Branding image                       NO                NO
Logoff URL                       NO                 Yes
SAP GUI integrationSAP GUI for Windows (more applications, better performance)SAP GUI for HTML
Perfomance aspectsClient:
The program running on the desktop consumes main memory in the magnitude of 100 MB.

Network :
2 HTTP requests with a payload of typically 50 KB (this depends on the role setup) to read the complete navigation tree. Further sporadic small HTTP requests are fired to the server to resolve navigation targets which are needed to start additional applications. This data is also only fetched once on demand and from then onwards cached on the client.

Server:
1 ABAP session with a lifetime of 15 seconds and main memory consumption of approximately 3 MB.
Client:
Browsers need minimal resources to render the HTML representation of the navigation tree. This can be neglected.

Network :
Each shell interaction step: 1 HTTP request with a payload of typically 20 KB.

Server:
Each interaction step: 1 ABAP session with a lifetime of 15 seconds and main memory consumption of approximately 3 MB.
InstallationDesktop installationZero footprint
System scenarioConnect against an ABAP system or an Enterprise PortalSingle ABAP system scenarios
Definition of initial window size and positionInitial window size and position cannot be influenced

 

 

Step 3

 

Configuration steps

 

 

SAP NWBC Configuration - High Level
Internet communication ChannelEnable /Modify HTTPS port setting (Check in T-code SMICM)
Internet Communication Frame workEnable /Activate ICF node in T-code SICF for NWBC cookbit
System securityInstall the SAPCRYPTOLIB, Enable the SSO cookies(login/accept_sso2_ticket=1,login/create_sso2_ticket=2),Configure the SSL in STRUST.
Fully Qulified Domain nameICM/host_name_full= XXX
System Scripting settingsapgui/user_scripiting=TRUE
Switch framework settingActivate Business function(/kyk/gen_aio_simplification) in T-code SFW5
Role maintenanceIn table maintenance t-code SM30 ( SSM_CUST= yes)
SoftwareNWBC for desktop 4.0 & NWBC for HTML no software required

 

Step 4

 

4.1 Download NWBC forDesktop client installation from SAP(service Market place)

4.2 Install the NWBC for Desktop 4.0

4.3 Activate the NWBC on ABAP system in T-code SICF "/default_host/sap/bc/nwbc

 

NWBC.JPG

4.4 you will get the URL link like https://<servername>:portno/sap/bc/nwbc?sap-client=000

4.5 Cliec the NWBC and mentione the URL like bleow

NWB1.JPG

4.6 then click on log on

 

NWBC3.JPG

After enter the log on user name and password you will able to see the belwo screen.

NWBC5.JPG

NWBC7.JPG

 

NWBC for HTML

 

Once you activated the services , the URL will genarted and able to access SAP from HTML page.

 

HTML.JPG

 

HTML2.JPG

Note : Both scenarios the user-ID must exist in ABAP system & proper authorization.

Restore Source System Connectivity in BW QA after BW QA gets System Copy or Refresh

$
0
0

*** UPDATE 20th Oct 2014 : Please look at:http://scn.sap.com/docs/DOC-54097 and OSS note 886102 for the automation and improvement updated by SAP ***

 

 

It is not uncommon that once BW QA gets refreshed or system copy from BW Prod, the source system connectivity to ERP system breaks. This document shows the step-by-step to restore BW QA to ERP QA.

 

ERP System:               ERP Quality System (QAS) client 100

BW QA System:          BW Quality System (Q11) client 100

Scenario:                    Source Systems QASCLNT100 is broken in txn RSA1 in BW QA (Q11) after it is refreshed from BW Production. This is a need to restore the connection for transport migration to work successfully.

 

Pre-requisite:

 

1. Open clients via txn SCC4, SE06 in ERP QA (QAS) and BW QA (Q11). If not, you will encounter dump DYNPRO_SEND_IN_BACKGROUND when trying to recreate the Source Systems in x11’s txn RSA1. (This step requires Basis authorization and should be done by Basis)

 

  • Logon to ERP QA (QAS) , run txn SCC4 and open client for changes. Repeat for BW QA (Q11).

 

BW-1.png

  • In ERP QA (QAS) Run txn SE06, open namespaces so that there is no error when running FM RSAP_BIW_DISCONNECT later on. Repeat for BW QA (Q11).

BW-2.JPG

2. In BW QA (Q11), go to txn WE20, check for ERP QA (QASCLNT100). If it does not exist, create it.If it exists, select the ERP QA's Partner Profile QASCLNT100 and delete RSRQST from outbound and RSINFO and RSSEND from inbound. Save your partner profile. It should look like the screen below.

BW-3.JPG

 

3. Obtain ALE user-id passwords for to logon to QAS client 100 (ERP) and Q11 client 100 (BW) later on.

 

Step-by-Step Restore Procedure:

 

1. In BW QA (Q11), run txn SE11, table RSBASIDOC, narrow the results by putting in your ERP system id only e.g. QAS*

 

BW-4.JPG

Result

BW-5.JPG

2. In BW QA (Q11), run txn SE37, enter function module RSAP_BIW_DISCONNECT and client Test/Execute button.

 

BW-6.JPG

This step deletes obsolete BW connections. Repeat this step for all entries in table RSBASIDOC.


Enter the values accordingly and click Generate button.

I_BIW_LOGSYS = BW QA system (Q11)

I_OLTP_LOGSYS = ERP QA system (QAS)

I_FORCE_DELETE = X


Caution: DO NOT enter a value in the field "RFC target sys". This would cause the function module to run in the system specified there!


BW-7.JPG

Result

BW-8.JPG

3. In BW QA (Q11), run txn RSA1 and Create Source System QASCLNT100.


BW-9.JPG

With existing RFC destination and passwords, enter the fields like below:

BW-10.JPG

You will be prompt to logon to QAS client 100. Click Continue button will do.

BW-11.JPG

Click Use button if you are confident that the RFC destination works perfectly. If not, you could click Check button to confirm.

BW-12.JPG

You might encounter a pop up message like this below. Click Delete will do. If this happens, after delete, repeat step 3 again.

BW-13.JPG

 

4. With existing RFC destination and passwords, you should be able to create the Source System for ERP QA (QASCLNT100) without problem.

BW-9.JPG

 

Problems that I encountered along the way……..

 

Problem 1:  DYNPRO_SEND_IN_BACKGROUND when trying to generate Source System QASCLNTxxx in txn RSA1

Solution:     Open clients in txn SE06 and SCC4 in both ERP QA and BW QA systems

 

Problem 2:  Entry in inbound table already exists

Solution:     

  1. Go to WE20 and check whether Partner profile QASCLNT100 exist in LS type,if not just add Parnter profile with same and save.
    Partner profile Name: QASCLNT100
    TYPE: LS
    Give:
    Ty: US
    User: User Name
    Lang: EN
    and Save.
  2. Again re-click on Partner Profile: QASCLNT100
    you will see ,there will be some entries in Inbound & out Bound Tabs.
    Delete the following from outbound:
    1.RSRQST
    Delete the following from inbound.
    1.RSINFO
    2.RSSEND
    and save your partner profile.
  3. Now execute txn RSA1, it will ask to active Workbench, activate it and it should work.

 

Lastly, this document is only possible from the two reference below and many other related threads that I had also come cross so I would also like to give credits to them.

 

References:

OSS Note 886102 – System Landscape Copy for SAP Netweaver BW (Phase 6)

Transfer Structure Prefix error - http://scn.sap.com/thread/170753


SAP JAVA Heap Memory Analyzer and logs for Portal 7.3

$
0
0

        SAP JAVA Heap Memory Analyzer and logs for Portal 7.3



Summary:-


The information of this document contains how to check the logs in SAP Net weaver portal 7.3 and how to analyze the java heap memory in which we have to find the root cause of issue where and which objects are leaks suspected.


Author: Brindavan Mookaiah


Designation: SAP BASIS Consultant



 

Table of content


  1. SAP java stack log locations…………………………………………………………………………………………….
  2. SAP Java heap memory analyzer with Eclipse tool…………………………………………………………............

 

  1. 1) SAP java stack log locations


SAP java stack logs can be found in below directories which will help for BASIS Netweaver admin (what is happening and happened in server). There are two location where we find logs:


The first location  is  “/usr/sap/SID/J00/work “ .In this location  you can find some of the logs are like dev_server0 , dev_jsmon  dev_icm dev_bootstrap..etc.. but the dev_server0 which is important to help you what happened in  the server during server crush or  unable to startup the system.


The second location is “/usr/sap/SID/J00/j2ee/cluster/server0/log “. In this location the default trace will be available to help you to find the application level logs and issue. For example if the ABAP system is connected to portal using ADS connection, if the connection is not established or ADS is not working. It will help you in many ways.

 

There is one more tool called JVM-GUI which can be monitored in online of JVM. The jvm location directory is “/usr/sap/SID/SYS/exe/jvm/rs6000_64/sapjvm_6.1.061/sapjvm_6/bin”.

 

 

Through this tool you can monitor about VM details performance, debugging and trace flags. It will show the CPU time and memory area etc…


JVM1.JPG


The option in Command, Print, DUMP and debugging are which you will be able to view system information, command processing dump heap …etc


JVM2.JPG


2) SAP Java heap memory analyzer with Eclipse tool

 

The Memory Analyzer is an Open Source Project at Eclipse (http://www.eclipse.org/mat/)

The Memory Analyzer was developed to analyze productive heap dumps with hundreds of millions of objects. Once the heap dump is parsed, you can re-open it instantly,and get the retained size of single objects and quickly approximate the retained size of a set of objects. The Analyzer is (relatively) low on resource consumption, so you can analyze multi-GB heap dumps. SAP Memory Analyzer supports by default HPROF binary heap dump in SAP JAVA stack which can be found in the following directory

“/usr/sap/SID/J00/j2ee/cluster/server0 “000.hprof.

 

 

2.1 Download the memory analyzer tool in above link.

2.2 Double-click on MemoryAnalyzer.exe to start Memory Analyzer Tool


The screen will appear as follow:


MA1.JPG


2.3 click options file and then click open the file to load the “hprof” from the server which you have taken. The following screen will the overview of the "hprof" file.


MA2.JPG

In the above screen you can see how the memory has been used.



Then click the leak suspected option to check which object causing more memory (top contributed the foot prints).

MA3.JPG


In the above screen you can find the two problem suspect 2


One instance of "com.sap.sql.connect.pool.Pool" loaded by "com.sap.engine.boot.loader.ResourceMultiParentClassLoader @ 0x5a2c79c8" occupies 659,542,448 (33.12%) bytes. The memory is accumulated in one instance of "com.sap.sql.connect.pool.Pool" loaded by "com.sap.engine.boot.loader.ResourceMultiParentClassLoader @ 0x5a2c79c8".

One instance of "oracle.jdbc.driver.T4CPreparedStatement" loaded by "com.sap.engine.boot.loader.ResourceMultiParentClassLoader @ 0x5a2c7ba8" occupies 580,921,280 (29.17%) bytes. The memory is accumulated in one instance of "byte[]" loaded by "<system class loader>".


 

click on find option and paste the ID “0x5a2c79c8”.


MA4.JPG


You can find the class loader " “0x5a2c79c8” into the new tab like below.


MA5.JPG

This class load  memory address referring  the heap used size. you can also drill down which class and where the heap memory used.


 

By filtering the top memory object for outgoing or incoming dependency to find the leak suspected. In here we are only able to see the DSR.ADMIN and buffer admin utilize. If you have problem without going dependency in application then you will able to find where exactly leak suspected. For example:  closed method not used in java program or any issue foot prints can be highlighted where the leak suspected causing more memory used. Based on this analysis you can tune your program or resource wise.


MA6.JPG

Here we have found that “Resource multiple class loader “used some memory.  The following utilized memory is from application into database level and update some data. It means that the portal system is connected to some ABAP or SRM system,through portal system they are accessing ABAP or SRM system for their business need and updating some data into the database.


For more details about this Memory analyzer tool visit the below link:

 

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40244428-5703-2a10-17af-9e878922f900?QuickLink=index&…

SAP Java monitoring Check list

$
0
0

This article answers the following queries :


 

 

  • How to perform daily monitoring of Java stack in SAP ?


  • What are the daily checks for Java applications of SAP ?


  • How to access management console in SAP ?


  • How to perform session monitoring in JAVA stack  of SAP ?


  • How to view various java reports in JAVA stack of SAP?


  • What are the various java reports available in Java stack of SAP  and what is their significance?


  • How to view log and traces in java stack of SAP?


  • Where to view default trace in java stack of SAP?


  • What is the use of  management console in SAP ?

JAVA Monitoring


Contents :


  1. 1.       Checking the java stack/portal accessibility


  1. 2.       Actioning, in case portal not accessible


  1. 3.       User load analysis


  1. 4.       Java Reports – Navigation and usability


  1. 5.       Memory consumption and Threads report


  1. 6.       Session Monitoring


  1. 7.       Logs and Traces (Default trace, Server0 log etc)


  1. 8.       Accessing Management Console


  1. 9.       Checking System availability using Management Console(SDM, Msg server, Enqueue server, Java nodes etc)


  1. 10.   Check various logs(work directory logs, jcontrol, default trace, application log etc)


Java Monitoring :


Place the link of the respective java application in the browser and check whether the java application is opening:

For example:

http://baakaprd.company.com:50000/irj/portal


If java is up and running, a screen similar to below will open.


If the page did not open,

i)                     Check  whether there are network issues

ii)                    Check tablespaces occupancy levels at Oslevel and make sure sufficient space is there and  if any tablespace is  100% full, action the same

iii)                  Check the default trace for any critical errors

iv)                  Check application log to determine any memory related issues

v)                   Check server node status at oslevel or through management console and action and bring up the java again.

To estimate the user load and to check the number of users logged onto the java portal :

Navigate to User Administration ->  Activity Reports


i)                    Check “Number of users in the last 3 hours” report

ii)                    To figure out most active users,

                                    Check the 10Most active users report

Java Reports :


Java Memory Consumption Report and Threads Reports :

These reports includes a chart of the memory usage of a cluster node and a chart related to the system and application thread pool.

To check this report login to nwa of the respective java stack :

Then  navigate to Monitoring -> Java System Reports :


Here following reports can be taken by selecting the respective report from the drop down provided:

  • Capacity Planning : This report includes a chart representing the requests sent to J2EE Engine, a chart for the number of http and security sessions, and a chart of the communication between J2EE nodes


  • Resource Consumption : This report includes a chart of the memory usage of a cluster node, and a chart related to the system and application thread pool



  • Application Activities : This report includes a chart that represents the history of the activities of deployed applications


  • Slowest requests
  • Slowest components
  • User activities
  • Current activities

 

However from monitoring perspective, resource consumption report is most important to analyse the memory consumption.

Select resource consumption from the dropdown to view the memory statistics as below:

Click on Go to Detailed Chart link of the respective report to view detailed chart as below

Click Hint on charts link to analyse the report better.

Select the respective Instance, Cluster node and Time period from the provided dropdown boxes to view the reports belonging to the same

Table view for Threads report:

There are 2 types of views: Chart view and Table view. You can change the view by selecting the respective radio button.

Please find below table view for Memory Consumption report

Session Monitoring:

To monitor sessions, navigate to Monitoring -> Session Monitoring
Best regards,
vs akondi.

 

SAP Heterogeneous system copy-Plan for PI (AIX to SUSE Linux OS)

$
0
0

SAP Heterogeneous system copy-Plan for PI 7.1

(AIX to SUSE Linux OS)

 

 

 

Summary:-

 

This document contain only the plan for doing heterogeneous system copy database independent method. form AIX to Linux Operating system  using SAP Software provisional manager tool. This tool can be downloaded in service market place.

 

Created by: Brindavan Mookaiah

 

Designation: SAP BASIS Consultant



Table of Content


1) Software..............................................................................................................

2) Prerequisites.........................................................................................................

3) Preparation...........................................................................................................

4) Database Independent System Copy.......................................................................

5) Follow-Up Activities................................................................................................

 

 

Step 1


Software need to be download

 

1) Software provisional manager 1.0

2) java components

3) kernel

4) JDK

 

 


S/NO                                                                    Heterogeneous system copy-Plan
1Prerequisites
1.1Run FULL online backup in Source system before export and also backup File system of source system before export.
1.2SIDADM and ORASID – create user for this, mention the users should belong to ‘sapsys’ and ‘dba’ group.
1.3Install JDK:
1.4

Processing Steps of a System Copy (Oracle only)

With the settings in the property file listed in the examples above and an Oracle database as source and target database, the following prerequisites must be fulfilled:

The following directories must exist on the export host (parameter: exportDirs):

\temp\export_dump\ABAP\DATA

 

\temp\export_dump\ABAP\DB

 

\temp\export_dump\ABAP\DB\ORA

 

The \temp\export_dump\ABAP\DATA directory must contain the STR files generated by R3ldctl.

The \temp\export_dump\ABAP\DB directory must contain the DDL<DBTYPE>.TPL files generated by R3ldctl.

The \temp\export_dump\ABAP\DB\ORA directory must contain the EXT files generated by R3szchk.

 

The following directories must exist on the import host (parameter: importDirs):

/install_dir/export_dump/ABAP/DATA

 

/install_dir/export_dump/ABAP/DB

 

/install_dir/export_dump/ABAP/DB/ORA

 

 

2Preparation
2.1General Techinical preparation
2.2Before you start a system copy, check the minimum kernel patch level required by the support package level of the source system.
2.3Call transaction SM13(Check if canceled or pending update requests exist in the system. If canceled or pending updates exist, you must update these again or delete them from all clients)
2.4Make sure that the tables TATGPC and TATGPCA are empty. To do so, use your database utility and delete the contents of these tables with the following statements:DELETE from TATGPCDELETE from TATGPCA
2.5If the tables are not empty and you do not delete the contents of these tables you encounter problems while importing the data to your target system because of non-NULL capable fields in these tables.
2.6Check if table VBDATA contains any entries. If there are entries, update or delete the corresponding update requests. check whether this action was successful, call transaction SE16 for table VBDATA.
2.7Before you run the export and after you have performed several checks, delete QCM tables on the source system.
2.8Call T-code SE14 Before you delete the QCM tables, The tables are consistent – no restart log or conversion procedure termination must be displayed.Choose ExtrasInvalid temp. table,Mark the tables and delete them.
2.9To avoid stopping the database due to a log directory being full, make sure that the log backup is enabled during the import.
2.10Check the requirment  and users for export
2.11Create Migration key

 

3Database Independent System Copy
3.1System Copy Procedure
3.2Generating DDL Statements
3.3Preparing the Table Split(Optional)
3.4Preparing Export and Import
3.5Running the Software Provisioning Manager to Perform the Export
3.6Montoring R3load and Jload
3.7Setting Up the Target System
3.8Transferring the Export Files to the Target Host
3.9Installing the Target System

 

4Follow-Up Activities
4.1Performing Follow-Up Activities in the Source System
4.2Performing Follow-Up Activities in the Target System
4.3Installing the License Key
4.4SAP Solution Manager: Connection Between System Landscape Directory and Landscape Management Database
4.5Activities at Operating System Level-Target system
4.6Activities at Database Level
4.7Activities at SAP System Level
4.8Checking the Target System
7.2.4.1General Follow-Up Activities
7.2.41.1Configuration Steps for the SAP Java Connector
7.2.4.1.2Generating Public-Key Certificates
7.2.4.2.1AS Java: Adobe Document Services
7.2.4.2.5Enterprise Services Repository: Connecting to the SLD
7.2.4.2.6Process Integration (PI)
7.2.4.6.1System Landscape Directory
7.2.4.2.6.2PI: Integration Server
7.2.4.2.6.3PI: Changes in the Exchange Profile
7.2.4.2.6.4PI: Refresh Caches
7.2.4.2.6.5PI: Switching Addresses
7.2.4.2.6.6

PI: Connection Checks

 

Reference SNOTE

 

SNOTE: 1738258, 82478 - SAP system OS/DB migration,1345600 - System Copy GuideLines for XI &   1680045 - Release Note for Software Provisioning Manager 1.0 SP05

 

Note : Download the documnet from SAP while doing any installation, migration and upgarde. Also touch with SAP before doing any migration,upgarde and new installation  of SAP appliaction to get their suggestion & recommendation.  Please find the following link https://websmp201.sap-ag.de/instguides to download the installation guide,upgrade or migration. You need the OSS user login-ID and password.

Every SAP customer or partner is issued a S-User, in order to login to the SAP Service Marketplace, you have to hit the URL: www.service.sap.com

In order to login to the SAP Support Portal, you will need your login credentials i.e.:

• S-User

• Password

To download any available version of SAP Sourcing, you should follow the following path. First go to Software Downloads (in case that is not already your landing page). Afterwards perform the following path: Installations and Upgrades --> A-Z Index

Please find the screen shot below to download the guide.

HSC.JPG


SAP CEN configuration for CCMS Alerts (Kernel 7.21 & above for satellite systems)

$
0
0

SAP CEN configuration for CCMS Alerts

(Kernel 7.21 and above for satellite system)




Summary:-

 

This document contain the step by step how to configure the CEN configuration for CCMS alerts in kernel 7.21 and above of satellite systems.

 

Created by: Brindavan Mookaiah

Designation: SAP BASIS Consultant



Table of Contents

 

 

 

SMTP Configuration .....................................................................................................

Configure CEN (Central Monitoring System)...................................................................

Create the CSMREG User.............................................................................................

Activating Background and Central System Dispatching ..................................................

Step-by-Step ................................................................................................................

Activate central system dispatching in CEN ...................................................................

Registering a CCMS Agent SAPCCM4X for ABAP-System ...............................................

Creating Central Z Method for Alerting ..............................................................................

Auto Reactions for E-Mail Alerting in SBWP.......................................................................

Assigning Z method to MTE classes .................................................................................

Testing method assignment and mail alert .........................................................................



SMTP Configuration

 

 

Go to TR:”SCOT” double click on “SMTP”

 

Capture1.JPG

Provide the SMTP connection information.


Capture2.JPG


Provide the Default Name as “your FQDN”

Capture3.JPG


Schedule the send job


Capture4.JPG


Configure CEN (Central Monitoring System)

Create the CSMREG User

 

Note: You must create this user in CEN and all monitored ABAP systems.

 

 

Goto T-code RZ21 ->Technical Infrastructure -> Configure Central System -> Create CSMREG User

Specify any password for this user. You require it during the installation and registration of the CCMS agents

and when creating RFC destinations in monitored systems, among other things.

 

Capture5.JPG

Capture6.JPG

Activating Background and Central System Dispatching

 

 

 

For all data collection methods in the monitoring architecture to be correctly started, background dispatching

needs to be activated. It starts all data collection methods that are executed periodically in the background

process (as jobs). To execute an auto-reaction in CEN for alerts from remote systems, central system

dispatching needs to be activated.

 

 

Note: Activate background dispatching in CEN and in all monitored ABAP systems in client 000.

 

 

•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.

•Choose Technical Infrastructure Method Execution Background Dispatching


Capture7.JPG


Background dispatching is performed by the job SAP_CCMS_MONI_BATCH_DP, which runs once an hour.

Note that not only this job, but also the data collection methods started by this job, run under your user

name. You should therefore ensure that your user has the authorizations required for this.

 

Activate central system dispatching in CEN

 

 

 

Step-by-Step

•Call transaction RZ21. The Monitoring: Properties and Methods screen appears.

•Choose Technical Infrastructure Central System Central System Dispatching.

Central system dispatching is performed by the job SAP_CCMS_CENSYS_DISPATCHER.

 

Capture8.JPG


Registering a CCMS Agent SAPCCM4X for ABAP-System

 

If the connecting systems are more than kernel version is 7.21.

 

Note : Please be aware, that in this release

there is already an integrated sapccm4x agent always started in

sapstartsrv by default, and you are not allowed to use both types of

the agents simultaneously, it will lead to inconsistencies.

 

 

If you do not have a special reason to use classical RFC sapccm4x

agents, then please unregister these agents from CEN, please move the

content of the agent working directory (DIR_LOGGING/sapccm4x on each

instance) to another place and restart sapstartsrv with (sapcontrol -nr 02 -function RestartService SID)

 

 

 

  Kindly follow the below steps to install sapccm4x gent

 

1) Please move the content of the agent working directory (DIR_LOGGING/sapccm4x on each instance)

    to another place.

 

2) please restart sapstartsrv with “sapcontrol -nr 02 -function RestartService

 


Capture9.JPG

3) Login into SOLAM system and got to T-code RZ21 and then click


Capture10.JPG

The screen will appear like below to select the system type and the press enter.


Capture11.JPG

4) Fill the required system information in the below screen


Capture12.JPG

Once the system is registered then goto T-code RZ21 and click Agent for remote systems-->Display

Capture.13JPG.JPG


Note: If the system CI and DB install in different host. Please install the sapccmsr agent on DB-host

to get the alerts from database host system.

 

Creating Central Z Method for Alerting

 

 

In Transaction RZ21 Click on Topology -> Method -> Display Overview

Copy “CCMS_OnAlert_Email_V2” to “Z:central_CCMS_OnAlert_Email ”

 

Capture14.JPG

 

Capture16.JPG


Capture17.JPG


Change option to “Only in Central System, Triggered by CCMD agents”


Capture18.JPG


Maintain Below parameters


Capture19.JPG


Note: make sure that the SENDER user id is mentioned in the upper case letters below and it is present in the client 000

      of Solution Manager system.

 

 

 

Check “Auto –Reaction Method”

Capture20.JPG


Auto Reactions for E-Mail Alerting in SBWP

 

 

Crating Distribution list for E-mail alerting --> Goto TR:SBWP

Create Folder “z” folder under shared

 

Capture21.JPG

Title=<something>

 

 

Select the second field of „Entry in DL‟ to „External Address‟

Capture23.JPG


Then click on Create button

 

 

You need to specify a folder by clicking on F4 button.

If there are no folders create a folder, say, ZBASIS etc..

Click on „Create Folder‟

 

Capture24.JPG

Mention the folder which you created if not please created the folder.


Capture26.JPG


Capture27.JPG


To see the distribution list from SBWP transaction, click on „Shared Folders‟ on the left,

To add list of email ids to the group double click on „BASISEMAILGRP‟ on the right.

Select “Z” folder and click on “Distribution Lists” and create “BASISEMAILGRP”

 

Capture28.JPG


Mention your E-mail address


Capture29.JPG


Assigning Z method to MTE classes

 

 

Select TBI and click on „MTE Classes from System‟ button to refresh MTEs from TBI system

Capture30.JPG


Then select the MTEs you want from the middle section and then select central auto reaction method from

right.

 

 

Click on „Assign Central Auto-Reaction‟ button,

Select the first checkbox below and then click OK.

 

 

Capture31.JPG


Note: Similarly assign the central auto reaction method to as many MTEs as you wish.

 

 

 

You can go to satellite system and check if the auto reaction method assigned.



Testing method assignment and mail alert

 

 

Goto T-Code: RZ20 and click the MTE class which you have already assigned the Zmethod

Example: I have assigned for “Abortedjobs”

Capture32.JPG

 

Click on “YES”

 

Capture33.JPG

 

Now we can alert see alert in INBOX with Subject and body

 

Capture.34JPG.JPG

 

 

Note : For SOLMAN7.1 you can go-forward to install SMD agent installation.

 

For more details : Please find the following link about the SMD.

 

http://wiki.scn.sap.com/wiki/display/SMSETUP/Installation+of+SMD+Agent+With+SWPM+SP04

 

Home - SAP Solution Manager Setup - SCN Wiki

 

Step by step how to Install Diagnostics Agent and connect the agent to adaptive computing

 

 

 

 











SAP Performance tuning with Oracle database 11G

$
0
0

SAP Performance tuning with Oracle database 11G & AIX OS



 

Summary:-

 

This document contains how to tune the parameters in SAP level as well in database level based on your hardware, SAP application and database configuration.

 

Author: Brindavan Mookaiah

Designation: SAP BASIS Consultant


Instruction

 

The information about the parameters which show here are after analysis from our system landscape. It might be different from your landscape. If you are facing any performance issue in your system then you should analysis first for past three months data like response  time, CPU utilization , database load , new z*program ,expensive SQL statement ,snote , might be if user access backend system from portal..etc…  . This document only shows how to analysis and do the tuning based on the hardware, SAP application and database. We have analyzed and found that nothing can be increased any hardware or update patches or any z*program created by ABAP developers (include any new variants on existing z*program) or any expansive SQL statement using like “join queries ,using selection screen more” are causing performance issue.  Here we have the system performed very well before and recently it causing performance issue due to the RAM has taken and shared to some other system, this caused performance issue in our system. But, system is not overloaded with any new SAP application changes, so we have to analysis and tune the parameters based on current RAM.

 

 

Information on eye

 

CPU utilization : If your CPU utilization is too high and not with SAP application and database then check with OS team to find the which process causing slow the system or might be increase the CPU resource

 

Database: If the system loaded with only database and not with CPU or RAM or SAP application then analyze the database and tune the parameters in database level .

 

SAP Application : If system slow due to the SAP application then tune the parameters like “abap/heap_area_total  , abap/heap_area_nondia , abap/heap_area_dia , EM/TOTAL_SIZE_MB” based on your hardware RAM or check the active BG job or Z* program ,expensive SQL statement  can be tune by ABAP pers .


Here we have the system performed very well before and recently it causing performance issue due to the RAM has taken and shared to some other system, this caused performance issue in our system.


SAP Appliaction : PPM system

OS                    : AIX

Database           : Oracle 11G


We have checked first about the CPU utlizaton at OS level using nmon on AIX operating system.


Login in to OS level with "SIDADM" and type command " nmon"


PT.JPG


and the type "C"


PT1.JPG



To check the RAM type "M"


PT3.JPG

To check the top process the type "topas"


Capture1.JPG

Here we have found that the system is runnin very less free space of RAM.So we have increase the RAM or you have to find anyother way to tune the parameters to fix the perfomance issue.


Now check the SAP appliaction  and Database as well.


We have analyzed the below parameters which are assigned value in SAP and DB level.

Based on our analysis we found that the system heap memory is not used at all.  So, we are planning to take 2GB of memory (heap memory) and assign to DB.

 

We have some database buffer cache issue which physical read is too high not sufficient.

Also we are planning to tune the extend memory as well.

 



In SAP level you check the various parameters from t-code  ST02  and T-code DB02 for database analysis


Capture2.JPG


Please find the detail information to tune the parameters in SAP and DB level.



System

Server/LPAR

Instance

Month

Total Memory Available (GB)

Total Memory Used Max(GB)

Extended Memory Configured (GB)

Extended Memory Max. Used (GB)

Heap Memory Configured (GB) (DIA + non DIA

Heap Memory Max Used (GB)

ABAP Program Buffer Configured  (MB)

Minimum ABAP Program Buffer Free (MB)

Export/Import buffer (MB)

Exp/Imp SHM (MB)

CUA buffer (MB)

Screen buffer (MB)

VMC Shared Pool Memory Configured (MB)

VMC Shared Pool Memory Used (MB)

Other

system name

LPAR:

CI system name

10

9,8

18

2,6

7,4

0,00

976,5

225,3

4

4

2,9

4,1

Inactive

Inactive

 

DATABASE

System

Server/LPAR

Instance

Month

Total Memory Available (GB)

Total Memory Used Max(GB)

DB Cache Memory Configured (GB)

DB Buffer Quality (%)

Shared Pool Memory Configured(GB)

Shared Pool buffer  Quality

SGA (GB)

PGA(MB)

Other parameter

system name

LPAR:
Server:

sap database host

10

9,8

2,4

99,9

2,4

2,4

4,9

330

 


In SAP side we have

 

EM/TOTAL_SIZE_MB = 18432 MB

abap/heap_area_dia = 4000683008Bytes

abap/heap_area_nondia = 4000683008Bytes

abap/heap_area_total = 8000000000Bytes

 

We will  change the parameter like below

 

EM/TOTAL_SIZE_MB = 10240MB

abap/heap_area_dia = 3000683008Bytes

abap/heap_area_nondia = 3000683008Bytes

abap/heap_area_total = 6000000000Bytes

 

 

By this way we will release 2GB of memory (1GB from abap/heap_area_dia and 1GB from abap/heap_area_nondia), this 2GB will be shared to DB parameter as shown below.

 

In DB side we have,

 

Buffer Cache Size (DB_CACHE_SIZE): 2617245696Bytes

Shared Pool Size (shared_pool_size): 2617245696Bytes

Maximum SGA Size (sga_max_size): 5284823040Bytes

 

We will  add this additional 2GB  to the below parameters,

 

Buffer Cache Size (DB_CACHE_SIZE): 3171557120Bytes

Shared Pool Size (shared_pool_size): 2931818496Bytes

Maximum SGA Size (sga_max_size): 6284823040Bytes

 

The below information is explained  about the current database buffer and shared pool size in database level.

 

Current running Database buffer case size :-


Login into OS level with "oraSID" and excute the below SQL command

 

COLUMN size_for_estimate FORMAT 999,999,999,999 heading 'Cache Size (MB)'

COLUMN buffers_for_estimate FORMAT 999,999,999 heading 'Buffers'

COLUMN estd_physical_read_factor FORMAT 999.90 heading 'Estd Phys|Read Factor'

COLUMN estd_physical_reads FORMAT 999,999,999 heading 'Estd Phys| Reads'

 

 

column size_for_estimate       format 999,999,999,999

column buffers_for_estimate    format 999,999,999

column estd_physical_read_factor format 999.90

column estd_physical_reads       format 999,999,999

 

 

 

SELECT size_for_estimate, buffers_for_estimate

     , estd_physical_read_factor, estd_physical_reads

  FROM V$DB_CACHE_ADVICE

WHERE name          = 'DEFAULT'

   AND block_size    = (SELECT value FROM V$PARAMETER

                         WHERE name = 'db_block_size')

   AND advice_status = 'ON';

 


The following output shows that if the cache was 2,160 MB, rather than the current size of 2,400 MB, the estimated number of physical reads would increase by a factor of 1.05.This means it would not be advisable to decrease the cache size

However, increasing the cache size 3024  would potentially decrease reads by a factor of  5%

 

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

                                Estd Phys    Estd Phys

Cache Size (MB)      Buffers Read Factor        Reads

---------------- ------------ ----------- ------------

             240       29,565        4.97  132,153,593      -->   10 % of current szie

             480       59,130        3.15   83,773,834

             720       88,695        2.24   59,611,205

             960      118,260        1.74   46,099,883

           1,200      147,825        1.45   38,412,908

           1,440      177,390        1.28   33,925,209

           1,680      206,955        1.17   31,088,982

           1,920      236,520        1.10   29,228,940

           2,160      266,085        1.05   27,878,798    

           2,400      295,650        1.01   26,880,033     -->  Current size

 

 

                               Estd Phys    Estd Phys

Cache Size (MB)      Buffers Read Factor        Reads

---------------- ------------ ----------- ------------

           2,496      307,476        1.00   26,568,531

           2,640      325,215         .98   26,150,487

           2,880      354,780         .96   25,506,595

           3,120      384,345         .94   25,026,134

           3,360      413,910         .93   24,608,745

           3,600      443,475         .91   24,254,741

           3,840      473,040         .90   23,938,076

           4,080      502,605         .89   23,696,871

           4,320      532,170         .88   23,504,570

           4,560      561,735         .88   23,336,835       -->  200% Current size

 

 

                                Estd Phys    Estd Phys

Cache Size (MB)      Buffers Read Factor        Reads

---------------- ------------ ----------- ------------

           4,800      591,300         .87   23,175,753

 

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

Checked the share pool size with following SQL Command

 

SELECT POOL,NAME, ROUND(BYTES/(1024*1024),2) FREE_MB FROM V$SGASTAT WHERE POOL='shared pool'AND NAME='free memory'ORDER BY BYTES DESC;

 

Shared pool size :-

 

 

Current size       : 2496 MB

Free space size : 363 MB

 

Capture3.JPG

 

You find the total SGA memory alloacted as well with following Command

 

select component,current_size from v$SGA_DYNAMIC_COMPONENTS;

 

Capture4.JPG

 

We have only 363 MB free space left . So , we are planning to increase 2796 MB.  We have done  SGA monitoring & PGA also , In SGA montoring we have found there is no memory available.

we have checked in SAP level using T-code DB02.

 

Capture5.JPG

 

 

 

And check the startup overhead in Shared Pool of  Database is 19321563Bytes as well.

 

Capture6.JPG

 

 

 

By increasing the above DB parameters we can reduce the overhead.

 

By this way the  system will be bit faster than perivous.

 

Note: Before changing any parmeters do the complete anaysis from hardware side,database side and SAP side .There are so many parameters in SAP side to tune, before doing any parameters changes in SAP side raise OSS message to SAP and get their suggestion & recommendation from them.



 

 







SAP Portal redirect method steps

$
0
0

SAP Portal redirect method steps

 

 

 

Summary:-

 

This document contains the information about to implement the redirect method on SAP Portal system.

 

Created by: Brindavan Mookaiah

Designation: SAP BASIS Consultant

 

Table of content

  1. JSPM tool……………………………………………………………………
  2. Deploy the redirect.ear………………………………….......................
  3. How to use...................................................................................

 

 

Steps 1

 

How to use JSPM to install EAR files

 

 

 

Download the EAR file from service market place and copy it to the import directory similar to this: usr/sap/sapmnt/trans/EPS/in.

Start JSPM using additional config parameter. Typically you can find the batch file to start JSPM here: usr/sap/<SID>/J00/j2ee/JSPM/go

 

-config=/jspm/deployVersionRule=updateAll

-config=/jspm/forceMode=true

 

step 2

 

Starting JSPM

 

 

Please consider to use the <SID>adm or administrator user. Then choose package type Hotfix and click Next. Select the file to deploy and confirm by clicking Next.

We recommend to remove the EAR file from directory usr/sap/sapmnt/trans/EPS/in after a successful import.

 

JS1.JPG

 

JS2.JPG

 

Step 3)

 

How to use

 

 

1)Make the "sap.com/redirect*redirect" policy configuration use your specific authentication protocol (e.g. make it use SPNegoLoginModule or other specific authentication method)

 

 

 

2)Use an alias to access your application e.g. if you want to change the authentication for the Portal, instead of http://<host>:<port>/irj use http://<host>:<port>/redirect. To change the authentication for another application use: http://<host>:<port>/redirect?url=/customapp

 

 

 

As a result, the redirect application will force authentication and then redirect to the initially desired application.

 

Note: You find the file redirect.ear is applicable on SAP NetWeaver  7.01  and above and redirect_700_640.ear is applicable NetWeaver 6.40, 7.00, 7.01 and 7.02 .

SAP kernel upgrade steps to perform on AIX

$
0
0

SAP kernel Patch upgrade steps to perform on AIX


Summary:-

 

   This document contains the steps to do the SAP kernel Patch upgrade on AIX operating system.

 

Table of content

 

    1) Check the kernel version………………………………………………………..

    2) Download the new kernel and ......................................................................

    3) Stop sap………………………………………………………….......................

    4) Take backup of old kernel………………………………………………………..

    5) Update the new kernel…………………………………………………………....

       5.1 Uncar the download kernal file using SAPCAR command

        5.2 Update the new kernal

    6) Start sap system and check the sap system…………………………….........

 

 

Instruction

 

SAP Application kernel upgrade should be done based on EWA report or SAP recommendation.

 

Step 1

Stop SAP system

Login into OS level with SIDadm.

Capture1.JPG


type "disp+work" or check in sap level in T-code sm51 about the current kernal version.



Capture3.JPG


Capture2.JPG

step 2


Downlaod the new SAP kernel from servive market place.


Gotto website : https://service.sap.com

Then click on software download ---> support packages and Patches. You can check the kernel in My company Components or A-Z Intex.

Downloaded the letest kernel for your SAP appliaction, this file are SAR files and move this file to the server at os level.


Capture5.JPG


step 3


In os type command "stopsap r3"

Capture4.JPG


Step 4

 

Take the backup of exe file into the safe directory.

 

Capture6.JPG

and rename the "exe" file to like "exe.org"


Capture8.JPG


Step 5


5.1 Uncar the download kernal file using SAPCAR command

Capture7.JPG


5.2 Update the new kernal

 

Create new "exe " directory file under  the filesystem "/sapmnt/SID " and move all the extract files which you uncar the new kernel file from service market place.


Capture9.JPG


and run the script as well "/saproot.sh SID" to change ownership of files.

 

Capture10.JPG



Step 6


Start sap system and check the sap system

 

Capture11.JPG

check the kernel version


Capture12.JPG


Capture13.JPG


 

By the this way kernal patch has been upgrade and you update the R3trans and tp as well.

 

Note : Do the complete system check in SAP level using T-code SM21,SICK,ST22,SM50,SM12,SM13,SM66..etc.. and check the Brtools working fine or not.

 

 


How to set System Time/Date in Netweaver Administrator

$
0
0

Sometimes, we see that the System Time/Date value in NWA are different than the Date & Time values of the OS. The Date & Time value on the OS are correct but NWA shows different value which is incorrect.

 

Capture1.JPG

 

 

Value for System Time/Date in NWA can be set through Personalize -> Time Zone. It provides 3 options:

 

System Time Zone

User Time Zone

Custom Time Zone

 

In order to set the Timezone w.r.t. the OS, select option Personalize -> Time Zone -> System Time Zone.

 

 

Capture2.JPG

Viewing all 273 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>