SlideShare a Scribd company logo
1 of 25
ABAP List Viewer(ALV)
ALV
•ABAP List Viewer (ALV) is a simple, user friendly
and better looking reporting tool as compared
to the usage of write statements in a
conventional / interactive report.
Advantages of ALV
•Better Looking
•User friendly
– Filtering / Sorting
– Layout Change / Save
– Summation, Download to excel, E-Mail
– Data can be open for input / change etc.
•Better Event handling
•Width of more than 256 characters possible
•Programming overhead of mentioning exact
positions in write statements not needed.
ALV Features
Sorting,
Filtering
Row(s)
Selection
Email, Excel
Change
/ Save
Layout
Additiona
l Buttons
Heading
ALV Features
Fields Open For
Input
Bar Charts
ALV Programming
•Two Approaches
– Conventional (Using Standard Function Modules)
– Object Oriented (Using Standard Classes and
Methods)
We will concentrate on the conventional
approach
ALV Function Modules
REUSE_ALV_LIST_DISPLAY REUSE_ALV_GRID_DISPLAY
Program: BALVSD02 Program: BALVSD02_GRID
ALV Function Modules•Both REUSE_ALV_LIST_DISPLAY and REUSE_ALV_GRID_DISPLAY have similar parameters
•Both Display the contents of an internal table passed by the parameter T_OUTTAB
ALV Function Modules: Parameters
•Important Parameters
– I_CALLBACK_PROGRAM
• The program that contains the subroutine for user command handling
• The program that will be the reference for user specific layout variants
• SY-CPROG in most cases
– I_CALLBACK_PF_STATUS_SET
• The subroutine name that will set the PF-STATUS (which in turn may contain user defined buttons)
– I_CALLBACK_USER_COMMAND
• The subroutine name in the calling program that will be triggered on any user command
ALV Function Modules: Parameters
•Important Parameters
– I_STRUCTURE_NAME
• The type of the internal table to be displayed
– I_GRID_TITLE
• The Heading / Title of the GRID
– IS_LAYOUT
• Defines the layout in which the internal table will be displayed
• Layout specific Features like Optimize Column Width, Window Title Bar, No Summing Up,
colors etc. are defined here
– IT_FIELDCAT
• Defines the properties of individual fields (columns) of the internal table to be displayed
• Field specific features like Editable / Non Editable, Heading, Column Position, Left / Right
Justification etc. are defined here
ALV Function Modules: Parameters
•Important Parameters
– IT_EXCLUDING
• The Buttons / Function codes that need to be disabled
– I_SAVE
• Whether Users should be able to save layout variants of their choice
– IT_EVENTS
• The various which need to be trapped and dealt with
Simple Programs Walkthrough
•Populate the internal table with the contents
to be displayed and call the function module.
Data: i_sflight type standard table of sflight initial size 0 with header line.
Select * from sflight into table i_sflight.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-cprog
I_STRUCTURE_NAME = 'SFLIGHT'
TABLES
T_OUTTAB = i_sflight.
Result
Simple Programs Walkthrough
•Saving Layout Variants (Order of Columns, Hiding Specific Columns etc.)
I_SAVE = ‘A’
Change / Save /
Select Layout
Give Layout Name,
User Specific / Default
Layout
Simple Programs Walkthrough
•Grid Title Required
I_GRID_TITLE = ‘Flight Information’
Heading
Simple Programs Walkthrough
•Suppose the first 4 fields of the internal table are required in the order CARRID, FLDATE, CONNID, PRICE. Also the fields CURRENCY and PLANETYPE
are not to be displayed.
Populate the Field Catalog table appropriately
data: i_fcat type slis_t_fieldcat_alv,
wa_fcat type slis_fieldcat_alv.
wa_fcat-tabname = 'I_SFLIGHT'.
wa_fcat-col_pos = '1'.
wa_fcat-fieldname = 'CARRID'.
append wa_fcat to i_fcat.
wa_fcat-col_pos = '2'.
wa_fcat-fieldname = 'FLDATE'.
append wa_fcat to i_fcat.
wa_fcat-col_pos = '3'.
wa_fcat-fieldname = 'CONNID'.
append wa_fcat to i_fcat.
wa_fcat-col_pos = '4'.
wa_fcat-fieldname = 'PRICE'.
wa_fcat-fieldname = 'CURRENCY'.
wa_fcat-no_out = 'X'.
append wa_fcat to i_fcat.
wa_fcat-fieldname =
'PLANETYPE'.
wa_fcat-no_out = 'X'.
append wa_fcat to i_fcat.
In the function module,
IT_FIELDCAT = i_fcat
Result
CARRID
PRICE
CONNID
FLDATE
No CURRENCY And PLANETYPE
Simple Programs Walkthrough
•Obtaining the field catalog internal table using the internal table name
•Use Function Module REUSE_ALV_FIELDCATALOG_MERGE
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_INTERNAL_TABNAME = 'I_SFLIGHT'
I_STRUCTURE_NAME = 'SFLIGHT'
CHANGING
CT_FIELDCAT = I_FCAT
Simple Programs Walkthrough
•Suppose it is required to add a button ‘SAVE’ to the application toolbar. Also, the ABC Analysis, Mail and Download to Excel need to be removed.
•Create a Subroutine SET_PF_STATUS using rt_extab type slis_t_extab
•Within this subroutine, write
SET PF-STATUS ‘YFLIGHTS’.
•Double Click on ‘YFLIGHTS’ and create a PF-STATUS
•Go to Extras -> Adjust Template and Choose the List Viewer Radio Button. Standard ALV PF-STATUS will be selected.
•Remove the function keys and Buttons for ABC Analysis and Mail and Download to Excel from the PF-STATUS
•Add a function code and button for SAVE.
•Save and Activate the PF-STATUS
•While calling the function module ‘REUSE_ALV_GRID_DISPLAY’ use
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
•Alternatively, Removal of Buttons can be done by populating the internal table IT_EXCLUDING with the relevant function codes
Result
No Excel, Email or ABC
Analysis Buttons
SAVE Button
Simple Programs Walkthrough
•Suppose we need to make the price editable and saved to the database table SFLIGHT
•Use Function Module REUSE_ALV_FIELDCATALOG_MERGE to get the Field Catalog internal table
•Change the Field Catalog table for fieldname entry ‘PRICE’
read table i_fcat into wa_fcat with key fieldname = 'PRICE'.
if sy-subrc = 0.
wa_fcat-edit = 'X'.
modify i_fcat index sy-tabix from wa_fcat transporting edit.
endif.
•Create a PF-Status as described previously and use a function code &DATA_SAVE
Simple Programs Walkthrough
•Create a Subroutine USER_COMMAND using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
•Within this subroutine, handle user command
if r_ucomm = '&DATA_SAVE'.
modify sflight from table i_sflight.
message i000 with 'Data saved'.
rs_selfield-refresh = 'X'.
rs_selfield-col_stable = 'X'.
rs_selfield-row_stable = 'X'.
endif.
•While calling the function module ‘REUSE_ALV_GRID_DISPLAY’ use
I_CALLBACK_USER_COMMAND = ‘USER_COMMAND'
Result
PRICE
(Editable)
Other Fields
(Non Editable)
Function Code
and Button for
&DATA_SAVE
Important Information
•Use Programs Starting with BALV and BCALV
•Use Function Module Helps
abap list viewer (alv)

