SAP ISM_VBEHIE_WRK_READ Function Module for IS-M/AM: Sales Booking Unit Hierarchy: Read Work Area from Table









ISM_VBEHIE_WRK_READ is a standard ism vbehie wrk 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 Work Area from Table 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 wrk read FM, simply by entering the name ISM_VBEHIE_WRK_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_WRK_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_WRK_READ'"IS-M/AM: Sales Booking Unit Hierarchy: Read Work Area from Table
EXPORTING
PV_WRK_KEY = "

IMPORTING
PT_RJJBEWRKV_DB = "

CHANGING
PS_VBEHIE_CONTEXT = "
PS_VBEHIE_ERRORS = "

EXCEPTIONS
NO_ENTRY_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_WRK_READ

PV_WRK_KEY -

Data type: TJJBEWRK1-WRK_KEY
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for ISM_VBEHIE_WRK_READ

PT_RJJBEWRKV_DB -

Data type: JJBE_RJJBEWRKV_TAB
Optional: No
Call by Reference: Yes

CHANGING Parameters details for ISM_VBEHIE_WRK_READ

PS_VBEHIE_CONTEXT -

Data type: JJBE_VBEHIE_CONTEXT_STR
Optional: No
Call by Reference: Yes

PS_VBEHIE_ERRORS -

Data type: JJBE_VBEHIE_ERRORS_STR
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NO_ENTRY_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISM_VBEHIE_WRK_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_wrk_key  TYPE TJJBEWRK1-WRK_KEY, "   
lv_no_entry_found  TYPE TJJBEWRK1, "   
lv_pt_rjjbewrkv_db  TYPE JJBE_RJJBEWRKV_TAB, "   
lv_ps_vbehie_context  TYPE JJBE_VBEHIE_CONTEXT_STR, "   
lv_ps_vbehie_errors  TYPE JJBE_VBEHIE_ERRORS_STR. "   

  CALL FUNCTION 'ISM_VBEHIE_WRK_READ'  "IS-M/AM: Sales Booking Unit Hierarchy: Read Work Area from Table
    EXPORTING
         PV_WRK_KEY = lv_pv_wrk_key
    IMPORTING
         PT_RJJBEWRKV_DB = lv_pt_rjjbewrkv_db
    CHANGING
         PS_VBEHIE_CONTEXT = lv_ps_vbehie_context
         PS_VBEHIE_ERRORS = lv_ps_vbehie_errors
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " ISM_VBEHIE_WRK_READ




ABAP code using 7.40 inline data declarations to call FM ISM_VBEHIE_WRK_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 WRK_KEY FROM TJJBEWRK1 INTO @DATA(ld_pv_wrk_key).
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!