SAP Reports / Programs | Cross-Application Components | General Application Functions | People Centric UI Framework Customizing(CA-GTF-PCF-CUS) SAP CA

CRM_BSP_VARIANTS_TO_QUERY SAP ABAP Report - Copy Report: CRM_BSP_VARIANTS by CRM_BSP_QUERY







CRM_BSP_VARIANTS_TO_QUERY 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 CRM_BSP_VARIANTS_TO_QUERY 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

CRMC_BL_COPY_QUERIES - Copy Report for Delivery Queries


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 CRM_BSP_VARIANTS_TO_QUERY. "Basic submit
SUBMIT CRM_BSP_VARIANTS_TO_QUERY AND RETURN. "Return to original report after report execution complete
SUBMIT CRM_BSP_VARIANTS_TO_QUERY 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: P_DEST = RFC Dest.(CRMC_BL_VARIANTS)
Selection Text: P_NAME = D User
Selection Text: P_TRANSL = Translation-Relevant
Selection Text: SO_APPL = D Application
Selection Text: SO_ROLE = D View
Title: Copy Report: CRM_BSP_VARIANTS by CRM_BSP_QUERY
Text Symbol: 001 = Entries Exist
Text Symbol: 002 = Overwrite Data?
Text Symbol: 003 = Overwrite Entries


INCLUDES used within this REPORT CRM_BSP_VARIANTS_TO_QUERY

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:

CRM_BSP_VARIANTS_READ CALL FUNCTION 'CRM_BSP_VARIANTS_READ' DESTINATION p_dest EXPORTING iv_user = p_name TABLES it_so_appl = so_appl it_so_role = so_role et_variants = gt_variants_rfc et_variants_t = gt_variants_t "#EC ENHOK EXCEPTIONS communication_failure = 1 MESSAGE gv_msg_text system_failure = 2 MESSAGE gv_msg_text.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'CRMT_BSP_VARIANTS_OUTPUT' CHANGING ct_fieldcat = gt_fcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gc_callback_prog i_callback_pf_status_set = gc_callback_stat i_callback_user_command = gc_callback_form i_structure_name = 'CRMT_BSP_VARIANTS_OUTPUT' is_layout = gr_layout it_fieldcat = gt_fcat i_save = 'A' is_variant = gr_variant TABLES t_outtab = gt_variants EXCEPTIONS program_error = 1 OTHERS = 2.

TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING SYSTEMTYPE = lv_systemtype EXCEPTIONS NO_SYSTEMNAME = 1 NO_SYSTEMTYPE = 2 OTHERS = 3 .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-001 textline2 = text-002 titel = text-003 IMPORTING answer = lv_answer.

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' TABLES wt_ko200 = lt_ko200 EXCEPTIONS OTHERS = 1.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' TABLES wt_ko200 = lt_ko200 wt_e071k = lt_e071k EXCEPTIONS OTHERS = 1.



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