More Related Content

What's hot

SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniquesJugul Crasta
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answersUttam Agrawal
 
Ab1011 module pool programming
Ab1011   module pool programmingAb1011   module pool programming
Ab1011 module pool programmingSatheesh Kanna
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.combigclasses.com
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reportsvbpc
 
Oops abap fundamental
Oops abap fundamentalOops abap fundamental
Oops abap fundamentalbiswajit2015
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantAnkit Sharma
 
Abap function module help
Abap function module helpAbap function module help
Abap function module helpKranthi Kumar
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overviewsapdocs. info
 
User exit training
User exit trainingUser exit training
User exit trainingJen Ringel
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed NotesAkash Bhavsar
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modificationsscribid.download
 
Call transaction method
Call transaction methodCall transaction method
Call transaction methodKranthi Kumar
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Tablesapdocs. info
 
ABAP Object oriented concepts
ABAP Object oriented conceptsABAP Object oriented concepts
ABAP Object oriented conceptsDharmeshKumar49
 

What's hot (20)

SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniques
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answers
 
Ab1011 module pool programming
Ab1011   module pool programmingAb1011   module pool programming
Ab1011 module pool programming
 
Top 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.comTop 10 sap abap faqs-www.bigclasses.com
Top 10 sap abap faqs-www.bigclasses.com
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
 
