LOGON TO SAP Environment

                          SAP logon is used to create icons to logon to SAP R/3. The SAP logon pad is available once the SAP GUI is installed at the workstation.


ADD SAP APPLICATION SERVER

System Entry Properties :-

Description − Provide a meaningful short text for identifying the server. The server will be available in the SAP Logon pad with this name.

Application server − Provide the IP/Address of the application server, provided by the basis administrator.

System number and System ID − Give the system number provided by the basis administrator. It should be kept as 00, if nothing is specified.

SAP router string − Provide the SAP Router String, if provided by the basis administrator. Sometimes it may be left blank.

Steps To Create :-

Step 1. Double Click on SAP LOGON Icon on desktop


Step 2. Login Pad Will Open . Now Click on Create 


Step 3. Click NEXT 


Step 4. Fill Details Connection Parameter


Step 5. Once Details Gets Filled ..Click On Finish Button . We can See Created 
           Entry in Login Pad.


Logging onto R/3 :-

SAP Logon pad is used to configure the SAP server. The SAP GUI is used to connect the computer to the SAP system.
SAP GUI TYPES :-
A SAP GUI can be of the following three categories −
  • SAP GUI for Windows environment
  • SAP GUI for Java environment
  • SAP GUI for HTML
Follow the procedure given below to log onto the SAP server −
Launch the SAP logon pad.

Step 1. Double-click on the Application Server (which you need to connect), from the SAP logon pad. The SAP logon screen appears.

Step 2. On the SAP logon screen,The value of the default client appears automatically. If you want to logon to a different client, then change it with the new client number. Next, enter the User ID and password assigned to you.
Enter ‘EN’ in language to logon to English settings. Generally the language is defaulted to ‘EN’ or any other language depending on the country/users and installed languages. So, for English as the logon language, you need not have to enter it in the SAP logon screen, as it takes its values from the default settings. After filling up the four fields, press the Enter button to logon to the SAP system.



ABAP (Advanced Business Application Programming)

             
           ABAP is a programming language that runs in the SAP ABAP Runtime environment, created and used by SAP for the development of application programs including Reports ,Module Pool Programming, Interfaces, Forms , Data conversions ,User Exits & BADI.
          All of R/3’s applications and even parts of its basis system were developed in ABAP. ABAP is an event-driven programming language. User actions and system events control the execution of an application. ABAP is also called ABAP/4. The “4” in ABAP/4 stands for “Fourth Generation Language” or 4GL.

ABAP WORKBENCH 
The ABAP Workbench is used by SAP for the development of standard and custom application software. The ABAP Workbench is also used to create dictionary objects. 
It consists of the following components −
1.  ABAP Editor is used to maintain programs.
2.  ABAP Dictionary is used to maintain Dictionary objects.
3.  Repository Browser is used to display a hierarchical structure of the 
     components in a package.
4.  Menu Painter is used to develop graphical user interfaces including menu
     bars and toolbar's.
5.  Screen Painter is used to maintain screen components for online programs.
6.  Repository Information System contains information about development and
     run time objects, such as data models, dictionary types and table structures,
     programs,and functions.
7.  Test and Analysis Tools, such as the Syntax Check and the Debugger.
8.  Function Builder, which allows to create and maintain function groups and   
     function modules.
9.  Data Modeler, a tool which supports graphical modeling.
10.Workbench Organizer, which maintains multiple development projects
     and manages their distribution.





Operators in SAP ABAP
In the abap we have 3 types of operators 
1.Mathematical Operator
2.Comparative Operator
3.Relational (or) Logical Operator

1. Mathematical Operator:
 • Basic operations : +,-, / and * along with functions like sin, sqrt etc. are 
    Supported
 • Priority of the operations :  functions , exponential , multiplication 
   division ,addition , substraction.



2. Comparative Operator :-

 

3. Relational (or) Logical Operator :-



Comments in SAP ABAP :-
1.Comments are the non-executable statements these are used to improve
   the readability of the program
