SAP SWB_CHECK_FB_START_COND_EVAL Function Module for









SWB_CHECK_FB_START_COND_EVAL is a standard swb check fb start cond eval 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 swb check fb start cond eval FM, simply by entering the name SWB_CHECK_FB_START_COND_EVAL into the relevant SAP transaction such as SE37 or SE38.

Function Group: SWB5
Program Name: SAPLSWB5
Main Program: SAPLSWB5
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SWB_CHECK_FB_START_COND_EVAL 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 'SWB_CHECK_FB_START_COND_EVAL'"
EXPORTING
OBJTYPE = "
OBJKEY = "
EVENT = "
RECTYPE = "

TABLES
EVENT_CONTAINER = "

EXCEPTIONS
ERROR_EVENT_CONTAINER_EMPTY = 1 ERROR_CONDITION_NOT_FOUND = 2 ERROR_CONVERTING_CURRENCY = 3 ERROR_EVALUATING_CONDITION = 4 CONDITION_EVALUATES_TO_FALSE = 5
.



IMPORTING Parameters details for SWB_CHECK_FB_START_COND_EVAL

OBJTYPE -

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

OBJKEY -

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

EVENT -

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

RECTYPE -

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

TABLES Parameters details for SWB_CHECK_FB_START_COND_EVAL

EVENT_CONTAINER -

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

EXCEPTIONS details

ERROR_EVENT_CONTAINER_EMPTY -

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

ERROR_CONDITION_NOT_FOUND -

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

ERROR_CONVERTING_CURRENCY -

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

ERROR_EVALUATING_CONDITION -

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

CONDITION_EVALUATES_TO_FALSE -

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

Copy and paste ABAP code example for SWB_CHECK_FB_START_COND_EVAL 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_objtype  TYPE SWETYPECOU-OBJTYPE, "   
lt_event_container  TYPE STANDARD TABLE OF SWCONT, "   
lv_error_event_container_empty  TYPE SWCONT, "   
lv_objkey  TYPE SWEINSTCOU-OBJKEY, "   
lv_error_condition_not_found  TYPE SWEINSTCOU, "   
lv_event  TYPE SWETYPECOU-EVENT, "   
lv_error_converting_currency  TYPE SWETYPECOU, "   
lv_rectype  TYPE SWETYPECOU-RECTYPE, "   
lv_error_evaluating_condition  TYPE SWETYPECOU, "   
lv_condition_evaluates_to_false  TYPE SWETYPECOU. "   

  CALL FUNCTION 'SWB_CHECK_FB_START_COND_EVAL'  "
    EXPORTING
         OBJTYPE = lv_objtype
         OBJKEY = lv_objkey
         EVENT = lv_event
         RECTYPE = lv_rectype
    TABLES
         EVENT_CONTAINER = lt_event_container
    EXCEPTIONS
        ERROR_EVENT_CONTAINER_EMPTY = 1
        ERROR_CONDITION_NOT_FOUND = 2
        ERROR_CONVERTING_CURRENCY = 3
        ERROR_EVALUATING_CONDITION = 4
        CONDITION_EVALUATES_TO_FALSE = 5
. " SWB_CHECK_FB_START_COND_EVAL




ABAP code using 7.40 inline data declarations to call FM SWB_CHECK_FB_START_COND_EVAL

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 OBJTYPE FROM SWETYPECOU INTO @DATA(ld_objtype).
 
 
 
"SELECT single OBJKEY FROM SWEINSTCOU INTO @DATA(ld_objkey).
 
 
"SELECT single EVENT FROM SWETYPECOU INTO @DATA(ld_event).
 
 
"SELECT single RECTYPE FROM SWETYPECOU INTO @DATA(ld_rectype).
 
 
 


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!