Oops abap fundamental
Oops abap fundamentalOops abap fundamental
Oops abap fundamental
 
Dialog programming ABAP
Dialog programming ABAPDialog programming ABAP
Dialog programming ABAP
 
Badi document
Badi documentBadi document
Badi document
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional Consultant
 
Abap function module help
Abap function module helpAbap function module help
Abap function module help
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview
 
User exit training
User exit trainingUser exit training
User exit training
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
Table maintenance generator and its modifications
Table maintenance generator and its modificationsTable maintenance generator and its modifications
Table maintenance generator and its modifications
 
Call transaction method
Call transaction methodCall transaction method
Call transaction method
 
Bapi step-by-step
Bapi step-by-stepBapi step-by-step
Bapi step-by-step
 
07 sap scripts
07 sap scripts07 sap scripts
07 sap scripts
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 
ABAP Object oriented concepts
ABAP Object oriented conceptsABAP Object oriented concepts
ABAP Object oriented concepts
 

Viewers also liked

Viewers also liked (6)

Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoc
 
Idoc
IdocIdoc
Idoc
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idoc
 
SAP IDoc
SAP IDocSAP IDoc
SAP IDoc
 
SAP ALE Idoc
SAP ALE IdocSAP ALE Idoc
SAP ALE Idoc
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 

Similar to abap list viewer (alv)

Similar to abap list viewer (alv) (20)

Pl sql best practices document
Pl sql best practices documentPl sql best practices document
Pl sql best practices document
 
Excel tips
Excel tipsExcel tips
Excel tips
 
Transform Financial Reporting Using Master Row Sets in Oracle E-Business Suite
Transform Financial Reporting Using Master Row Sets in Oracle E-Business SuiteTransform Financial Reporting Using Master Row Sets in Oracle E-Business Suite
Transform Financial Reporting Using Master Row Sets in Oracle E-Business Suite
 
Gl wand-5.5-brochure-2014
Gl wand-5.5-brochure-2014Gl wand-5.5-brochure-2014
Gl wand-5.5-brochure-2014
 
Excel useful tips
Excel useful tipsExcel useful tips
Excel useful tips
 
Excel tips%20simple%20tax%20india%20dot%20org
Excel tips%20simple%20tax%20india%20dot%20orgExcel tips%20simple%20tax%20india%20dot%20org
Excel tips%20simple%20tax%20india%20dot%20org
 
35 excel tips
35 excel tips35 excel tips
35 excel tips
 
Excel tips
Excel tipsExcel tips
Excel tips
 
Excel tips
Excel tipsExcel tips
Excel tips
 
Excel useful tips
Excel useful tipsExcel useful tips
Excel useful tips
 
Excel tips
Excel tipsExcel tips
Excel tips
 
Excel tips
Excel tipsExcel tips
Excel tips
 
Excel Useful Tips
Excel Useful TipsExcel Useful Tips
Excel Useful Tips
 
35 Useful Excel Tips
35 Useful Excel Tips35 Useful Excel Tips
35 Useful Excel Tips
 
Excel useful tips
Excel useful tipsExcel useful tips
Excel useful tips
 
Excel useful tips
Excel useful tipsExcel useful tips
Excel useful tips
 
Oracle SQL, PL/SQL best practices
Oracle SQL, PL/SQL best practicesOracle SQL, PL/SQL best practices
Oracle SQL, PL/SQL best practices
 
BEX.pptx
BEX.pptxBEX.pptx
BEX.pptx
 
Excel Tips 101
Excel Tips 101Excel Tips 101
Excel Tips 101
 
Excel tips
Excel tipsExcel tips
Excel tips
 

