SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Data Types
Defining
Formal Variable description
Predifined Data types
● They are divide into two groups:
– Complete
● This means that they already contain a type-specific,
fixed length specification.
– D (Date, format YYYYMMDD)
– T (Time, format HHMMSS)
– I (Integer, length 4)
– F (Floating, length 8)
– STRING (Dynamic length character string)
– XSTRING (Dynamic length byte sequence, hexadecimal string)
Predifined Data types (2)
– Incomplete
● Do not contain a fixed length
– C (Character String)
– N (Numerical character string)
– X (Byte sequence, hexadecimal string)
– P (Packed number, decimals points may also be specified)
Local Data types
● Declared using standard data types
● Only exist in the program
● Declared using Types statement
Data types in ABAP Dictionary
● This are also called Global Data Types
● Can be used throught all the system
● Declared in the abap dictionary
Type Addition
● Used to refer any data type that is already
known.
● Visibility affects the Data Types
Type Addition (2)
● Type constructos used with the TYPE addition:
– For references
– REF TO <class>|<interface>
– For structures
– BEGIN OF <struct>.
...
– END OF <struct>.
– For tables
– <tabkind> OF <linetype> [WITH <key>]
Like Addition
● Used to refer to an already defined data object
● Can be used to refer any object declared an
visible in the context
● No need for the data object being referenced to
be in memory
Data Objects
Defining
A variable or constant that is defined concretely
by means of a data type
Literals
● Belongs to the Fixed Data Object
● Used to especify fixed values in the programs
● Literals can be:
– Numeric literals
– Text literals
Text Symbols
● Stored in the Text pool
● Used to allow abap to be multilingual.
● They are identified with a three alfanumeric ID
● Can be Translated
Variables
● Are Data Objects that can be declared
● They can be declared using:
– DATA
– STATICS
– CLASS-DATA
– PARAMETERS
– SELECT-OPTIONS
– RANGES
Constants
● Defined by the keyword CONSTANTS
● Works similar to literals
● The value addition is mandatory
Interface Work Areas
● Are data objects that are used to pass data
between:
– Screens and ABAP programs
● Tables
– Logical databases and ABAP programs
● Nodes
– ABAP programs and external subrutines
● COMMON PART
Predifined Data Objects
● There is no need to be declared
● They are always present at runtime
● There are two:
– Space
– SY
● SY-SUBRC: Return code for ABAP statements
● SY-UNAME: logon name of the user
● SY-REPID: Current ABAP program
● SY-TCODE: current transaction
● SY-INDEX: Number of the current loop pass

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Object oriented programming 2 elements of programming
Object oriented programming 2 elements of programmingObject oriented programming 2 elements of programming
Object oriented programming 2 elements of programming
 
Lecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic SortingLecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic Sorting
 
Data types
Data typesData types
Data types
 
3rd june
3rd june3rd june
3rd june
 
C Omega
C OmegaC Omega
C Omega
 
Latent Semantic Indexing For Information Retrieval
Latent Semantic Indexing For Information RetrievalLatent Semantic Indexing For Information Retrieval
Latent Semantic Indexing For Information Retrieval
 
Unit 5
Unit 5Unit 5
Unit 5
 
A Theoretic Framework for Evaluating Similarity Digesting Tools
A Theoretic Framework for Evaluating Similarity Digesting ToolsA Theoretic Framework for Evaluating Similarity Digesting Tools
A Theoretic Framework for Evaluating Similarity Digesting Tools
 
8. data types
8. data types8. data types
8. data types
 
R programming by ganesh kavhar
R programming by ganesh kavharR programming by ganesh kavhar
R programming by ganesh kavhar
 
Data structure Assignment Help
Data structure Assignment HelpData structure Assignment Help
Data structure Assignment Help
 
Data handling in python
Data handling in pythonData handling in python
Data handling in python
 
Introduction to Data Structure : Pointer
Introduction to Data Structure : PointerIntroduction to Data Structure : Pointer
Introduction to Data Structure : Pointer
 
Intelligent Search
Intelligent SearchIntelligent Search
Intelligent Search
 
Data type
Data typeData type
Data type
 
Binary Similarity : Theory, Algorithms and Tool Evaluation
Binary Similarity :  Theory, Algorithms and  Tool EvaluationBinary Similarity :  Theory, Algorithms and  Tool Evaluation
Binary Similarity : Theory, Algorithms and Tool Evaluation
 
