www.sap-career.blogspot.com

What is ERP?

ERP stands for Enterprise Resource Planning.

Enterprise Resource Planning systems integrate all data processes of an Oraganization into unified system.

The key feature of an ERP system is it uses a single or Unified database to store data for the various system modules.

Various Modules which comes under ERP are listed below:

i.Manufacturing
ii.Supply Chain
iii.Financials
iv.CRM
v.Human Resources
vi.Warehouse Management

What is SAP ?

SAP stands for Systems Applicatios and Products in Data Processing.

SAP AG has released SAP R/2 Version initially.The architecture of the R/2 system is Mainframe Architecture.

Later SAP R/3 is released which has different from R/2 architecture.

R stands for RealTime.
3 stands for 3 Tier Architecture.

There are over 120,000 installations at more than 30000 Companies.SAP Products are used over 15 millon People in more than 125 countries.


Object oriented programming (OOP) explained with an example

Create a class that keeps track of a bank account balance. Then write a program to use this class.


Steps involved:


· Run the class builder utility (SE24).

· Create a class called ZACCOUNTxx, where xx is the last two digits of your logon ID.

· Declare a PRIVATE attribute BALANCE of type DMBTR to store the account balance.



Create the following PUBLIC methods:

o SET_BALANCE (Sets the balance to a new value)

§ IMPORTING NEW_BALANCE TYPE DMBTR


o DEPOSIT (Adds a deposit amount to the balance and returns the new balance)

§ IMPORTING AMOUNT TYPE DMBTR

§ RETURNING NEW_BALANCE TYPE DMBTR


o WITHDRAW (Subtracts a deposit amount from the balance and returns the new balance.)

§ IMPORTING AMOUNT TYPE DMBTR

§ RETURNING NEW_BALANCE TYPE DMBTR

§ EXCEPTIONS INSUFFICIENT_FUNDS


· Activate all elements of your class.


· Write a program called Z_USE_ACCOUNT_xx, where xx is the last two digits of your logon ID.


This program should do the following:


o Instantiate an instance of the Account class.

o Set the account balance to some initial value.

o Make several deposits and withdrawals, printing the new balance each time. Do not allow the balance to become less than zero. (Use the exception to detect this.)

· Test and debug your program.


"Extra Credit": If you have extra time, try any of the following:


· Replace the SET_BALANCE method with a constructor. Pass the opening balance when you instantiate the account object.

· Create a static attribute and methods to set and get the name of the bank that holds the accounts.


2 comments:

12345 said...

Nice blog,thanks for sharing this informative artcle.
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training
Oracle Fusion Financials Online Training
Big Data and Hadoop Training In Hyderabad

Thanu Sree said...

I bookmarked your website because this site contains valuable information. I am very satisfied with the quality and the presentation of the articles. Thank you so much for saving great things. I am very grateful for this site. We are providing the best services click on below links to visit our website.
Oracle Fusion HCM Training
Workday Training
Okta Training
Palo Alto Training
Adobe Analytics Training

www.sap-career.blogspot.com