Bank Account Operations using oops concept ( Global Class)

Scenario : -  Operate Bank Account .
                  
Procedure  :-

Step 1. Go To Tcode SE24 . Create Account Class. Provide Operating Methods.




STEP 2. Provide Parameter for DEPOSIT .



Step 3. Provide Parameter For SET Balance .



Step 4. Provide Parameter For Withdraw.

 

Step 5. Provide Attributes . assign table type to internal table .

 

Step 6. Implement Logic for Deposit , Set Balance & Withdraw .






Step 7. Save , Activate & Execute.
                           Execute the Method Set Balance



           Enter Amount & Execute.it will auto go  to Previous Screen.



Execute Deposit Method & Enter Amount & Execute. Now It Will Show New Balance after Deposit amount.



Execute Withdrawal Method & Enter Withdraw Amount & Execute . New Balance will Show Amount After Withdraw.



Step 8. Create Program For Account Class 




Step 9. Save , Activate & Execute

                              Provide Input



Output






0 comments:

Post a Comment