SAP ISM_BU_CHECKED_GET Function Module for IS-M: Determine Booking Unit with Check (No DB Selection)
ISM_BU_CHECKED_GET is a standard ism bu checked get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M: Determine Booking Unit with Check (No DB Selection) processing and below is the pattern details for this FM, 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 bu checked get FM, simply by entering the name ISM_BU_CHECKED_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHA4
Program Name: SAPLJHA4
Main Program: SAPLJHA4
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_BU_CHECKED_GET 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_BU_CHECKED_GET'"IS-M: Determine Booking Unit with Check (No DB Selection).
EXPORTING
PV_AVM_NR = "IS-M/AM: Sales Document Number
PV_POS_NR = "IS-M: Order Item Number
PV_BELEGEINH = "IS-M/AM: Booking Unit
PV_SELDAT_VON = "IS-M: Start Date for Item
PV_POS_ART = "IS-M: Order-Publishing-Media - Item Type
PV_ITEM_SEARCH_BU = "IS-M/AM: Search Type for Booking Unit Selection
PS_RJHAORDER = "IS-M/AM: Sales Document
IMPORTING
PV_BELEGEINH_EXP = "IS-M/AM: Booking Unit
EXCEPTIONS
BU_NOT_FOUND = 1
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_SAPLJHA4_001 IS-M/AM: TOP_OF_PAGE Enhancement in Central Access Item Overviews
EXIT_SAPLJHA4_002 IS-M/AM: Item Data in Central Access Enhancement
EXIT_SAPLJHA4_003 IS-M/AM: Field Catalog for Item List in Central Access
EXIT_SAPLJHA4_004 IS-M/AM: Function Code Exclusion for Central Access Item List
IMPORTING Parameters details for ISM_BU_CHECKED_GET
PV_AVM_NR - IS-M/AM: Sales Document Number
Data type: AVM_NROptional: No
Call by Reference: No ( called with pass by value option)
PV_POS_NR - IS-M: Order Item Number
Data type: POS_NROptional: No
Call by Reference: No ( called with pass by value option)
PV_BELEGEINH - IS-M/AM: Booking Unit
Data type: BELEGEINHOptional: No
Call by Reference: No ( called with pass by value option)
PV_SELDAT_VON - IS-M: Start Date for Item
Data type: SELDAT_VONOptional: No
Call by Reference: No ( called with pass by value option)
PV_POS_ART - IS-M: Order-Publishing-Media - Item Type
Data type: AVMPOS_ARTOptional: No
Call by Reference: No ( called with pass by value option)
PV_ITEM_SEARCH_BU - IS-M/AM: Search Type for Booking Unit Selection
Data type: ISM_WAY_ITEM_SEARCH_PER_BUOptional: No
Call by Reference: No ( called with pass by value option)
PS_RJHAORDER - IS-M/AM: Sales Document
Data type: RJHAORDER_STROptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISM_BU_CHECKED_GET
PV_BELEGEINH_EXP - IS-M/AM: Booking Unit
Data type: BELEGEINHOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BU_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_BU_CHECKED_GET 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_pv_avm_nr | TYPE AVM_NR, " | |||
| lv_bu_not_found | TYPE AVM_NR, " | |||
| lv_pv_belegeinh_exp | TYPE BELEGEINH, " | |||
| lv_pv_pos_nr | TYPE POS_NR, " | |||
| lv_pv_belegeinh | TYPE BELEGEINH, " | |||
| lv_pv_seldat_von | TYPE SELDAT_VON, " | |||
| lv_pv_pos_art | TYPE AVMPOS_ART, " | |||
| lv_pv_item_search_bu | TYPE ISM_WAY_ITEM_SEARCH_PER_BU, " | |||
| lv_ps_rjhaorder | TYPE RJHAORDER_STR. " |
|   CALL FUNCTION 'ISM_BU_CHECKED_GET' "IS-M: Determine Booking Unit with Check (No DB Selection) |
| EXPORTING | ||
| PV_AVM_NR | = lv_pv_avm_nr | |
| PV_POS_NR | = lv_pv_pos_nr | |
| PV_BELEGEINH | = lv_pv_belegeinh | |
| PV_SELDAT_VON | = lv_pv_seldat_von | |
| PV_POS_ART | = lv_pv_pos_art | |
| PV_ITEM_SEARCH_BU | = lv_pv_item_search_bu | |
| PS_RJHAORDER | = lv_ps_rjhaorder | |
| IMPORTING | ||
| PV_BELEGEINH_EXP | = lv_pv_belegeinh_exp | |
| EXCEPTIONS | ||
| BU_NOT_FOUND = 1 | ||
| . " ISM_BU_CHECKED_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISM_BU_CHECKED_GET
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.Search for further information about these or an SAP related objects