Sie sind auf Seite 1von 57

What are the functions of SAPOSCOL ?

This article answers following queries :

What is SAPOSCOL ?
What are the functions of SAPOSCOL ?

SAPOSCOL is an operating system collector. It is a standalone program that runs in operating system background.

SAPOSCOL collects data about operating system resources like

CPU Utilization
Usage of Physical Memory
Usage of Virtual Memory
Usage of filesytems
Usage of Physical disks
Usage of running processes

SAPOSCOL runs exactly once per host and runs independently of the sap system.

By default, SAPOSCOL collects data every 10seconds and records it. It also records the hourly average statistics for the last 24hours in
shared memory. This data will be fetched by background job SAP_COLLECTOR_FOR_PERFORMANCE and writes it to the MONI
performance database table.

How to delete transactional RFCs ?


This article answers following queries:

How to delete transaction rfcs in SAP?


Explain the process of deleting struck or old transactional rfcs in SAP
How to delete trfcs in SAP?
-----------------------------------------------------------------------------------------------------

Sometimes, you may face transactional rfc issues in SM58 (like connection error/SQL errors/Application error/System error
etc). In those cases, you want to delete those problematic rfc entries. So, please proceed as follows for deleting those
entries.

Login to SAP system ABAP stack and navigate to SM58 transaction as shown below. Select the display period and username as
per your requirement and execute by clicking on highlighted icon below.
For example, there are 2 transactional rfc errors (similar to below screen)

If you want to delete them permanently from the above list, you have to proceed as shown below.

Navigate to Log file -> Reorganize as shown below

It will result in below screen.


Please provide the relevant dates/destination/username and select status as applicable to your scenario and execute the
same by clicking on highlighted icon.

Based on the above criteria, whatever rfcs that is matching will be deleted and a confirmation message similar to below will
be displayed on the status bar.

Logon group configuration in SAP


This article answers following questions:

How to configure/setup logon groups in SAP?

What are logon groups in SAP?

What transaction code is used for logon group configuration?

How to perform work load distribution in SAP system?

Explain the benefits of logon groups in SAP?

What are the advantages of creating logon groups?

What are the guidelines for creating logon groups in SAP?

What is the default logon group in SAP?

How to delete logon group in SAP?

How to check logon load distribution in SAP?

Logon Groups:

Logon groups (or work groups) are configured to dynamically distribute the load being processed by the dialog
work processes.

In many cases, SAP systems will have 2 or more sap abap instances. In these cases, logon groups can be
configured to achieve dynamic distribution of dialog users on the ABAP instances.

Setting up logon groups helps in uniform distribution of the work load across the available instances. While
logging on using a logon group, the ABAP message server is contacted to identify the instance with best performance
statistics within the selected logon group. A report runs in SAP every 5minutes which determines the load across each
server and updates in the memory area of the message server. This information will be used by SAP GUI to determine the
best instance to distribute the next user.

SPACE is the default logon group. By default, every instance of an SAP system (including central instance) is
assigned to the logon group SPACE. This performs uniform distribution of the dialog workload.
However, if you want to distribute users on some other criteria as following, you can create additional logon
groups using SMLG transaction code.

Other criteria:

Logon groups according to SAP application / module: Separate logon groups can be setup for
applications/modules such as HR, FI/CO, SD, MM etc. It means HR module users will be restricted to logon to identified
instances, similarly other module users are allowed to login to their respective identified instances. The advantages of this
method, is only the programs of the respective module are loaded into the program buffer of the particular instances of
that logon group. Due to this, program buffer requires less memory and this helps to avoid buffer displacements thus
improving system performance.

Logon groups according to language, country or company division:

If your SAP system is operating across multiple countries or languages, in that case it is good idea to
create logon groups specific to a country or language. By this way the data and text related to specific country
or language will be loaded into the buffers of the respective instances.

This minimizes buffer displacements and improves system performance. Also less memory is required for the table
buffer.

Logon groups for certain user groups:

We can setup separate logon groups for some department like sales whose work is performance critical. For that logon
groups we assign instances which operates with high level of performance (e.g: high speed processors, less users per
server, no background or update workprocesses configured or a dedicated network etc)
Some department users may take time-consuming reports in dialog mode. For these type of users, you may have to create
separate logon group and assign an sap instance where profile parameter rdisp/max_wprun_time is set to very high
In this way we can separate performance critical/resource intensive applications from others.

Logon groups for the SAP Web Dispatcher:

For direct ABAP web service requests, we can setup logon groups that the SAP Web Dispatcher can use. If logon groups
are not configured for web dispatcher, the load is distributed to all ABAP instances on which ICM is configured. Also,
based on URLs we can distribute certain group of requests to dedicated logon groups.

Logon groups for ALE/RFC:

Asynchronous RFCs are used to process in parallel. However if the parallel processes are not limited properly, they can
occupy all the available processes which impacts dialog users and can bring down the application. So, it is good idea to
create separate logon groups for incoming RFC calls so that RFCs are kept separate from workprocesses of online users
and thus avoids impact to dialog users.

Guide lines:

After assigning instances to logon groups


We need to verify whether the instances of logon groups are evenly distributed or not.

If an instance hangs or temporarily got disconnected, you should be able to redistribute the users
So, you need to setup at least 2 sap instances for each logon group.
Setting up logon groups involves extra administration and monitoring. So, unnecessarily large number of logon groups
shouldnt be setup

How to setup logon groups?

SMLG transaction code is used for creating logon groups.

Logon to SAP system and goto SMLG transaction as shown below:

In the above example there are 2 instances (00 and 09) in this SAP system. These are not yet assigned to any
logon group.

We can create a new logon group by clicking on highlighted create icon on the above screen. It results in below screen.
In the above screen, either select logon group from dropdown or provide its name if you are newly creating. After that
assign instance for that logon group and click on copy to save the assignment.

In this example iam creating two logon groups hr and fico and assigning instances 00 and 09 respectively. Please find
below screenshots which explains the same.
Repeat the same step and create logon group fico and assign instance 09 for it as shown above.

After doing this, you can see following logon groups in SMLG
Once you are done with logon group setup, please log off from SAP system and goto SAPGUI of the respective SAP
system.

Click on properties of the respective GUI entry and goto to connection tab as shown below.
Please select Group/Server selection option from the drop down of Connection Type as shown above and maintain
description and system id of the instance as shown above.

Now, you should be able to view the newly created logon groups as shown in below figure:
Also, please note you are able to view logon group SPACE also which gets created by default

Now, you can configure any desired logon group to the users as shown below:
For example in the above screen fico group is assigned to the end users in his GUI so that now onwards, he will login into
instance number 09 only.

How to delete logon group or assignment?


If you no longer require any logon group, you can delete by proceeding as shown below:

i)Goto SMLG transaction

ii) Select the respective row and click on delete assignment which deletes the assignment of an instance to a logon group
(highlighted in green color in below screen)
Click on delete icon above which confirms deletion of assignment
iii)If you wish to delete logon group itself, then select the respective logon group and click on delete group in the above
screen highlighted in red color (please refer screen 1 of point ii above). This deletes the logon group itself and removes all
assignments related to this group.

How to check logon load distribution in SAP?

Goto transaction code SMLG as shown below and click on highlighted icon below to view the load distribution across
instances

Alternatively, you can view this by navigating to Goto -> Load Distribution or by pressing F5 key in the above
screen

Explain Java Virtual Memory in SAP


This article answers following queries :

Explain memory management of Java Virtual Machine(JVM) in SAP

Explain JVM memory areas in SAP

Explain Young generation, Tenured generation and Permanent Generations

How to maintain JVM parameters in SAP?

Which tool is used to configure Java VM settings in SAP?

How JVM automatically takes care of memory allocation?

Explain Used memory, Allocated memory, Virtual memory

----------------------------------------------------------------------------------
The JVM automatically takes care of allocation of memory space for java applications.

A generation reserves space in the address area of the host.