2.If we want to comment the entire line then we place * at the first character of 
   the line
    *----------------------------------------
3.If we want to comment the line we use “
   Ex: c = a + b  “Adding a and b

Data Types and Data Objects in ABAP :-
Data Types in abap:-
1.Data types are pure descriptions.
2.There is no memory associated with data types.
3.Data types describe the technical properties of data objects

ABAP Data types can be divided into elementary, reference, and complex types.
1 . Elementary  Types: – They  are  data  types  of  fixed  or  variable length 
    that  are  not made up of other  data  types. In  variable data  types  the 
    memory  space  used  by  the  data objects  changes dynamically  during 
    runtime  and  their  definitions  can  be  altered  later.  This  is not so with 
    fixed length data types.
                      In  predefined  data  types,  you  are allowed  to  define 
    elementary  data  types  on  your  own  in  ABAP  by  making  use  of the 
    TYPES statement.  You  base  these  on  the  predefined  data  types.  You 
    can  define your own technical attributes.

2. Reference  Types: – These  data  types  describe  reference  variables,  which 
    are  data  objects  that have  references  in  them.  Reference  variables  are 
    components  of  a  complex  data  object like structures or internal tables.

3. Complex  Data  Types: – Complex  data  types  are  those  that  are  made 
    up  of  other data types. They are of two types – structured types and table
    types.Structures  are  used  to  group  together  work  areas  that  logically 
    belong together. The  various  elements  of  a  structure  may  be  of  any 
    type, or can be a different structure or internal  Structures  may  be 
    classified as Nested  and  non- nested  structures or Flat and deep structures.
    Nested structures contain one or more other structures as components,    
    unlike non-nested structures. Flat structures contain only elementary data    
    types of fixed length. Deep  structures contain  at least one internal table, 
    reference type, or a string as a component.
                    Internal  tables  may  contain  a  series  of  lines  that  are  all  of 
    the same data type.  Internal  tables  have  a  line  type,  which  is  used  to 
    identify table rows using a unique or non- unique  key  and  a table type that 
    determines just how individual table entries, whether non- sorted, sorted 
    index tables or hash tables are accessed.

Data objects :-
1.Data objects are the physical units a program uses at runtime.
2.Each data object has a specific data type assigned to it.
3.Each data object occupies some space in memory.
The various data objects in ABAP are:
1 .Literals: – Literals   exist  in  the  program  source  code  and have a fixed 
    technical attribute such as field length, number of decimal places and data 
    type. But literals are nameless.
2. Named  Data  Objects: – They  are  data  objects  that  have  a  name  using
    which you may address the ABAP program. They include text symbols, 
    constants and variables.Text symbols are nothing but pointers to texts 
    present in the text pool.Variables are  data  objects  which  have  contents 
    that  may  be  changed  in an ABAP program using program  statements. To
    declare  variables, you should use statements such as DATA, CLASS-DATA, 
    STATICS, PARAMETERS, SELECT -OPTIONS, and RANGES. Constants are data
    objects whose contents cannot be changed.
3. System-Defined Data Objects: –System- defined data objects are available 
    at run- time always and don’t have to be declared explicitly .
4. Interface  Work  Areas:  – Interface  work  areas  work  as  interfaces 
    between programs, screens,and logical databases and are declared with 
    statements such as TABLES and NODES.
5. Objects:  – They  are  anonymous  data  objects  that  are  nameless  and 
    declared  using CREATE OBJECT command.

Control Statements  :-
This are used to control the flow of execution of the program Controlling the  Flow of ABAP/4 Programming:
The flow of an ABAP/4 program can be controlled internally  and externally.
Internal control is steered  by using some standard  control keywords( IF,CASE, DO,WHILE).
Control structures are 2 types :-
1.Branching Control structures(IF,CASE)
2.Looping Control structures(DO,WHILE).
External control is steered by events . Events are generated either from other ABAP/4 programs (system programs or user programs) or from interactive user input (like, for example, using the mouse to click on the screen).
Programming Logical Expressions
Use logical expressions in conditions statements with key words
 IF, CHECK and WHILE to compare data fields.
         comparisons with all field types
         comparisons  with character strings and numeric strings
