SAP LVC_FIELDCAT_COMPLETE Function Module for









LVC_FIELDCAT_COMPLETE is a standard lvc fieldcat complete SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for lvc fieldcat complete FM, simply by entering the name LVC_FIELDCAT_COMPLETE into the relevant SAP transaction such as SE37 or SE38.

Function Group: SLVC
Program Name: SAPLSLVC
Main Program: SAPLSLVC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function LVC_FIELDCAT_COMPLETE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'LVC_FIELDCAT_COMPLETE'"
EXPORTING
* I_COMPLETE = "
* I_REFRESH_BUFFER = "
* I_BUFFER_ACTIVE = "
* IS_LAYOUT = "ALV Control: Layout Structure
* I_TEST = '1' "Single-Character Flag
* I_FCAT_COMPLETE = ABAP_FALSE "

IMPORTING
E_EDIT = "Ready for Input
ES_LAYOUT = "ALV Control: Layout Structure

CHANGING
CT_FIELDCAT = "
.



IMPORTING Parameters details for LVC_FIELDCAT_COMPLETE

I_COMPLETE -

Data type: C
Optional: Yes
Call by Reference: Yes

I_REFRESH_BUFFER -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUFFER_ACTIVE -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_LAYOUT - ALV Control: Layout Structure

Data type: LVC_S_LAYO
Optional: Yes
Call by Reference: Yes

I_TEST - Single-Character Flag

Data type: CHAR1
Default: '1'
Optional: Yes
Call by Reference: Yes

I_FCAT_COMPLETE -

Data type: SAP_BOOL
Default: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for LVC_FIELDCAT_COMPLETE

E_EDIT - Ready for Input

Data type: CHAR01
Optional: No
Call by Reference: Yes

ES_LAYOUT - ALV Control: Layout Structure

Data type: LVC_S_LAYO
Optional: No
Call by Reference: Yes

CHANGING Parameters details for LVC_FIELDCAT_COMPLETE

CT_FIELDCAT -

Data type: LVC_T_FCAT
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for LVC_FIELDCAT_COMPLETE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_e_edit  TYPE CHAR01, "   
lv_i_complete  TYPE C, "   
lv_ct_fieldcat  TYPE LVC_T_FCAT, "   
lv_es_layout  TYPE LVC_S_LAYO, "   
lv_i_refresh_buffer  TYPE C, "   
lv_i_buffer_active  TYPE C, "   
lv_is_layout  TYPE LVC_S_LAYO, "   
lv_i_test  TYPE CHAR1, "   '1'
lv_i_fcat_complete  TYPE SAP_BOOL. "   ABAP_FALSE

  CALL FUNCTION 'LVC_FIELDCAT_COMPLETE'  "
    EXPORTING
         I_COMPLETE = lv_i_complete
         I_REFRESH_BUFFER = lv_i_refresh_buffer
         I_BUFFER_ACTIVE = lv_i_buffer_active
         IS_LAYOUT = lv_is_layout
         I_TEST = lv_i_test
         I_FCAT_COMPLETE = lv_i_fcat_complete
    IMPORTING
         E_EDIT = lv_e_edit
         ES_LAYOUT = lv_es_layout
    CHANGING
         CT_FIELDCAT = lv_ct_fieldcat
. " LVC_FIELDCAT_COMPLETE




ABAP code using 7.40 inline data declarations to call FM LVC_FIELDCAT_COMPLETE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
DATA(ld_i_test) = '1'.
 
DATA(ld_i_fcat_complete) = ABAP_FALSE.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!