Thursday, January 29, 2009

Fist Steps SAP BASIS

Hi,

A transaction in SAP terminology is the execution of a program. The normal way of executing ABAP code in the SAP system is by entering a transaction code (for instance, SE51 is the code for the ABAP workbench). Transactions can be accessed via system-defined or user-specific, role-based menus. They can also be started by entering their transaction code (a mnemonic name of up to 20 characters) in the special command field, which is present in every SAP screen. Transactions can also be invoked programmatically by means of the ABAP statements CALL TRANSACTION and LEAVE TO TRANSACTION. Transaction codes can also be linked to screen elements or menu entries. Selecting such an element will start the transaction. The term "transaction" must not be misunderstood here: in the context just described, a transaction simply means calling and executing an ABAP program. In application programming, "transaction" often refers to an indivisible operation on data, which is either committed as a whole or undone (rolled back) as a whole. This concept exists in SAP but is there called a LUW (Logical Unit of Work). In the course of one transaction (program execution), there can be different LUWs.Let’s have a look at the different kind of transactions:

1) Dialog transactionThese are the most common kind of transactions. The transaction code of a dialog transaction is linked to a Dynpro of an ABAP program. When the transaction is called, the respective program is loaded and the Dynpro is called. Therefore, a dialog transaction calls a Dynpro sequence rather than a program. Only during the execution of the Dynpro flow logic are the dialog modules of the ABAP program itself are called. The program flow can differ from execution to execution. You can even assign different dialog transaction codes to one program.
2) Parameter transactionIn the definition of a parameter transaction code, a dialog transaction is linked with parameters. When you call a parameter transaction, the input fields of the initial Dynpro screen of the dialog transaction are filled with parameters. The display of the initial screen can be inhibited by specifying all mandatory input fields as parameters of the transaction.
3) Variant transactionIn the definition of a variant transaction code, a dialog transaction is linked with a transaction variant. When a variant transaction is accessed, the dialog transaction is called and executed with the transaction variant. In transaction variants, you can assign default values to the input fields on several Dynpro screens in a transaction, change the attributes of screen elements, and hide entire screens. Transaction variants are maintained in transaction SHD0.
4) Report transactionA report transaction is the transaction code wrapping for starting the reporting process. The transaction code of a report transaction must be linked with the selection screen of an executable program. When you execute a report transaction, the runtime environment internally executes the ABAP statement SUBMIT—more to come on that.
5) OO transactionA new kind of transaction as of release 6.10. The transaction code of an OO transaction is linked with a method of a local or global class. When the transaction is called, the corresponding program is loaded, for instance methods an object of the class is generated and the method is executed.

Regards,
Srinivasa Rao Arjala

How to find sap transaction codes

Hi All,
How to find SAP t-code incase you are not sure exactly about t-codeHow to find sap transaction codes :
1) Goto transction search_sap_menu enter the context or the purpose of the t-codelike "User maintenance"

2) Second option in T-code SE93


How to List All the T-codes For a Role in SAP ?
Here I am sharing the procedure more-over its a trick to get all the t-codes from a Role.
To find all tcode for role along with the tcode that are present in the tcd field..
goto se16 enter agr_1251 and click on data browser button enter the role name in agr_name field and enter tcd in FIELD field
Then click on execute button or press F8 to execute and you will see the list of tcodes for that role.
SAP T-Codes
Here I am sharing List of T-codes that can help you lot in case you are facing some Problems.
1) SWU3:RFC destination warning in workflow custom. check Automatic Work Flow Customizing 2) SUCOMP : User Company Address Maintain
3) STZAC: Customizing Time-Zones
4) SWF_XI_CUSTOMIZING:Automatic Work Flow Customizing For XI
5) SXMB_ADM:Integration Engine Administration
6) SOST :SAPConnect Transmission Request Overview With Log
7) SMSY: In Solution Manager To Define System
8) DSWP:In solution Manager To Check EWA / MOPz


Regards,
Srinivasa Rao Arjala