While starting sap system, the java virtual machine allocates operating system memory for each of the generations. This initially
allocated memory is termed as initial or initial size. After complete usage of initial size, the java virtual machine further
allocates memory in stages upto a maximum defined value termed as max size.

The memory space that is available is called the available memory or allocated memory. Since this space is reserved by the
operating system, it is also called as reserved space. The space that is not reserved is called as virtual memory.

The reserved space is available to the JVM. However, not all the memory is used always. It will be used based on the
requirement. The memory that is actually used by the java applications is termed as used memory. If less space is required by
the java application, the memory is returned to the operating system in stages.

The memory area of JVM is mainly divided into 3 areas as listed below

Young generation

Tenured generation

Permanent generation

The 3 memory areas Young, Tenured and Permanent differ based on the data stored in them. Each of these generations has an
initial and maximum size.

Young Generation : The objects that have been newly created by the applications are stored in the younger generation.

For younger generation, we can define initial size and maximum size with the parameters -XX:NewSize and XX:MaxNewSize
respectively

Tenured Generation: The objects that have been required for a longer period of time by an application are automatically moved
to the tenured generation

For tenured generation, we cannot directly set initial size and maximum size directly. These are calculated from the parameters
of the younger generation and the parameters Xms and Xmx.

The parameter Xms is the start heap size or initial heap size and it defines the total initial size of the young and tenured
generations.

The parameter -Xmx is the max heap size and it defines the total size of the young and tenured generations.

So indirectly, it means that


Initial size of tenured generation = (-Xms) - (-XX:NewSize)

Maximum size of tenured generation = (-Xmx) (XX:MaxNewSize)

Permanent Generation : The objects that are permanently required by the JVM such as classes and objects are stored in the
Permanent Generation.

For permanent generation, we can define initial size and maximum size with the parameters XX:PermSize and
XX:MaxPermSize respectively

Config Tool is the only tool used to set JVM parameters in an SAP java system.

How to restart any java application in SAP netweaver AS


Java?
This article answers the following queries:

How to restart any application in SAP netweaver AS Java?

Which tools can be used to restart any java application in SAP netweaver AS Java?

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

There will be many applications in SAP Netweaver As java. These java applications can be stopped, started or restarted using NWA tool and
Visual administrator tools.

In this article, am covering the process to be followed to restart java application through NWA

Login to SAP NWA tool through java link similar to below one providing hostname, port following by nwa quick link

http://<hostname>:<port>/nwa

Example: http://testserver:50000/nwa

System prompts you to enter user id and password as shown below


Authenticate yourself by providing administrator/j2ee_admin user id and password

ii) Once logged in, you will see screen similar to below
Navigate to System Management -> Administration -> Applications as shown in below figure.
In the above screen, from the dropdown box of show, select ALL applications and in the Get dropdown box, select Application name as
shown in below screen which displays all the applications and their status.
lect the application on which you want to perform start/stop.

you select the service respective operation is highlighted. i.e. if application is currently stopped, it provides option for you to start it and
viceversa.

u would like to restart a service, first of all stop it and then start it.
How to view SAP support pack schedule?
This article answers following queries in sap

How to view SAP support pack schedule?

Where can we get SAP support pack schedule information?

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

In real time, you may wish to perform support pack upgrade for an application like ECC. In those cases, you may be interested to know,
when is the next support pack stack release for specific application, so that you can plan upgrade accordingly.

You can get SAP support pack schedule from Service Market Place(SMP).

To view the SAP support pack schedule, please navigate as follows:

In SMP, Go to Software Downloads tab -> SAP Software Download Center -> SAP Support package stacks -> SP Stacks
maintenance schedule

Please refer below screenshot which shows the navigation


On the right side of the above screen, you can view the release week of every application. The week number on which support package stack
will be released for each application will be given. The week number starts at 1 (indicating 1 st week of Jan) and it goes on.

You can have complete view of the schedule by collapsing the left side window.
In the above screenshot, you can view that SAP ERP 6.0 , support pack level 23 will be released in 16th week of 2013 in Quarter 2.

Similarly SAP Netweaver 7.0, support pack level 28 will be released on 4 th week of 2013 in Quarter1

