CUSTOMER_DUE_DATE_ANALYSIS 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 CUSTOMER_DUE_DATE_ANALYSIS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
F035
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CUSTOMER_DUE_DATE_ANALYSIS' "
EXPORTING
* bukrs = ' ' " bsid-bukrs Company code
* kkber = ' ' " t014-kkber Credit control area
kunnr = " bsid-kunnr Customer
rasid = " tras-rasid Grid
* klimp = 'X' " t074u-klimp
IMPORTING
sfae1 = " rf035-sfae1 Total due items (schedule 1)
sfae2 = " rf035-sfae2 Total of Due Items (Interval 2)
sfae3 = " rf035-sfae3 Total of Due Items (Interval 3)
sfae4 = " rf035-sfae4 Total of Due Items (Interval 4)
sfae5 = " rf035-sfae5 Total of Due Items (Interval 5)
sfae6 = " rf035-sfae6 Total of Due Items (Interval 6)
sfael = " rf035-sfael Total of Due Items
snfa1 = " rf035-snfa1 Total not due items (schedule 1)
snfa2 = " rf035-snfa2 Total not due items (schedule 2)
snfa3 = " rf035-snfa3 Total not due items (schedule 3)
snfa4 = " rf035-snfa4 Total not due items (schedule 4)
snfa5 = " rf035-snfa5 Total not due items (schedule 5)
snfa6 = " rf035-snfa6 Total not due items (schedule 6)
snfae = " rf035-snfae Total of Items not Due
EXCEPTIONS
INVALID_RASTER = 1 " Invalid schedule
NO_OPEN_ITEMS = 2 " No open items were found
. " CUSTOMER_DUE_DATE_ANALYSIS
The ABAP code below is a full code listing to execute function module CUSTOMER_DUE_DATE_ANALYSIS 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_sfae1 | TYPE RF035-SFAE1 , |
| ld_sfae2 | TYPE RF035-SFAE2 , |
| ld_sfae3 | TYPE RF035-SFAE3 , |
| ld_sfae4 | TYPE RF035-SFAE4 , |
| ld_sfae5 | TYPE RF035-SFAE5 , |
| ld_sfae6 | TYPE RF035-SFAE6 , |
| ld_sfael | TYPE RF035-SFAEL , |
| ld_snfa1 | TYPE RF035-SNFA1 , |
| ld_snfa2 | TYPE RF035-SNFA2 , |
| ld_snfa3 | TYPE RF035-SNFA3 , |
| ld_snfa4 | TYPE RF035-SNFA4 , |
| ld_snfa5 | TYPE RF035-SNFA5 , |
| ld_snfa6 | TYPE RF035-SNFA6 , |
| ld_snfae | TYPE RF035-SNFAE . |
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_sfae1 | TYPE RF035-SFAE1 , |
| ld_bukrs | TYPE BSID-BUKRS , |
| ld_sfae2 | TYPE RF035-SFAE2 , |
| ld_kkber | TYPE T014-KKBER , |
| ld_sfae3 | TYPE RF035-SFAE3 , |
| ld_kunnr | TYPE BSID-KUNNR , |
| ld_sfae4 | TYPE RF035-SFAE4 , |
| ld_rasid | TYPE TRAS-RASID , |
| ld_sfae5 | TYPE RF035-SFAE5 , |
| ld_klimp | TYPE T074U-KLIMP , |
| ld_sfae6 | TYPE RF035-SFAE6 , |
| ld_sfael | TYPE RF035-SFAEL , |
| ld_snfa1 | TYPE RF035-SNFA1 , |
| ld_snfa2 | TYPE RF035-SNFA2 , |
| ld_snfa3 | TYPE RF035-SNFA3 , |
| ld_snfa4 | TYPE RF035-SNFA4 , |
| ld_snfa5 | TYPE RF035-SNFA5 , |
| ld_snfa6 | TYPE RF035-SNFA6 , |
| ld_snfae | TYPE RF035-SNFAE . |
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 CUSTOMER_DUE_DATE_ANALYSIS or its description.