TRM Accounting interest.
Hello colleagues.
We are experiencing a situation in one of our client when we have a Decrease of the amount of a Fixed-Term Deposit contract.
Details bellow:
Percentage Rate: 2%
Contract starts on 08.01.2010
Contract ends on 08.07.2010
If I set the field "Frequency" MONTHLY in Interest structure of TAB Structure. I have the following cash of flow for the contract:
Pmnt Date FTyp Flow Type (Name) PmntAmt Direction
08.01.2010 1100 Investment / Increase 1.000,00- - Investment of U$$ 1.000,00
20.01.2010 1110 Decrease 200,00 + Decrease of amount
08.02.2010 1200 Nominal interest 0,63 +
The interest gained until 20.01.2010 is reflected on 08.02.2010 and not on 20.01.2010. What I mean is the bank credit on 20.01.2010 in the bank account the amount 200,00 plus the interest relevant until 20.01.2010 (0,63). If I leave this value on date 08.02.2010 it reflects in a wrong way the interest value in our financial statements and in Cash Management
08.02.2010 1200 Nominal interest 0,83 +
08.03.2010 1200 Nominal interest 1,14 +
08.04.2010 1200 Nominal interest 1,40 +
08.05.2010 1200 Nominal interest 1,27 +
08.06.2010 1200 Nominal interest 1,33 +
08.07.2010 1120 Final repayment 800,00 +
08.07.2010 1200 Nominal interest 1,40 +
Another situation for the same case is bellow:
If I set the field "Frequency" MANUAL INPUT and the field "All" with 1 DAYS in Interest structure of TAB Structure. I have the following cash of flow for the contract:
Pmnt Date FTyp Flow Type (Name) PmntAmt Direction
08.01.2010 1100 Investment / Increase 1.000,00- -
11.01.2010 1200 Nominal interest 0,08 +
12.01.2010 1200 Nominal interest 0,08 +
13.01.2010 1200 Nominal interest 0,08 +
14.01.2010 1200 Nominal interest 0,08 +
15.01.2010 1200 Nominal interest 0,08 +
18.01.2010 1200 Nominal interest 0,08 +
19.01.2010 1200 Nominal interest 0,08 +
20.01.2010 1110 Decrease 200,00 + Decrease of amount
20.01.2010 1200 Nominal interest 0,08 +
In this situation, we have movements of interest daily. The problem here is, when we run accounting for the contract, SAP will create several accounting documents, one document per movement. I don´t believe this is a problem for accounting but this is a problem for Cash Management that will not reflect the total amount of interest on day 20.01.2010 and besides that the Value Date of accounting documents will be the day of each day movement.
21.01.2010 1200 Nominal interest 0,06 +
22.01.2010 1200 Nominal interest 0,06 +
25.01.2010 1200 Nominal interest 0,06 +
26.01.2010 1200 Nominal interest 0,06 +
Finally, my question is, is there any way/any customizing so I can have the interest amount reflected on the same day of the decrease of amount movement?
I tried Derived Flows but it did not work properly.
Any help is really appreciated.
Best Regards,
Volnei.
Edited by: Volnei Luiz Cecon Júnior on Jan 8, 2010 4:46 PM
Ow! My reply worked fine. Let´s try again.
Hello colleagues.
We are experiencing a situation in one of our client when we have a Decrease of the amount of a Fixed-Term Deposit contract.
Details bellow:
Percentage Rate: 2%
Contract starts on 08.01.2010
Contract ends on 08.07.2010
If I set the field "Frequency" MONTHLY in Interest structure of TAB Structure. I have the following cash of flow for the contract:
Pmnt Date FTyp Flow Type (Name) PmntAmt Direction
08.01.2010 1100 Investment / Increase 1.000,00- - Investment of U$$ 1.000,00
20.01.2010 1110 Decrease 200,00 + Decrease of amount
08.02.2010 1200 Nominal interest 0,63 +
The interest gained until 20.01.2010 is reflected on 08.02.2010 and not on 20.01.2010. What I mean is the bank credit on 20.01.2010 in the bank account the amount 200,00 plus the interest relevant until 20.01.2010 (0,63). If I leave this value on date 08.02.2010 it reflects in a wrong way the interest value in our financial statements and in Cash Management
08.02.2010 1200 Nominal interest 0,83 +
08.03.2010 1200 Nominal interest 1,14 +
08.04.2010 1200 Nominal interest 1,40 +
08.05.2010 1200 Nominal interest 1,27 +
08.06.2010 1200 Nominal interest 1,33 +
08.07.2010 1120 Final repayment 800,00 +
08.07.2010 1200 Nominal interest 1,40 +
Another situation for the same case is bellow:
If I set the field "Frequency" MANUAL INPUT and the field "All" with 1 DAYS in Interest structure of TAB Structure. I have the following cash of flow for the contract:
Pmnt Date FTyp Flow Type (Name) PmntAmt Direction
08.01.2010 1100 Investment / Increase 1.000,00- -
11.01.2010 1200 Nominal interest 0,08 +
12.01.2010 1200 Nominal interest 0,08 +
13.01.2010 1200 Nominal interest 0,08 +
14.01.2010 1200 Nominal interest 0,08 +
15.01.2010 1200 Nominal interest 0,08 +
18.01.2010 1200 Nominal interest 0,08 +
19.01.2010 1200 Nominal interest 0,08 +
20.01.2010 1110 Decrease 200,00 + Decrease of amount
20.01.2010 1200 Nominal interest 0,08 +
In this situation, we have movements of interest daily. The problem here is, when we run accounting for the contract, SAP will create several accounting documents, one document per movement. I don´t believe this is a problem for accounting but this is a problem for Cash Management that will not reflect the total amount of interest on day 20.01.2010 and besides that the Value Date of accounting documents will be the day of each day movement.
21.01.2010 1200 Nominal interest 0,06 +
22.01.2010 1200 Nominal interest 0,06 +
25.01.2010 1200 Nominal interest 0,06 +
26.01.2010 1200 Nominal interest 0,06 +
Finally, my question is, is there any way/any customizing so I can have the interest amount reflected on the same day of the decrease of amount movement?
I tried Derived Flows but it did not work properly.
Any help is really appreciated.
Best Regards,
Volnei.
Similar Messages
-
FI Bank Account Interest Calculation
How to customize compound interest calculation on bank accounts in the Bank Account Interest Calculation?
Hi,
The process for configuring the system to calculate Interest on bank account is as follows:-
1.Define reference Int Rates
2.Enter Interest Values
3.Prepare GL account balance interest calculation for interest posting
Then you execute F.52 for calculating the interest by providing the required parameters
Regards
Phani -
Accounting interest in TRM.
Hello colleagues.
We are experiencing a situation in one of our client when we have a Decrease of the amount of a Fixed-Term Deposit contract.
Details bellow:
Percentage Rate: 2%
Contract starts on 08.01.2010
Contract ends on 08.07.2010
If I set the field "Frequency" MONTHLY in Interest structure of TAB Structure. I have the following cash of flow for the contract:
Pmnt Date FTyp Flow Type (Name) PmntAmt Direction
08.01.2010 1100 Investment / Increase 1.000,00- - Investment of U$$ 1.000,00
20.01.2010 1110 Decrease 200,00 + Decrease of amount
08.02.2010 1200 Nominal interest 0,63 +
The interest gained until 20.01.2010 is reflected on 08.02.2010 and not on 20.01.2010. What I mean is the bank credit on 20.01.2010 in the bank account the amount 200,00 plus the interest relevant until 20.01.2010 (0,63). If I leave this value on date 08.02.2010 it reflects in a wrong way the interest value in our financial statements and in Cash Management
08.02.2010 1200 Nominal interest 0,83 +
08.03.2010 1200 Nominal interest 1,14 +
08.04.2010 1200 Nominal interest 1,40 +
08.05.2010 1200 Nominal interest 1,27 +
08.06.2010 1200 Nominal interest 1,33 +
08.07.2010 1120 Final repayment 800,00 +
08.07.2010 1200 Nominal interest 1,40 +
Another situation for the same case is bellow:
If I set the field "Frequency" MANUAL INPUT and the field "All" with 1 DAYS in Interest structure of TAB Structure. I have the following cash of flow for the contract:
Pmnt Date FTyp Flow Type (Name) PmntAmt Direction
08.01.2010 1100 Investment / Increase 1.000,00- -
11.01.2010 1200 Nominal interest 0,08 +
12.01.2010 1200 Nominal interest 0,08 +
13.01.2010 1200 Nominal interest 0,08 +
14.01.2010 1200 Nominal interest 0,08 +
15.01.2010 1200 Nominal interest 0,08 +
18.01.2010 1200 Nominal interest 0,08 +
19.01.2010 1200 Nominal interest 0,08 +
20.01.2010 1110 Decrease 200,00 + Decrease of amount
20.01.2010 1200 Nominal interest 0,08 +
In this situation, we have movements of interest daily. The problem here is, when we run accounting for the contract, SAP will create several accounting documents, one document per movement. I don´t believe this is a problem for accounting but this is a problem for Cash Management that will not reflect the total amount of interest on day 20.01.2010 and besides that the Value Date of accounting documents will be the day of each day movement.
21.01.2010 1200 Nominal interest 0,06 +
22.01.2010 1200 Nominal interest 0,06 +
25.01.2010 1200 Nominal interest 0,06 +
26.01.2010 1200 Nominal interest 0,06 +
Finally, my question is, is there any way/any customizing so I can have the interest amount reflected on the same day of the decrease of amount movement?
I tried Derived Flows but it did not work properly.
Any help is really appreciated.
Best Regards,
Volnei.Hi,
On the "Structure" tab; next to Condition Type for nominal interest, there is a button for "Detail View Int. Conditions"; click on that. In the "Update" section; click on Special and select rule "Single Dates". There, put the dates (where your principal is adjusted or the month end dates).
Manish -
TRM accounting configuration needed to switch from F111 to F110
I had all TRM configuration done for working with F111. Now my customer wants to use F110 instead of F111, paying via customers instead of gl accounts. F110 was already working for FI-AP and AR.
What do I have to do in TRM customizing and master data? I assigned already an existing FI-AR customer to existing Financial Services/Counterparty business partner via FLBPD1 transaction. I suppose in 'Account Determination' I have to maintain 'Definition of posting specifications' and 'assignment of update types to posting specifications'. But what do I have to there? change or create additional records? In 'assignment of update types to posting specifications' should I copy the original update types, check mark the field 'payment transaction' and assign an posting spec that relates to subledger postings (posting category 2 'sub ledger posting in payment currency')?
In FTR_CREATE in tabpage payment details I check marked 'posting to customer', house bank and account id filled out, payer/payee filled with business partner number that was assigned to customer, payment method that works for FI-AP, partner bank filled out.Hi thanks, I only have to create new posting specifications for the Position Posting Specifications? In the new ones I replace bank by customer?
11000 - - - - - - - - - - P O S I T I O N - - - - - - - - - - - -
11100 Position to Bank Clearing
11110 Interest Payables to Bank Clearing
11200 Bank Clearing to Position
11210 Bank Clearing to Interest Receivable
11300 Position to Position Clearing
11310 Asset Position to Position Clearing (Derivatives)
11320 Liab. Position to Position Clearing (Derivatives)
11400 Position Clearing to Position
11410 Position Clearing to Asset Position (Derivatives)
11420 Position Clearing to Liab. Position (Derivatives)
11500 Position Clearing to Bank Clearing
11600 Bank Clearing to Position Clearing -
G/L account interest calculation
Hello Experts,
I have an issue with F.52 interest calculation; we have calculating interest for the period 01.07.2011 to 31.07.2011. However, calculation went fine for all G/L account except two G/L account which has calculating interest for earlier periods also.
We analyze the issue and found out a one possibility, because of field u201CDate of Last Interest Runu201D however this field applies only when there is posting to G/L account with earlier date for which interest already been calculated. I have seen the documents which were wrongly picked in the interest run, and entry date is in earlier monthly only.
I do not understand why these two G/L accounts is picking the documents in the earlier periods to calculate the interest for the period 01.07.2011 to 31.07.2011.
Thanks in advance.
Regards,
MMHello Mauri,
Thank you very much for your reply.
First of all we are not using the G/L updation through this program.
I have an issue with only for the period 01.07.2011 and 31.07.2011 for two G/L account, and calculation is asolutely fine for all the earlier periods and even for next period 01.08.2011 ot 31.08.2011.
As per my understanding u201CDate of Last Interest Runu201D, applies only when there is posting to the G/L account with earlier date for which interest already been calculated.
If I keep the Date of Last Interest Run field blank, it calculate interest only for the period 01.01.2011 to 31.07.2011, however I can.t propose this solution because in all earlier periods they executed F.52 transaction with similar input parameter and calculation is absolutely fine.
Please let me know your view.
Regards,
MM -
TRM Securities - Interest transaction doesn't appear when executing TBB1
Hello,
I added the "Exchange Rate Settings" in Transaction Manager -- General Settings -- Organization. When executing again FWZE transaction occured a short dump with the followying message:
Error in the ABAP Application Program
the current ABAP program "SAPLFWBU" had to be terminated because it has come across a statement that unfortunately cannot be executed.
I tried to research for a solution, but without success. Can you help me?
Thanks in advanced,
CEMENSAHi,
It may be a bug. Look at note 1115401 to see if it is applicable to your release. Also, try FWSO to see if you get the same error.
Mani -
Interest calculation on Open items and cleared items
Dear Experts
I am trying to do needful configuration for interest indicator on which interest can be calculated for open items and cleared items as well. But, system is calculating interest for open items properly, but not calculating interest on cleared items with same interest indicator, I am repeatedly getting error "interest calculation indicator is not compatible with this type of interest calculation"
Is it possible to use same interest indicator for open line items and cleared line items of customer?
If possible, request you share the needful config steps to do same.
points will be awarded for usful reply.
Best regards,
S. Habib Pasha.Hello Habib,
depending on the requests you can setup a item interest calculation or a balance interest calculation "Define calculation types".
IIC: check settings (item selection, all cleared items, only items with payment, no cleared items) "Prepare item interest calculation"
I guess you have setup the item interest calculation - maybe you have mixed some entries with BAIC.
Check in "Prepare account balance interest calculation" whether you have entries with the indicator you want to use.
At least check your entries in "Define time-based Terms" If you have entries with Balance account interest calculation the system gives even an error.
Hope this is helpfull.
Best regards
Horst -
Debit Interest Balance Interest ???
Hi,,,
SPRO
Financial accounting
General ledger accounting
Business transactions
Bank accounts interest calculation
Interest calculation
Define time dependent terms
here In this screen what is the meaning of Debit Int Balance Int and Credit Int Balance Int ??
Thanking you,,
Suresh
Message was edited by:
Suresh Kumar
Message was edited by:
Suresh KumarHello,
Debit Interest Balance Interest - This means the interest which we are entitled to receive from the bank for the debit balance maintained in the bank account.
Credit Interest Balance Interest - This means the interest which we are due to pay to the bank for the overdrawn amount.
Regards,
Partha Sarathi Sarkar -
How sap calculate the arrears interest?
Hi All,
I am doing the configuration about arreas interest.
My configuration:
Interest Type:Item interest calculation
Calendar type:30/360
Time-based Terms:
Credit interest: arrears interest calc
Premium:0
Reference Interest Rate Values:1.0
I make some tests.
overdue day: 1 day
overdue_amount |interest|increased_interest
1000 | 0.834 |
2000 | 0.917 | 0.083
3000 | 1.001 | 0.084
4000 | 1.084 | 0.083
Could you help me to find how sap calculate the arrears interest?
Many Thanks!
Message was edited by:
Chen ZhonghuaHi
First u have to define interest calculation types ( i.e. Item interest calculation typeP)
u have define GL accounts Interest Recevied account
then u have to define prepare interest areas calculations in that u have to define interest indiacator .
then
u have to define refeence interest rates
define time based terms
enter interest values
then u have to define AR calculation of interest on arrears in that u have to define business transactions
then u have to assign interest indicator to customer master
then execute the Interest calculation F.24
Regards
Suresh -
G/L Interest calculation procedure
Balance Interest calculation
For term loan
Pls send any one G/L Accounts Interest Calculation procedure
Configuration
It is very urgentBalance Interest Calculation: -
It is a calculation of Interest on total balance of an account or total balance of customer account. it is represented in "s".
System defined variant for balance interest calculation type is u2018Su2019 and item interest calculation type is u2018Pu2019. Balance interest type calculation is used for G L Accounts. Item interest type calculation is used for vendors and customers.
To display all transaction codes go to transaction code:SE16
The Nine configuration steps for calculation of balance interest calculation are
1) Define interest calculation type (OB46)
2) Prepare account balance interest calculation (OBAA)
3) Define reference interest rates (OBAC)
4) Define time dependent terms (OB81)
5) Define or specify interest rates (OB83)
6) Create G L Accounts for Intesrest Gained and Interest allowed and Loan Account (FS00)
7) Prepare gl account balance interest calculation and Define automatic posting (OBV2)
8) Entry for Loan (F-02)
9) Run interest programm (f.52)
Step 01: Define interest calculation types (OB46)
Path: SPRO>FInancial Accounting New>Financial Accounting Global Setting New>Business Transaction> Bank A/C interest calculation>Interest calculation global settings>Define interest calculation types
Go to new entries
Interest Id (V1) put discription Name Interest calculation type (S) and enter it will take automatically balance interest for S
Make sure don't tick mark the box given and save it.
Step 02: Prepare account balance interest calculation (OBAA)
Path: SPRO>FInancial Accounting New>Financial Accounting Global Setting New>Business Transaction> Bank A/C interest calculation>Interest calculation global settings>Prepare account balance interest calculation
Go to new entries
Give calculation indicator as defined V1
Interest calculation frequency : 01 (1 month)
Calendar type : G (28-31/365)
Give number range : 03
Select balance plus interest.
Save
Step 03: Define reference interest rate (OBAC)
Path: SPRO>FInancial Accounting New>Financial Accounting Global Setting New>Business Transaction> Bank A/C interest calculation>Interest calculation>Define reference interest rates
Go to new entries
Reference interest rate : V1 (same as Interest Indicator)
Long text : 12%balanace interest
Short text : 12% balance interest
Date from : 01.03.2010
Currency : INR
Save
Step 04: Define time dependent terms (OB81)
Path: SPRO>FInancial Accounting New>Financial Accounting Global Setting New>Business Transaction> Bank A/C interest calculation>Interest calculation>Define time dependent terms
Go to new entries
Interest calculation indicator : V1
Currency key : INR
Effective from : 01.03.2010
Sequential no : 01
Term : Debit interest balance interest calculation
Reference interest rate : V1
Save
Go to new entries or F8
Interest calculation indicator : V1
Currency : INR
Effective from : 01.03.2010
Sequential no : 02
Term : credit interest balance interest calculation
Reference interest rate : V1
Save
Step 05: Enter Reference Interest Rate Values (OB83)
Path: SPRO>FInancial Accounting New>Financial Accounting Global Setting New>Business Transaction> Bank A/C interest calculation>Interest calculation>Enter interest values.
Go to new entries
Reference int. rate (V1)
values effective from (01.03.2010)
interest rate (12%)
Before creating GL account Go to T.Code: OBD4 to create secured loans account group.
Go to new entries
Chart of accounts a/c group name from account to account
Chart of Account 'TATA' secured loans 100300 100399
TATA INTR interest Expenses 400100 400199
TATA INTR interest Gained 300100 300199
Save
Step 06: Creation of G L Accounts (FS00)
G L A/C no : 100305
Company code : TATA (Tata Infotech)
Select create button
Account group : secured loans
Select balance sheet account
Short text : HSBC Bank Account
Long text : HSBC Bank Loan Account
Select control data tab
Select only balances in local currencies
Select open item
Select line item display
Sort key : 001
Select create/bank/interest tab
Field status group : G005
Select relevant to cash flow
Interest calculation indicator : V1
Save
Give G L A/C no : 400105
Company code : TATA
Select create button
Account group : interest
Select profit and loss account
Short text : interest Allowed
Long text : interest Allowed Account
Select control data tab.
Select line item display
Sort key : 001
Select create/bank/interest tab
Field status group : G001
Save
Give G L A/C no : 300107
Company code : TATA
Select create button
Account group : interest
Select profit and loss account
Short text : interest Gained
Long text : interest Gained Account
Select control data tab.
Select line item display
Sort key : 001
Select create/bank/interest tab
Field status group : G001
Save
Step 07: Define automatic posting account (OBV2)
SPRO>FInancial Accounting New>Financial Accounting Global Setting New>Business Transaction> Bank A/C interest calculation>Interest posting>Prepare G L A/C balance interest calculation
Go to accounts
Chart of accounts : TATA
A/C symbol currency G L A/C
0002 INR 400105 (interest Allowed)
2000 Inr 100305 (HSBC Bank Loan Account)
Save
Step 08: Entry for loan (F-02):
Give document date : 01.03.2010
Posting date : 01.03.2010
Type : SA
Company code : TATA
Currency : INR
Posting key : 40
G L Account : 200005 (ICICI bank a/c)
Enter
Amount : 50,00,000
Business area : IRON
Value date : 01.03.2010
Text : loan received
Posting key : 50
G L Account : 100305 (HSBC bank a/c)
Enter
Amount : *
Business area : IRON
Text : +
Save
Step 09: Interest calculation run (F.52):
Accounting>Financial Accounting>General ledger>Periodic Processing>Interest calculation>Balances
Give chart of accounts : TATA
G L A/C no : 100305 (HSBC Bank Account)
Company code : TATA
Calculation period : 01.04.2010 to 31.12.2012
Select leap year.
Select post also if value date in past
Select update master records
Execute
Go to system on menu bar.
Select services
Select batch input
Select sessions
Select RFSZIS00
Select process
Select display errors only
Again select process
The system gives the message: u201Cprocessing of batch input session completedu201D -
HI ALL,
I am required to search for a client, using their surname, first name or age and display a list of all their matching records in the text area if the results are found.
Then i am required to save the data and load it from a file using an application and not an applet. If this information is validated then the user should be able to select the client and account from a choice list. This means that each time a client object is created an entry is added to the list of clients showing the client ID, surname and first name. When a client number is entered in the text field (or selected from the list) all accounts that are owned by the client will be displayed in a choice list. Each choice list entry for an account must show the account number and the account type.
Basically Im unsure how to do this so I REALLY need your help.
Here is parts of my code, if you need more verification of what im doing please feel free to email me [email protected], cause I desperately need your help.
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class Assignment2 extends Applet
implements ActionListener {
private Branch Brh = new Branch ();
private Client Clt = new Client ();
private Account Acc = new Account ();
private Cheque Cheq = new Cheque ();
private EFTCard Eft = new EFTCard();
private ClntArray ctArray = new ClntArray ();
// create an array to hold upto ten branch objects
private Branch branchArray[] = new Branch[10];
// declare and initialise variable to keep count of
// howmany branches
private int branchCount = 0;
// Declare variables for each type of component required for this applet
// Buttons for client processing
Button btnNewClient, btnUpdateClient, btnDeleteClient;
Button btnSearchClient, btnNextClient, btnPreviousClient;
// Buttons for account and transaction processing
Button btnNewAccount, btnUpdateAccount, btnDeleteAccount;
Button btnSearchAccount, btnNextAccount, btnPreviousAccount;
Button btnNewTranx, btnPrintStatement;
// Buttons for misc processing
Button btnClear;
// declare variables for checkboxes and a checkbox group
Checkbox chequeAccount, EFTAccount;
CheckboxGroup accountType;
// choice list to hold branches that can be selected from
Choice availableBranches;
// labels and textfields for client processing
Label clientHeading;
Label promptSName, promptFName, promptClientPh, promptClientAge,promptClientNo;
TextField txtSurname, txtFirstname, txtClientPh, txtClientAge, txtClientNo;
// labels and textfields for account processing
Label accountHeading, accountTip;
Label promptAccNo, promptAccBalance, promptAccInterest, promptAccType;
TextField txtAccountNo, txtAccountBalance, txtInterestRate, txtTranxAmount;
Label promptTranxAmount, promptSelectBranch;
// general labels and text fields
Label header, footer;
TextArea results;
// panels for client processing
Panel pTextFields, pClientButtons, pClientStuff;
// account processing panels
Panel pAccountFields, pAccountButtons, pAccountStuff;
// miscelaneous panels used for formatting user interface
Panel pTop, pCentre, pBottom, pAllTextFields;
Panel pCheckBoxes, pBranches, pLists;
// variable used to create output string
String msg = "";
/***** init() method *************************************************
* This method will create all required objects, add them to the *
* applet, and register interest in events on some objects through *
* listener classes *
public void init() {
resize(700,590);
setLayout(new BorderLayout(5, 5));
// create buttons for client processing
btnNewClient = new Button("New Client");
btnUpdateClient = new Button("Update Client");
btnDeleteClient = new Button("Delete Client");
btnSearchClient = new Button("Search Clients");
btnNextClient = new Button("Next>>");
btnPreviousClient = new Button("<<Previous");
// create account processing buttons
btnNewAccount = new Button("New Acct");
btnUpdateAccount= new Button("Update Acct");
btnDeleteAccount = new Button("Delete Acct");
btnSearchAccount = new Button("Search Accts");
btnNextAccount = new Button("Next>>");
btnPreviousAccount = new Button("<<Previous");
btnNewTranx = new Button("Perform Transaction");
btnPrintStatement = new Button("Print Statement");
// button to clear the form values
btnClear = new Button("Clear All");
accountType = new CheckboxGroup();
chequeAccount = new Checkbox("Cheque Account", accountType, false);
EFTAccount = new Checkbox("EFT Account", accountType, true);
header = new Label("Client and Account Management Information System", Label.CENTER);
footer = new Label("");
// create six default branch objects and add them to the branch array
// and set counter to show howmany branches there are - assumes the
// the appropriate constructor has been defined in the Branch class
branchArray[0] = new Branch("Perth", "036060");
branchArray[1] = new Branch("Fremantle", "036080");
branchArray[2] = new Branch("Joondalup", "036989");
branchArray[3] = new Branch("Churchlands", "036018");
branchArray[4] = new Branch("MtLawley", "036605");
branchArray[5] = new Branch("Booragoon", "036090");
branchCount = 6;
// now add the default branch names and codes to choice list
// NOTE: you may have to change the getBranchName() and getBranchCode() methods to match
// those you have defined in your Branch class
availableBranches = new Choice();
for (int indx = 0; indx < branchCount; indx++) {
availableBranches.add(branchArray[indx].getBranchName() + " " +
branchArray[indx].getBranchCode() );
} // end of for loop to add branch names and codes
// create labels and text fields required for client processing
clientHeading = new Label("Client Processing");
promptSName = new Label("Surname: ", Label.RIGHT);
promptFName = new Label("First Name: ", Label.RIGHT);
promptClientPh = new Label("Client Number: ", Label.RIGHT);
promptClientAge = new Label("Client Age: ", Label.RIGHT);
promptClientNo = new Label ("Client Number: ", Label.RIGHT);
txtFirstname = new TextField(20);
txtSurname = new TextField(20);
txtClientPh = new TextField(18);
txtClientAge = new TextField(3);
txtClientNo = new TextField(15);
// create account processing labels and text fields
accountHeading = new Label("Bank Account Processing");
accountTip = new Label("Client must exist before account is created");
promptAccNo = new Label("Account Number: ", Label.RIGHT);
promptAccBalance = new Label("Balance: ", Label.RIGHT);
promptAccInterest = new Label("Interest Rate: ", Label.RIGHT);
promptTranxAmount = new Label("Transaction Amount $", Label.RIGHT);
promptAccType = new Label("Account Type: ");
txtAccountNo = new TextField(20);
txtAccountBalance = new TextField(20);
txtInterestRate = new TextField(10);
txtTranxAmount = new TextField(10);
results = new TextArea(8, 40);
// start adding components to applet
add(header, BorderLayout.NORTH);
pCentre = new Panel();
pCentre.setLayout(new BorderLayout(5, 5));
// set up client information panel
pTextFields = new Panel();
pTextFields.setLayout(new GridLayout(3, 4));
pTextFields.add(clientHeading);
pTextFields.add(new Canvas());
pTextFields.add(new Canvas());
// pTextFields.add(new Canvas());
pTextFields.add(new Canvas());
pTextFields.add(promptClientNo);
pTextFields.add(txtClientNo);
pTextFields.add(promptSName);
pTextFields.add(txtSurname);
pTextFields.add(promptFName);
pTextFields.add(txtFirstname);
// pTextFields.add(promptClientPh);
// pTextFields.add(txtClientPh);
pTextFields.add(promptClientAge);
pTextFields.add(txtClientAge);
pClientButtons = new Panel();
pClientButtons = new Panel();
pClientButtons.add(btnNewClient);
pClientButtons.add(btnUpdateClient);
pClientButtons.add(btnDeleteClient);
pClientButtons.add(btnSearchClient);
pClientButtons.add(btnPreviousClient);
pClientButtons.add(btnNextClient);
pClientStuff = new Panel();
pClientStuff.setLayout(new GridLayout(2, 1));
pClientStuff.add(pTextFields);
pClientStuff.add(pClientButtons);
// set up account and transaction information panel
pAccountFields = new Panel();
pAccountFields.setLayout(new GridLayout(3, 4));
pAccountFields.add(accountHeading);
pAccountFields.add(new Canvas());
pAccountFields.add(new Canvas());
pAccountFields.add(new Canvas());
pAccountFields.add(promptAccNo);
pAccountFields.add(txtAccountNo);
pAccountFields.add(promptAccBalance);
pAccountFields.add(txtAccountBalance);
pAccountFields.add(promptAccInterest);
pAccountFields.add(txtInterestRate);
pAccountFields.add(promptTranxAmount);
pAccountFields.add(txtTranxAmount);
pAccountButtons = new Panel();
pAccountButtons.add(btnNewAccount);
pAccountButtons.add(btnUpdateAccount);
pAccountButtons.add(btnDeleteAccount);
pAccountButtons.add(btnSearchAccount);
pAccountButtons.add(btnPreviousAccount);
pAccountButtons.add(btnNextAccount);
pAccountButtons.add(btnNewTranx);
pAccountStuff = new Panel();
pAccountStuff.setLayout(new GridLayout(2,1));
pAccountStuff.add(pAccountFields);
pAccountStuff.add(pAccountButtons);
pAllTextFields = new Panel();
pAllTextFields.setLayout(new GridLayout(2,1));
pAllTextFields.add(pAccountStuff);
pAllTextFields.add(pClientStuff);
// set up the panel that will hold the checkboxes and list of branches
pCheckBoxes = new Panel();
pCheckBoxes.setLayout(new GridLayout(3, 1));
pCheckBoxes.add(promptAccType);
pCheckBoxes.add(EFTAccount);
pCheckBoxes.add(chequeAccount);
pBranches = new Panel();
pBranches.setLayout(new GridLayout(3, 1));
promptSelectBranch = new Label("Select Branch: ");
pBranches.add(promptSelectBranch);
pBranches.add(availableBranches);
pLists = new Panel();
pLists.setLayout(new GridLayout(1, 3));
pLists.add(pCheckBoxes);
pLists.add(pBranches);
pLists.add(new Canvas());
// add all the above panels to the panel that will be added to the
// centre of the applet
pCentre.add(pLists, BorderLayout.NORTH);
pCentre.add(pAllTextFields, BorderLayout.CENTER);
pCentre.add(results, BorderLayout.SOUTH);
add(pCentre, BorderLayout.CENTER);
//add general processing buttons to panel, then add panel to applet
pBottom = new Panel();
pBottom.add(btnPrintStatement);
pBottom.add(btnClear);
add(pBottom, BorderLayout.SOUTH);
add(new Label(" "), BorderLayout.EAST);
add(new Label(" "), BorderLayout.WEST);
// add listeners for client buttons
btnNewClient.addActionListener(this);
btnUpdateClient.addActionListener(this);
btnDeleteClient.addActionListener(this);
btnSearchClient.addActionListener(this);
btnNextClient.addActionListener(this);
btnPreviousClient.addActionListener(this);
btnNewAccount.addActionListener(this);
btnUpdateAccount.addActionListener(this);
btnDeleteAccount.addActionListener(this);
btnSearchAccount.addActionListener(this);
btnNewTranx.addActionListener(this);
btnNextAccount.addActionListener(this);
btnPreviousAccount.addActionListener(this);
btnPrintStatement.addActionListener(this);
btnClear.addActionListener(this);
} //end of init method
/***** actionPerformed() method **************************************
* Method is called when an event occurs on any of the object that *
* have been registered as an action listener *
public void actionPerformed (ActionEvent e) {
Object obj = e.getSource();
* if new client button is clicked then *
* create new client object *
* read data from text fields and set the client object's values *
* add this client object to array of client objects *
if (obj == btnNewClient) {
//declare variables to later check the validation of the info
boolean cNo = false;
boolean cSurName = false;
boolean cFstName = false;
boolean cAge = false;
//must change the the age to interger to then chek validation
//check for surname
if (txtSurname.getText().equals ("")) {
results.append("\n Enter Surname");
else { cSurName = true;
//check for firstname
if (txtFirstname.getText().equals ("")) {
results.append("\n Enter Name");
else { cFstName = true;
//check for client number
if (txtClientNo.getText().equals ("")) {
results.append("\nPlease Enter Correct Client Number");
else { // cNo = true;
//convertedInt = Integer.parseInt(stringValue);
//mudt try n plsce this in the rite plc to be able to wrk
int ClientLoc = ctArray.findLoc(txtClientNo.getText());
if (ClientLoc == -1) {
Client Clt = new Client(txtClientNo.getText(), txtFirstname.getText()
,txtSurname.getText(), txtClientAge.getText());
ctArray.AddClient(Clt);
results.setText("New client has been added to the arrary!");
ClientLoc = ctArray.findLoc(txtClientNo.getText());
results.append(ctArray.getClient(ClientLoc).getFirstName());
} // end of new client button for the if
* if new updateclient button is clicked then *
* then do the bits required to *
* read data from text fields and set the client new details object val *
if (obj == btnUpdateClient) {
int ClientLoc = ctArray.findLoc(txtClientNo.getText());
if (ClientLocc == -1){
results.setText(" Could Not Find Client!");
} else {//this will shoe the client loc that the client has been updated
display(ClientLoc);
} //end of the else bit this is just help to show {} are in place
} // end of if for update client
* if new btnDeleteClient button is clicked then *
* then do the bits required to *
* delete the client form the array *
if (obj == btnDeleteClient) {
int ClientLoc = ctArray.findLoc(txtClientNo.getText());
if (ClientLoc == -1) {
results.setText(" Could Not Find Client!");
} else { //start of the else if the client was found
ctArray.remove(ClientLoc);
results.setText("Client Deleted!");
} //end of te elsebit for the removing of the client
} //end of the btndeleteclient process
* if new btnSearchClient button is clicked then *
* then do the bits required to *
* SearchClient the client form the array *
if (obj == btnSearchClient) {
int ClientLoc = ctArray.findLoc(txtClientNo.getText());
if (ClientLoc == -1) {
results.setText(" Could Not Find Client!");
} else {//here is the search was good then will be able
// to display the info of the client
results.append("\n Customer Number: " + Clt.getClientNo());
results.setText(" First Name: " + Clt.getFirstName());
results.append("\n Surname: " + Clt.getSurname());
results.append("\n Customer Age: " + Clt.getAge());
}//end of the else bit that allows the user to see the clients details
// in the either the textfiels or the resultds bit as it is yet to be decided
}//end of the btnsearchclient
* if new btnNextClient button is clicked then *
* then do the bits required to *
* NextClient the client form the array *
if (obj == btnNextClient) {
int ClientLoc = ctArray.findLoc(txtClientNo.getText());
if (ClientLoc == -1) {
results.setText(" Could Not Find Client!"); //need to fix it so then itll show the next client
} else {//here is the search was good then will be
//able to display the info of the client
txtClientNo.setText(Clnt.getClientNo());
txtFirstname.setText(Clnt.getFirstName());
txtSurname.setText(Clnt.getSurname());
txtClientAge.setText(Clnt.getAge());
}//end of the else bit that shos that next client
} // end of the btnnextclient
* the new btn PreviousClient button is clicked then *
* then do the bits required to *
* PreviousClient the client form the array *
if (obj == btnPreviousClient) {
int ClientLoc = ctArray.findLoc(txtClientNo.getText());
if (ClientLoc == -1) {
results.setText(" Could Not Find Client!"); //need to fix it so then itll show the previous client
} else {//here is the search was good then will be
//able to display the info of the client
txtClientNo.setText(Clnt.getClientNo());
txtFirstname.setText(Clnt.getFirstName());
txtSurname.setText(Clnt.getSurname());
txtClientAge.setText(Clnt.getAge());
}//end of the else bit that shows that previous client
}//end of the btnprevious client been clikd
* if new transaction button is clicked then *
* then do the bits required to *
* read data from text fields and set the transaction object val *
if ( obj == btnNewTranx) {
if (!txtTranxAmount.getText().equals("")) {
double TrnAmt = Double.parseDouble(txtTranxAmount.getText());
if (Acc instanceof Cheque) {
Cheq.setBalance(Cheq.getBalance() + TrnAmt );
} else if (Acc instanceof Cheque) {
Eft.setBalance(Cheq.getBalance() + TrnAmt );
} //end of the if it was eftcard
} //this will close the transaction bit if the client does enter an amount
* if display button is clicked then *
* display values from text fields and text area *
if (obj == btnPrintStatement) {
results.setText(" First Name: " + Clt.getFirstName());
results.append("\n Surname: " + Clt.getSurname());
results.append("\n Customer Number: " + Clt.getClientNo());
results.append("\n Customer Age: " + Clt.getAge());
if (Acc instanceof Cheque) {
Cheq = (Cheque) Acc;
results.append("\n \n Account Type: " + Cheq.getAccType());
results.append("\n Account Number: " + Cheq.getAccNo());
results.append("\n Account Balance: " + Cheq.getBalance());
results.append("\n Account Interest Rate: " + Cheq.getIntRate());
results.append("\n Branch Name: " + Brh.getBranchName() + " " + Brh.getBranchCode());
} else {
Eft = (EFTCard) Acc;
results.append("\n \n Account Type: " + Eft.getAccType());
results.append("\n Account Number: " + Eft.getAccNo());
results.append("\n Account Balance: " + Eft.getBalance());
results.append("\n Account Interest Rate: " + Eft.getIntRate());
results.append("\n Branch Name: " + Brh.getBranchName() + " " + Brh.getBranchCode());
}//end of if for displaying the correct Acc type
} // end of if for btnPrintStatement
* if clear button is clicked then *
* clear values from text fields and text area *
* reset other form components to default values *
if (obj == btnClear) {
txtFirstname.setText("");
txtSurname.setText("");
txtClientPh.setText("");
txtClientNo.setText("");
txtClientAge.setText("");
txtAccountNo.setText("");
txtAccountBalance.setText("");
txtInterestRate.setText("");
txtTranxAmount.setText("");
results.setText("");
availableBranches.select(0);
accountType.setSelectedCheckbox(EFTAccount);
} // end of if for clear button
} //end of actionPerformed method
} //end of applet
Sorry its so LONG. Thank you for your time
JesikaYou should really check the freejavahelp forums, I posted something for you there.
-
Help.....help...me!!!
Assignment A:
Develop a banking system using object-oriented programming. The system will have a bank object, and customer objects.
The details of the classes and their operations are as shown below:
Classes Required:
1. Class Bank (startup class)
2. Class Customer
3. Class FixCustomer and Class SavingCustomer
Details of each class:
Class Bank:
Attributes - Information about the customer:
a. Total number of customers registered (i.e. use an array to hold an array of customer objects)
Behaviour - Bank's operations:
a. Show Customer's balance
b. Calculate & show Customer's interest
c. Update customer's balance (e.g. after withdraw or deposit)
This is the startup class. Create an interface that allows a potential customer to register. Also, an interface for registered user to access his/her account.
Class Customer:
Attributes - Information about a customer:
a. Customer Name
b. Customer Account number
c. Customer Address
d. Customer Phone Number
e. Customer Job
f. Customer Balance
Behaviour - Customer's actions:
a. Check account information (e.g. Balance )
b. Withdraw
c. Deposit
d. Transfer (i.e. transferring credits from one user account to another)
*Interest value for saving-account (Interest 5%), and fix-account (Interest 7%). These different interest values are declared in the SavingCustomer and FixCustomer classes.
Assignment B:
Draw the design of your system in UML diagrams - Class and state diagrams
Explain and discuss about the design and implementation. You are also required to use flow-charts to document your codings.
The deliverable:
A report consisting of 10 to 20 pages. In the report, you must include:
1. Your UML diagrams. Class and state diagrams
2. Your program codes. (submit your codes in softcopy as well, in a disk)
3. Screen capture of all your user-interfaces.
4. Documentation from assignment B
5. Dateline: week 9What is the question?Hehe, i think the question is: "What's the code?"
-
Good Day,
Please kindly provide me complete configuration guide on how to make automatic entry on amortization of bank loan including its interest expense wherein interest rate has been predetermined.
Proforma Entries:
Bank Loan Granted
Dr Cash In Bank XXX
Cr Bank Loan Payable XXX
Monthly Amortization
Dr Bank Loan Payable XXX
Dr Interest Expense XXX
Cr A/P- Vendor Account (for check issuance) XXXX
Also, is there any standard report in SAP wherein it will show the principal amount of bank loan, amortization recorded and the remaining due amount on the loan. If no available standard report, can you also provide table wherein I can find such data so that I can request for customization.
Appreciate the assistance you can give.
Thanks,
RodHi
Please check the below mentioned configuration settings
1.SPRO->Financial Accounting-> General Ledger Accounting->Business transactions->Bank A/C interest calculation-> Interest Calculation Global Settings-> Define Interest Calculation Types
2.SPRO->Financial Accounting-> General Ledger Accounting ->Business transactions->Bank account interest calculations->Interest calculation global settings->Prepare account balance interest calculation
3.SPRO->Financial Accounting-> General Ledger Accounting ->Business transactions->Bank account interest calculation->Interest calculation->define reference interest rates.
4.SPRO->Financial Accounting-> G L Accounting->Business transactions->Bank account interest calculation->Interest calculation->Define time dependent terms.
5.SPRO-> Financial Accounting-> G L Accounting->Business transactions->Bank A/C interest calculation->Interest calculation->Enter interest values.
6.SPRO->Financial Accounting->G L Accounting->Business transactions->Bank A/C interest calculations->Interest posting->Prepare G L A/C balance interest calculation
Regards
Praveen P C -
Dear Friends,
Using T.code FINTAP - Item interest calculation, I entered Vendor account,Co.code,Interest Indicator,Interest Indicator , Interest Calculation upto:31.04.2009,Posting and Document date upto 31.01.2009.
I am getting the error "No items selected",
When i hit the back button, I am the following message
Interest indicator P3 is defined in the account
Interest will be calculated on cleared items
Interest will be calculated on open items
Interest has already been calculated on the account to 30.04.2009
Please suggest how to overcome the error.
All the help will be greatly appreciated.
Regards
SridharDear Friends,
Resloved the issue myself.
There were no open items for this vendor. I have checked in T.code FBL1N - Display/Change Line Items .
Posted a vendor invoice (F-43 - Invoice - General ) and tested in T.code FINTAP .
The Error "No items selected", was gone. Issue was resloved.
Regards
Sridhar -
Missing field info. after created by copy Customer
Dear Experts,
Found a problem relevant to creating by copy Customer using XD01. After extending Co. Code & Sales Area Data for the same Customer with ref. to another Co. Code & Sales Area, found that info. of a field "Prev.acct no. (Previous Master Record Number)" under "Co. Code Data - Account Mgt - Reference data", and Partners under "Partner Functions" of Sales Area Data could NOT be copied. Is it a standard SAP logic ? Could you advise reason for this ? Besides these, any other field(s) also CANNOT be copied after creating by copy Customer ?
Many Thanks,
KH FongHello KH Fong,
"Prev.acct no." issue:
The "copy with reference" is a SAP functionality that allows you to quickly create customers master data. Anyway not all the fields will be copied into the new target master data. Even if You create a customer with reference and all the information will be reported into the new master data.
EXAMPLE:
- In Accounting info screen: ALTKN (Previous Master Record Number) or PERNR (Personnel number) are not saved.
- In Payment transaction accounting screen: LNRZB (Account number of the alternative payee) or ZAHLS (Block key for payment) are not saved.
- In Correspondence accounting screen: ZSABE (Clerk at vendor), TLFNS (Accounting clerk's telephone number at business partner), TLFXS (Accounting clerk's fax number at the customer/vendor), INTAD (Internet address of partner company clerk) or KVERM (Account memo) neither are saved.
Other fields as Reconciliation account, interest calculation indicator, terms of payment and so on should be reported into the new master data.
"partner function" issue:
Usually the partner functions, that are mandantory in a partner determination procedure are copied for the customer into the new sales area.
You need to check if the relevant partner functions are set as mandantory partner function in the partner customising:
- Transaction VOPAN
- Select 'Cust.Master' -> Button 'Display'
- Mark the relevant partner determeination procedure, that is
assigned to the account group used, and double-click 'Partner
Functions in Procdure' in the navigation on the left side
- Check which partner functions are marked as 'MandFunction'
These are the partner functions, that are copied.
Hope above information is helpful.
Best regards,
Crystal Lin
Maybe you are looking for
-
How to save form data as XML using Reader XI
Dear all, I have designed a form using live cycle designer 9 and activated the form extensions using Acrobat X Pro. The form includes an email send button. Our clients uses the Reader X and XI. Using Reader X the pressing of the button will open a di
-
What are the mail settings for icloud after migration ?
Ive migrated from mobile me , and have posted a problem , but noone has offered to help I wish to know what the settings are for in Mail now ( using cloud ) surely they are not mobile me , shouldnt it say cloud or something ? I migrated a week or so
-
URl link of record in workflow email
Hi, any one know how to send a URL of a record to a user in am workflow email?
-
No instance of object type PurchaseRequisition has been created.
Hi, We are facing a problem while creating purchase requisition documents with the help of IDocs. We are using the SAP standard function module to create purchase requisition. But IDocs are failing in the above mentioned error. This is the function m
-
iPhoto 9.2.3 seems to have lost all my thumnail. all my events and albums have the same thumnail of me and when I open an album or event it doesn't show me the thumnail, it's an empty grey box. I have to click on the grey box to open the picture. Wha