How to access SDM tool in sap?


This article answers the following queries:

How to access SDM tool in sap?

How to invoke SDM remote GUI client tool in SAP?

Explain the steps you follow to deploy software using SDM tool in sap ?

How to change SDM password?

What is the default port used by SDM?

What are SDUs in SAP?

Is it possible to undeploy java components from SDM?

How to undeploy java components from SDM?

Is it possible to undeploy a component that is dependent on other components in java of SAP?

How to undeploy a component that is dependent on other components in SDM?

At which location SDM log s are written?


Name different logs files related to SDM and their content in SAP

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

Software Deployment Manager(SDM) is the standard tool to install or deploy java components on the AS java of sap.

SDM will be present in the Java Central Instance server. To access the same you have to navigate to the following path at Os level and
run RemoteGui.sh( if it is in Unix Os) orRemoteGui.bat file (if it is windows Os)

In windows :

<Drive>:\usr\sap\<SID>\JC<inst no>\SDM\program

Eg: Navigate to D:\usr\sap\RJ1\JC00\SDM\program and run RemoteGui.bat file

In Unix :

/usr/sap/<SID>/JC<inst no>/SDM/program

Eg: Navigate to /usr/sap/<SID>/JC00/SDM/program and run RemoteGui.sh file

I f you perform any of the above steps based on your operating system, SDM GUI will open as shown below:

Figure 1:

Click on Connect button (highlighted in above picture). Then System prompts you to provide SDM password to connect to the
tool as shown below.
Figure 2:

As shown in the above figure, please note SDM connects to port 18.

i.e If instance number is 00, then the SDM port will be 50018.

Please provide SDM password and click on Login button to connect to SDM tool. Once you are successfully connected, a screen similar to
below will appear.
Figure 3:

Please note that there are 4 following tabs here

DM Repository

Deployment

Undeployment

og Viewer

and each one of them have significance as described below.

SDM Repository: This stores information about the registered SDAs (Software Deployment Archives) and SCAs (Software Component
Archives).

SDAs and SCAs are called as SDUs (Software Deployment Units)

When deploying SDUs, the Software Deployment Manager stores the data in the SDM repository, where it then manages the installed
archives.

On the SDM repository tab, we can

Browse the deployed components by target systems

Browse all deployed components (i.e. list of SDAs and SCAs)

Manage the public substitution variables

View the SDM repository information

Change the SDM password

In the above screenshot, if you select the icon highlighted in red color, you will be able to display public substitution variables and maintain
them.

Please refer below screenshot for reference:

You can add or remove substitution variables by clicking on plus and minus icons present in the below screen.
Figure 4:

By clicking on the icon highlighted in blue colour in the figure3, we can display SDM repository related configuration information as shown
below.
Figure 5:

How to change SDM password?

Please refer below screenshot. By clicking on the highlighted icon in SDM repository tab, we can change the SDM password
Deployment: We use the deployment tab in SDM for actually deploying new Software Deployment Units (SDUs). The SDM takes you
through selecting the components and actually deploying software in the target directory.

Under deployment tab, you can view screen as shown below:


ndeployment: It is possible to undeploy java components that are deployed earlier. Use the Undeployment tab to do the same. Select all the
components that were deployed earlier and no longer needed and click on Start Undeployment tab to undeploy the same. A screen similar
to below will be available to you.
Figure 8:

SDM automatically checks for dependencies while undeploying any component. If you are undeploying any component, please
make sure you undeploy all other dependant components beforehand.

Log viewer: This tab page will be used to view SDM work related log. Once you select this tab, you can view screen similar to below one
which displays all the logs related to SDM tool.

We can locate this SDM log at Operating system level also at following path:

/usr/sap/SID/<Instance_name>/SDM/program/log
Figure 9:

If you wish, you can also check other logs related to SDM by clicking on highlighted Choose other logs icon in the
above figure. This will result in following screen, where you can select the desired log file to view the content.

e 10:

Please find below table which provides the log file names and their content
SDM Modes and start/stop process
This article answers following queries :

What is full form of SDM?

