FTR_PARTNER_GET_TEXT 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_PARTNER_GET_TEXT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FTR_REUSE_PARTNER
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FTR_PARTNER_GET_TEXT' "Text Description of Business Partner (Variable Role, Default: TR Partner)
EXPORTING
* pi_companycode = SPACE " bukrs Company Code
pi_partner_id = " tb_kontrh Counterparty
* pi_partner_role = 'TR0151' " c Rolle (ist die alte TR-Partner Rolle)
* pi_flg_check = SPACE " boole_d Existenzprüfung durchführen? (X=ja, else=nein)
IMPORTING
pe_partner_text = " tb_xkontrh Name and Address of Business Partner
EXCEPTIONS
PARTNER_NOT_FOUND = 1 " Partner Not Found
PARTNER_ROLE_NOT_FOUND = 2 " Partner in Rolle nicht gefunden
. " FTR_PARTNER_GET_TEXT
The ABAP code below is a full code listing to execute function module FTR_PARTNER_GET_TEXT 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_partner_text | TYPE TB_XKONTRH . |
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_partner_text | TYPE TB_XKONTRH , |
| ld_pi_companycode | TYPE BUKRS , |
| ld_pi_partner_id | TYPE TB_KONTRH , |
| ld_pi_partner_role | TYPE C , |
| ld_pi_flg_check | TYPE BOOLE_D . |
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_PARTNER_GET_TEXT or its description.
FTR_PARTNER_GET_TEXT - Text Description of Business Partner (Variable Role, Default: TR Partn FTR_PARTNER_GET_ROLES_BY_CATEG - FTR_PARTNER_GET_DEFAULT_ROLE - FTR_PARTNER_GET_BY_PAYMBANKDET - Search Partner via "Paym. Trans. -> Bank Details" (Swife, Address,...) FTR_PARTNER_GET_BY_BANK_ID - Search Partner via "ID as Bank" (via Attributes: Swift, Address, ...) FTR_PARTNER_GET_ALTERNAT_PAYER - Check and Read Alternative Payer