More from Kranthi Kumar

Creating simple comp
Creating simple compCreating simple comp
Creating simple compKranthi Kumar
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programmingKranthi Kumar
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseKranthi Kumar
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)Kranthi Kumar
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsKranthi Kumar
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script formsKranthi Kumar
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configurationKranthi Kumar
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output programKranthi Kumar
 
Chapter 02 sap script forms
Chapter 02 sap script formsChapter 02 sap script forms
Chapter 02 sap script formsKranthi Kumar
 

More from Kranthi Kumar (20)

Exercise in alv
Exercise in alvExercise in alv
Exercise in alv
 
Dynamic binding
Dynamic bindingDynamic binding
Dynamic binding
 
Data binding
Data bindingData binding
Data binding
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple comp
 
Creating messages
Creating messagesCreating messages
Creating messages
 
Creating a comp
Creating a compCreating a comp
Creating a comp
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programming
 
Context at design
Context at designContext at design
Context at design
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exercise
 
Alv for web
Alv for webAlv for web
Alv for web
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)
 
Abap faq
Abap faqAbap faq
Abap faq
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
Crm technical
Crm technicalCrm technical
Crm technical
 
control techniques
control techniquescontrol techniques
control techniques
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scripts
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script forms
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configuration
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output program
 
Chapter 02 sap script forms
Chapter 02 sap script formsChapter 02 sap script forms
Chapter 02 sap script forms
 

