SAP Reports / Programs

COM_PRODUCT_STATUS_SET SAP ABAP Report - Set Status for CRM Products/Individual Objects







COM_PRODUCT_STATUS_SET 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 COM_PRODUCT_STATUS_SET into the relevant SAP transactions such as SE38 or SE80


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 COM_PRODUCT_STATUS_SET. "Basic submit
SUBMIT COM_PRODUCT_STATUS_SET AND RETURN. "Return to original report after report execution complete
SUBMIT COM_PRODUCT_STATUS_SET VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_STAT = Current Status
Selection Text: SO_PRTYP = Product Type
Selection Text: SO_PROD = Product/Individual Object
Selection Text: SO_OBJFA = Object Family
Selection Text: P_TOSTAT = Status
Selection Text: P_TOACTY = Process to Be Executed
Selection Text: P_TEST = Test Run
Selection Text: P_SDEL = Delete Status
Selection Text: P_SACT = Set Status
Selection Text: P_POPUP = Popup for Data Selection
Selection Text: P_LOG = Log
Title: Set Status for CRM Products/Individual Objects
Text Symbol: 054 = Number of Database Records Found: &1
Text Symbol: 053 = End of Processing
Text Symbol: 052 = Detail Log
Text Symbol: 051 = Production Run with Database Change
Text Symbol: 050 = Test Run Without Database Change
Text Symbol: 013 = &1 products/individual objects found
Text Symbol: 012 = &1 status entry found
Text Symbol: 011 = Do you want to continue?
Text Symbol: 010 = Number of database records found
Text Symbol: 003 = Control
Text Symbol: 002 = Data Modification
Text Symbol: 001 = Data Selection


INCLUDES used within this REPORT COM_PRODUCT_STATUS_SET

INCLUDE: COM_IOBJ_STATUS_CON.


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:

COM_PRODUCT_AUTHORITY_CHECK CALL FUNCTION 'COM_PRODUCT_AUTHORITY_CHECK' EXPORTING iv_auth_act = gv_actvt EXCEPTIONS no_authority = 1 wrong_call = 2 internal_error = 3 OTHERS = 4.

CRM_IOBJ_STATUSX_CHECK_PSL_OW * CALL FUNCTION 'CRM_IOBJ_STATUSX_CHECK_PSL_OW' * EXPORTING * iv_iobject_id = gs_product-product_id * iv_psl_popup = p_popup * iv_psl_save = gv_psl_save * IMPORTING * ev_all_selected = gv_all_selected * CHANGING * ct_bapireturn = gt_bapireturn * EXCEPTIONS * error_occurred = 1 * OTHERS = 2.

COM_IOBJ_STATUS_CHECK_ACTVY_OW * CALL FUNCTION 'COM_IOBJ_STATUS_CHECK_ACTVY_OW' * EXPORTING * iv_product_id = gs_product-product_id * iv_activity = gc_activity-psl_reset * IMPORTING * ev_error = gv_severe_error * CHANGING * ct_bapireturn = gt_bapireturn.

COM_IOBJ_STATUSX_MAINTAIN_OW * CALL FUNCTION 'COM_IOBJ_STATUSX_MAINTAIN_OW' "fde 14/11/2003 * EXPORTING * is_product = gs_product * is_status = gs_status * iv_activity = p_toacty * CHANGING * ct_bapireturn = gt_bapireturn.

COM_PRODUCT_UI_SAVE CALL FUNCTION 'COM_PRODUCT_UI_SAVE' EXCEPTIONS internal_error = 1 OTHERS = 2.

COM_PRODUCT_UI_SAVE CALL FUNCTION 'COM_PRODUCT_UI_SAVE' EXCEPTIONS internal_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING textline1 = lv_text_1 textline2 = text-011 titel = text-010 cancel_display = ' ' IMPORTING answer = ev_answer.



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 COM_PRODUCT_STATUS_SET or its description.