B46C_GET_WT_INFO 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 B46C_GET_WT_INFO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BBP_PDH_WT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'B46C_GET_WT_INFO' "
EXPORTING
iv_logical_system = " bbp_backend_dest-log_sys
iv_bukrs = " bukrs
iv_vendor_nr = " lifnr
iv_budat = " bldat
iv_langu = " langu
iv_get_descr = " xfeld
iv_witht = " bbp_witht
TABLES
control_record = " bbp_control_record
* et_wt_tax_codes = " bbps_wt_tax_codes
* et_wt_propos = " bbps_wt_propos
. " B46C_GET_WT_INFO
The ABAP code below is a full code listing to execute function module B46C_GET_WT_INFO 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).
| it_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD,"TABLES PARAM |
| wa_control_record | LIKE LINE OF it_control_record , |
| it_et_wt_tax_codes | TYPE STANDARD TABLE OF BBPS_WT_TAX_CODES,"TABLES PARAM |
| wa_et_wt_tax_codes | LIKE LINE OF it_et_wt_tax_codes , |
| it_et_wt_propos | TYPE STANDARD TABLE OF BBPS_WT_PROPOS,"TABLES PARAM |
| wa_et_wt_propos | LIKE LINE OF it_et_wt_propos . |
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_iv_logical_system | TYPE BBP_BACKEND_DEST-LOG_SYS , |
| it_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD , |
| wa_control_record | LIKE LINE OF it_control_record, |
| ld_iv_bukrs | TYPE BUKRS , |
| it_et_wt_tax_codes | TYPE STANDARD TABLE OF BBPS_WT_TAX_CODES , |
| wa_et_wt_tax_codes | LIKE LINE OF it_et_wt_tax_codes, |
| ld_iv_vendor_nr | TYPE LIFNR , |
| it_et_wt_propos | TYPE STANDARD TABLE OF BBPS_WT_PROPOS , |
| wa_et_wt_propos | LIKE LINE OF it_et_wt_propos, |
| ld_iv_budat | TYPE BLDAT , |
| ld_iv_langu | TYPE LANGU , |
| ld_iv_get_descr | TYPE XFELD , |
| ld_iv_witht | TYPE BBP_WITHT . |
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 B46C_GET_WT_INFO or its description.