SAP ISM_VBEHIE_UTIL_JJTBE_READ Function Module for IS-M/AM: Sales Booking Unit Hierarchy: Read Attributes for a Booking Unit
ISM_VBEHIE_UTIL_JJTBE_READ is a standard ism vbehie util jjtbe read 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/AM: Sales Booking Unit Hierarchy: Read Attributes for a Booking Unit 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 vbehie util jjtbe read FM, simply by entering the name ISM_VBEHIE_UTIL_JJTBE_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: JJBE
Program Name: SAPLJJBE
Main Program: SAPLJJBE
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_VBEHIE_UTIL_JJTBE_READ 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_VBEHIE_UTIL_JJTBE_READ'"IS-M/AM: Sales Booking Unit Hierarchy: Read Attributes for a Booking Unit.
EXPORTING
PV_BELEINH = "
IMPORTING
PS_JJTBEWRK_BE = "
PV_XKOMBI_BE = "
PS_MSG = "
EXCEPTIONS
BELEINH_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_SAPLJJBE_001 IS-M/AM: BU Work Hierarchy. Initialize Sorting
EXIT_SAPLJJBE_002 IS-M-AM: BU Work Hierarchy: Definition of Sort Criteria for Sorting
IMPORTING Parameters details for ISM_VBEHIE_UTIL_JJTBE_READ
PV_BELEINH -
Data type: JJBE_JJTBEWRK_BE_STR-BELEINHOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISM_VBEHIE_UTIL_JJTBE_READ
PS_JJTBEWRK_BE -
Data type: JJBE_JJTBEWRK_BE_STROptional: No
Call by Reference: Yes
PV_XKOMBI_BE -
Data type: JJTBE-XKOMBI_BEOptional: No
Call by Reference: Yes
PS_MSG -
Data type: RJMSGOptional: No
Call by Reference: Yes
EXCEPTIONS details
BELEINH_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_VBEHIE_UTIL_JJTBE_READ 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_beleinh | TYPE JJBE_JJTBEWRK_BE_STR-BELEINH, " | |||
| lv_ps_jjtbewrk_be | TYPE JJBE_JJTBEWRK_BE_STR, " | |||
| lv_beleinh_not_found | TYPE JJBE_JJTBEWRK_BE_STR, " | |||
| lv_pv_xkombi_be | TYPE JJTBE-XKOMBI_BE, " | |||
| lv_ps_msg | TYPE RJMSG. " |
|   CALL FUNCTION 'ISM_VBEHIE_UTIL_JJTBE_READ' "IS-M/AM: Sales Booking Unit Hierarchy: Read Attributes for a Booking Unit |
| EXPORTING | ||
| PV_BELEINH | = lv_pv_beleinh | |
| IMPORTING | ||
| PS_JJTBEWRK_BE | = lv_ps_jjtbewrk_be | |
| PV_XKOMBI_BE | = lv_pv_xkombi_be | |
| PS_MSG | = lv_ps_msg | |
| EXCEPTIONS | ||
| BELEINH_NOT_FOUND = 1 | ||
| . " ISM_VBEHIE_UTIL_JJTBE_READ | ||
ABAP code using 7.40 inline data declarations to call FM ISM_VBEHIE_UTIL_JJTBE_READ
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 BELEINH FROM JJBE_JJTBEWRK_BE_STR INTO @DATA(ld_pv_beleinh). | ||||
| "SELECT single XKOMBI_BE FROM JJTBE INTO @DATA(ld_pv_xkombi_be). | ||||
Search for further information about these or an SAP related objects