Java Tutorial Lab 6
Java Tutorial Lab 6Java Tutorial Lab 6
Java Tutorial Lab 6
 
osm.cs.byu.edu
osm.cs.byu.eduosm.cs.byu.edu
osm.cs.byu.edu
 
Lecture-05-DSA
Lecture-05-DSALecture-05-DSA
Lecture-05-DSA
 
AjayBhullar_Resume (5)
AjayBhullar_Resume (5)AjayBhullar_Resume (5)
AjayBhullar_Resume (5)
 

Andere mochten auch

Environmental problems and reitaku university
Environmental problems and reitaku universityEnvironmental problems and reitaku university
Environmental problems and reitaku universityReitaku Univ. Deutsch
 
6 Actions To Build Your Dream
6 Actions To Build Your Dream6 Actions To Build Your Dream
6 Actions To Build Your DreamCindy McAsey
 
Jys summit3-slideshare
Jys summit3-slideshareJys summit3-slideshare
Jys summit3-slidesharejasonyana
 
Learning through the_arts
Learning through the_artsLearning through the_arts
Learning through the_artsSaFaRiNa84
 
il portale Dati.gov.it e l’Infografica su open data in Italia
il portale Dati.gov.it e l’Infografica su open data in Italia il portale Dati.gov.it e l’Infografica su open data in Italia
il portale Dati.gov.it e l’Infografica su open data in Italia DatiGovIT
 
Gimel dalet arabic
Gimel dalet arabicGimel dalet arabic
Gimel dalet arabicahmadeg1
 
TF Six Shooters November 2012 Revolver
TF Six Shooters November 2012 RevolverTF Six Shooters November 2012 Revolver
TF Six Shooters November 2012 RevolverKam Gerohimos
 
Goodwin's Features in 'Sweet Dreams'
Goodwin's Features in 'Sweet Dreams'Goodwin's Features in 'Sweet Dreams'
Goodwin's Features in 'Sweet Dreams'oliviakelly95asmedia
 
North Carolina County Government
North Carolina County Government North Carolina County Government
North Carolina County Government amariel43
 
Town hall meeting webinar 2.24.12
Town hall meeting webinar   2.24.12Town hall meeting webinar   2.24.12
Town hall meeting webinar 2.24.12progroup
 
Ahciet final
Ahciet finalAhciet final
Ahciet finalnotsag13
 
global child care powerpoint
global child care powerpointglobal child care powerpoint
global child care powerpointWendySteph
 
2016 April Announcements
2016 April Announcements2016 April Announcements
2016 April AnnouncementsWayne Irwin
 
IWAR Briefing Maltz
IWAR Briefing MaltzIWAR Briefing Maltz
IWAR Briefing Maltzrichardmaltz
 
Sabareeshpsppt
SabareeshpspptSabareeshpsppt
SabareeshpspptSano Anil
 
Dental doctor - Kids Game Free to Download
Dental doctor - Kids Game Free to DownloadDental doctor - Kids Game Free to Download
Dental doctor - Kids Game Free to DownloadArth I-Soft
 

Andere mochten auch (20)

Environmental problems and reitaku university
Environmental problems and reitaku universityEnvironmental problems and reitaku university
Environmental problems and reitaku university
 
Data entry
Data entryData entry
Data entry
 
6 Actions To Build Your Dream
6 Actions To Build Your Dream6 Actions To Build Your Dream
6 Actions To Build Your Dream
 
L'home savi
L'home saviL'home savi
L'home savi
 
Jys summit3-slideshare
Jys summit3-slideshareJys summit3-slideshare
Jys summit3-slideshare
 
Learning through the_arts
Learning through the_artsLearning through the_arts
Learning through the_arts
 
il portale Dati.gov.it e l’Infografica su open data in Italia
il portale Dati.gov.it e l’Infografica su open data in Italia il portale Dati.gov.it e l’Infografica su open data in Italia
il portale Dati.gov.it e l’Infografica su open data in Italia
 
Gimel dalet arabic
Gimel dalet arabicGimel dalet arabic
Gimel dalet arabic
 
Victus dosya 3
Victus dosya 3Victus dosya 3
Victus dosya 3
 