Which tool is responsible for deploying software in AS java of SAP?

What is meant by software deployment?

How to remove the link between SDM and Java control framework in sap?

What are the different modes of SDM?

How to change mode of SDM?

How to start or stop SDM independent of the java engine?

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

SDM stands for Software Deployment Manager.

SDM tool is responsible for deploying software in AS Java of SAP.

SDM is used by a large number of tools like JSPM, NWDI etc in the AS Java environment for deploying software. Also, SDM is the tool
used to deploy special software packages that are received from SAP and other providers.

Software Deployment is the last step in the delivery process of software. That is the transfer of supplied software packages (SDAs, SCAs or
other j2ee archives) into the runtime environment of the SAP system.
How to start or stop SDM independent of the java engine?

Usually SDM starts/stops with Java engine. However, it is also possible to start or stop SDM independent of the java engine. Please find
below process to do the same.

Open command prompt and navigate to the usr/sap/<SID>/<Instance_name>/SDM/program directory of your J2EE engine

Execute stopserver.bat file in windows to stop SDM. Incase if Os is UNIX related, execute stopserver.sh file. This stops SDM. To verify,
whether SDM is stopped or not, it can be checked in MMC or SAP Management Console or JCMon or JSMon

Execute startserver.bat file in windows to start SDM. Incase if Os is UNIX related, execute startserver.sh file. This starts SDM. To verify,
whether SDM is started or not, it can be checked in MMC or SAP Management Console or JCMon or JSMon

Modes of SDM:

There are 2 modes in SDM. They are

Standalone

Integrated

These modes determine whether SDM will have link to Java control framework or not.

In standalone mode, SDM will not have link to Java control framework. Please note that in standalone mode, SDM will no longer start or
stop automatically with J2EE engine.

In Integrated mode, SDM does have a link to the Java control framework.

Changing SDM Modes:

Open command prompt and navigate to the usr/sap/<SID>/<Instance_name>/SDM/program directory of your J2EE engine.

Execute stopserver.bat file in windows to stop SDM. Incase if Os is Unix related, execute stopserver.sh file

To remove the link between SDM and the java control framework, execute the following command in the command line in respective
operating systems.
sdm jstartup mode=standalone (In windows Os)

sdm.sh jstartup mode=standalone ( In Unix os)

To integrate the SDM in the java control framework, execute the following command in the command line in respective operating systems.

sdm jstartup mode=integrated (In windows os)

sdm.sh jstartup mode=integrated (In Unix os)

Execute startsterver.bat file in windows to start SDM. Incase, if Os is Unix related, execute startserver.sh file

SDM Modes and start/stop process


This article answers following queries :

What is full form of SDM?

Which tool is responsible for deploying software in AS java of SAP?

What is meant by software deployment?

How to remove the link between SDM and Java control framework in sap?

What are the different modes of SDM?

How to change mode of SDM?

How to start or stop SDM independent of the java engine?

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

SDM stands for Software Deployment Manager.

SDM tool is responsible for deploying software in AS Java of SAP.

SDM is used by a large number of tools like JSPM, NWDI etc in the AS Java environment for deploying software. Also, SDM is the tool
used to deploy special software packages that are received from SAP and other providers.

Software Deployment is the last step in the delivery process of software. That is the transfer of supplied software packages (SDAs, SCAs or
other j2ee archives) into the runtime environment of the SAP system.

How to start or stop SDM independent of the java engine?

Usually SDM starts/stops with Java engine. However, it is also possible to start or stop SDM independent of the java engine. Please find
below process to do the same.
Open command prompt and navigate to the usr/sap/<SID>/<Instance_name>/SDM/program directory of your J2EE engine

Execute stopserver.bat file in windows to stop SDM. Incase if Os is UNIX related, execute stopserver.sh file. This stops SDM. To verify,
whether SDM is stopped or not, it can be checked in MMC or SAP Management Console or JCMon or JSMon

Execute startserver.bat file in windows to start SDM. Incase if Os is UNIX related, execute startserver.sh file. This starts SDM. To verify,
whether SDM is started or not, it can be checked in MMC or SAP Management Console or JCMon or JSMon

