SAP BBP_BW_SC_SELECT_1 Function Module for









BBP_BW_SC_SELECT_1 is a standard bbp bw sc select 1 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 bbp bw sc select 1 FM, simply by entering the name BBP_BW_SC_SELECT_1 into the relevant SAP transaction such as SE37 or SE38.

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



Function BBP_BW_SC_SELECT_1 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 'BBP_BW_SC_SELECT_1'"
EXPORTING
* I_STAT = ' ' "
* I_WITH_DEL_ITEMS = ' ' "
* I_FIF = ' ' "
* I_SORD = ' ' "
* I_GACCASS = ' ' "
* I_GLACC = ' ' "
* I_COCE = ' ' "
* I_PSP = ' ' "
* I_ASS = ' ' "
* I_NETW = ' ' "
* I_ORD = ' ' "
* I_STXT = ' ' "
* I_SC_NAME = ' ' "
* I_MAXHITS = '1000' "

IMPORTING
I_MAXHITS_REACHED = "

CHANGING
* T_SEL_VALID_DATE = "

TABLES
* T_SEL_DATE = "
* T_SEL_PROC_GRP = "
* T_SEL_CATE = "
* T_SEL_SC_ID = "
* T_SEL_DELIV_DATE = "
* T_SEL_BE_LOG_SYS = "
* T_SEL_BE_OBJ_TYPE = "
* T_SEL_BE_OBJ_ID = "
* T_RESULT = "
* T_SEL_CREATED_BY = "
* T_SEL_NAME = "
* T_SEL_VENDOR = "
* T_SEL_DESVENDOR = "
* T_SEL_RECPNT = "
* T_SEL_CATA = "
* T_SEL_PRNR = "
* T_SEL_PROC_ORG = "

EXCEPTIONS
NO_SEL_CRIT = 1 NO_SEL_DATA = 2
.



IMPORTING Parameters details for BBP_BW_SC_SELECT_1

I_STAT -

Data type: CRM_J_STATUS
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_WITH_DEL_ITEMS -

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_FIF -

Data type: BBP_ATTR_FUND
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_SORD -

Data type: KDAUF
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_GACCASS -

Data type: BBP_ATTR_STR
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_GLACC -

Data type: HKONT
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_COCE -

Data type: KOSTL
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_PSP -

Data type: BBP_WBS_ELEM
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_ASS -

Data type: ANLN1
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_NETW -

Data type: NPLNR
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_ORD -

Data type: AUFNR
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_STXT -

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

I_SC_NAME -

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

I_MAXHITS -

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

EXPORTING Parameters details for BBP_BW_SC_SELECT_1

I_MAXHITS_REACHED -

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

CHANGING Parameters details for BBP_BW_SC_SELECT_1

T_SEL_VALID_DATE -

Data type: BBPT_BW_SELECT_DATE
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for BBP_BW_SC_SELECT_1

T_SEL_DATE -

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

T_SEL_PROC_GRP -

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

T_SEL_CATE -

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

T_SEL_SC_ID -

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

T_SEL_DELIV_DATE -

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

T_SEL_BE_LOG_SYS -

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

T_SEL_BE_OBJ_TYPE -

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

T_SEL_BE_OBJ_ID -

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

T_RESULT -

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

T_SEL_CREATED_BY -

Data type: SELECT_CREATED_BY
Optional: Yes
Call by Reference: Yes

T_SEL_NAME -

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

T_SEL_VENDOR -

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

T_SEL_DESVENDOR -

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

T_SEL_RECPNT -

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

T_SEL_CATA -

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

T_SEL_PRNR -

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

T_SEL_PROC_ORG -

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

EXCEPTIONS details

NO_SEL_CRIT -

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

NO_SEL_DATA -

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

