SAP Reports / Programs

BBP_SC_DARKAPP_IAC SAP ABAP Report - Shopping Cart Approval in Background







BBP_SC_DARKAPP_IAC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BBP_SC_DARKAPP_IAC into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

BBP_SC_DARKAPP_IAC - Approve Shopping Cart in Background


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT BBP_SC_DARKAPP_IAC. "Basic submit
SUBMIT BBP_SC_DARKAPP_IAC AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_SC_DARKAPP_IAC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Shopping Cart Approval in Background
Text Symbol: 001 = Work Item Carried out Successfully
Text Symbol: 002 = Shopping Cart Currently Locked!
Text Symbol: 003 = Work Item Could not be Carried out
Text Symbol: 004 = Shop.Cart Contains Errors -> Approval Not Possible
Text Symbol: 005 = Work Item ID
Text Symbol: 006 = Action
Text Symbol: 007 = User


INCLUDES used within this REPORT BBP_SC_DARKAPP_IAC

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BBP_PDH_WFL_OBJECT_WI_GET CALL FUNCTION 'BBP_PDH_WFL_OBJECT_WI_GET' EXPORTING iv_workitem_id = iv_workitem_id IMPORTING ex_reqno = lv_reqno.

BBP_PD_ALL_GET_OBJECT_GUID CALL FUNCTION 'BBP_PD_ALL_GET_OBJECT_GUID' EXPORTING iv_object_id = lv_object_id iv_object_type = c_shop IMPORTING ev_object_guid = lv_sc_guid.

BBP_PD_SC_CHECK CALL FUNCTION 'BBP_PD_SC_CHECK' EXPORTING I_GUID = lv_sc_guid TABLES E_MESSAGES = lt_messages.

BBP_PD_SC_LOCK CALL FUNCTION 'BBP_PD_SC_LOCK' EXPORTING iv_object_id = lv_object_id TABLES e_messages = lt_messages.

BBP_PD_SC_SET_DEDUCT_IND CALL FUNCTION 'BBP_PD_SC_SET_DEDUCT_IND' EXPORTING iv_header_guid = lv_sc_guid iv_save_db = 'X' iv_dialog_wi_id = iv_workitem_id.

BBP_PDH_WFL_DB_UPDATE CALL FUNCTION 'BBP_PDH_WFL_DB_UPDATE' EXPORTING * IV_OBJECT_ID = iv_object_type = 'BUS2121' iv_action = lv_action iv_obj_changed = '' iv_empl_review = '' iv_workitem_id = iv_workitem_id iv_user = iv_user * IV_GUID = iv_in_dialog = 'X'.

BBP_PD_SC_GETDETAIL CALL FUNCTION 'BBP_PD_SC_GETDETAIL' EXPORTING i_object_id = lv_object_id i_with_itemdata = space IMPORTING e_header = ls_sc_header.

BBP_PD_SC_UNLOCK CALL FUNCTION 'BBP_PD_SC_UNLOCK' EXPORTING i_header_guid = ls_sc_header-guid TABLES e_messages = lt_messages.

SWW_WI_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING wi_id = lv_wiid * READ_FOR_UPDATE = ' ' IMPORTING wi_header = ls_wi_header wi_s_header = ls_wi_s_header EXCEPTIONS read_failed = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name BBP_SC_DARKAPP_IAC or its description.