SlideShare uma empresa Scribd logo
1 de 2
ALV grids should be used when possible. They can be customized and ran in the background by creating a layout and setting it
up.

Ex.type-pools: slis.data: begin of gt_outtab occurs 0.

include structure zorderdata.

data: end of gt_outtab,

gs_layout type slis_layout_alv,

g_exit_caused_by_caller,

gs_exit_caused_by_user type slis_exit_by_user,

g_repid like sy-repid,

w_set_status type slis_formname,

w_user_command type slis_formname.call function 'REUSE_ALV_GRID_DISPLAY

-OR-* create a custom container control for our ALV Control - this is also

* create on the screen layout.CREATE OBJECT custom_containerCALL METHOD grid1->set_table_for_first_display* Create Object
to receive events and link them to handler methods.

* When the ALV Control raises the event for the specified instance

* the corresponding method is automatically called.CREATE OBJECT event_receiver.

SET HANDLER event_receiver->handle_top_of_page FOR grid1.

SET HANDLER event_receiver->handle_double_click FOR grid1.* Controls are not integrated into the TAB-Order

* Call quot;set_focusquot; if you want to make sure that 'the cursor'

* is active in your control.CALL METHOD cl_gui_control=>set_focus EXPORTING control = grid1.Misc:
Enqueue/dequeue function modules are automatically created when a lock object is created in SE11. You can use the function
modules in your programs.



Program for listing field contents of any structured record. This utility program is from Gordon Tobias.



The program is really just a shell for 4 routines which are intended to be called from other programs. The first 2 routines can be
called from any program with statements like:

      PERFORM list_record_fields(zlist_fields_rtti) USING p_any_rec.

      PERFORM list_fields_with_cols(zlist_fields_rtti) USING p_any_rec.

The third routine accepts additional parms for restricting which fields to list. When I want to use this routine, I define 2 SELECT-
OPTIONS parms in the calling program, which let me specify that I want to list specific field numbers (e.g. fields 1-5) or names
(e.g. all fields whose names match *DAT*). The parm definitions look like:

*- Definitions num3 and field_name needed for SELECT-OPTIONS below
DATA: num3(3)             TYPE n.
DATA: field_name(30)       TYPE c.
*- SELECT-OPTIONS parms to limit the fields reported upon
SELECT-OPTIONS: so_fnum         FOR num3,
            so_fname FOR field_name.

And the call to the 3rd routine looks like

      PERFORM list_specific_fields IN PROGRAM zlist_fields_rtti
                          TABLES so_fnum
                                so_fname
                          USING p_any_rec.

The last routine converts any record to a CSV format. If you call it with the 2nd USING parm set to 'HDR', it will create a header
line with the field titles. If that 2nd USING parm is blank, it creates a CSV record with the field contents. So the calls to the 4th
routine look like:

       PERFORM convert_to_csv IN PROGRAM zlist_fields_rtti
                        USING    p_any_rec
                              'HDR' quot;Header flag: HDR or ' '
                        CHANGING w_csv_rec.
       TRANSFER w_csv_rec TO p_ofile.

And

      PERFORM convert_to_csv IN PROGRAM zlist_fields_rtti
                      USING     p_any_rec
                             space quot;Header flag: HDR or ' '
                      CHANGING w_csv_rec.
      TRANSFER w_csv_rec TO p_ofile.

Mais conteúdo relacionado

Mais procurados

Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SASguest2160992
 
Extreme querying with_analytics
Extreme querying with_analyticsExtreme querying with_analytics
Extreme querying with_analyticsGary Myers
 
Utility Procedures in SAS
Utility Procedures in SASUtility Procedures in SAS
Utility Procedures in SASguest2160992
 
Junos commands
Junos commandsJunos commands
Junos commandsmyerfarez
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connectguest2160992
 
R Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar PlotsR Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar PlotsRsquared Academy
 
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical ParametersData Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical ParametersRsquared Academy
 
