Tuesday, March 22, 2011

How To Create Program Package In SAP


When you create a program using SE38, SAP Dictionary object in SE11, Smartforms etc, you will be prompted with how you want to save the object, there are 2 options you can select, the first one is just save it into the $TMP local Object directory, that way you don’t need any transportable package and the second option is to save it into a transportable package, it means you have to provide a program package name and after that the SAP will give you a transport request number that you can use to transport your program / objects into a another clients.
Okay now let’s learn how to create a program package in SAP, the tcode to do this task is SE21.
1. Execute TCODE SE21.
2. Just type in any package name you desire, starting with letter Z or Y.
package1
3. Click the Create Button. Give a short description to your program package and click Save or press Enter.
package2
4. Done, now you can assign any programs or objects into this package.

Transporting Table Entries From One Client To Another Client


how to transport a table entries from one client to another, the technique is using a transport request just like when you transport programs.
In this tutorial let’s create a transport request for SPFLI table entries.
1. First execute TCODE Se01. Click on the Create button on the upper left corner.
pic1
2. Choose Workbench request.
pic2
3. Type in the short description in this transport request.
pic3
4. After that double click the TR number below the Modifiable section.
pic4
5. Click on the change button.
pic5
6. Enter the Program ID = R3TR, OBJECT = TABU, OBJECT NAME = SPFLI, after that click the key button.
pic6
7. Double click the selected area, until you see a pop up screen appears.
pic7
8. Now type in the key value, for client you can type in the active client. Click enter or the okay button.
pic8
9. To display the table content, just click on the Table Contents button.
pic9
10. Now just choose the entire table option.
pic10
11. Here’s the SPFLI table entries that you want to transport.
pic11
12. Now the last step is to save your transport request.
pic12
13. Just ignore the warning and click ok to continue.
14. Now you can execute Se01 again and see your transport request.
pic13
15. Now you just email the BASIS team to transport this TR into your destination client.

Restrict Local Object Access


If you want to restrict people to save SAP objects such as programs, tables, structures, forms into $TMP (Local object) then you can do it easliy using tcode SE06.
Here’s how you do it.
1. Execute tcode SE06
2. Look for Local Development (No automatic transport) item in the software component list, and change the modifiable status intoNot modifiable; not enhanceable.
basis
3. After that click the Save button.
4. Now each time somebody creates a program or any other SAP objects, they can no longer save it into the $TMP or Local Object, if they try to save it into the $TMP directory, then the next warning screen will be prompted.
basis

How To Merge Several Transport Requests into One Transport Request


In SAP we can merge several transport requests into one service request, this will be useful when we want to combine several transport requests that had the same similarity such as the same module, or the same program files.
Follow these steps below to merge transport requests.
1. Execute tcode se01. Make sure to check the Workbench Request and the Modifiable Status. Click Display.
mtr-01
2. In this tutorial, I want to merge (include) transport request D01K972633 into transport request D01k972631. To do this, first you need to click transport request D01K972631.
mtr-02
3. Now click on the “Include” button on the toolbar.
mtr-03
4. On the “Object List From Request” input box, type in the transport request you want to merge (include) which is D01K972633. Click the “Copy” button or just press enter to continue.
mtr-04
5. Next you will see the status confirmation that the transport request has been successfully transferred.
mtr-05
6. Now if you expand transport request D01K97261, you will see that the transport request D01K972633 has been merged ( included ) in this TR.
mtr-06

how to find out what TCODE that is used by the ABAP Program


how to find out what TCODE that is used by the ABAP Program, to do this we can see the package of the program it self, in order to do this, you can execute TCODE SE80.
Select Program in the “Test Repository” tab, and enter the ABAP Program name, press enter to continue.
Now you can see that this program package consists of several folders such as Dictionary Structures, Fields, Events, Subroutines, etc.
The folder you need to open is the “Transactions” folder, there you will find the TCODE for this ABAP program name.
11092010-onpn

Monday, March 21, 2011

SAP Basic Interview Questions and Answers


Here are some of the most common SAP Interview questions asked during your job interview, I pick the most general subjects but I will add more specific subjects in my next post.
Q : What is ERP?
A : ERP stands for Enterprise Resource Planning, which means a program package with the concepts to integrating complex business processes as a whole to improve the efficiency and effectiveness of an enterprise. In the early days, the ERP package is mainly targeting the manufacturing industry for managing core business process such as production and finance. But now the ERP software is designed also to cover all the basic processes in a medium size to a large companies.
Q: Name different types of ERP?
A: There are many types of ERP system today, they are SAP, BANN, JD Edwards, PeopleSoft, Siebel, among them, the SAP ERP software is the most sought after ERP system because of its advantages over other ERP system.
Q: What is exactly SAP?
A: SAP actually a name of a company that was first founded in 1972 under German Name, the SAP AG which headquartered in Walldorf, Germany. SAP Stands for (Systeme, Anwendungen, Produkte) , translated in English means Systems, Applications and Products in Data Processing.
Q: Why choose to implement SAP instead of other ERP System?
A: Because SAP is highly configurable, it has a very powerful data handling and can reduce data redundancy, it offers a great data integrity and consistency.
Q: Can BW (Business Warehouse) implemented and run without any SAP R/3 implementation?
A: Yes you can run BW with no SAP R/3 implementation, because you can use the business content in BW using a third party software, such as Acta, Infomatica, DataStage or other flat files and process it using BW.
Q: What is IDES?
A: IDES stands for International Demonstration and Education System, it’s actually a sample application for demo and training purposes that has all the functionality and capabilities you found in the SAP system.

Q: What is the importance of WF?

A: WF (Business Work Flow) is a tool for automatic control and execution of cross application processes, the processes will involve coordinating people, all the work steps, the required data. You can also use business work flow to define business processes that are not yet mapped in the SAP R/3 System, it’s also use to trigger events based on business actions.

Q: What is SAP R/3?

A: R/3 means Real time 3 tier applications, the SAP R/3 is an integrated software modules that integrating complex business processes within a company, it allows a fast distribution of information in real time and robust performance due to its 3 tier application.
Q: Explain the 3 tier application concept in SAP R/3?
A: 3 tier application is a technique to separate an application into 3 different layers/tiers, they are the presentation layer, application layer and the database layer. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server. All the data are stored in a centralized server. This server is called database server.