Difference Between SAP_ALL and SAP_NEW

Hi,
Most of the times you might have question in your mind that why you give sap_all and sap_new everytime we create admin user (Altough some people used to give sap_all to every one ).So here i am sharing my knowledge about differnce between these 2 :

SAP_NEW:-SAP_NEW is a SAP standard Profile which is usually assigned to system users temporarily during an upgrade to ensure that the activities and operations of SAP users is not hindered, during the Upgrade. It contains all the necessary objects and transactions for the users to continue their work during the upgrade. It should be withdrawn once all upgrade activities is completed, and replaced with the now modified Roles as it has extensive authorizations than required.

SAP_ALL:-SAP_ALL is a SAP standard profile, which is used on need basis, to resolve particular issues which may arise during the usage of SAP. It is used by Administrators/Developers only and is applied on a need to use basis, then withdrawn. It contains all SAP system objects and Transactions. SAP_ALL is very critical and only SAP* contains SAP_ALL attached to it in the production system. No other dialog users have SAP_ALL attached to them.

SAP_NEW is used in the Production environment during a version upgrade whereas SAP_ALL shouldn't be or not allowed be used in Production except where necessary, in a controlled manner with all proper approvals from the customer.

Regards,
Srinivasa Rao Arjala

Configure SSO in Enterprise Portal

Hi,

Here i am sharing the link of a guide to configure SSO with EP

Click Here

Hope it will help you for more info you can contact..


Regards,
Srinivasa Rao Arjala

ADS Configuration in SAP Netweaver

Hi Team,

these links are very helpful to you to configure and understand what is ADS and how to configure it.
An Insight into Adobe Document Services (ADS)
Installing Credentials and Configuring ADS
How to Check If the ADS Service Is Running Properly

Hope it will help you

Regards,
Srinivasa Rao Arjala

Solution Manager Key Generation

Hi All,
To Generate Solution Manager Key Execute T-code SMSY in Solution Manager system, you need to do the following steps:
1)Create a system by right clicking on System entry and select Create new system.
2)Enter the System Name i.e., SID (3 chars)
3)Product = SAP ECC (select from the list)
4)Product Version= ECC 5.0 (select from the list)
5)Save the entries.
6)Select Menu Item "System--->Other Configuration" and enter the SID which you have created earlier.
7)Enter the Server Name(hostname)
8)Finally click on Generate "Installation/Upgrade Key Button " The system generates a Key ,copy that Key and paste it in the SAPINST screen when it prompts for Sol man Key.

Regards,
Srinivasa Rao Arjala

Oracle 10g Patch Installation

HI All,
Here i am sharing the steps i follow to patchset Oracle from 10.2.0.2 to 10.2.0.4 and activate Oracle enterprise manager
1) Activate OEM in SAP
emca -config dbcontrol db -repos create
Then Provide info as it ask
emctl start dbconsolethen point your browser at http://Srevr_name:5500/em
Note :386413 enterprise manager configuration oracle
592393 - FAQ: Oracle
355770 - Oracle Enterprise Manager Database Control
105047 - Support for Oracle functions in the SAP environmt
2) Note 871096 - Oracle Database 10g: Patch sets/patches for 10.2.0
Note 839187 - Oracle Database 10g: Patch set installation
Note 509314 - Downloading Oracle patches from SAP Service MarketplaceNote
839182 - Oracle database 10g: OPatchNote 1137346 - Oracle Database 10g: Patches for Release 10.2.0.4
3) Download Patchset From Service Market Place
509314 - Downloading Oracle patches from SAP Service Marketplace====IMP
Sap Provide Patch in .bin format (Here i waste My full Day)
To get the original zip-file back, use the following commmands for:
UNIX cat aa.bin ab.bin ... >> .zip
Windows copy aa.bin /B + ab.bin /B + ... .zip
4) Now run runinstaller for Patchset before that shutdown DB and all services
5) Post Upgrade Steps:Database upgrade from Release 10.2.0.2 -> 10.2.0.4 When you upgrade a database from Oracle Release 10.2.0.2 to 10.2.0.4, you need to adapt the Oracle Dictionary to the new Oracle version during postprocessing. In this case, catupgrd.sql must run in accordance with the defaults described in the patch set documentation.dbua -silent -dbname $ORACLE_SID -oracleHome $ORACLE_HOME -sysDBAUserName sys -sysDBAPassword bandhan6 -recompile_invalid_objects true
@/oracle/SID/102_64/rdbms/admin/catupgrd.sql
@/oracle/SID/102_64/rdbms/admin/utlrp.sqlemca -upgrade db
@/oracle/SRP/102_64/rdbms/admin/catupgrd.sql