R Data Visualization: Learn To Add Text Annotations To Plots
R Data Visualization: Learn To Add Text Annotations To PlotsR Data Visualization: Learn To Add Text Annotations To Plots
R Data Visualization: Learn To Add Text Annotations To PlotsRsquared Academy
 
Structured query language constraints
Structured query language constraintsStructured query language constraints
Structured query language constraintsVineeta Garg
 
SAS cheat sheet
SAS cheat sheetSAS cheat sheet
SAS cheat sheetAli Ajouz
 
The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)Peter Gasston
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Proceduresguest2160992
 
A Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureA Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureYesAnalytics
 

Mais procurados (20)

Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SAS
 
SAS Functions
SAS FunctionsSAS Functions
SAS Functions
 
Extreme querying with_analytics
Extreme querying with_analyticsExtreme querying with_analytics
Extreme querying with_analytics
 
Utility Procedures in SAS
Utility Procedures in SASUtility Procedures in SAS
Utility Procedures in SAS
 
Junos commands
Junos commandsJunos commands
Junos commands
 
SAS Proc SQL
SAS Proc SQLSAS Proc SQL
SAS Proc SQL
 
Group functions
Group functionsGroup functions
Group functions
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connect
 
SAS ODS HTML
SAS ODS HTMLSAS ODS HTML
SAS ODS HTML
 
R Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar PlotsR Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar Plots
 
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical ParametersData Visualization With R: Learn To Modify Font Of Graphical Parameters
Data Visualization With R: Learn To Modify Font Of Graphical Parameters
 
R Data Visualization: Learn To Add Text Annotations To Plots
R Data Visualization: Learn To Add Text Annotations To PlotsR Data Visualization: Learn To Add Text Annotations To Plots
R Data Visualization: Learn To Add Text Annotations To Plots
 
Structured query language constraints
Structured query language constraintsStructured query language constraints
Structured query language constraints
 
PLSQL Practices
PLSQL PracticesPLSQL Practices
PLSQL Practices
 
Sas cheat
Sas cheatSas cheat
Sas cheat
 
SAS cheat sheet
SAS cheat sheetSAS cheat sheet
SAS cheat sheet
 
6
66
6
 
The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)The CSS3 of Tomorrow (Version 2)
The CSS3 of Tomorrow (Version 2)
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
 
A Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureA Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report Procedure
 

Destaque

Some Wonderful Thoughts
Some Wonderful ThoughtsSome Wonderful Thoughts
Some Wonderful ThoughtsNancy Poh
 
SDN Mentor Hands On - Exercise 2
SDN Mentor Hands On - Exercise 2SDN Mentor Hands On - Exercise 2
SDN Mentor Hands On - Exercise 2dan_mcweeney
 
Climate Change Powerpoint C V3 (2001 10 5)
Climate Change Powerpoint C V3 (2001 10 5)Climate Change Powerpoint C V3 (2001 10 5)
Climate Change Powerpoint C V3 (2001 10 5)alilovbeyj
 
Campamento Noviembre 2008
Campamento Noviembre 2008Campamento Noviembre 2008
Campamento Noviembre 2008jorgefilu
 
Model Driven Hypermedia Development Method
Model Driven Hypermedia Development MethodModel Driven Hypermedia Development Method
Model Driven Hypermedia Development MethodCarlos Solís
 
Games and Tales Calendar 2009
Games and Tales Calendar 2009Games and Tales Calendar 2009
Games and Tales Calendar 2009CRA SANTANA
 
zardaszuzek - MéRnöKké VáLáS Folyamata
zardaszuzek - MéRnöKké VáLáS Folyamatazardaszuzek - MéRnöKké VáLáS Folyamata
zardaszuzek - MéRnöKké VáLáS Folyamatazardaszuzek
 

Destaque (8)

fruit
fruitfruit
fruit
 
Some Wonderful Thoughts
Some Wonderful ThoughtsSome Wonderful Thoughts
Some Wonderful Thoughts
 
