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

Function ISM_COA_STL_POST 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_COA_STL_POST'".
EXPORTING
PV_TRTYP = "
PS_COA = "
* PS_AABK = "
* PT_AARI = "
* PT_AABG = "
* PV_FLG_UPD_TASK = "
* PV_FLG_NUMBER_ONLY = "
CHANGING
* PT_AABP = "
* PT_KOMV_NEW = "
* PT_KOMV_DIFF = "
IMPORTING Parameters details for ISM_COA_STL_POST
PV_TRTYP -
Data type: TJ180-TRTYPOptional: No
Call by Reference: Yes
PS_COA -
Data type: JHW1_COA_STROptional: No
Call by Reference: Yes
PS_AABK -
Data type: RJHVAABKOptional: Yes
Call by Reference: Yes
PT_AARI -
Data type: JHA2_REGULIERER_TABOptional: Yes
Call by Reference: Yes
PT_AABG -
Data type: JHW1_AABG_TABOptional: Yes
Call by Reference: Yes
PV_FLG_UPD_TASK -
Data type: JPAM_XFELD_VAROptional: Yes
Call by Reference: Yes
PV_FLG_NUMBER_ONLY -
Data type: JPAM_XFELD_VAROptional: Yes
Call by Reference: Yes
CHANGING Parameters details for ISM_COA_STL_POST
PT_AABP -
Data type: JHA2_RJHTVAABP_TABOptional: Yes
Call by Reference: Yes
PT_KOMV_NEW -
Data type: JHF1_XKOMV_TABOptional: Yes
Call by Reference: Yes
PT_KOMV_DIFF -
Data type: JHF1_XKOMV_TABOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISM_COA_STL_POST 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_pt_aabp | TYPE JHA2_RJHTVAABP_TAB, " | |||
| lv_pv_trtyp | TYPE TJ180-TRTYP, " | |||
| lv_ps_coa | TYPE JHW1_COA_STR, " | |||
| lv_pt_komv_new | TYPE JHF1_XKOMV_TAB, " | |||
| lv_ps_aabk | TYPE RJHVAABK, " | |||
| lv_pt_komv_diff | TYPE JHF1_XKOMV_TAB, " | |||
| lv_pt_aari | TYPE JHA2_REGULIERER_TAB, " | |||
| lv_pt_aabg | TYPE JHW1_AABG_TAB, " | |||
| lv_pv_flg_upd_task | TYPE JPAM_XFELD_VAR, " | |||
| lv_pv_flg_number_only | TYPE JPAM_XFELD_VAR. " |
|   CALL FUNCTION 'ISM_COA_STL_POST' " |
| EXPORTING | ||
| PV_TRTYP | = lv_pv_trtyp | |
| PS_COA | = lv_ps_coa | |
| PS_AABK | = lv_ps_aabk | |
| PT_AARI | = lv_pt_aari | |
| PT_AABG | = lv_pt_aabg | |
| PV_FLG_UPD_TASK | = lv_pv_flg_upd_task | |
| PV_FLG_NUMBER_ONLY | = lv_pv_flg_number_only | |
| CHANGING | ||
| PT_AABP | = lv_pt_aabp | |
| PT_KOMV_NEW | = lv_pt_komv_new | |
| PT_KOMV_DIFF | = lv_pt_komv_diff | |
| . " ISM_COA_STL_POST | ||
ABAP code using 7.40 inline data declarations to call FM ISM_COA_STL_POST
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 TRTYP FROM TJ180 INTO @DATA(ld_pv_trtyp). | ||||
Search for further information about these or an SAP related objects