6) Apply Opatch :Displaying the OPatch version
% opatch version
Displaying the online help% opatch -help
Displaying the online help for a certain command% opatch -help= apply, rollback, lsinventory, util
Displaying the Oracle inventory (see below)% opatch lsinventory [-all][-detail]
Installing a patch (see below)
% opatch apply
Uninstalling a patch (see below)
% opatch rollback -id

Regards,
Srinivasa Rao Arjala

Wednesday, January 28, 2009

SAP Installation On Windows oracle

Hi,
Pre Installation:


Installation:

Post Installation:

Regards,

Srinivasa Rao Arjala

SAP Installation on Solaris, Linux and AIX with Oracle

Hi,

Pre Installation:


Installation:


Post Installation:

Kernel Upgrade

Hi,
Download Latest SAP kernel From Service Market Place:
1. Copy the patch into a temporary directory on your system.
2. Unpack the patch using SAPCAR.
3. Stop the SAP System. (With NT you may also have to stop the SAP services using the Control Panel).
4. Save the kernel directory by backup or by copying into a separate backup directory.UNIX: /usr/sap//sys/exe/run NT: :\usr\sap\\sys\exe\run If you use a 4.6D-based SAP system (64-bit, non-Unicode) or a SAP system 6.20 or higher (32-bit or 64-bit, Unicode or non-Unicode), there are also the following kernel directories:NT: :\usr\sapsys\exe\nuc\ (Non-Unicode)NT: :\usr\sapsys\exe\uc\ (Unicode)
5. This way, you will always have the option to return to the old kernelversion if problems occur with the new patch.
6. Copy or move the unpacked programs into the SAP kernel directory.
For Complete Info Follow SAP NOTE 19466

Kernel Upgrade on Unix Systems:

A lot of people have questions ? answer are even available... but still... even experienced basis admin having trouble now with Kernel Upgrade Here I am Sharing My Experience To Upgarde Kernel On Unix!
1) stopsap
2) clean shared memory
3) saposcol -k
4) ps -ef grep sapstartsrv
5) kill
6) cleanipc
7) lsnrctl stop
8) backup your kernel
9) cd /sapmnt/
10) cp -pr exe exe.001
11) extract new kernel
12) cd exe
13) SAPCAR -xvf
14) Start saposcol
15) startlistener
16) startsap
That's all but still sometimes there are some issues and all of you are welcome to share your views.......
Regards,
Srinivasa Rao Arjala

RFC Communication Between R/3 and BW

Unlock SAP* and DDIC

Hi All,
If SAP* and DDIC logins are locked and you are not able to login through SAP GUI then we can unlock SAP* and DDIC at database level by resetting the flags of SAP* and DDIC to 0 in the table USR02 where all the user records are saved. When the logins are locked out then the flag value will be 128. If we change it to 0 at database level then it will get unlocked.

Below is the query for resetting the flag

UPDATE prd.USR02 set UFLAG = '00' where MANDT = '000' and bname= 'DDIC';

Here prd is the database name; UFLAG is the field which we need to set to 0, MANDT represents in which client the login belongs to and BNAME is the field which contains logins. If you want to reset the flag for SAP* when it gets locked then replace DDIC with SAP* in above query.

