SAP K_BUSINESS_PROCESS_READ_MULTI Function Module for









K_BUSINESS_PROCESS_READ_MULTI is a standard k business process read multi 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 k business process read multi FM, simply by entering the name K_BUSINESS_PROCESS_READ_MULTI into the relevant SAP transaction such as SE37 or SE38.

Function Group: KWM1
Program Name: SAPLKWM1
Main Program: SAPLKWM1
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function K_BUSINESS_PROCESS_READ_MULTI 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 'K_BUSINESS_PROCESS_READ_MULTI'"
EXPORTING
* DATAB = SY-DATLO "Master data date is valid as of
* DATBI = SY-DATLO "Master data date is valid until
KOKRS = "Controlling area
* NO_BUFFER = ' ' "No buffer
* SPRAS = SY-LANGU "Language

TABLES
TAB_CBPRP = "
RANGE_PRZNR = "

EXCEPTIONS
NOT_FOUND = 1 NO_VALID_PROCESS_INTERVALS = 2
.



IMPORTING Parameters details for K_BUSINESS_PROCESS_READ_MULTI

DATAB - Master data date is valid as of

Data type: CBPRV-DATAB
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATBI - Master data date is valid until

Data type: CBPRV-DATBI
Default: SY-DATLO
Optional: Yes
Call by Reference: No ( called with pass by value option)

KOKRS - Controlling area

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

NO_BUFFER - No buffer

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

SPRAS - Language

Data type: CBPRV-SPRAS
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for K_BUSINESS_PROCESS_READ_MULTI

TAB_CBPRP -

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

RANGE_PRZNR -

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

EXCEPTIONS details

NOT_FOUND - No valid interval found

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

NO_VALID_PROCESS_INTERVALS -

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

Copy and paste ABAP code example for K_BUSINESS_PROCESS_READ_MULTI 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_datab  TYPE CBPRV-DATAB, "   SY-DATLO
lv_not_found  TYPE CBPRV, "   
lt_tab_cbprp  TYPE STANDARD TABLE OF CBPRP, "   
lv_datbi  TYPE CBPRV-DATBI, "   SY-DATLO
lt_range_prznr  TYPE STANDARD TABLE OF CBPRV, "   
lv_no_valid_process_intervals  TYPE CBPRV, "   
lv_kokrs  TYPE CBPRV-KOKRS, "   
lv_no_buffer  TYPE CBPRV, "   SPACE
lv_spras  TYPE CBPRV-SPRAS. "   SY-LANGU

  CALL FUNCTION 'K_BUSINESS_PROCESS_READ_MULTI'  "
    EXPORTING
         DATAB = lv_datab
         DATBI = lv_datbi
         KOKRS = lv_kokrs
         NO_BUFFER = lv_no_buffer
         SPRAS = lv_spras
    TABLES
         TAB_CBPRP = lt_tab_cbprp
         RANGE_PRZNR = lt_range_prznr
    EXCEPTIONS
        NOT_FOUND = 1
        NO_VALID_PROCESS_INTERVALS = 2
. " K_BUSINESS_PROCESS_READ_MULTI




ABAP code using 7.40 inline data declarations to call FM K_BUSINESS_PROCESS_READ_MULTI

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 DATAB FROM CBPRV INTO @DATA(ld_datab).
DATA(ld_datab) = SY-DATLO.
 
 
 
"SELECT single DATBI FROM CBPRV INTO @DATA(ld_datbi).
DATA(ld_datbi) = SY-DATLO.
 
 
 
"SELECT single KOKRS FROM CBPRV INTO @DATA(ld_kokrs).
 
DATA(ld_no_buffer) = ' '.
 
"SELECT single SPRAS FROM CBPRV INTO @DATA(ld_spras).
DATA(ld_spras) = SY-LANGU.
 


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!