Comparisons with all field types:
Use following operators in logical expressions for comparisons
with all field types
          EQ(=)
          NE(<> or ><)
          LT(<)
          LE(<=>)
          GT(>)
          GE(>=)

TYPE and LIKE in ABAP :- 
TYPE : It will allocate memory during execution (object type) 
          TYPE will improve performance.
          It is used when user defined object link with SAP system data type.
          TYPE refers to the user defined data types
          TYPE,assign datatype directly to the data object while declaring.
      
LIKE : Tt will allocate memory immediatly.
          It is when data object link with the other data object.
          LIKE refers to existing data type of data object
          LIKE,you assign the datatype of another object to the declaring data     
          Object. The datatype is referenced indirectly.

Text Elements  :- 
Text elements are used to store texts displayed on the selection screens or output screens of ABAP reports, but are not hard-coded in programs. The different types of text element include:
Report or program titles
List headers
Column headers
Selection texts
Text symbols
Field String  :-
A field string is a type of variable, and is the equivalent of a structure in the DDIC but is defined within an ABAP/4 program. Like a structure, a field string is a series of fields grouped together under a common name. The difference lies mainly in where the definition resides. The term structure in R/3 applies only to a Data Dictionary object containing a collection of fields. The term field string applies to a collection of fields defined in an ABAP/4 program.
Two statements are usually used to define field strings in an ABAP/4 program:
Data
Tables
Syntax for Defining a Field String Using the DATA Statement
The following is the syntax for defining a field string using the data statement.
data: Begin of fs1,
        f1[(l)] [type t] [decimals d] [value 'xxx'],
        f2[(l)] [type t] [decimals d] [value 'xxx'],
        ...
       End of fs1.
Output Statement in ABAP
Basic form
WRITE f.
Additions
1. … AT pl (position and length specification,before the field)
2. … option (formatting option)
3. … ofmt (output format by field)
4. … AS CHECKBOX (output as checkbox)
5. … AS SYMBOL (output as symbol)
6. … AS ICON (output as icon)
7. … AS LINE (output as line)
Effect
Outputs the field f in the correct format for its type to the current list. The field f can be:
a field declared by DATA ,
a component of a structure declared by TABLES ,
a field symbol (FIELD-SYMBOLS ),
a text literal which is not language-specific
a language-specific text literal (text symbol).


SAP

                      SAP stands for Systems Applications and Products in data processing.SAP  is an Enterprise Resource Planning (ERP) system by SAP AG,company based out of Walldorf in Germany. AG is derived from the German word AKtiengesellschaft.  According to German Language SAP Stands for Systeme, Anwendungen und Produkte in Der Datenverarbeitung.SAP software suite that is being implemented as part of re-engineering and Provides end to end solutions for financial, logistics, distribution, inventories. Present scenario large number of companies are using sap software for their day to day business activities.

History & Features Of SAP :-
        SAP Founded in and around 1972 by five IBM engineers Hopp,  Wellenreuther, Hector, Tschira and Plattner.

Architecture Of SAP

SAP R/1 :-     

         The first version of SAP software was launched in and around 1972  known as the "R/1 system. R"stands for real-time data processing. it is one tier architecture in which three layers Presentation, Application and Database are installed in one system/server
         In this scenario all the layers are present in one box which is very risky and this is not used.


SAP R/1 Architecture


SAP R/2 :-
             In 1979 second version of SAP R/2 was released. with IBM’s database and a dialogue-oriented business application. SAP R/2 to handle different languages and currencies. R/2 is 2 tier architecture in which three layers Presentation, Application and Database are installed in two separate server.
             In this scenario Presentation Layer, Application layer are present in one box and Database layer in another box this is the another scenario which is still used by some companies which is little risky because if one is effected then the another layer may get effected.