SDN Mentor Hands On - Exercise 2
SDN Mentor Hands On - Exercise 2SDN Mentor Hands On - Exercise 2
SDN Mentor Hands On - Exercise 2
 
Climate Change Powerpoint C V3 (2001 10 5)
Climate Change Powerpoint C V3 (2001 10 5)Climate Change Powerpoint C V3 (2001 10 5)
Climate Change Powerpoint C V3 (2001 10 5)
 
Campamento Noviembre 2008
Campamento Noviembre 2008Campamento Noviembre 2008
Campamento Noviembre 2008
 
Model Driven Hypermedia Development Method
Model Driven Hypermedia Development MethodModel Driven Hypermedia Development Method
Model Driven Hypermedia Development Method
 
Games and Tales Calendar 2009
Games and Tales Calendar 2009Games and Tales Calendar 2009
Games and Tales Calendar 2009
 
zardaszuzek - MéRnöKké VáLáS Folyamata
zardaszuzek - MéRnöKké VáLáS Folyamatazardaszuzek - MéRnöKké VáLáS Folyamata
zardaszuzek - MéRnöKké VáLáS Folyamata
 

Semelhante a Alv Grids

Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Tablesapdocs. info
 
03 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp0203 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp02tabish
 
03 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp0103 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp01wingsrai
 
Looking for best Sap abap training institute in Chennai
Looking for best Sap abap training institute in ChennaiLooking for best Sap abap training institute in Chennai
Looking for best Sap abap training institute in ChennaiRaja AMEKS Infotech
 
Sparkling Water Meetup
Sparkling Water MeetupSparkling Water Meetup
Sparkling Water MeetupSri Ambati
 
Sap abap training Overview
Sap abap training OverviewSap abap training Overview
Sap abap training Overviewraviadm100
 
Alv object model simple 2 d table - the basics
Alv object model   simple 2 d table - the basicsAlv object model   simple 2 d table - the basics
Alv object model simple 2 d table - the basicsFaina Fridman
 
Interactive Session on Sparkling Water
Interactive Session on Sparkling WaterInteractive Session on Sparkling Water
Interactive Session on Sparkling WaterSri Ambati
 
I just need answers for all TODO- I do not need any explanation or any.pdf
I just need answers for all TODO- I do not need any explanation or any.pdfI just need answers for all TODO- I do not need any explanation or any.pdf
I just need answers for all TODO- I do not need any explanation or any.pdfMattU5mLambertq
 
I just need answers for all TODO- I do not need any explanation or any (1).pdf
I just need answers for all TODO- I do not need any explanation or any (1).pdfI just need answers for all TODO- I do not need any explanation or any (1).pdf
I just need answers for all TODO- I do not need any explanation or any (1).pdfMattU5mLambertq
 
ETL Patterns with Postgres
ETL Patterns with PostgresETL Patterns with Postgres
ETL Patterns with PostgresMartin Loetzsch
 
How to generate a 100+ page website using parameterisation in R
How to generate a 100+ page website using parameterisation in RHow to generate a 100+ page website using parameterisation in R
How to generate a 100+ page website using parameterisation in RPaul Bradshaw
 

Semelhante a Alv Grids (20)

Program For Parsing2
Program For Parsing2Program For Parsing2
Program For Parsing2
 
Open SQL & Internal Table
Open SQL & Internal TableOpen SQL & Internal Table
Open SQL & Internal Table
 
03 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp0203 abap3-090715081232-phpapp01-100511101016-phpapp02
03 abap3-090715081232-phpapp01-100511101016-phpapp02
 
03 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp0103 abap3-090715081232-phpapp01
03 abap3-090715081232-phpapp01
 
Oracle sql tuning
Oracle sql tuningOracle sql tuning
Oracle sql tuning
 