TF Six Shooters November 2012 Revolver
TF Six Shooters November 2012 RevolverTF Six Shooters November 2012 Revolver
TF Six Shooters November 2012 Revolver
 
Goodwin's Features in 'Sweet Dreams'
Goodwin's Features in 'Sweet Dreams'Goodwin's Features in 'Sweet Dreams'
Goodwin's Features in 'Sweet Dreams'
 
North Carolina County Government
North Carolina County Government North Carolina County Government
North Carolina County Government
 
Town hall meeting webinar 2.24.12
Town hall meeting webinar   2.24.12Town hall meeting webinar   2.24.12
Town hall meeting webinar 2.24.12
 
Bloque ii
Bloque iiBloque ii
Bloque ii
 
Ahciet final
Ahciet finalAhciet final
Ahciet final
 
global child care powerpoint
global child care powerpointglobal child care powerpoint
global child care powerpoint
 
2016 April Announcements
2016 April Announcements2016 April Announcements
2016 April Announcements
 
IWAR Briefing Maltz
IWAR Briefing MaltzIWAR Briefing Maltz
IWAR Briefing Maltz
 
Sabareeshpsppt
SabareeshpspptSabareeshpsppt
Sabareeshpsppt
 
Dental doctor - Kids Game Free to Download
Dental doctor - Kids Game Free to DownloadDental doctor - Kids Game Free to Download
Dental doctor - Kids Game Free to Download
 

Ähnlich wie Data types & object

Unit 2 Principles of Programming Languages
Unit 2 Principles of Programming LanguagesUnit 2 Principles of Programming Languages
Unit 2 Principles of Programming LanguagesVasavi College of Engg
 
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical ExpressionsUnit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressionsdubon07
 
Postgre sql data types
Postgre sql data typesPostgre sql data types
Postgre sql data typesDucat
 
CS4443 - Modern Programming Language - I Lecture (2)
CS4443 - Modern Programming Language - I  Lecture (2)CS4443 - Modern Programming Language - I  Lecture (2)
CS4443 - Modern Programming Language - I Lecture (2)Dilawar Khan
 
cassignmentii-170424105623.pdf
cassignmentii-170424105623.pdfcassignmentii-170424105623.pdf
cassignmentii-170424105623.pdfYRABHI
 
data types in C programming
data types in C programmingdata types in C programming
data types in C programmingHarshita Yadav
 
Data structures and Alogarithims
Data structures and AlogarithimsData structures and Alogarithims
Data structures and AlogarithimsVictor Palmar
 
MLlib and Machine Learning on Spark
MLlib and Machine Learning on SparkMLlib and Machine Learning on Spark
MLlib and Machine Learning on SparkPetr Zapletal
 
Introduction to the language R
Introduction to the language RIntroduction to the language R
Introduction to the language Rfbenault
 
3 data-types-in-c
3 data-types-in-c3 data-types-in-c
3 data-types-in-cteach4uin
 
Introduction to basic statistics
Introduction to basic statisticsIntroduction to basic statistics
Introduction to basic statisticsIBM
 
Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...
Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...
Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...ssuser5610081
 
DATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxDATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxRuchiNagar3
 
Localization and Shared Preferences in android
Localization and Shared Preferences in androidLocalization and Shared Preferences in android
Localization and Shared Preferences in androidAly Arman
 

Ähnlich wie Data types & object (20)

Unit 2 Principles of Programming Languages
Unit 2 Principles of Programming LanguagesUnit 2 Principles of Programming Languages
Unit 2 Principles of Programming Languages
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
 
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical ExpressionsUnit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
Unit 4 - Basic ABAP statements, ABAP Structures and ABAP Logical Expressions
 
chapter 5.ppt
chapter 5.pptchapter 5.ppt
chapter 5.ppt
 
Postgre sql data types
Postgre sql data typesPostgre sql data types
Postgre sql data types
 
Pandas
PandasPandas
Pandas
 
CS4443 - Modern Programming Language - I Lecture (2)
CS4443 - Modern Programming Language - I  Lecture (2)CS4443 - Modern Programming Language - I  Lecture (2)
CS4443 - Modern Programming Language - I Lecture (2)
 
cassignmentii-170424105623.pdf
cassignmentii-170424105623.pdfcassignmentii-170424105623.pdf
cassignmentii-170424105623.pdf
 
