1.
0 Treasury Script
OUTLINE
1.0 Treasury Script.....................................................................................1
1.0 EXERCISES- create a business partner......................................2
2.0 EXERCISES- create commercial paper.......................................4
3.0 EXERCISES- create commercial paper.......................................6
4.0 EXERCISES- create short-term investment..............................7
5.0 EXERCISES- create deposit at notice..........................................9
6.0 EXERCISES- settle treasury instruments.................................11
7.0 EXERCISES- post treasury notes................................................13
8.0 EXERCISES- treasury reports.......................................................14
9.0 EXERCISES- create forex spot.....................................................15
10.0 EXERCISES- create forex forward...........................................17
11.0 EXERCISES- settle forex transactions....................................18
12.0 EXERCISES- post forex transactions......................................20
13.0 EXERCISES- create option..........................................................21
14.0 EXERCISES- settle option premium........................................23
15.0 EXERCISES- post option premium..........................................24
16.0 EXERCISES- exercise option......................................................25
17.0 EXERCISES- settle option forex................................................26
18.0 EXERCISES- post forex options transaction........................27
19.0 EXERCISES- Reports.....................................................................28
20.0 EXERCISES- other items.............................................................29
09/12/21 1 of 12
1.0 EXERCISES- create a business partner
Create a business partner
Business Purpose
SAP Treasury is based on the business partner concept. Transactions are
carried out with business partners within Treasury. Banks or central
treasury departments are examples of typical partners. Business
partners can be either a natural person or an organization
Business Scenario
A new business partner is required.
Steps to Complete the Exercise
1. Create Business Partner
2. Authorize Business Partner transactions
1. Create business partner
Area Menu:
Accounting Treasury Treasury Management Basic Functions
Master Data Business Partner Create
BPC1
Screen Name- Create Business Partner: Initial Screen
Use the following information:
Grouping: QLT (Treasury Partner- external)
Role category: 1000 (Treasury Partner)
Screen Name- Create Business Partner: Central Data
Fill in the required entry fields
09/12/21 2 of 12
Use the table below for input reference
Field name Description
Name QLT Business Partner 1
Language key EN (English)
Country CA (Canada)
Address ID DEFAULT
Street 123 Main Street
City Vancouver
Postal code V1V 1V1
Country/Reg CA (Canada)/ BC (British Columbia)
Click on the General role Data icon
Screen Name- Create Business Partner: Central Data
Use the following information:
Role type: QLT (QLT Role type)
Address ID: DEFAULT (optional entry)
Save the information. Record the Business Partner number assigned by
the system.
2. Authorize Business Partner transactions
Area Menu:
Accounting Treasury Treasury Management Basic Functions
Master Data Business Partner Standing Instructions Transaction
Authorizations
TBI6
Screen Name- Create/Change Transaction Authorization: Initial Screen
Enter the following information:
Partner: Partner number recorded above (in step 1)
Company code: ZQLT
09/12/21 3 of 12
Screen Name- Change Business Partner: Standing instructions
Select the Authorizations tab
Click on the box relating to the top node of the transaction hierarchy
(Money market). This will authorize the business partner for all treasury
transactions.
Save the changes.
2.0 EXERCISES- create commercial paper.
Recording Canadian Dollar Commercial Paper
Business Purpose
The purpose of this transaction is to create the following notes:
Commercial paper – discount note.
Short term investments – discount note.
Business Scenario
Commercial paper purchased.
Steps to Complete the Exercise
1. Create Commercial Paper
1 Create Commercial Paper
Area Menu:
Accounting Treasury Treasury Management Money Market
Trading Commercial Paper Create
TM31
Screen Name- Create Commercial Paper: Initial Screen
Fill in the required entry fields
Use the table below for input reference
09/12/21 4 of 12
Field name Description
Company code ZQLT
Product type QCP (Commercial Paper)
Transaction type 200 (Commercial paper sale)
Partner QLT Part
Click Enter to advance to next screen
Screen Name- Create Commercial Paper: Structure
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
Field name Description
Flow type 1100 (Principal increase)
Nominal amount $6,125,000
Life start Today’s date
Life end End of the month
Interest rate Enter 5.25%
Rate Leave blank- the system will derive after rate is
input
Int. Calc. Method Leave as default Act/365
NPV calculation Choose Yield
Calculat. Period Choose Start inclusive
Other Flows tab Show Only- do not fill in
FType
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $XX
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
Click Save to post the commercial paper transaction
Click Enter to by-pass the warning message
09/12/21 5 of 12
3.0 EXERCISES- create commercial paper.
Recording US Dollar Commercial Paper
Business Purpose
The purpose of this transaction is to create the following notes:
Commercial paper – discount note.
Short term investments – discount note.
Business Scenario
Commercial paper purchased.
Steps to Complete the Exercise
1. Create Commercial Paper
1 Create Commercial Paper
Area Menu:
Accounting Treasury Treasury Management Money Market
Trading Commercial Paper Create
TM31
Screen Name- Create Commercial Paper: Initial Screen
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QCP (Commercial Paper)
Transaction type 200 (Commercial paper sale)
Partner QLT Part
Click Enter to advance to next screen
09/12/21 6 of 12
Screen Name- Create Commercial Paper: Structure
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
Field name Description
Flow type 1100 (Principal increase)
Currency USD
Nominal amount $2,900,000
Life start Today’s date
Life end End of the month
Interest rate Enter 4.88%
Rate Leave blank- the system will derive after rate is
input
Int. Calc. Method Leave as default Act/365
NPV calculation Choose Yield
Calculat. Period Choose Start inclusive
Other Flows tab Show Only- do not fill in
FType
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $XX
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
Click Save to post the commercial paper transaction
Click Enter to by-pass the warning message
4.0 EXERCISES- create short-term investment
Recording Short term Investment
09/12/21 7 of 12
Business Purpose
Use this transaction to create interest bearing short-term investments.
Business Scenario
Short-term investment transacted.
Steps to Complete the Exercise
1. Create Fixed term deposit
1 Create Fixed term Deposit
Area Menu:
Accounting Treasury Treasury Management Money Market
Trading Fixed-term Deposit Create
TM01
Screen Name- Create Fixed-term Deposit: Initial Screen
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QTD (Fixed term Deposit)
Transaction type 100 (Short-term Investment)
Partner QLT Part
Click Enter to advance to next screen
Screen Name- Create Fixed-Term Deposit: Structure
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
09/12/21 8 of 12
Field name Description
Flow type 1100 (Principal increase)
Amount $975,000
Term start Today’s date
Term end End of the month
Percentage rate 4.5%
Frequency Choose 1 (at end of term)
Administration tab
Acct assign ref Choose 2 (Term Deposit)
Other Flows tab Optional
FType Ex. 1900 (commission)
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $10
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
Click Save to post the commercial paper transaction
Click Enter to by-pass the warning message
5.0 EXERCISES- create deposit at notice
Recording Deposits at Notice (MMF)
Business Purpose
Use this transaction to create interest bearing short-term investments.
Business Scenario
Short-term investment transacted.
Steps to Complete the Exercise
09/12/21 9 of 12
1. Create Fixed term deposit
1 Create Fixed term Deposit
Area Menu:
Accounting Treasury Treasury Management Money Market
Trading Deposit at Notice Create
TM11
Screen Name- Create Deposit at Notice: Initial Screen
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QDN (Fixed term Deposit)
Transaction type 100 (Short-term Investment)
Partner QLT Part
Click Enter to advance to next screen
Screen Name- Create Deposit at Notice: Structure
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
Field name Description
Flow type 1100 (Principal increase)
Amount $2,500,000
Term start Today’s date
Percentage rate 4.5%
Frequency Choose at end of term
Capitalize interest Click on the button
09/12/21 10 of 12
Further principal Click on the icon
changes icon
Other changes to Enter the additional transaction amounts:
capital pop-up Ftype 1100, One week later: $1,000,000
window
Ftype 1110, two weeks later: $750,000
Administration tab
Acct assign ref Choose Notice
Other Flows tab Optional
FType Ex. 1900 (commission)
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $10
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
Click Save to post the commercial paper transaction
Click Enter to by-pass the warning message
6.0 EXERCISES- settle treasury instruments
Settlement of Commercial Paper and Short term Investment
Give Notice for Deposit at Notice
Business Purpose
Settlement of commercial paper and fixed term deposits must occur before
any accounting transactions can be created. Once a note has been settled,
no changes are allowed to the terms of the note and the accounting
transactions can be posted.
Treasury transactions can also be reversed using this transaction. (Note:
the accounting documents are not reversed.)
Business Scenario
09/12/21 11 of 12
Settlement of Treasury transactions.
Steps to Complete the Exercise
1. Collective processing of treasury products
1 Settle Treasury products
Area Menu:
Accounting Treasury Treasury Management Money Market
Trading Collective Processing Money Market
TM00
Screen Name- Create Commercial Paper: Initial Screen
Fill in the required entry fields
Use the table below for input reference
Field name Description
Product and trans Select the appropriate treasury products-
category Commercial paper sales and Fixed-term
deposits invested, and Deposits at Notice
Current activity cat. Select ALL
General selections Optional. To limit settlement processing, choose
the following:
Company code Enter ZQLT
Business partner Enter Partner created in the earlier exercise.
Click Execute to run processing of settlement report
Screen Name- Money Market: Collective Processing
Select appropriate transaction(s) to settle and click the Settle icon
System takes you into Treasury document. Click Save.
Click the Reverse icon for any transaction created in error (note: this
doe not reverse the accounting transaction)
Give Notice for Deposit at Notice
Go to TM15
09/12/21 12 of 12
Area Menu:
Accounting Treasury Treasury Management Money Market
Trading Deposit at Notice Give Notice
Enter the Deposit at Notice document number, click Enter
Put in a termination date (end of next month)
Save.
7.0 EXERCISES- post treasury notes
Post Treasury notes
Business Purpose
Use this transaction to create the accounting entries for Commercial paper
purchases and short-term investments.
Business Scenario
Settlement of Treasury transactions.
Steps to Complete the Exercise
1. Post flows
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Money Market
Accounting Posting Execute
TBB1
Screen Name- Treasury: Post Flows
Fill in the required entry fields
Use the table below for input reference
Field name Description
09/12/21 13 of 12
Application Select Money market
General selections Optional. To limit settlement processing, choose
the following:
Company code Enter ZQLT
Posting control Optional
Click Execute to run transaction report
Use Test run flag to determine if error exist
8.0 EXERCISES- treasury reports
Run Treasury Reports
Business Purpose
Use the reports to analyze treasury transactions and cash positions.
Business Scenario
Run report of Treasury transactions.
Steps to Complete the Exercise
1. Run Reports
1 Run Reports
Area Menu:
TBR0
Screen Name- Posting Journal
Fill in the required entry fields
Use the table below for input reference
Field name Description
Application Select Money market
09/12/21 14 of 12
General selections Optional. To limit settlement processing, choose
the following:
Company code Enter ZQLT
Partner Choose Partner created in earlier exercise
Click Execute to run report
Analyse list of transactions
Further analysis can be performed by running reports from
transactions TJ12 and TMR1
9.0 EXERCISES- create forex spot
Foreign Exchange
Spot rate
Business Purpose
Use this transaction to create the accounting entries for Foreign Exchange
purchases.
Business Scenario
Purchase Foreign currencies at a Spot rate.
Steps to Complete the Exercise
1. Post currency purchase
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Spot/Forward Transactions Create
TX01
Screen Name- Spot/Forward Transactions: Initial Screen
Fill in the required entry fields
09/12/21 15 of 12
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QFE (Foreign Exchange)
Transaction type 101 (Spot transaction)
Partner QLT Part
Click Enter to advance to next screen
Screen Name- Spot/Forward Transactions Create: Structure
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
Field name Description
Purchase
Currency CAD
Amount System determined
Sales
Currency USD
Amount $1,000,000
Spot 1.5
Administration tab
Acct assign ref Choose Notice
Other Flows tab Optional
FType Ex. 1900 (commission)
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $10
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
09/12/21 16 of 12
Save
10.0EXERCISES- create forex forward
Foreign Exchange
Forward rate
Business Purpose
Use this transaction to create the accounting entries for Foreign Exchange
purchases.
Business Scenario
Purchase Foreign currencies at a Forward rate.
Steps to Complete the Exercise
1. Post currency purchase
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Spot/Forward Transactions Create
TX01
Screen Name- Spot/Forward Transactions: Initial Screen
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QFE (Foreign Exchange)
Transaction type 102 (Forward transaction)
Partner QLT Part
Click Enter to advance to next screen
09/12/21 17 of 12
Screen Name- Spot/Forward Transactions Create: Structure
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
Field name Description
Purchase
Currency CAD
Amount System determined
Sales
Currency USD
Amount $1,000,000
Spot 1.5425
Swap 0.0004 (Forward points)
Administration tab
Acct assign ref Choose Notice
Other Flows tab Optional
FType Ex. 1900 (commission)
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $10
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
Save
11.0EXERCISES- settle forex transactions
Settlement of Spot and Forward Foreign Exchange transactions
Business Purpose
09/12/21 18 of 12
Settlement of foreign exchange transactions must occur before any
accounting transactions can be created.
Treasury transactions can also be reversed using this transaction. (Note:
the accounting documents are not reversed.)
Business Scenario
Settlement of Foreign Exchange transactions.
Steps to Complete the Exercise
1. Collective processing of Exchange products
1 Settle Treasury products
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Collective Processing Spot/Forward Transactions
TX06
Screen Name- Forex: Collective processing
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QFE
Click Execute to run processing of settlement report
Screen Name- Forex: Collective processing
Select appropriate transaction(s) to settle and click the Settle icon
System takes you into Treasury document. Click Save.
Click the Reverse icon for any transaction created in error (note: this
doe not reverse the accounting transaction)
09/12/21 19 of 12
12.0EXERCISES- post forex transactions
Post Foreign Exchange transactions
Business Purpose
Use this transaction to create the accounting entries for Foreign Exchange
transactions.
Business Scenario
Posting of Treasury transactions.
Steps to Complete the Exercise
1. Post flows
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Accounting Posting Execute
TBB1
Screen Name- Treasury: Post Flows
Fill in the required entry fields
Use the table below for input reference
Field name Description
Application Select Foreign Exchange
General selections Optional. To limit settlement processing, choose
the following:
Company code Enter ZQLT
Posting control Optional
Click Execute to run transaction report
Use Test run flag to determine if error exist
09/12/21 20 of 12
13.0EXERCISES- create option
Foreign Exchange
Currency Option
Business Purpose
Use this transaction to create Foreign Exchange Currency Option purchases.
Business Scenario
Purchase OTC Currency Option.
Steps to Complete the Exercise
1. Post currency purchase
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Standard Option Create
TI40
Screen Name- OTC Option Create: Initial Screen
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QCO (Currency Option- OTC)
Transaction type 100 (Purchase)
Partner QLT Part
Click Enter to advance to next screen
Screen Name- OTC Option Create: Structure
09/12/21 21 of 12
Fill in the required entry fields
Use the table below for input reference
Note: the screen name will change as you move from tab to tab.
Field name Description
Exercise period Today’s date
Exercise European
Currency Pair USD/CAD
Underly. Curr. USD
Amount $1,000,000
Strike 1,5385
Points 0,0350
Payment date One month later
Curr CAD
Amount Leave blank
Administration tab
Acct assign ref Choose Option
Other Flows tab Optional
FType Ex. 1900 (commission)
D Choose ‘-‘ (negative- outflows)
Payment amount Enter $10
Curr. Pmnt currency Enter CAD
The Cash Flow tab contains a summary of the transaction
information
Save
Next Steps for Options:
1. Settle the Option.
2. Post the Option premiums
3. Exercise the Option
4. Settle Option forex
5. Post Option forex
09/12/21 22 of 12
14.0EXERCISES- settle option premium
Settlement of Option transaction
Business Purpose
Settlement of Option transactions must occur before any accounting
transactions can be created.
Treasury transactions can also be reversed using this transaction. (Note:
the accounting documents are not reversed.)
Business Scenario
Settlement of Foreign Exchange transactions.
Steps to Complete the Exercise
1. Collective processing of Exchange products
1 Settle Treasury products
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Collective Processing OTC Options
TX91
Screen Name- Collective processing for OTC Options
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Product type QCO
Click Execute to run processing of settlement report
Screen Name- Collective processing for OTC Options
09/12/21 23 of 12
Select appropriate transaction(s) to settle and click the Settle icon
Click the Reverse icon for any transaction created in error (note: this
doe not reverse the accounting transaction)
15.0EXERCISES- post option premium
Post OTC Option premium
Business Purpose
Use this transaction to create the accounting entries for OTC Option
premium.
Business Scenario
Settlement of Treasury transactions.
Steps to Complete the Exercise
1. Post flows
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Accounting Posting Execute
TBB1
Screen Name- Treasury: Post Flows
Fill in the required entry fields
Use the table below for input reference
Field name Description
Application Select Foreign Exchange and Derivative
General selections Optional. To limit settlement processing, choose
the following:
09/12/21 24 of 12
Company code Enter ZQLT
Up to and Including Enter one month forward
date
Posting control Optional
Click Execute to run transaction report
Use Test run flag to determine if error exist
16.0EXERCISES- exercise option
Foreign Exchange
Currency Option
Business Purpose
Use this transaction to Exercise Foreign Exchange Currency Option
purchases.
Business Scenario
Exercise OTC Currency Option.
Steps to Complete the Exercise
1. Exercise currency Option
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Standard Option Exercise
TI86
Screen Name- OTC Option: Add Activity
Fill in the required entry fields
Use the table below for input reference
Field name Description
09/12/21 25 of 12
Company code ZQLT
Transaction Document number from initial Option creation
Click Enter to advance to next screen
Screen Name- OTC Option Add Activity: Structure
Optional- Make any changes to available fields as required
Save
Note: may have to hit Enter several times as the system runs through a
check first
Note: The system creates a second, underlying transaction.
17.0EXERCISES- settle option forex
Settlement of Foreign Exchange Option transaction
Business Purpose
Settlement of foreign exchange transactions must occur before any
accounting transactions can be created.
Treasury transactions can also be reversed using this transaction. (Note:
the accounting documents are not reversed.)
Business Scenario
Settlement of Foreign Exchange Option transaction.
Steps to Complete the Exercise
1. Collective processing of Exchange products
1 Settle Treasury products
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Trading Collective Processing Spot/Forward Transactions
TX06
09/12/21 26 of 12
Screen Name- Forex: Collective processing
Fill in the required entry fields
Use the table below for input reference
Field name Description
Company code ZQLT
Click Execute to run processing of settlement report
Screen Name- Forex: Collective processing
Select appropriate transaction(s) to settle and click the Settle icon
System takes you into Treasury document. Click Save.
Click the Reverse icon for any transaction created in error (note: this
doe not reverse the accounting transaction)
18.0EXERCISES- post forex options transaction
Post Foreign Exchange transactions
Business Purpose
Use this transaction to create the accounting entries for Foreign Exchange
transactions.
Business Scenario
Posting of Treasury transactions.
Steps to Complete the Exercise
1. Post flows
1 Post flows
Area Menu:
Accounting Treasury Treasury Management Foreign Exchange
Accounting Posting Execute
09/12/21 27 of 12
TBB1
Screen Name- Treasury: Post Flows
Fill in the required entry fields
Use the table below for input reference
Field name Description
Application Select Foreign Exchange and Derivatives
General selections Optional. To limit settlement processing, choose
the following:
Company code Enter ZQLT
Posting control Optional
Click Execute to run transaction report
Use Test run flag to determine if error exist
19.0EXERCISES- Reports
Run report from transactions FF7A and FF7B
o Menu path:
Information Systems --> Accounting Treasury
Treasury: Strategic View Liquidity Analysis Cash
Position/ Liquidity Forecast
Use the table below for input reference
Field name Description
Company code ZQLT
Cash Position/ Choose one of the two
Liquidity Forecast
Grouping Enter QLT, or choose other QLT options from the
drop-down
Display as of Choose a date one month forward
Display in CAD
Click Execute to run report
09/12/21 28 of 12
20.0EXERCISES- other items
Schedule Manager- trans code SCMA
o Show the screen.
o Discuss the available functionality
Will not automatically run programs, still need batch input
sessions for that
User-defined changes to system config
o Needs to go through standard configuration protocol
Start in DEV, test, transport, etc.
Import market data- ex Telerate
o Trans code TBD4
o Need to set up appropriate datafeeds, links, etc.
Ad-hoc reports
o Certain functionality exists, but need to discuss requirements
first
ABAP Query as an example.
o BW will provide more and better report functionality
Bank connectivity
o Trans code FF.5
o Need to set up a push or pull file transfer with the bank
09/12/21 29 of 12