GET_SF_DUNN_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 GET_SF_DUNN_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
F150
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'GET_SF_DUNN_DATA' "
EXPORTING
is_sfparam = " sfparam Correspondence - Generic
IMPORTING
es_mhnk = " mhnk Dunning data (account entries)
es_t001 = " t001 Company Codes
es_knb5 = " knb5 Customer Master (Dunning Data)
es_lfb5 = " lfb5 Vendor Master (Dunning Data)
es_t047 = " t047 Company code dunning control
es_t047c = " t047c Dunning Charges
es_t047i = " t047i Standard texts for dunning notices
es_t056z = " t056z Interest Rates
es_f150d = " f150d Work fields for SAPF150D
es_fsabe = " fsabe Accounting clerk address data
es_adrnr = " kna1-adrnr Address
es_uadrnr = " kna1-adrnr Address
es_adrs = " adrs Address formating function module transfer structure
es_uadrs = " adrs Address formating function module transfer structure
es_t047b = " t047b Dunning Level Control
eb_testprint = " boole-boole Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
e_langu = " sy-langu Current Language
e_lang2 = " sy-langu Current Language
es_f150d_esr = " f150d_esr Work Fields SAPF150D for Swiss ISR Procedure
es_paymi = " paymi Attached Payment Medium Input
es_paymo = " paymo Attached Payment Medium Output
es_f150d2 = " f150d2 FI Dunning - Extended printing structure
TABLES
t_mhnd = " mhnd Dunning Data
EXCEPTIONS
NO_PARAMETERS_FOUND = 1 "
. " GET_SF_DUNN_DATA
The ABAP code below is a full code listing to execute function module GET_SF_DUNN_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_es_mhnk | TYPE MHNK , |
| ld_es_t001 | TYPE T001 , |
| ld_es_knb5 | TYPE KNB5 , |
| ld_es_lfb5 | TYPE LFB5 , |
| ld_es_t047 | TYPE T047 , |
| ld_es_t047c | TYPE T047C , |
| ld_es_t047i | TYPE T047I , |
| ld_es_t056z | TYPE T056Z , |
| ld_es_f150d | TYPE F150D , |
| ld_es_fsabe | TYPE FSABE , |
| ld_es_adrnr | TYPE KNA1-ADRNR , |
| ld_es_uadrnr | TYPE KNA1-ADRNR , |
| ld_es_adrs | TYPE ADRS , |
| ld_es_uadrs | TYPE ADRS , |
| ld_es_t047b | TYPE T047B , |
| ld_eb_testprint | TYPE BOOLE-BOOLE , |
| ld_e_langu | TYPE SY-LANGU , |
| ld_e_lang2 | TYPE SY-LANGU , |
| ld_es_f150d_esr | TYPE F150D_ESR , |
| ld_es_paymi | TYPE PAYMI , |
| ld_es_paymo | TYPE PAYMO , |
| ld_es_f150d2 | TYPE F150D2 , |
| it_t_mhnd | TYPE STANDARD TABLE OF MHND,"TABLES PARAM |
| wa_t_mhnd | LIKE LINE OF it_t_mhnd . |
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_es_mhnk | TYPE MHNK , |
| it_t_mhnd | TYPE STANDARD TABLE OF MHND , |
| wa_t_mhnd | LIKE LINE OF it_t_mhnd, |
| ld_is_sfparam | TYPE SFPARAM , |
| ld_es_t001 | TYPE T001 , |
| ld_es_knb5 | TYPE KNB5 , |
| ld_es_lfb5 | TYPE LFB5 , |
| ld_es_t047 | TYPE T047 , |
| ld_es_t047c | TYPE T047C , |
| ld_es_t047i | TYPE T047I , |
| ld_es_t056z | TYPE T056Z , |
| ld_es_f150d | TYPE F150D , |
| ld_es_fsabe | TYPE FSABE , |
| ld_es_adrnr | TYPE KNA1-ADRNR , |
| ld_es_uadrnr | TYPE KNA1-ADRNR , |
| ld_es_adrs | TYPE ADRS , |
| ld_es_uadrs | TYPE ADRS , |
| ld_es_t047b | TYPE T047B , |
| ld_eb_testprint | TYPE BOOLE-BOOLE , |
| ld_e_langu | TYPE SY-LANGU , |
| ld_e_lang2 | TYPE SY-LANGU , |
| ld_es_f150d_esr | TYPE F150D_ESR , |
| ld_es_paymi | TYPE PAYMI , |
| ld_es_paymo | TYPE PAYMO , |
| ld_es_f150d2 | TYPE F150D2 . |
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 GET_SF_DUNN_DATA or its description.