Looking for best Sap abap training institute in Chennai
Looking for best Sap abap training institute in ChennaiLooking for best Sap abap training institute in Chennai
Looking for best Sap abap training institute in Chennai
 
Sparkling Water Meetup
Sparkling Water MeetupSparkling Water Meetup
Sparkling Water Meetup
 
SAS_and_R.pdf
SAS_and_R.pdfSAS_and_R.pdf
SAS_and_R.pdf
 
CSV to XML Converter
CSV to XML ConverterCSV to XML Converter
CSV to XML Converter
 
Sap abap training Overview
Sap abap training OverviewSap abap training Overview
Sap abap training Overview
 
Alv object model simple 2 d table - the basics
Alv object model   simple 2 d table - the basicsAlv object model   simple 2 d table - the basics
Alv object model simple 2 d table - the basics
 
Interactive Session on Sparkling Water
Interactive Session on Sparkling WaterInteractive Session on Sparkling Water
Interactive Session on Sparkling Water
 
Trig
TrigTrig
Trig
 
Advance GORM
Advance GORMAdvance GORM
Advance GORM
 
I just need answers for all TODO- I do not need any explanation or any.pdf
I just need answers for all TODO- I do not need any explanation or any.pdfI just need answers for all TODO- I do not need any explanation or any.pdf
I just need answers for all TODO- I do not need any explanation or any.pdf
 
I just need answers for all TODO- I do not need any explanation or any (1).pdf
I just need answers for all TODO- I do not need any explanation or any (1).pdfI just need answers for all TODO- I do not need any explanation or any (1).pdf
I just need answers for all TODO- I do not need any explanation or any (1).pdf
 
Zmd Constant
Zmd ConstantZmd Constant
Zmd Constant
 
ETL Patterns with Postgres
ETL Patterns with PostgresETL Patterns with Postgres
ETL Patterns with Postgres
 
How to generate a 100+ page website using parameterisation in R
How to generate a 100+ page website using parameterisation in RHow to generate a 100+ page website using parameterisation in R
How to generate a 100+ page website using parameterisation in R
 
Sas classes in mumbai
Sas classes in mumbaiSas classes in mumbai
Sas classes in mumbai
 

Mais de Michelle Crapo

Learning & using new technology
Learning & using new technologyLearning & using new technology
Learning & using new technologyMichelle Crapo
 
Learning & using new technology
Learning & using new technologyLearning & using new technology
Learning & using new technologyMichelle Crapo
 
Https _sapmats-de.sap-ag.de_download_download
Https  _sapmats-de.sap-ag.de_download_downloadHttps  _sapmats-de.sap-ag.de_download_download
Https _sapmats-de.sap-ag.de_download_downloadMichelle Crapo
 
2011 sap inside_track_eim_overview
2011 sap inside_track_eim_overview2011 sap inside_track_eim_overview
2011 sap inside_track_eim_overviewMichelle Crapo
 
SAP Technology QUICK overview
SAP Technology QUICK overviewSAP Technology QUICK overview
SAP Technology QUICK overviewMichelle Crapo
 
General Discussion Abap Tips
General Discussion   Abap  TipsGeneral Discussion   Abap  Tips
General Discussion Abap TipsMichelle Crapo
 

Mais de Michelle Crapo (13)

Abap objects
Abap objectsAbap objects
Abap objects
 
Abap objects
Abap objectsAbap objects
Abap objects
 
Learning & using new technology
Learning & using new technologyLearning & using new technology
Learning & using new technology
 
Learning & using new technology
Learning & using new technologyLearning & using new technology
Learning & using new technology
 
Dirty upgrade bala
Dirty upgrade balaDirty upgrade bala
Dirty upgrade bala
 
Big data mgmt bala
Big data mgmt balaBig data mgmt bala
Big data mgmt bala
 
Https _sapmats-de.sap-ag.de_download_download
Https  _sapmats-de.sap-ag.de_download_downloadHttps  _sapmats-de.sap-ag.de_download_download
Https _sapmats-de.sap-ag.de_download_download
 
