SAP BBP_WS_CALL_PRODUCT_VALIDATE Function Module for
BBP_WS_CALL_PRODUCT_VALIDATE is a standard bbp ws call product validate 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 ws call product validate FM, simply by entering the name BBP_WS_CALL_PRODUCT_VALIDATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_WS_API
Program Name: SAPLBBP_WS_API
Main Program: SAPLBBP_WS_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BBP_WS_CALL_PRODUCT_VALIDATE 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_WS_CALL_PRODUCT_VALIDATE'".
EXPORTING
IV_WEBSERVICE_ID = "
IV_EXTERNAL_PRODUCT_ID = "
* IV_EXTERNAL_EVENT = "
* IV_QUANTITY = "
* IV_BASKETTARGET = "
* IV_CATALOGTARGET = "
* IO_BSP_RUNTIME = "
* IV_BSP_RETURNPAGE = "
* IV_EXTERNAL_HOOK = "
IMPORTING
EV_REDIRECT_FORM = "
TABLES
* IT_ADDTIONAL_NAME_VALUES = "
EXCEPTIONS
WS_NOT_FOUND = 1 WRONG_CUSTOMIZING = 2
IMPORTING Parameters details for BBP_WS_CALL_PRODUCT_VALIDATE
IV_WEBSERVICE_ID -
Data type: BBP_WS_SERVICE_IDOptional: No
Call by Reference: No ( called with pass by value option)
IV_EXTERNAL_PRODUCT_ID -
Data type: BBP_CATALOGITEMOptional: No
Call by Reference: No ( called with pass by value option)
IV_EXTERNAL_EVENT -
Data type: BBP_WS_EXTERNAL_EVENTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_QUANTITY -
Data type: BBP_PDS_SC_ITEM_D-QUANTITYOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_BASKETTARGET -
Data type: BBP_WS_TARGETOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_CATALOGTARGET -
Data type: BBP_WS_TARGETOptional: Yes
Call by Reference: No ( called with pass by value option)
IO_BSP_RUNTIME -
Data type: IF_BSP_RUNTIMEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_BSP_RETURNPAGE -
Data type: BBP_WS_BSP_RETURNPAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_EXTERNAL_HOOK -
Data type: BBP_WS_EXTERNAL_HOOKOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BBP_WS_CALL_PRODUCT_VALIDATE
EV_REDIRECT_FORM -
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BBP_WS_CALL_PRODUCT_VALIDATE
IT_ADDTIONAL_NAME_VALUES -
Data type: SAVWCTXTOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
WS_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_CUSTOMIZING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BBP_WS_CALL_PRODUCT_VALIDATE 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_ws_not_found | TYPE STRING, " | |||
| lv_ev_redirect_form | TYPE STRING, " | |||
| lv_iv_webservice_id | TYPE BBP_WS_SERVICE_ID, " | |||
| lt_it_addtional_name_values | TYPE STANDARD TABLE OF SAVWCTXT, " | |||
| lv_wrong_customizing | TYPE SAVWCTXT, " | |||
| lv_iv_external_product_id | TYPE BBP_CATALOGITEM, " | |||
| lv_iv_external_event | TYPE BBP_WS_EXTERNAL_EVENT, " | |||
| lv_iv_quantity | TYPE BBP_PDS_SC_ITEM_D-QUANTITY, " | |||
| lv_iv_baskettarget | TYPE BBP_WS_TARGET, " | |||
| lv_iv_catalogtarget | TYPE BBP_WS_TARGET, " | |||
| lv_io_bsp_runtime | TYPE IF_BSP_RUNTIME, " | |||
| lv_iv_bsp_returnpage | TYPE BBP_WS_BSP_RETURNPAGE, " | |||
| lv_iv_external_hook | TYPE BBP_WS_EXTERNAL_HOOK. " |
|   CALL FUNCTION 'BBP_WS_CALL_PRODUCT_VALIDATE' " |
| EXPORTING | ||
| IV_WEBSERVICE_ID | = lv_iv_webservice_id | |
| IV_EXTERNAL_PRODUCT_ID | = lv_iv_external_product_id | |
| IV_EXTERNAL_EVENT | = lv_iv_external_event | |
| IV_QUANTITY | = lv_iv_quantity | |
| IV_BASKETTARGET | = lv_iv_baskettarget | |
| IV_CATALOGTARGET | = lv_iv_catalogtarget | |
| IO_BSP_RUNTIME | = lv_io_bsp_runtime | |
| IV_BSP_RETURNPAGE | = lv_iv_bsp_returnpage | |
| IV_EXTERNAL_HOOK | = lv_iv_external_hook | |
| IMPORTING | ||
| EV_REDIRECT_FORM | = lv_ev_redirect_form | |
| TABLES | ||
| IT_ADDTIONAL_NAME_VALUES | = lt_it_addtional_name_values | |
| EXCEPTIONS | ||
| WS_NOT_FOUND = 1 | ||
| WRONG_CUSTOMIZING = 2 | ||
| . " BBP_WS_CALL_PRODUCT_VALIDATE | ||
ABAP code using 7.40 inline data declarations to call FM BBP_WS_CALL_PRODUCT_VALIDATE
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 QUANTITY FROM BBP_PDS_SC_ITEM_D INTO @DATA(ld_iv_quantity). | ||||
Search for further information about these or an SAP related objects