SAP ISM_LIABILITY_DETERM_ACCOUNT Function Module for
ISM_LIABILITY_DETERM_ACCOUNT is a standard ism liability determ account 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 ism liability determ account FM, simply by entering the name ISM_LIABILITY_DETERM_ACCOUNT into the relevant SAP transaction such as SE37 or SE38.
Function Group: JFACC
Program Name: SAPLJFACC
Main Program: SAPLJFACC
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_LIABILITY_DETERM_ACCOUNT 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 'ISM_LIABILITY_DETERM_ACCOUNT'".
EXPORTING
I_KOMKCV = "
I_KOMPCV = "
I_KNUMV = "
I_KPOSN = "
I_PRICING_PROCEDURE = "
* I_PROTOCOL = "
* I_ISPSFAKT = "
IMPORTING
E_KONV_CHANGED = "
TABLES
C_KOMV_TAB = "
EXCEPTIONS
ACCOUNT_MISSING = 1 INTERNAL_ERROR = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLJFACC_001 IS-M/SD: Account Determination for Revenue Accrual - Order (Amortization)
EXIT_SAPLJFACC_002 IS-M/SD: Account Determination for Revenue Accrual - Billing
IMPORTING Parameters details for ISM_LIABILITY_DETERM_ACCOUNT
I_KOMKCV -
Data type: KOMKCVOptional: No
Call by Reference: No ( called with pass by value option)
I_KOMPCV -
Data type: KOMPCVOptional: No
Call by Reference: No ( called with pass by value option)
I_KNUMV -
Data type: KOMV-KNUMVOptional: No
Call by Reference: No ( called with pass by value option)
I_KPOSN -
Data type: KOMV-KPOSNOptional: No
Call by Reference: No ( called with pass by value option)
I_PRICING_PROCEDURE -
Data type: JFRK-KALSMOptional: No
Call by Reference: No ( called with pass by value option)
I_PROTOCOL -
Data type: JF23_XFIELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_ISPSFAKT -
Data type: JFRK-ISPSFAKTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISM_LIABILITY_DETERM_ACCOUNT
E_KONV_CHANGED -
Data type: JF23_XFIELDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISM_LIABILITY_DETERM_ACCOUNT
C_KOMV_TAB -
Data type: JF23_KOMV_TABOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ACCOUNT_MISSING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_LIABILITY_DETERM_ACCOUNT 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_komkcv | TYPE KOMKCV, " | |||
| lt_c_komv_tab | TYPE STANDARD TABLE OF JF23_KOMV_TAB, " | |||
| lv_e_konv_changed | TYPE JF23_XFIELD, " | |||
| lv_account_missing | TYPE JF23_XFIELD, " | |||
| lv_i_kompcv | TYPE KOMPCV, " | |||
| lv_internal_error | TYPE KOMPCV, " | |||
| lv_i_knumv | TYPE KOMV-KNUMV, " | |||
| lv_i_kposn | TYPE KOMV-KPOSN, " | |||
| lv_i_pricing_procedure | TYPE JFRK-KALSM, " | |||
| lv_i_protocol | TYPE JF23_XFIELD, " | |||
| lv_i_ispsfakt | TYPE JFRK-ISPSFAKT. " |
|   CALL FUNCTION 'ISM_LIABILITY_DETERM_ACCOUNT' " |
| EXPORTING | ||
| I_KOMKCV | = lv_i_komkcv | |
| I_KOMPCV | = lv_i_kompcv | |
| I_KNUMV | = lv_i_knumv | |
| I_KPOSN | = lv_i_kposn | |
| I_PRICING_PROCEDURE | = lv_i_pricing_procedure | |
| I_PROTOCOL | = lv_i_protocol | |
| I_ISPSFAKT | = lv_i_ispsfakt | |
| IMPORTING | ||
| E_KONV_CHANGED | = lv_e_konv_changed | |
| TABLES | ||
| C_KOMV_TAB | = lt_c_komv_tab | |
| EXCEPTIONS | ||
| ACCOUNT_MISSING = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " ISM_LIABILITY_DETERM_ACCOUNT | ||
ABAP code using 7.40 inline data declarations to call FM ISM_LIABILITY_DETERM_ACCOUNT
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 KNUMV FROM KOMV INTO @DATA(ld_i_knumv). | ||||
| "SELECT single KPOSN FROM KOMV INTO @DATA(ld_i_kposn). | ||||
| "SELECT single KALSM FROM JFRK INTO @DATA(ld_i_pricing_procedure). | ||||
| "SELECT single ISPSFAKT FROM JFRK INTO @DATA(ld_i_ispsfakt). | ||||
Search for further information about these or an SAP related objects