SAP R/2 Architecture 
SAP R/3 :-

              SAP upgraded R/2 to R/3. SAP R/3 is the client/server version of the software and it is 3 tier architecture in which three layers Presentation, Application and data base are installed in three server/system.
               In this scenario all the layers Presentation Layer, Application layer and Database layer are place in different boxes which is recommended by SAP because each and every box are different.Most af the companies now are using this scenario i.e r/3.

SAP R/3 Architecture
Types of Work processes



Presentation  :-

             This is where users of the SAP R/3 System will submit input to the SAP R/3 System for the processing of their business transactions.It is also where the output from these transactions appears as output fields, reports, tables and spread sheets.

Application  :-This layer consists of  Presentation Components, SAP Applications, Kernel & Basis Services and ABAP Workbench.

Presentation Components :- The presentation components are responsible for the interaction between the R/3 System and the user. Based on the request received, presentation components inform to the client system, which screen should be presented to the end user.

SAP Applications :- An appropriate SAP Application responsible for accomplishing the request is identified by the presentation components & is provided to the kernel & Basis services.

Kernel & Basis Services :- It provides the run time environment to process the SAP Application along with the data & return results to the end user.

ABAP Workbench :- It is a development environment that provides the necessary tools to develop new SAP Applications or customize the existing SAP Applications.



Database :-

            Each SAP R/3 System is linked to a database system, it consisting of a database management system (DBMS) and the database itself. The applications do not communicate directly with the database. Instead, they use Basis services.                 



Sap Products  :-

Sap Business Solution 

 

Sap Industrial Solution


Sap Solution For Small & Midsize Enterprises 


Sap Platforms & Framework


SAP Platform 

SAP Framework

Sap Legacy Platform :- SAP R/2, SAP R/3

Other SAP Tools :-


SAP R/3 Application Modules :-

 

SAP Functional Modules

FICO – Finance ; Control
PP – Production Planning
MM – Material Management
SD – Sales & Distribution
HR – Human Resources

SAP Technical Modules

ABAP – Advanced business applications programming
XI -  Exchange Infrastructure
Net viewer
Basis
BIW – Business Information Warehousing

SAP Landscape :-

              Landscape is like a server system or like a layout of the servers or some may even call it the architecture of the servers viz. SAP is divided into three different landscape DEV, QAS and PRD.
– DEV would have multiple clients for ex: 190- Sandbox, 100- Golden, 180 – Unit Test. 
– QAS may again have multiple clients for ex: 300- Integration Test, 700 to 710 Training. 
– PRD may have something like a 200 Production.
             These names and numbers are the implementer’s discreet on how they want it or they have been using in their previous implementations or how is the client’s business scenario. 
              Now whatever you do in the Sandbox doesn’t affect the other servers or clients. Whenever you think you are satisfied with your configuration and you think you can use it moving forward, you RE-DO it in the golden client (remember, this is a very neat and clean client and you cannot use it for rough usage). As you re-do everything that you had thought was important and usable, you get a transport request pop up upon saving every time. You save it under a transport request and give your description to it. Thus the configuration is transported to the Unit Test client (180 in this example). 
              You don’t run any transaction or even use the SAP Easy Access screen on the 100 (golden) client. This is a configuration only client. Now upon a successful transport by the Basis guy, you have all the configuration in the Testing client, just as it is in the Golden client. The configuration remains in sync between these two clients. 
              But in the Testing client you cannot even access SPRO  (Display IMG) screen. It’s a transaction only client where you perform the unit test. Upon a satisfactory unit test, you move the good configuration to the next SERVER (DEV). The incorrect or unsatisfactory configuration is corrected in Golden (may again as well be practiced in the sandbox prior to Golden) and accordingly transported back to 180 (Unit Test) until the unit test affected by that particular config is satisfactory. 
               The Golden client remains the ‘database’ (if you wanna call it that) or you may rather call it the ‘ultimate’ reference client for all the good, complete and final configuration that is being used in the implementation.

In summary: 

Landscape : It is the arrangement for the servers