Modes of SDM:

There are 2 modes in SDM. They are

Standalone

Integrated

These modes determine whether SDM will have link to Java control framework or not.

In standalone mode, SDM will not have link to Java control framework. Please note that in standalone mode, SDM will no longer start or
stop automatically with J2EE engine.

In Integrated mode, SDM does have a link to the Java control framework.

Changing SDM Modes:

Open command prompt and navigate to the usr/sap/<SID>/<Instance_name>/SDM/program directory of your J2EE engine.

Execute stopserver.bat file in windows to stop SDM. Incase if Os is Unix related, execute stopserver.sh file

To remove the link between SDM and the java control framework, execute the following command in the command line in respective
operating systems.

sdm jstartup mode=standalone (In windows Os)

sdm.sh jstartup mode=standalone ( In Unix os)

To integrate the SDM in the java control framework, execute the following command in the command line in respective operating systems.

sdm jstartup mode=integrated (In windows os)

sdm.sh jstartup mode=integrated (In Unix os)

Execute startsterver.bat file in windows to start SDM. Incase, if Os is Unix related, execute startserver.sh file
Explain different usage types in SAP Netweaver
This article answers following queries:

Explain the term usage type


What are the different usage types in SAP Netweaver?
Explain different usage types in SAP Netweaver

------------------------------------------------------------------------------------------
Usage types are
Structuring elements for SAP software on a technical level
Determine the intended purpose of a system
Are realized by installing and configuring a collection of software components
May required other usage types to operate

List of usage types & their explanation in SAP Netweaver

Application Server ABAP (AS ABAP)

This usage type provides the ABAP foundation of SAP Netweaver. Search Engine Service (SES), which enables users to search for business
objects using Search and Classification (TREX) is part of AS ABAP usage type.

Application Server Java (AS Java)

This usage type provides the Java foundation of SAP Netweaver. It consists of
J2EE 1.3 Compliant application server (for running enterprise applications)
SAP Composite Application Framework(for building and deploying composite applications)
User interface technology WebDynpro (for developing professional business applications for mobiles as well as for desktop clients)
Adobe Document Services (to provide a range of form and document creation and manipulation functions)

Enterprise Portal Core (EPC)

This usage type provides flexibility to setup core portal components while implementing a portal where full capabilities of portal (like
knowledge management , collaboration etc) are not needed.

Enterprise Portal (EP)

Usage type EP provides all the portal capabilities except that are present in EPC usage type. So, inorder to install an enterprise portal with
full capabilities it is required to install both EPC and EP.

Usage type EPC is therefore a prerequisite for EP

Business Intelligence (BI)

Usage type BI provides the infrastructure for SAP Netweaver scenarios like

Enterprise Data Warehousing


Enterprise Reporting
Query and Analysis
Business Planning and Analytical Services

Business Intelligence Java Components (BI Java)

Usage type BI Java is used to provide Java runtime for IT scenarios such as

Enterprise Reporting
Query and Analysis
Business Planning and Analytical Services
Enables variants such as Information broadcasting and adhoc query & analysis
Enables webdynpro based BI applications
Enables third party data access via Universal Data Integration

Development Infrastructure (DI)

Usage type DI is used to provide environment for all


Java based development
Java based Software Life Cycle Management

Mobile Infrastructure (MI)

Usage type MI is used to provide infrastructure to

Run applications on mobile devices


Enable field personnel to participate in a business process in an occasionally connected mode
Process Integration (PI)

Usage type PI
consists of all core components that model, design, automate and integrate processes in one or more application systems
Integrates internal and cross company processes
Formerly termed as Exchange Infrastructure (XI)

SAP Netweaver Layers and its offerings


This article answers following queries:
1) What is SAP Netweaver and what it offers?
2) What are the different SAP Netweaver layers?
3) Explain SAP Netweaver layers?

SAP Netweaver and its Offerings:

