SAP Reports / Programs | Sales and Distribution | Sales | Basic Functions(SD-SLS-GF) SAP SD

SDCRSL02 SAP ABAP Report - Display Results of Cross-Selling Analysis







SDCRSL02 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 SDCRSL02 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 SDCRSL02. "Basic submit
SUBMIT SDCRSL02 AND RETURN. "Return to original report after report execution complete
SUBMIT SDCRSL02 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_ANATYP = Analysis type
Selection Text: P_TOPN = Top n
Selection Text: P_VARI = Display variant
Selection Text: S_DATUM = Analysis date
Selection Text: S_MCINF = D Table name
Selection Text: S_USERA = D User name
Selection Text: S_UZEIT = Analysis time
Selection Text: S_WERKS = Plant
Title: Display Results of Cross-Selling Analysis
Text Symbol: 010 = Comp.sales analys.
Text Symbol: 020 = Status
Text Symbol: 030 = Results of comp.sales analys.
Text Symbol: 040 = Date
Text Symbol: 050 = Comp.sales analys.from:
Text Symbol: 060 = Deletion of results
Text Symbol: 070 = Do you want to delete the selected entries?
Text Symbol: 080 = Execute


INCLUDES used within this REPORT SDCRSL02

INCLUDE RVREUSE_GLOBAL_DATA.
INCLUDE CRSL_GLOBAL_DATA.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = GC_CHARA CHANGING CS_VARIANT = GS_SD_ALV-VARIANT EXCEPTIONS WRONG_INPUT = 1 NOT_FOUND = 2 PROGRAM_ERROR = 3 OTHERS = 4.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = GC_CHARA CHANGING CS_VARIANT = GS_SD_ALV-VARIANT.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = CRSL_VARIANT I_TABNAME_HEADER = GS_SD_ALV-TABNAME I_SAVE = GC_CHARA IMPORTING E_EXIT = DA_EXIT ES_VARIANT = GS_SD_ALV-VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = CRSL_REPID I_CALLBACK_PF_STATUS_SET = CRSL_STATUS I_CALLBACK_USER_COMMAND = CRSL_USER_COM * I_STRUCTURE_NAME = IS_LAYOUT = GS_SD_ALV-LAYOUT IT_FIELDCAT = GS_SD_ALV-FIELDCAT * IT_EXCLUDING = CRSL_EXTAB * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = GC_CHARA IS_VARIANT = GS_SD_ALV-VARIANT IT_EVENTS = GS_SD_ALV-EVENTS * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = TABLES T_OUTTAB = GT_CSTAB.



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