data types in C programming
data types in C programmingdata types in C programming
data types in C programming
 
Data structures and Alogarithims
Data structures and AlogarithimsData structures and Alogarithims
Data structures and Alogarithims
 
Python
PythonPython
Python
 
venkatesh.pptx
venkatesh.pptxvenkatesh.pptx
venkatesh.pptx
 
MLlib and Machine Learning on Spark
MLlib and Machine Learning on SparkMLlib and Machine Learning on Spark
MLlib and Machine Learning on Spark
 
Introduction to the language R
Introduction to the language RIntroduction to the language R
Introduction to the language R
 
4)12th_L-1_PYTHON-PANDAS-I.pptx
4)12th_L-1_PYTHON-PANDAS-I.pptx4)12th_L-1_PYTHON-PANDAS-I.pptx
4)12th_L-1_PYTHON-PANDAS-I.pptx
 
3 data-types-in-c
3 data-types-in-c3 data-types-in-c
3 data-types-in-c
 
Introduction to basic statistics
Introduction to basic statisticsIntroduction to basic statistics
Introduction to basic statistics
 
Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...
Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...
Data Types in C++-Primary or Built-in or Fundamental data type Derived data t...
 
DATA-STRUCTURES.pptx
DATA-STRUCTURES.pptxDATA-STRUCTURES.pptx
DATA-STRUCTURES.pptx
 
Localization and Shared Preferences in android
Localization and Shared Preferences in androidLocalization and Shared Preferences in android
Localization and Shared Preferences in android
 

Kürzlich hochgeladen

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
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
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General 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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
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
 

Kürzlich hochgeladen (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General 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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced 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
 

Data types & object

  • 3. Predifined Data types ● They are divide into two groups: – Complete ● This means that they already contain a type-specific, fixed length specification. – D (Date, format YYYYMMDD) – T (Time, format HHMMSS) – I (Integer, length 4) – F (Floating, length 8) – STRING (Dynamic length character string) – XSTRING (Dynamic length byte sequence, hexadecimal string)
  • 4. Predifined Data types (2) – Incomplete ● Do not contain a fixed length – C (Character String) – N (Numerical character string) – X (Byte sequence, hexadecimal string) – P (Packed number, decimals points may also be specified)
  • 5. Local Data types ● Declared using standard data types ● Only exist in the program ● Declared using Types statement
  • 6. Data types in ABAP Dictionary ● This are also called Global Data Types ● Can be used throught all the system ● Declared in the abap dictionary
  • 7. Type Addition ● Used to refer any data type that is already known. ● Visibility affects the Data Types
  • 8. Type Addition (2) ● Type constructos used with the TYPE addition: – For references – REF TO <class>|<interface> – For structures – BEGIN OF <struct>. ... – END OF <struct>. – For tables – <tabkind> OF <linetype> [WITH <key>]
  • 9. Like Addition ● Used to refer to an already defined data object ● Can be used to refer any object declared an visible in the context ● No need for the data object being referenced to be in memory
  • 11. Defining A variable or constant that is defined concretely by means of a data type
  • 12. Literals ● Belongs to the Fixed Data Object ● Used to especify fixed values in the programs ● Literals can be: – Numeric literals – Text literals
  • 13. Text Symbols ● Stored in the Text pool ● Used to allow abap to be multilingual. ● They are identified with a three alfanumeric ID ● Can be Translated
  • 14. Variables ● Are Data Objects that can be declared ● They can be declared using: – DATA – STATICS – CLASS-DATA – PARAMETERS – SELECT-OPTIONS – RANGES
  • 15. Constants ● Defined by the keyword CONSTANTS ● Works similar to literals ● The value addition is mandatory
  • 16. Interface Work Areas ● Are data objects that are used to pass data between: – Screens and ABAP programs ● Tables – Logical databases and ABAP programs ● Nodes – ABAP programs and external subrutines ● COMMON PART
  • 17. Predifined Data Objects ● There is no need to be declared ● They are always present at runtime ● There are two: – Space – SY ● SY-SUBRC: Return code for ABAP statements ● SY-UNAME: logon name of the user ● SY-REPID: Current ABAP program ● SY-TCODE: current transaction ● SY-INDEX: Number of the current loop pass