SAP Netweaver AS is the logical result of further developing SAP application server Technology (earlier called SAP Basis), where by
special attention is paid to web applications.
SAP Netweaver offers :
A reliable, convenient and user friendly development environment
A reliable and thoroughly tested runtime environment for running ABAP and Java programs
Support for various open standards like HTTP, HTTPS, SOAP, SMTP, SSL, SSO, X.509, Unicode, HTML, WML and XML
Support for platform independence ( i.e. running on different Operating systems/databases)
High Scalability
A framework for executing complex business processes that meets highest security standards
Multi level architecture ( i.e. Presentation level, Application level and Database levels)
Support for various user interfaces like SAPGUI, Browser etc

SAP Netweaver Layers:


SAP Netweaver is based on a technology using industry standards and can be enhanced with development tools such as Java, J2EE,
Microsoft .Net and IBM Webshphere.
Netweaver consists of following 4 layers
eople Integration
nformation Integration
rocess Integration
Application Platform
People Integration :
People integration makes sure that employees or customers of an organization, have quick access to information to perform their activities
efficiently.
For example:
Using SAP Enterprise Portal system, customers can access the required information at ease and perform their tasks.
Using SAP Netweaver Mobile Integration technology, customers can access the information related to a company from a mobile and thus
perform their tasks easily

Information Integration :
Information integration layer provides access to all structured and non-structured information of an organization/company.
For example :
SAP Netweaver Systems like Business Intelligence- BI, Enterprise Portal (Knowledge Management- KM ), and Master Data
Management(MDM) areas provide comprehensive options for uniform access to distributed information in a company.

Process Integration :
Process Integration ensures that business processes work across system borders in a landscape of heterogeneous systems. In other words, it
allows communication between different system types.
For example :
SAP XI or SAP PI system plays a crucial role and connects SAP and Non-SAP systems. It mainly uses open standards from XML and Java for
that.

Application Platform :
SAP Netweaver application server provides proven infrastructure for running business applications that are based on ABAP or Java. In
addition to runtime environment for ABAP or Java, the respective development tools are also available for you to implement your own
applications.
Mainly, Application platform supports
Open standards
Browser based access
Web services

In addition to these 4 layers, SAP Netweaver offers


Lifecycle Management
Composite Application Framework (CAF)
Life Cycle Management supports following aspects for entire solution
Design
Development
Deployment
Change management
Along with this it meets the requirements for security, design, modeling and testing.
Composite Application Framework (CAF) is
Integrated into SAP netweaver
Enables SAP and its partners to create new applications
Offers tools, frameworks, rules and methods to create applications based on business processes

How to perform mail configuration in SAP?

This article answers the following queries:

How to perform mail configuration in SAP?


How is the tcode for mail configuration in SAP?
What are the steps involved in mail configuration in SAP?
What profile parameters to be defined to enable mail configuration in SAP?
How to perform SMTP configuration in SAP?
How to activate SMTP server host in SAP?
How to schedule SAPCONNECT mail send job in SAP?

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

The kernel of the SAP Web Application server supports SMTP (Simple Mail Transfer Protocol).
This protocol enables email exchange between SAP system and each SMTP mail server, without
having to use additional external components.

The SAP system sends the outbound emails to a separate mail server, whilst the mails in the
inbound direction can be received by any number of mail servers.

To use the SMTP functionality, below mentioned profile parameters are to be maintained, in the
application servers of SAP using RZ10 transaction.

icm/server/port_<*> = PROT=<protocol>, PORT=<port>

In the above line protocol can be any one of SMTP, HTTP or HTTPs. For web dispatchers, there
is an additional protocol named ROUTER

For Example, this parameter may look like one of these below:
icm/server/port_0 = PROT=SMTP, PORT=3
icm/server/port_1 = PROT=HTTP, PORT=1086
icm/server/port_2 = PROT=HTTPS, PORT=1444

Optionally, we can also set TIME_OUT parameter to define maximum waiting time (in seconds) to
be applied for a mail server to respond.

This parameter icm/server/port_<*>, opens a TCP/IP port for receiving mails through the SMTP
plugin. <Port> describes the port that is to be used. If no mails are to be received in a
given SAP system, then please maintain the port number as 0.