or
1) Login to database using / as sysdba
2) select aname from sapsr3.usr02 where mandt=000;
3)delete from sapsr3.usr02 where aname='SAP*' and mandt=000;


Regards,
Srinivasa Rao Arjala

BW Client Activation

Hi ,
steps for activating newly created client in BI 7.0:

Step 1, execute function module RS_MANDT_UNIQUE_SET / (Transaction SE37).Enter the new client (300) as value for parameter i_mandt.
Step 2, enter default client (300) in the field BWMANDT of the tableRSADMINA (Transaction SE16).
Step 3, change the profile parameter login/system_client to 300(Transaction RZ10 > Default profile).

Regards,
Srinivasa Rao Arjala

Email Configuration(Sending Mail from SAP)

Hi ,
Steps to Sending Internet Mail from SAP R/3
As of SAP Web Application Server 6.10, the SAP system's kernel supports SMTP (Simple Mail Transfer Protocol) directly, meaning that e-mails can be exchanged between the SAP system and any SMTP-compliant mail server without the need for any additional external components.

SAP OSS Note 455140 can be referred for Configuring Internet Mail in SAP R/3 WAS 6.10 and above & the following steps are to be followed for the same;

Changing Profile Parameter (Txn RZ10)
Following 2 parameters to be included in the instance profile Parameters
is/SMTP/virt_host_0 = *:25000
icm/server_port_0 = PROT=SMTP,PORT=25000
Save/Activate the Profile & R/3 Instance to be stopped/Started

User Creation (Txn SU01)
This user will be used for the process of sending outbound e-mail from SAP R/3, as a background process.
User ID mailadmin user to be created with profile S_A.SCON & type is System User.

Client Assignment (Txn SICF)

In transaction SICF, there should be one SMTP server (called SAPconnect) supplied in every SAP system. Use this one for the first client then create (if required) an additional SMTP server for each additional client. Following settings are to be done;

Host data

Profile Parameter No. : 0

Service data

Client & user details entered (say client 100 with user mailadmin)

Handler list

Entered CL_SMTP_EXT_SAPCONNECT as item 1.

As of SAP Web AS 6.20, each SMTP server has to be activated (Service/Virt. Host ® Activate) after being created or changed.

SAPconnect Administration (Txn SCOT)

Make the SAPconnect settings in each client that is to be used to send communications.

Node
There is always one SMTP node in each client. This node is created by the SAP system and cannot be deleted. To configure the node for sending Internet mail,

Ensure you are in the Node view.
Double-click on the node name.
Select Node in use.
Specify the mail server (to which outbound mails are to be passed in Mail Host and
Mail Server : mailservername
Port : 25

Choose Set adjacent to Internet.

Specify the address areas of recipient addresses that are to be reached via this node. This is usually * if all e-mails are to be sent using SMTP. Enter output formats for SAP documents. The following settings are recommended here:

SAPscript/Smart Forms : PDF
ABAP List : HTM
Business Object/Link : HTM
RAW Text : TXT

Confirm.

Default domain should be given as follows

Txn SCOT à Menu Option à Settings à Default Domain à lntebg.com


E-mails sent from an SAP application are merely put into a queue. A periodic background process, known as the SAPconnect send job, takes the e-mails from this queue and sends them via the Internet. To schedule this job from SAPconnect administration, you:

Choose View ® Jobs.
If there is not already a job scheduled, choose Job ® Create.
Enter a job name “SEND INTERNET MAIL” and confirm.
Select the variant SAP&CONNECTALL by placing the cursor on it.
Choose Schedule Job.
Choose Schedule Periodically.
Enter an appropriate time period, such as 30 minutes.
Choose Create.

Regards,
Srinivasa Rao Arjala

SAP Library(Online Help)

Hi,
I would like to explain in shorts steps to install the SAP Library on ECC 6
1) Copy the SAP Library DVD on Drive where Page file and DB file should not be reside.
2) Share the ..\htmlhelp\helpdata directory with the name of SAPHelp
3) Execute the Transaction SR13
4) Click on HtmlHelpFile Tab
5) Click on New Entries
6) Enter the Data in Corresponding columnvariant....Sap libraryplatform...Win32area .....IWBhelppath........\\ipaddress of server\sharename of saphelplanguage...en7) Create your own requests with the description SAP LIBRARY on ECC 6
8) Save & exit
9) Go to Help Menu. Setting…application help
10) Chose IWBehlp and click on Choose Area then select setting variant and from the menu select the SAP Library.

