SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAP List Viewer(BC-SRV-ALV) SAP BC

BCALV_GRID_11 SAP ABAP Report - Test for new layout function modules







BCALV_GRID_11 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 BCALV_GRID_11 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 BCALV_GRID_11. "Basic submit
SUBMIT BCALV_GRID_11 AND RETURN. "Return to original report after report execution complete
SUBMIT BCALV_GRID_11 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: VARIANT = D Layout
Selection Text: SAVE_X = Only global layouts
Selection Text: SAVE_U = Only user-defined layouts
Selection Text: SAVE_N = Not Allowed
Selection Text: SAVE_A = Allowed (all types)
Selection Text: P_EXE_VA = With layout
Selection Text: P_EXE_NV = Without layout
Selection Text: PDEFAULT = Allow initial layout
Selection Text: OVER = Overwriting allowed
Selection Text: DIAL = Display dialog
Title: Test for new layout function modules
Text Symbol: 110 = You are not allowed to save
Text Symbol: 000 = Save Layout
Text Symbol: 007 = Execute
Text Symbol: 009 = Parameter for saving using LVC_VARIANT_SAVE
Text Symbol: 101 = No Layout Available for F4
Text Symbol: 102 = Program Errors
Text Symbol: 103 = No Layout Available for Selection
Text Symbol: 104 = Layout Does not Exist
Text Symbol: 105 = No Layout Available for Saving
Text Symbol: 106 = Layout is Locked by Another User
Text Symbol: 107 = Layout Already Exists
Text Symbol: 108 = Error when saving
Text Symbol: 109 = Canceled by User


INCLUDES used within this REPORT BCALV_GRID_11

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = D020S-PROG DYNUMB = D020S-DNUM TRANSLATE_TO_UPPER = 'X' * REQUEST = ' ' TABLES DYNPFIELDS = T_DYNPREAD.

LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING IS_VARIANT = G_VARIANT * IT_DEFAULT_FIELDCAT = I_SAVE = G_VARIANT_SAVE IMPORTING E_EXIT = H_EXIT ES_VARIANT = GX_VARIANT EXCEPTIONS NOT_FOUND = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = G_VARIANT_SAVE CHANGING CS_VARIANT = GX_VARIANT EXCEPTIONS WRONG_INPUT = 1 NOT_FOUND = 2 PROGRAM_ERROR = 3 OTHERS = 4.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'SFLIGHT' CHANGING CT_FIELDCAT = GT_FIELDCAT_LVC[].

LVC_VARIANT_SELECT CALL FUNCTION 'LVC_VARIANT_SELECT' EXPORTING I_DIALOG = ' ' I_USER_SPECIFIC = G_USER_SPECIFIC * I_DEFAULT = 'X' IT_DEFAULT_FIELDCAT = GT_FIELDCAT_LVC[] IMPORTING E_EXIT = H_EXIT ET_FIELDCAT = GT_FIELDCAT_LVC[] ET_SORT = GT_SORT_LVC[] ET_FILTER = GT_FILT_LVC[] TABLES IT_DATA = GT_SFLIGHT CHANGING CS_VARIANT = GX_VARIANT EXCEPTIONS WRONG_INPUT = 1 FC_NOT_COMPLETE = 2 NOT_FOUND = 3 PROGRAM_ERROR = 4 OTHERS = 5 .

LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' EXPORTING I_SAVE = G_VARIANT_SAVE CHANGING CS_VARIANT = G_VARIANT EXCEPTIONS OTHERS = 01.

LVC_VARIANT_SAVE CALL FUNCTION 'LVC_VARIANT_SAVE' EXPORTING IT_FIELDCAT = GT_FIELDCAT_LVC[] IT_SORT = GT_SORT_LVC[] IT_FILTER = GT_FILT_LVC[] I_DIALOG = DIAL I_OVERWRITE = OVER I_USER_SPECIFIC = G_VARIANT_SAVE IMPORTING E_EXIT = H_EXIT TABLES IT_DATA = GT_SFLIGHT CHANGING CS_VARIANT = G_VARIANT EXCEPTIONS WRONG_INPUT = 1 FC_NOT_COMPLETE = 2 FOREIGN_LOCK = 3 VARIANT_EXISTS = 4 NAME_RESERVED = 5 PROGRAM_ERROR = 6 OTHERS = 7.



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