IDES : It is purely for education purpose and is NOT INCLUDED in the landscape
           DEVELOPMENT —> QUALITY —-> PRODUCTION

DEVELOPMENT : is where the the consultants do the customization as per the 
                         company’s requirement.  
QUALITY : is where the core team members and other members test the 
                customization. 

PRODUCTION : It is where the live data of the company is recorded.

A request will flow from Dev -> Qual -> Prod and not backwards.

1. Sandbox server: In the initial stages of any implementation project, you are  
    given a sandbox server where you do all the configuration/customization as 
    per the company’s business process.

2. Development Server: – Once the BBP gets signed off, the configuration is 
    done is development server and saved in workbench requests, to be 
    transported to Production server.

3. Production Server: This is the last/ most refined client where the user will 
    work after project GO LIVE. Any changes/ new development is done is 
    development client and the request is transported to production.

These three are landscape of any Company. They organized their office in these three way. Developer develop their program in Development server and then transport it to test server. In testing server tester check/test the program and then transport it to Production Server. Later it will deploy to client from production server.
Presentaion Server- Where SAP GUI have. 
Application Server – Where SAP Installed. 
Database Server – Where Database installed.












ERP ( Enterprise Resource Planning)

                    ERP stands for Enterprise Resource Planning. ERP is an enterprise-wide information system that facilitates the flow of information and coordinates all resources and activities within the business organization. Functions typically supported by the system include manufacturing, inventory, shipping, logistics, distribution, invoicing, and accounting. Some solutions now embed customer
relationship management functionality. A wide variety of business activities including sales, marketing, billing, production, inventory management, human resource management, and quality control depend on these systems. The ERP system assists in managing the connections to outside stakeholders as well as enhancing performance management. It uses a centralized database and usually relies on a common computing platform. It provides the user a unified, consistent, uniform environment.

Figure below shows how information is integrated into a typical organization using an ERP system.


ERP system is thus a mirror image of the major business processes of an organization.

The following new and continuing trends affect enterprise ERP software:
1. Mobile ERP 
Executives and employees want real-time access to information, regardless of where they are. It is expected that businesses will embrace mobile ERP for the reports, dashboards and to conduct key business processes.
2. Cloud ERP
The cloud has been advancing steadily into the enterprise for some time, but many ERP users have been reluctant to place data cloud. Those reservations have gradually been evaporating, however, as the advantages of the cloud become apparent.
3. Social ERP
There has been much hype around social media and how important or not  it is to add to ERP systems. Certainly, vendors have been quick to seize the initiative, adding social media packages to their ERP systems with much fanfare. But some wonder if there is really much gain to be had by integrating social media with ERP.
4. Two-tier ERP
Enterprises once attempted to build an all-encompassing ERP system to take care of every aspect of organizational systems. But some expensive failures have gradually brought about a change in strategy – adopting two tiers of ERP.

ERP MODULES :- 
Diagram showing some typical ERP modules


Need For ERP -Why ERP :- 

     The implementation of ERP systems has helped small and mid sized companies, significantly improve their business metrics by process optimization, improving the entire supply chain process, better inventory control, better reporting to take decisions, integration across functionalities and increasing transparency across the company. Purchase department can see the sales department data, Sales department can see inventory data, and top management can see any data on a click of single button. 

The successful implementation of an ERP system will have many advantages, as indicated below:

Business Integration and Improved Data Accuracy: ERP system is composed of various modules/ submodules where a module represents a particular business component. If data is entered in one module such as receiving, it automatically updates other related modules such as accounts payable and inventory. This updating occurs at real time i.e. at the time a transaction occurs. Since, data needs to be entered only once at the origin of the transaction, the need for multiple entries of the same data is eliminated. Likelihood of duplicate/ erroneous data is, therefore, minimized. The centralized structure of the database also enables better administration and security provisions, which minimizes loss of sensitive data.