abap list viewer (alv)

  • 2. ALV •ABAP List Viewer (ALV) is a simple, user friendly and better looking reporting tool as compared to the usage of write statements in a conventional / interactive report.
  • 3. Advantages of ALV •Better Looking •User friendly – Filtering / Sorting – Layout Change / Save – Summation, Download to excel, E-Mail – Data can be open for input / change etc. •Better Event handling •Width of more than 256 characters possible •Programming overhead of mentioning exact positions in write statements not needed.
  • 5. ALV Features Fields Open For Input Bar Charts
  • 6. ALV Programming •Two Approaches – Conventional (Using Standard Function Modules) – Object Oriented (Using Standard Classes and Methods) We will concentrate on the conventional approach
  • 7. ALV Function Modules REUSE_ALV_LIST_DISPLAY REUSE_ALV_GRID_DISPLAY Program: BALVSD02 Program: BALVSD02_GRID
  • 8. ALV Function Modules•Both REUSE_ALV_LIST_DISPLAY and REUSE_ALV_GRID_DISPLAY have similar parameters •Both Display the contents of an internal table passed by the parameter T_OUTTAB
  • 9. ALV Function Modules: Parameters •Important Parameters – I_CALLBACK_PROGRAM • The program that contains the subroutine for user command handling • The program that will be the reference for user specific layout variants • SY-CPROG in most cases – I_CALLBACK_PF_STATUS_SET • The subroutine name that will set the PF-STATUS (which in turn may contain user defined buttons) – I_CALLBACK_USER_COMMAND • The subroutine name in the calling program that will be triggered on any user command
  • 10. ALV Function Modules: Parameters •Important Parameters – I_STRUCTURE_NAME • The type of the internal table to be displayed – I_GRID_TITLE • The Heading / Title of the GRID – IS_LAYOUT • Defines the layout in which the internal table will be displayed • Layout specific Features like Optimize Column Width, Window Title Bar, No Summing Up, colors etc. are defined here – IT_FIELDCAT • Defines the properties of individual fields (columns) of the internal table to be displayed • Field specific features like Editable / Non Editable, Heading, Column Position, Left / Right Justification etc. are defined here
  • 11. ALV Function Modules: Parameters •Important Parameters – IT_EXCLUDING • The Buttons / Function codes that need to be disabled – I_SAVE • Whether Users should be able to save layout variants of their choice – IT_EVENTS • The various which need to be trapped and dealt with
  • 12. Simple Programs Walkthrough •Populate the internal table with the contents to be displayed and call the function module. Data: i_sflight type standard table of sflight initial size 0 with header line. Select * from sflight into table i_sflight. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = sy-cprog I_STRUCTURE_NAME = 'SFLIGHT' TABLES T_OUTTAB = i_sflight.
  • 14. Simple Programs Walkthrough •Saving Layout Variants (Order of Columns, Hiding Specific Columns etc.) I_SAVE = ‘A’ Change / Save / Select Layout Give Layout Name, User Specific / Default Layout
  • 15. Simple Programs Walkthrough •Grid Title Required I_GRID_TITLE = ‘Flight Information’ Heading
  • 16. Simple Programs Walkthrough •Suppose the first 4 fields of the internal table are required in the order CARRID, FLDATE, CONNID, PRICE. Also the fields CURRENCY and PLANETYPE are not to be displayed. Populate the Field Catalog table appropriately data: i_fcat type slis_t_fieldcat_alv, wa_fcat type slis_fieldcat_alv. wa_fcat-tabname = 'I_SFLIGHT'. wa_fcat-col_pos = '1'. wa_fcat-fieldname = 'CARRID'. append wa_fcat to i_fcat. wa_fcat-col_pos = '2'. wa_fcat-fieldname = 'FLDATE'. append wa_fcat to i_fcat. wa_fcat-col_pos = '3'. wa_fcat-fieldname = 'CONNID'. append wa_fcat to i_fcat. wa_fcat-col_pos = '4'. wa_fcat-fieldname = 'PRICE'. wa_fcat-fieldname = 'CURRENCY'. wa_fcat-no_out = 'X'. append wa_fcat to i_fcat. wa_fcat-fieldname = 'PLANETYPE'. wa_fcat-no_out = 'X'. append wa_fcat to i_fcat. In the function module, IT_FIELDCAT = i_fcat
  • 18. Simple Programs Walkthrough •Obtaining the field catalog internal table using the internal table name •Use Function Module REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = 'I_SFLIGHT' I_STRUCTURE_NAME = 'SFLIGHT' CHANGING CT_FIELDCAT = I_FCAT
  • 19. Simple Programs Walkthrough •Suppose it is required to add a button ‘SAVE’ to the application toolbar. Also, the ABC Analysis, Mail and Download to Excel need to be removed. •Create a Subroutine SET_PF_STATUS using rt_extab type slis_t_extab •Within this subroutine, write SET PF-STATUS ‘YFLIGHTS’. •Double Click on ‘YFLIGHTS’ and create a PF-STATUS •Go to Extras -> Adjust Template and Choose the List Viewer Radio Button. Standard ALV PF-STATUS will be selected. •Remove the function keys and Buttons for ABC Analysis and Mail and Download to Excel from the PF-STATUS •Add a function code and button for SAVE. •Save and Activate the PF-STATUS •While calling the function module ‘REUSE_ALV_GRID_DISPLAY’ use I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' •Alternatively, Removal of Buttons can be done by populating the internal table IT_EXCLUDING with the relevant function codes
  • 20. Result No Excel, Email or ABC Analysis Buttons SAVE Button
  • 21. Simple Programs Walkthrough •Suppose we need to make the price editable and saved to the database table SFLIGHT •Use Function Module REUSE_ALV_FIELDCATALOG_MERGE to get the Field Catalog internal table •Change the Field Catalog table for fieldname entry ‘PRICE’ read table i_fcat into wa_fcat with key fieldname = 'PRICE'. if sy-subrc = 0. wa_fcat-edit = 'X'. modify i_fcat index sy-tabix from wa_fcat transporting edit. endif. •Create a PF-Status as described previously and use a function code &DATA_SAVE
  • 22. Simple Programs Walkthrough •Create a Subroutine USER_COMMAND using r_ucomm like sy-ucomm rs_selfield type slis_selfield. •Within this subroutine, handle user command if r_ucomm = '&DATA_SAVE'. modify sflight from table i_sflight. message i000 with 'Data saved'. rs_selfield-refresh = 'X'. rs_selfield-col_stable = 'X'. rs_selfield-row_stable = 'X'. endif. •While calling the function module ‘REUSE_ALV_GRID_DISPLAY’ use I_CALLBACK_USER_COMMAND = ‘USER_COMMAND'
  • 24. Important Information •Use Programs Starting with BALV and BCALV •Use Function Module Helps