FTBP_READ_PARTNER 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 FTBP_READ_PARTNER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FTBP_READ
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FTBP_READ_PARTNER' "Business Partner: Read General Data
EXPORTING
i_partner = " but000-partner Partner
* i_release = SPACE " c Check Release of Partner
* i_read_from_db = SPACE " boole-boole Always Read from the Database
* i_date = SY-DATUM " sy-datum
* i_xmemory = SPACE " boole-boole Kennzeichen: Lokales Memory durchsuchen
* i_xwa = SPACE " boole-boole Kennzeichen: Arbeitsbereich durchsuchen
* i_addrnumber = " but020-addrnumber Adressnummer (für Adressfindung)
* i_cp_exclude = SPACE " boole-boole Keine Daten zur Zentralen Person (Performance!)
* i_is_exclude = SPACE " boole-boole Standardbranche nicht ermitteln
IMPORTING
e_bus000 = " bus000
e_bus001 = " bus001
e_bp001 = " bp001
e_but0bank = " but0bank Business Partner: Bank Data
e_customer = " kna1-kunnr
EXCEPTIONS
PARTNER = 1 "
PARTNER_NOT_RELEASED = 2 " Partner is not released
WRONG_PARAMETERS = 3 "
DATA_FOR_DATA_NOT_ACT = 4 "
. " FTBP_READ_PARTNER
The ABAP code below is a full code listing to execute function module FTBP_READ_PARTNER 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_e_bus000 | TYPE BUS000 , |
| ld_e_bus001 | TYPE BUS001 , |
| ld_e_bp001 | TYPE BP001 , |
| ld_e_but0bank | TYPE BUT0BANK , |
| ld_e_customer | TYPE KNA1-KUNNR . |
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_e_bus000 | TYPE BUS000 , |
| ld_i_partner | TYPE BUT000-PARTNER , |
| ld_e_bus001 | TYPE BUS001 , |
| ld_i_release | TYPE C , |
| ld_e_bp001 | TYPE BP001 , |
| ld_i_read_from_db | TYPE BOOLE-BOOLE , |
| ld_e_but0bank | TYPE BUT0BANK , |
| ld_i_date | TYPE SY-DATUM , |
| ld_e_customer | TYPE KNA1-KUNNR , |
| ld_i_xmemory | TYPE BOOLE-BOOLE , |
| ld_i_xwa | TYPE BOOLE-BOOLE , |
| ld_i_addrnumber | TYPE BUT020-ADDRNUMBER , |
| ld_i_cp_exclude | TYPE BOOLE-BOOLE , |
| ld_i_is_exclude | TYPE BOOLE-BOOLE . |
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 FTBP_READ_PARTNER or its description.
FTBP_READ_PARTNER - Business Partner: Read General Data FTBP_READ_MESSAGE_CONCATENATE - Business Partner: Link Message FTBP_READ_MASS_PARTNER - FTBP_READ_KNB5 - Business Partner: Read Dunning Data FTBP_READ_KNB1 - Business Partner: Read FI Customer Data (Company Code) FTBP_READ_KNA1 - Business Partner: Read FI Customer Data (General)