Regards,
Srinivasa Rao Arjala

How To Reset Buffers in SAP

Hi Friends,
Some-time its needed to reset some buffers in SAP For performance issues So here i am sharing the differnt buffer cleanup T-codes.But Keep in mind Resetting of the buffers could change the performance of the entire system
/$DYNP - reset the screen buffer of the application server
/$SYNC - resets the buffers of the application server
/$CUA - resets the CUA buffer of the application server/$TAB - resets the TABLE buffers of the application server
/$NAM - the nametab buffer of the application server

Regards,
Srinivasa Rao Arjala

Activate Web GUI for SAP

Hi,
Please follow Steps to Activate Web GUI for SAP:
1)verify if the ICM is working correctly. Transaction SMICM (ICM Monitor)displays the central entry point to the ICM configuration and monitoring. After starting thistransaction, you will see the ICM status. Make sure it is running. Check the following ICMparameters via Menu-> Goto -> Parameters ->Display:icm/server_port_0 PROT=HTTP,PORT=8000icm/host_name_full server.full.domain
2)With transaction SICF and locate theservices by path/sap/public/bc/its/mimes/sap/bc/gui/sap/its/webgui3)Activate the full path to these services4)Browse tohttp://server_name:icmport/sap/bc/gui/sap/its/webgui/ and login to thewebgui.If you still have any problem to run WEBGUI run this transaction SIAC_PUBLISH_ALL_INTERNAL it will do ........Enjoy

Regards,
Srinivasa Rao Arjala

Tuesday, January 27, 2009

Activating Industry Specific Solutions and Short Text Conversion

A.Activating Industry Specific Solutions Like(IS OIL, IS RETAIL, IS MILL, IS MEDIA):
1) Go to T-code SPRO.
2) Click On SAP Reference IMG button.
3) Check for Activate SAP ECC Extension
4) Select Business Function Set as SAP oil and Gas.
5) Change Status Of All the business function to ON.
6) Accept Prompt For LicenseSO Add-on Has been Activated...(Running in background)
B. Short Text Conversion:
While SAP ECC or SAP R/3 uses terms that are linked to its industry sectors (material and plant in production, article and site in SAP Retail), in other components you will find the more universally-employed terms product and location.
1) Log on to your SAP system, client 000 as user SAP*.
2) Start report RSBRAN03 and fill the selection fields as follows:
BRANCHE: ISR
LANG:
All other fields remain default.
3)Run the report in background (F9).
4) After the job finished, reset the text buffers by entering /$SYNC in the command line.
Please note: Resetting buffers can significantly change the performance of the entire system. Nevertheless the reset of the buffers is necessary.
5) Please note that the report must be executed in every system separately.

Do not check CL_FORCE and UP_FORCE because they are reserved for SAP internal services.

Regards,

Srinivasa Rao Arjala

SOLMAN Service Desk Configuration

HI All,
Here I am sharing Configuration of Service Desk On Solution Manager 7.0 First Step Follow This Link
Service Desk Configuration .
Some Tips That can Help you :
1)In case you fail at step where you need to fetch component using transaction DSWP go to note no. 926419.
2) In case you face internal error while executing DSWP follow this note:1059271.
3)While Configuring Service Desk If you face error like "report CRM_MKTBP_ZCACL_UPDATE_30" follow note :450640
4)Other than these notes can also Help 864195 Problems when you create support message in Solution Mngr,949292 Solution Manager: Service Desk Related SAP Notes.

Regards,
Srinivasa Rao Arjala