Planning and MIS : The various decision support tools like planning engines and simulations functions, form an integral part of an ERP system that helps in proper utilization of resources like materials, human resources, and tools. Constrained based planning help in drawing appropriate production schedules, thereby improving the operation of plant and equipment. As a part of MIS, an ERP system, contains many inbuilt standard reports and also a report writer that produce ad hoc reports, as and when needed.

Improved Efficiency and Productivity : In addition to provision of improved planning, ERP system provides a tremendous boost to the efficiency of day to day and routine transactions such as order fulfillment, on time shipment, vendor performance, quality management, invoice reconciliation, sales realization, and cash management. Cycle time is reduced for sales to cash and procurement to pay sequences.

Establishment of Standardized Procedures : ERP system is based on processes of international best practices, which are adopted by the organizations during implementation. Department silos are purged, and maverick practices are done away with. Because of top-down view available to management, chances of theft, fraud and obsolescence are minimized.

Flexibility and technology : Due to the globalized environment, where production units, distribution centers, and corporate offices reside in different countries, organizations need multi-currency, multi-language and multi-accounting modes, in an integrated manner. These provisions are available in most of the ERP systems, particularly in products offered by tier 1 and tier 2 vendors. ERP vendors are also quick to adopt latest technologies, from mainframe to client server to the internet. Unlike a bespoke system, Upgrading to latest technology for a running ERP system is uncomplicated, involving mostly adoption of service packs and patches.

Major ERP Packages :-

SAP R/3 and B1 
                  SAP is probably the best known supplier of ERP software. SAP offers two solutions. The first is the R/3 suite and the second is the B1 suite, sometimes called "business one." R/3 is an integrated software system that can support everything from very small companies to very large corporations. R/3 is customizable to meet your specific business needs. R/3 uses a client/server architecture that runs on a variety of platforms, including UNIX, Windows Server and OS/400. It can be implemented using a number of database packages, including Oracle, SQL Server, or DB2. B1 is targeted more at small and medium-sized businesses and offers pre-built modules for finance, warehousing, customer relationship management (CRM), e-commerce, purchasing and reporting.

LN/Baan
                Baan ERP software was originally created by The Baan Corporation in The Netherlands. It was purchased by Infor Global Solutions in 2003. Baan ERP software is designed for manufacturing industries working on complex products with complex supply chains that work on different methodologies. Baan is especially suited for large made-to-order and engineering-to-order companies. Baan is used by companies like The Boeing Company, Ferrari, Solectron, Fiat, Flextronics, Evenflo, Navistar and British Aerospace & Engineering Systems. Baan is highly customization and supports flow chart based process and procedure documentation.

Microsoft Dynamics NAV and AX 2009
               Microsoft offers two ERP software packages. Microsoft NAV is targeted toward small and medium-sized businesses and offers modules for analysis, e-commerce, CRM, supply chain management, manufacturing and finance. Microsoft AX 2009 is designed for medium to large organizations and has functions that are useful for companies doing business in multiple countries. It is focused on improving individual productivity and is best suited for service organizations, manufacturing companies, wholesalers and retail-oriented companies. AX 2009 is more customizable than NAV.

JD Edwards EnterpriseOne 
        EnterpriseOne from JD Edwards is an Oracle-based ERP system. EnterpriseOne is currently owned by the Oracle Corporation. EnterpriseOne offers pre-designed modules that focus on standards-based process engineering and deep understanding of different business processes and requirements. Available modules include, among others, analytics, capital asset management, CRM, finance management, human capital management, manufacturing, ordering systems and project management. Higher level modules can be added for specific industries like real estate, construction, and food and beverage production.

Oracle E-Business Suite Financials and People Soft Enterprise
            Oracle offers two other ERP products. The first is E-Business Suite Financials. The other is PeopleSoft. E-Business Suite Financials is an easy to use package targeted to the financial services industry. It supports distributed organizations and offers modules for financial and operational information, dynamic planning, and budgeting, forecasting and multidimensional profit analysis. PeopleSoft is a highly customizable suite that can support complex business requirements. It offers customizable modules for a wide range of business types and styles and runs on a wide range of database systems and hardware architectures.