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

CRSL_FORMS SAP ABAP INCLUDE - CRSLFORMS







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


INCLUDES used within this REPORT CRSL_FORMS

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:

MCWPS_RESULTS_GETLIST CALL FUNCTION 'MCWPS_RESULTS_GETLIST' TABLES I_DBTAB = S_MCINF I_WERKS = S_WERKS I_DATUM = S_DATUM I_UZEIT = S_UZEIT I_USER = S_USERA E_MCWPS = LT_MCWPS I_ANATYP = LT_ANATYP.

MCWPS_RESULTS_DELETE CALL FUNCTION 'MCWPS_RESULTS_DELETE' EXPORTING I_DBTAB = US_MCINF I_WERKS = US_WERKS I_DATUM = US_DATUM I_UZEIT = US_UZEIT EXCEPTIONS ERROR_DELETE = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = GS_SD_ALV-TABNAME I_STRUCTURE_NAME = 'MCWPS' CHANGING CT_FIELDCAT = PS_FIELDCAT.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = PS_LINE[].

MCWPS_RESULTS_GETDETAIL CALL FUNCTION 'MCWPS_RESULTS_GETDETAIL' EXPORTING I_DBTAB = US_MCINF I_WERKS = US_WERKS I_DATUM = US_DATUM I_UZEIT = US_UZEIT IMPORTING E_MCWPSC = LS_MCWPSC TABLES E_TAB_L1 = LT_TABL1 E_TAB_L2 = LT_TABL2 E_TAB_L3 = LT_TABL3 E_RULES_L2 = LT_TABR2 E_RULES_L3 = LT_TABR3 E_SL_DATUM = LSL_DATUM E_SL_MATKL = LSL_MATKL.

MCWPS_RESULTS_DISPLAY CALL FUNCTION 'MCWPS_RESULTS_DISPLAY' EXPORTING I_MCWPSC = LS_MCWPSC I_TOPN = P_TOPN I_HEADER = TEXT-050 TABLES I_TAB_L1 = LT_TABL1 I_TAB_L2 = LT_TABL2 I_TAB_L3 = LT_TABL3 I_RULES_L2 = LT_TABR2 I_RULES_L3 = LT_TABR3 I_SL_DATUM = LSL_DATUM I_SL_MATKL = LSL_MATKL.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-060 TEXT_QUESTION = TEXT-070 IMPORTING ANSWER = DA_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 CRSL_FORMS or its description.