Copy and paste ABAP code example for BBP_BW_SC_SELECT_1 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_i_stat  TYPE CRM_J_STATUS, "   SPACE
lt_t_sel_date  TYPE STANDARD TABLE OF SELECT_DATE, "   
lv_no_sel_crit  TYPE SELECT_DATE, "   
lv_t_sel_valid_date  TYPE BBPT_BW_SELECT_DATE, "   
lv_i_maxhits_reached  TYPE C, "   
lt_t_sel_proc_grp  TYPE STANDARD TABLE OF SELECT_PROC_GRP, "   
lv_i_with_del_items  TYPE XFELD, "   SPACE
lv_i_fif  TYPE BBP_ATTR_FUND, "   SPACE
lt_t_sel_cate  TYPE STANDARD TABLE OF SELECT_CATEGORYID, "   
lv_i_sord  TYPE KDAUF, "   SPACE
lt_t_sel_sc_id  TYPE STANDARD TABLE OF SELECT_SC_ID, "   
lv_i_gaccass  TYPE BBP_ATTR_STR, "   SPACE
lt_t_sel_deliv_date  TYPE STANDARD TABLE OF SELECT_DATE, "   
lv_i_glacc  TYPE HKONT, "   SPACE
lt_t_sel_be_log_sys  TYPE STANDARD TABLE OF SELECT_BE_LOG_SYS, "   
lt_t_sel_be_obj_type  TYPE STANDARD TABLE OF SELECT_BE_OBJ_TYPE, "   
lt_t_sel_be_obj_id  TYPE STANDARD TABLE OF SELECT_BE_OBJ_ID, "   
lt_t_result  TYPE STANDARD TABLE OF BBPS_BW_SC_SUPEREXTRACT_1, "   
lv_i_coce  TYPE KOSTL, "   SPACE
lv_no_sel_data  TYPE KOSTL, "   
lt_t_sel_created_by  TYPE STANDARD TABLE OF SELECT_CREATED_BY, "   
lv_i_psp  TYPE BBP_WBS_ELEM, "   SPACE
lt_t_sel_name  TYPE STANDARD TABLE OF SELECT_REQNAME, "   
lv_i_ass  TYPE ANLN1, "   SPACE
lt_t_sel_vendor  TYPE STANDARD TABLE OF SELECT_VENDOR, "   
lv_i_netw  TYPE NPLNR, "   SPACE
lt_t_sel_desvendor  TYPE STANDARD TABLE OF SELECT_VENDOR, "   
lv_i_ord  TYPE AUFNR, "   SPACE
lt_t_sel_recpnt  TYPE STANDARD TABLE OF SELECT_REQNAME, "   
lv_i_stxt  TYPE COMT_PRSHTEXTX, "   SPACE
lt_t_sel_cata  TYPE STANDARD TABLE OF SELECT_CATALOG, "   
lv_i_sc_name  TYPE CRMT_PROCESS_DESCRIPTION, "   SPACE
lt_t_sel_prnr  TYPE STANDARD TABLE OF SELECT_PRODNR, "   
lv_i_maxhits  TYPE I, "   '1000'
lt_t_sel_proc_org  TYPE STANDARD TABLE OF SELECT_PROC_ORG. "   

  CALL FUNCTION 'BBP_BW_SC_SELECT_1'  "
    EXPORTING
         I_STAT = lv_i_stat
         I_WITH_DEL_ITEMS = lv_i_with_del_items
         I_FIF = lv_i_fif
         I_SORD = lv_i_sord
         I_GACCASS = lv_i_gaccass
         I_GLACC = lv_i_glacc
         I_COCE = lv_i_coce
         I_PSP = lv_i_psp
         I_ASS = lv_i_ass
         I_NETW = lv_i_netw
         I_ORD = lv_i_ord
         I_STXT = lv_i_stxt
         I_SC_NAME = lv_i_sc_name
         I_MAXHITS = lv_i_maxhits
    IMPORTING
         I_MAXHITS_REACHED = lv_i_maxhits_reached
    CHANGING
         T_SEL_VALID_DATE = lv_t_sel_valid_date
    TABLES
         T_SEL_DATE = lt_t_sel_date
         T_SEL_PROC_GRP = lt_t_sel_proc_grp
         T_SEL_CATE = lt_t_sel_cate
         T_SEL_SC_ID = lt_t_sel_sc_id
         T_SEL_DELIV_DATE = lt_t_sel_deliv_date
         T_SEL_BE_LOG_SYS = lt_t_sel_be_log_sys
         T_SEL_BE_OBJ_TYPE = lt_t_sel_be_obj_type
         T_SEL_BE_OBJ_ID = lt_t_sel_be_obj_id
         T_RESULT = lt_t_result
         T_SEL_CREATED_BY = lt_t_sel_created_by
         T_SEL_NAME = lt_t_sel_name
         T_SEL_VENDOR = lt_t_sel_vendor
         T_SEL_DESVENDOR = lt_t_sel_desvendor
         T_SEL_RECPNT = lt_t_sel_recpnt
         T_SEL_CATA = lt_t_sel_cata
         T_SEL_PRNR = lt_t_sel_prnr
         T_SEL_PROC_ORG = lt_t_sel_proc_org
    EXCEPTIONS
        NO_SEL_CRIT = 1
        NO_SEL_DATA = 2
. " BBP_BW_SC_SELECT_1




ABAP code using 7.40 inline data declarations to call FM BBP_BW_SC_SELECT_1

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.

DATA(ld_i_stat) = ' '.
 
 
 
 
 
 
DATA(ld_i_with_del_items) = ' '.
 
DATA(ld_i_fif) = ' '.
 
 
DATA(ld_i_sord) = ' '.
 
 
DATA(ld_i_gaccass) = ' '.
 
 
DATA(ld_i_glacc) = ' '.
 
 
 
 
 
DATA(ld_i_coce) = ' '.
 
 
 
DATA(ld_i_psp) = ' '.
 
 
DATA(ld_i_ass) = ' '.
 
 
DATA(ld_i_netw) = ' '.
 
 
DATA(ld_i_ord) = ' '.
 
 
DATA(ld_i_stxt) = ' '.
 
 
DATA(ld_i_sc_name) = ' '.
 
 
DATA(ld_i_maxhits) = '1000'.
 
 


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!