TPM_TRL_FIXINGSUM_PROTOCOL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name TPM_TRL_FIXINGSUM_PROTOCOL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
TPM_TRL_PROTOCOLS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TPM_TRL_FIXINGSUM_PROTOCOL' "Display Totals Records for TRL Positions
EXPORTING
im_mode = " i Mode
* im_no_sec = SPACE " char1 No Securities
* im_no_loa = SPACE " char1 No Loans
* im_no_pos = SPACE " char1 No Listed Options/Futures
* im_no_dea = SPACE " char1 keine OTC Geschäfte
* im_date = " tpm_trldate Position Date
* im_tab_otc_deals = " trgy_bukrs_dealnumber Table Type for Transaction Key Structure
* im_flag_unlock = SPACE " xfeld 'X' Unlock
IMPORTING
ex_okcode = " syucomm Screens, Function Code That Triggered PAI
ex_tab_fixingsum = " trly_fixingsum Table with References to Fixing Sum Class
* TABLES
* im_range_val = " trgr_valuation_area Valuation Areas
* im_range_vcl = " trgr_valuation_class Valuation Classes
* im_range_tac = " trgr_accounting_code TR Accounting Kreise
* im_range_buk = " trgr_company_code Company Codes
* im_range_ptp = " trgr_product_type Product Categories
* im_range_acc = " trgr_security_account Securities Accounts
* im_range_sec = " trgr_security_id ID Numbers
* im_range_pfl = " trgr_portfolio Portfolios
* im_range_tra = " trgr_trader Traders
* im_range_grp = " trgr_account_group Sec. acct groups
* im_range_con = " trgr_loans_contract Loan Contracts
* im_range_pos = " trgr_position_account Positionskonten
* im_range_sep = " trgr_security_id Kennnummern Optionen/Futures
* im_range_dat = " trgr_date Date
. " TPM_TRL_FIXINGSUM_PROTOCOL
The ABAP code below is a full code listing to execute function module TPM_TRL_FIXINGSUM_PROTOCOL including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_ex_okcode | TYPE SYUCOMM , |
| ld_ex_tab_fixingsum | TYPE TRLY_FIXINGSUM , |
| it_im_range_val | TYPE STANDARD TABLE OF TRGR_VALUATION_AREA,"TABLES PARAM |
| wa_im_range_val | LIKE LINE OF it_im_range_val , |
| it_im_range_vcl | TYPE STANDARD TABLE OF TRGR_VALUATION_CLASS,"TABLES PARAM |
| wa_im_range_vcl | LIKE LINE OF it_im_range_vcl , |
| it_im_range_tac | TYPE STANDARD TABLE OF TRGR_ACCOUNTING_CODE,"TABLES PARAM |
| wa_im_range_tac | LIKE LINE OF it_im_range_tac , |
| it_im_range_buk | TYPE STANDARD TABLE OF TRGR_COMPANY_CODE,"TABLES PARAM |
| wa_im_range_buk | LIKE LINE OF it_im_range_buk , |
| it_im_range_ptp | TYPE STANDARD TABLE OF TRGR_PRODUCT_TYPE,"TABLES PARAM |
| wa_im_range_ptp | LIKE LINE OF it_im_range_ptp , |
| it_im_range_acc | TYPE STANDARD TABLE OF TRGR_SECURITY_ACCOUNT,"TABLES PARAM |
| wa_im_range_acc | LIKE LINE OF it_im_range_acc , |
| it_im_range_sec | TYPE STANDARD TABLE OF TRGR_SECURITY_ID,"TABLES PARAM |
| wa_im_range_sec | LIKE LINE OF it_im_range_sec , |
| it_im_range_pfl | TYPE STANDARD TABLE OF TRGR_PORTFOLIO,"TABLES PARAM |
| wa_im_range_pfl | LIKE LINE OF it_im_range_pfl , |
| it_im_range_tra | TYPE STANDARD TABLE OF TRGR_TRADER,"TABLES PARAM |
| wa_im_range_tra | LIKE LINE OF it_im_range_tra , |
| it_im_range_grp | TYPE STANDARD TABLE OF TRGR_ACCOUNT_GROUP,"TABLES PARAM |
| wa_im_range_grp | LIKE LINE OF it_im_range_grp , |
| it_im_range_con | TYPE STANDARD TABLE OF TRGR_LOANS_CONTRACT,"TABLES PARAM |
| wa_im_range_con | LIKE LINE OF it_im_range_con , |
| it_im_range_pos | TYPE STANDARD TABLE OF TRGR_POSITION_ACCOUNT,"TABLES PARAM |
| wa_im_range_pos | LIKE LINE OF it_im_range_pos , |
| it_im_range_sep | TYPE STANDARD TABLE OF TRGR_SECURITY_ID,"TABLES PARAM |
| wa_im_range_sep | LIKE LINE OF it_im_range_sep , |
| it_im_range_dat | TYPE STANDARD TABLE OF TRGR_DATE,"TABLES PARAM |
| wa_im_range_dat | LIKE LINE OF it_im_range_dat . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ex_okcode | TYPE SYUCOMM , |
| ld_im_mode | TYPE I , |
| it_im_range_val | TYPE STANDARD TABLE OF TRGR_VALUATION_AREA , |
| wa_im_range_val | LIKE LINE OF it_im_range_val, |
| it_im_range_vcl | TYPE STANDARD TABLE OF TRGR_VALUATION_CLASS , |
| wa_im_range_vcl | LIKE LINE OF it_im_range_vcl, |
| ld_im_no_sec | TYPE CHAR1 , |
| ld_ex_tab_fixingsum | TYPE TRLY_FIXINGSUM , |
| ld_im_no_loa | TYPE CHAR1 , |
| it_im_range_tac | TYPE STANDARD TABLE OF TRGR_ACCOUNTING_CODE , |
| wa_im_range_tac | LIKE LINE OF it_im_range_tac, |
| ld_im_no_pos | TYPE CHAR1 , |
| it_im_range_buk | TYPE STANDARD TABLE OF TRGR_COMPANY_CODE , |
| wa_im_range_buk | LIKE LINE OF it_im_range_buk, |
| ld_im_no_dea | TYPE CHAR1 , |
| it_im_range_ptp | TYPE STANDARD TABLE OF TRGR_PRODUCT_TYPE , |
| wa_im_range_ptp | LIKE LINE OF it_im_range_ptp, |
| ld_im_date | TYPE TPM_TRLDATE , |
| it_im_range_acc | TYPE STANDARD TABLE OF TRGR_SECURITY_ACCOUNT , |
| wa_im_range_acc | LIKE LINE OF it_im_range_acc, |
| ld_im_tab_otc_deals | TYPE TRGY_BUKRS_DEALNUMBER , |
| it_im_range_sec | TYPE STANDARD TABLE OF TRGR_SECURITY_ID , |
| wa_im_range_sec | LIKE LINE OF it_im_range_sec, |
| ld_im_flag_unlock | TYPE XFELD , |
| it_im_range_pfl | TYPE STANDARD TABLE OF TRGR_PORTFOLIO , |
| wa_im_range_pfl | LIKE LINE OF it_im_range_pfl, |
| it_im_range_tra | TYPE STANDARD TABLE OF TRGR_TRADER , |
| wa_im_range_tra | LIKE LINE OF it_im_range_tra, |
| it_im_range_grp | TYPE STANDARD TABLE OF TRGR_ACCOUNT_GROUP , |
| wa_im_range_grp | LIKE LINE OF it_im_range_grp, |
| it_im_range_con | TYPE STANDARD TABLE OF TRGR_LOANS_CONTRACT , |
| wa_im_range_con | LIKE LINE OF it_im_range_con, |
| it_im_range_pos | TYPE STANDARD TABLE OF TRGR_POSITION_ACCOUNT , |
| wa_im_range_pos | LIKE LINE OF it_im_range_pos, |
| it_im_range_sep | TYPE STANDARD TABLE OF TRGR_SECURITY_ID , |
| wa_im_range_sep | LIKE LINE OF it_im_range_sep, |
| it_im_range_dat | TYPE STANDARD TABLE OF TRGR_DATE , |
| wa_im_range_dat | LIKE LINE OF it_im_range_dat. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name TPM_TRL_FIXINGSUM_PROTOCOL or its description.
TPM_TRL_FIXINGSUM_PROTOCOL - Display Totals Records for TRL Positions TPM_TRL_FIXINGSUM_DELETE - Generate Totals Records TPM_TRL_FIXINGSUM_CREATE - Generate Totals Records TPM_TRL_F4_SHLP_EXIT_PT_LOT - Example for a search help exit TPM_TRL_EVALUATE - Valuation of Position Changes TPM_TRL_DIVIDEND_THX - Generate Dividend Transfer Flows Between Subpositions