Please find below screenshot, which gives an idea on how to maintain this parameter in RZ10
profile of SAP application server
Please make sure RZ10 parameter rdisp/start_icman is set to true as shown below. This
setting ensures that ICM(Internet Communication manager) is started so that
application server can directly process all external protocols like HTTP

Another profile parameter to be maintained is :

is/SMTP/virt_host_<*> = <host>:<port>,<port>,...;
Example values will look as shown below:
is/SMTP/virt_host_0 = *.25010;
is/SMTP/virt_host_1 = *:25011;
This parameter defines a virtual mail host for receiving mails. If all incoming mails are to
be received and processed by one single client of the sap system, then this parameter is not
required to be set. In this scenario, is/SMTP/virt_host_0=*.* will be used by default.

If multiple clients are to be used as recipients, a virtual host to be created for each of
these clients.
<host> indicates the name of the host to which the incoming mails are addressed. If mails are
to be sent independent of the host being addressed, * can be entered.

<Port> describes the number of the port to which the incoming mails are addressed.

Please find below screenshot which helps you in understanding how to set this
parameter in sap system

In the above example, value * is set for both host and port

Creation of Service User

After maintaining these parameters, a service user to be created using SU01 transaction.
S_A.SCON profile need to be assigned to this user. This service user can be used for
processing incoming mails in every SAP system client

Assigning Email address to Users

After this, every user who is supposed to receive emails in an sap system should require an
email id. This email id should be maintained in Email section of address tab in SU01
transaction

Activation of SMTP Node in SICF Transaction


Every SAP system that is to receive and process incoming mails must have a SMTP server. One
SMTP server has already been created in SICF and is delivered by default in every SAP system.
Please use this to create the first client and create another SMTP server for each additional
client.

Goto transaction SICF and provide SAPCONNECT in the Virtual Host field as shown below and
execute

It displays the below screen

Double click on SAPconnect entry highlighted above which displays below screen
In the above screen, in the host data tab, please maintain the the sequence number of
parameter is/SMTP/virt_host_# from the profile. If you have created only one client, enter 0.

After this navigate to Logon Data tab in the above screen. It results in below
screen
In the above screen, please maintain client, language and user/password details. The user to
be maintained here is nothing but service user created by you for incoming mails.
After this, navigate to Handler list tab of the above screen, which will be
similar to below screen

Please maintain CL_SMTP_EXT_SAPCONNECT in handler list as shown in the above screen.

Also, please note that each SMTP server must be activated after being created or
changed. To activate, please goto tcode SICF and navigate as shown below. Please note
inactive servers are grayed out
SAPCONNECT Administration using SCOT
We have to configure SAPconnect settings for every client of sap system that is used for
send process

Domain Configuration:
First of all, domain configuration to be done. To perform that, please goto SCOT
transaction and navigate as shown below ( Settings -> Default domain)
It results in below screen and system prompts you to provide your organizations domain
name. Please provide the same and click on tick mark to confirm

Once you the provide the same, please navigate to SCOT transaction again and
double click on SMTP node which was highlighted in green below in the below screen
Once you double click on SMTP, it results in below screen
In the above screen, please maintain Mail host details. After that under
Supported address types section, click on Set pushbutton, which is next to
Internet. It results in below screen
In the above screen, in the address area, which make sure your organisations domain
address details are maintained.
For example: if your company name is XYZ345. It will be like XYZ345.COM
Leave all other default settings unchanged.

Scheduling Email-Send Job


The emails that are sent by SAP are stored in a queue. A periodical background job
gets the email from this queue and sends them over the internet. To schedule this
job, goto transaction SCOT and navigate to menu View -> Jobs as shown in below screen
It results it screen similar to below.
If no other job is scheduled, choose Job -> Create. Please provide job name and
confirm it

Select the variant SAP&CONNECTALL by positioning the cursor on it. Choose schedule job
periodically. Select the desired interval like every 15mins. Choose create and complete the
job schedule.

This completes the mail/SMTP configuration in an SAP system

Das könnte Ihnen auch gefallen