FTR_GET_CLEARING_DATA 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 FTR_GET_CLEARING_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FTR_REUSE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FTR_GET_CLEARING_DATA' "Get data for central clearing
EXPORTING
pi_companycode = " bukrs Company Code
pi_productcategory = " sanlf Product Category
pi_producttype = " vvsart Product Type
pi_transactiontype = " tb_sfhaart Financial Transaction Type
pi_counterparty = " tb_kontrh Counterparty
pi_commodity_id = " trco_comm_id Commodity ID
IMPORTING
pe_clearing_option = " tpm_trea_clearing_opt Treasury: TREA Clearing Option
pe_clearing_status = " tpm_trea_clearing_status Treasury: TREA Clearing Status
pe_clearing_date = " tpm_trea_clearing_date Planned clearing date
pe_ext_account = " tpm_ext_account Treasury: External Account
. " FTR_GET_CLEARING_DATA
The ABAP code below is a full code listing to execute function module FTR_GET_CLEARING_DATA 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_pe_clearing_option | TYPE TPM_TREA_CLEARING_OPT , |
| ld_pe_clearing_status | TYPE TPM_TREA_CLEARING_STATUS , |
| ld_pe_clearing_date | TYPE TPM_TREA_CLEARING_DATE , |
| ld_pe_ext_account | TYPE TPM_EXT_ACCOUNT . |
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_pe_clearing_option | TYPE TPM_TREA_CLEARING_OPT , |
| ld_pi_companycode | TYPE BUKRS , |
| ld_pe_clearing_status | TYPE TPM_TREA_CLEARING_STATUS , |
| ld_pi_productcategory | TYPE SANLF , |
| ld_pe_clearing_date | TYPE TPM_TREA_CLEARING_DATE , |
| ld_pi_producttype | TYPE VVSART , |
| ld_pe_ext_account | TYPE TPM_EXT_ACCOUNT , |
| ld_pi_transactiontype | TYPE TB_SFHAART , |
| ld_pi_counterparty | TYPE TB_KONTRH , |
| ld_pi_commodity_id | TYPE TRCO_COMM_ID . |
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 FTR_GET_CLEARING_DATA or its description.
FTR_GET_CLEARING_DATA - Get data for central clearing FTR_GDPDU_USER_EXISTS - FTR_GDPDU_SEGMENT_INIT - Initialize a Data Segment in DART FTR_GDPDU_SEGMENT_CLOSE - Close Data Segment in DART FTR_GDPDU_SEC_PAR_RELEVANT - Determine Relevant Securities Positions FTR_GDPDU_SEC_PAR_FLOWDATA - Extract Data for Securities