SAP CUSTOMER_DSO_EXPLANATION Function Module for
CUSTOMER_DSO_EXPLANATION is a standard customer dso explanation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for customer dso explanation FM, simply by entering the name CUSTOMER_DSO_EXPLANATION into the relevant SAP transaction such as SE37 or SE38.
Function Group: F059
Program Name: SAPLF059
Main Program: SAPLF059
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CUSTOMER_DSO_EXPLANATION pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'CUSTOMER_DSO_EXPLANATION'".
EXPORTING
I_KKBER = "Credit control area
I_KUNNR = "Customer
* I_ANZBUPER = '003' "Number of posting periods
* I_XCHILDS = ' ' "
* I_ACTBALANCE = 'X' "
EXCEPTIONS
MISSING_DATA = 1 MISSING_INPUT = 2
IMPORTING Parameters details for CUSTOMER_DSO_EXPLANATION
I_KKBER - Credit control area
Data type: KNKK-KKBEROptional: No
Call by Reference: No ( called with pass by value option)
I_KUNNR - Customer
Data type: KNKK-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
I_ANZBUPER - Number of posting periods
Data type: T000CM-DSOPPDefault: '003'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_XCHILDS -
Data type: BOOLE-BOOLEDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTBALANCE -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
MISSING_DATA - DSO data missing.
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_INPUT - i_kkber or i_kunnr missing.
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CUSTOMER_DSO_EXPLANATION Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_kkber | TYPE KNKK-KKBER, " | |||
| lv_missing_data | TYPE KNKK, " | |||
| lv_i_kunnr | TYPE KNKK-KUNNR, " | |||
| lv_missing_input | TYPE KNKK, " | |||
| lv_i_anzbuper | TYPE T000CM-DSOPP, " '003' | |||
| lv_i_xchilds | TYPE BOOLE-BOOLE, " ' ' | |||
| lv_i_actbalance | TYPE BOOLE-BOOLE. " 'X' |
|   CALL FUNCTION 'CUSTOMER_DSO_EXPLANATION' " |
| EXPORTING | ||
| I_KKBER | = lv_i_kkber | |
| I_KUNNR | = lv_i_kunnr | |
| I_ANZBUPER | = lv_i_anzbuper | |
| I_XCHILDS | = lv_i_xchilds | |
| I_ACTBALANCE | = lv_i_actbalance | |
| EXCEPTIONS | ||
| MISSING_DATA = 1 | ||
| MISSING_INPUT = 2 | ||
| . " CUSTOMER_DSO_EXPLANATION | ||
ABAP code using 7.40 inline data declarations to call FM CUSTOMER_DSO_EXPLANATION
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single KKBER FROM KNKK INTO @DATA(ld_i_kkber). | ||||
| "SELECT single KUNNR FROM KNKK INTO @DATA(ld_i_kunnr). | ||||
| "SELECT single DSOPP FROM T000CM INTO @DATA(ld_i_anzbuper). | ||||
| DATA(ld_i_anzbuper) | = '003'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xchilds). | ||||
| DATA(ld_i_xchilds) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_actbalance). | ||||
| DATA(ld_i_actbalance) | = 'X'. | |||
Search for further information about these or an SAP related objects