2011 sap inside_track_eim_overview
2011 sap inside_track_eim_overview2011 sap inside_track_eim_overview
2011 sap inside_track_eim_overview
 
SAP OSS note search
SAP OSS note searchSAP OSS note search
SAP OSS note search
 
2007 SAPTech Ed
2007 SAPTech Ed2007 SAPTech Ed
2007 SAPTech Ed
 
SAP Technology QUICK overview
SAP Technology QUICK overviewSAP Technology QUICK overview
SAP Technology QUICK overview
 
General Discussion Abap Tips
General Discussion   Abap  TipsGeneral Discussion   Abap  Tips
General Discussion Abap Tips
 
Change Documents2
Change Documents2Change Documents2
Change Documents2
 

Último

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Último (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Alv Grids

  • 1. ALV grids should be used when possible. They can be customized and ran in the background by creating a layout and setting it up. Ex.type-pools: slis.data: begin of gt_outtab occurs 0. include structure zorderdata. data: end of gt_outtab, gs_layout type slis_layout_alv, g_exit_caused_by_caller, gs_exit_caused_by_user type slis_exit_by_user, g_repid like sy-repid, w_set_status type slis_formname, w_user_command type slis_formname.call function 'REUSE_ALV_GRID_DISPLAY -OR-* create a custom container control for our ALV Control - this is also * create on the screen layout.CREATE OBJECT custom_containerCALL METHOD grid1->set_table_for_first_display* Create Object to receive events and link them to handler methods. * When the ALV Control raises the event for the specified instance * the corresponding method is automatically called.CREATE OBJECT event_receiver. SET HANDLER event_receiver->handle_top_of_page FOR grid1. SET HANDLER event_receiver->handle_double_click FOR grid1.* Controls are not integrated into the TAB-Order * Call quot;set_focusquot; if you want to make sure that 'the cursor' * is active in your control.CALL METHOD cl_gui_control=>set_focus EXPORTING control = grid1.Misc: Enqueue/dequeue function modules are automatically created when a lock object is created in SE11. You can use the function modules in your programs. Program for listing field contents of any structured record. This utility program is from Gordon Tobias. The program is really just a shell for 4 routines which are intended to be called from other programs. The first 2 routines can be called from any program with statements like: PERFORM list_record_fields(zlist_fields_rtti) USING p_any_rec. PERFORM list_fields_with_cols(zlist_fields_rtti) USING p_any_rec. The third routine accepts additional parms for restricting which fields to list. When I want to use this routine, I define 2 SELECT- OPTIONS parms in the calling program, which let me specify that I want to list specific field numbers (e.g. fields 1-5) or names (e.g. all fields whose names match *DAT*). The parm definitions look like: *- Definitions num3 and field_name needed for SELECT-OPTIONS below DATA: num3(3) TYPE n. DATA: field_name(30) TYPE c.
  • 2. *- SELECT-OPTIONS parms to limit the fields reported upon SELECT-OPTIONS: so_fnum FOR num3, so_fname FOR field_name. And the call to the 3rd routine looks like PERFORM list_specific_fields IN PROGRAM zlist_fields_rtti TABLES so_fnum so_fname USING p_any_rec. The last routine converts any record to a CSV format. If you call it with the 2nd USING parm set to 'HDR', it will create a header line with the field titles. If that 2nd USING parm is blank, it creates a CSV record with the field contents. So the calls to the 4th routine look like: PERFORM convert_to_csv IN PROGRAM zlist_fields_rtti USING p_any_rec 'HDR' quot;Header flag: HDR or ' ' CHANGING w_csv_rec. TRANSFER w_csv_rec TO p_ofile. And PERFORM convert_to_csv IN PROGRAM zlist_fields_rtti USING p_any_rec space quot;Header flag: HDR or ' ' CHANGING w_csv_rec. TRANSFER w_csv_rec TO p_ofile.