Archive for March, 2011
Procedure to get SAP CERTIFIED TECHNOLOGY ASSOCIATE – SYSTEM ADMINISTRATION
Lock a Transaction
- How To Lock a Transaction
Step1: Execute transaction sm01
Step2: Select the transaction which you want to lock/unlock and click on Lock/unlock.
RFC (REMOTE FUNCTION CALLING)
RFC (REMOTE FUNCTION CALLING)
PURPOSE: RFC is an SAP protocol to handle communications between systems which simplifies the programming.
Normally RFCs are used when the caller and the called function module run in different systems. In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems, or between an SAP system and an external system.
NOTE:
For creating RFC two sap systems should be available, in our example we will be using only one sap system, in which we will be using two clients.
ASSINGNING LOGICAL SYSTEMS:
- Go to Tx-code SALE–> BASIC SETTINGS–> LOGICAL SYSTEMS
- Execute Define logical System and Assign Logical system to client
Note: we can use Tx-codes Define logical system (BD54)
and Assign client to logical system (scc4).
3. Initial screen of BD54, Select new entries button
- Enter logical system names (sender system names) and save.
Note: We can assign the received system name from the system we logedon.
- Assign Logical system to a client
Go to Tx-code SCC4
- Select New entries( for sender system)
Fill the fields Client, City, Logical system ect.. And save it.
Note: Repeat the same process for receiver system.
RFC CREATION:
- Go to Tx-code SM59.
- Select R/2 Connections and click on create
- Enter fields RFC destination, Connection type, Description
Note: select connection type – T
Enter Description.
- In Technical settings TAB, Enter Gateway Host of receiver system ( also repeat same steps in receiver system by entering Received system details)
Note: If we are performing Data Transfer With in the Sap System, We just need to Mention Logon and Security details.
Note: If we are transferring data to another Sap System, we should maintain Gateway host details under Technical settings.
- Enter logon and Security details,
Received system credentials Client, User, and Password.
- Save all the settings and test the connection.
- If all the settings are maintained correctly, connection will be established and we will be successfully login to the target system.
Port Creation:
SETING UP A RECEIVER PORT:
A. Open transaction WE21 (Ports in IDoc processing).
- Select Transactional RFC, click Ports, and click the Create icon.
- Type a name for the port and click ok.
D. Type the name of the destination that you created in the previous task (or select it from the list).
- Save your entry.
SETING UP A PARTNER PROFILE:
When we are transferring
Open transaction WE20 (Partner Profiles).
Click the Create icon.
- Type the name of the logical system that you created in the earlier task and, for Partner Type, select LS.
- Click the Save icon.
- In the Outbound parameters section, click the Create outbound parameter icon.
- In the Outbound parameters window, type a message type, select the receiver port that you created in the earlier task, and select Transfer IDoc immediately
- Click the Save icon.
- Press F3 to return to the Partner Profiles view.
- In the Inbound parameters section, click the Create inbound parameter icon.
- In the Inbound parameters window, type a message type (for example, MATMAS), and a process code (for example, MATM).
- Click the Save icon.
- Press F3 to return to the Partner Profiles view.
INBOUND PARAMETER SELECTION:
a. Click the Create inbound parameter icon.
- In the Inbound parameters window (Example: type the following values: ALEAUD for Message Type and AUD1 for Process Code).
- Click the Save icon.
- Press F3 to return to the Partner Profiles view.
- Click the Save icon.
STATUS OF IDOC:
02 Yes Error Error passing data to port
03 No Error if transaction SM58 indicates an RFC transmission error Data pass to port OK
04 Yes Error Control information of EDI subsystem
05 Yes Error Translation
06 No Harmless Translation
07 Yes Error Syntax check
08 No Harmless Syntax check
09 Yes Error Interchange handling
10 No Harmless Interchange handling
11 Yes Error Dispatch
12, 13, 14 No Harmless OK
15 Yes Warning Interchange acknowledgement negative
16 No Harmless Functional acknowledgement
17 Yes Warning Functional acknowledgement negative
18 No Harmless Triggering EDI subsystem
20 Yes Error Triggering EDI subsystem
22 No Harmless Dispatch OK, acknowledgement still due
23 Yes Error Retransmission
24 No Harmless Control information of EDI subsystem
25 Yes Warning Processing despite syntax error
26 Yes Error Syntax check
27 Yes Error ALE error
29 Yes Error Error in ALE services
30 No Harmless Ready for dispatch (ALE)
31 No Harmless IDOC is marked for deletion
33 No Harmless Original of an IDOC which was edited
34 Yes Error Error in control record of IDOC
36 Yes Error Timeout error; electronic signature not performed
37 Yes Error IDOC added incorrectly
38 No Harmless IDOC archived
39 No Harmless Receive confirmed
40 Yes Error Application document not created in target system
41 No Harmless Application document created in target document
Code Error Event Severity SAP Meaning
51, 52 Yes Error Posting error
53 No Harmless Posting successful
54 Yes Error Error during formal application check
55 No Harmless Formal application check
56 Yes Error IDOC with error added
60 Yes Error Syntax error
61 Yes Warning Processing despite syntax error
62 No Harmless IDOC passed to application
63 Yes Error Error passing IDOC to application
64 No Harmless IDOC ready to be passed to application
65 Yes Error ALE error
68 No Harmless IDOC is marked for deletion
70 No Harmless Original of an IDOC which was edited
73 No Harmless IDOC archived
CREATING OUTBOUND DISTRIBUTION MODEL:
- Go to BD64
- Go to Display mode
- Click on CREATE MODEL VIEW
- Enter technical name and short text
- click ADD MESSAGE TYPE
- Fill Model view, sender, receiver, and Message type.
- Unpack the model view, until receiver is found.
- EXAMPLE:
Note:
A. Outbound Idoc is triggered by three ways
- standard program(master data is transferred using this process)
- Message control
- work flow
B. Inbound is posted by two ways
- By function module
- work flow
ABAP Workbench
ABAP Workbench:
Add/change/delete/run a program
Note: To add-modify-delete you need an access key.
Adding A new Program
T-code: SE38
1. Give the program name
2. Select Sub-objects as Source Code
3. Click on Create to add a new ABAP program
Changing a Program
T-code: SE38
1. Give the program name
2. Select Sub-objects as Source Code
3. Click on CHANGE to modify an ABAP program
Deleting a Program
T-code: SE38
1. Give the program name
2. Select Sub-objects as Source Code
3. Click on Delete symbol or press SHIFT+F2 to delete an ABAP program
Running a Program
T-code: SE38
1. Give the program name
2. Select Sub-objects as Source Code
3. Click on Execute symbol or press F8 to Run an ABAP program
How to add/change/delete/run a function
Note: To add-modify-delete you need an access key
Adding A new Function
T-code: SE37
1. Give the Function name
2. Click on Create to add a new Function
Changing a Function
T-code: SE37
1. Give the Function name
2. Click on CHANGE to modify a Function
Deleting a Function
T-code: SE37
1. Give the Function name
2. Click on Delete symbol or press SHIFT+F2 to delete a Function
Running a Function
T-code: SE37
1. Give the Function name
2. Click on Test / Execute symbol or press F8 to Run a Function
How to create/change/delete/use a variant
Note: To add-modify-delete you need an access key
http://help.sap.com/saphelp_nw70/helpdata/en/c0/980389e58611d194cc00a0c94260a5/frameset.htm
Adding a new Variant
T-code: SE38
1. Give the program name
2. Select Sub-objects as Variants
3. Click on Change
4. Give the variant name click on create
Changing a Variant
T-code: SE38
1. Give the program name
2. Select Sub-objects as Variants
3. Click on Change
4. Select variant name click on change
Deleting a Variant
T-code: SE38
1. Give the program name
2. Select Sub-objects as Variants
3. Click on Change
4. Select the variant name click on delete or SHIFT+F2
Using a Variant
T-code: SE38
1. Give the program name
2. Select Sub-objects as Variants
3. Select the variant name click on execute with variant or SHIFT+F6
How to make changes to a table structure
http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ebbc446011d189700000e8322d00/frameset.htm
T-Code – SE11
1. Select Database Table
2. Give the Table name
3. Click on change ( You need access key to change to any table)
How to browse the data in a table
Method 1
T-Code – SE16
1. Give the Table name
2. Click on F7 or Table> Table contents or click on symbol
Method 2
T-Code – SE11
1. Select Database Table
2. Give the Table name
3. Click on Display
4. Click on Utilitiesà Table contents à Display or ctrl+shift+F10
Net weaver on Windows 2008 R2
Windows 2008 R2 Netweaver Installation