SlideShare une entreprise Scribd logo
1  sur  5
SAP – ABAP TRAINING
  DOMAINS, DATA ELEMENTS
DOMAINS, DATA ELEMENTS




2|Page
DOMAINS, DATA ELEMENTS




1 Introduction
    Data, stored in any system, comprises of a technical attribute which indicates where it’s a
    numeric data or character data .The data definition henceforth has to be associated with a
    data type. The data types, in general, can be character, numeric, integer, floating, packed
    decimals etc.

    In ABAP, the data types can be of elementary data types or complex data types. They also
    introduce two new data types namely Data elements and Domains, which we would discuss
    in details in the further sections.

    The first question that arises while talking of Data Elements and Domains is- why is this
    needed or the relevance of introducing these two concepts, when a data can be created and
    maintained in a character or numeric format.


2 Data elements & Domain
    In this section, we would look into Data elements and Domains and how they are made use
    of in ABAP workbench for data processing and data storage in the underlying database.



  2.1 Domains
         Domains are comprised of a data type, the length associated with it. They also can bear
         all possible values that the data type can accept or process. In short, they provide the
         syntactical information pertaining to a data that the system can process .A domain,
         created can be re-used in different contexts, where the data type and the definitions are
         similar.

         Business Case

         For e.g.: in the business case, where the data pertaining to salary trend in an industry
         has to be analyses with the current salary structure of employees in XYZ Company.

         In previous document, while creating a database table, we had made of pre-defined data
         types whereas, in this section we would understand Domains and data elements and
         how they can be made part of the complex data types like structures, internal tables.



3|Page
DOMAINS, DATA ELEMENTS

           In the business case, the main data that is to be identified, stored and analyzed pertains
           to the information on salary- which is an amount field which has a currency associated
           with it. The salary, being an amount, can also have decimal places and the number of
           decimal places will be determined by the currency associated with the amount.

           In SAP, there is a data type called CURR, which represents currency amount. Since in
           this business case, we are trying to create a domain which will be comprised of Currency
           data type with 2 decimal points. This domain can be used to create further data
           elements to store industry standard salary amount and the current salary linked to
           each employee category in the XYZ concern as is described below

           As described in the initial document, we navigate to SAP Easy Access Menu and to
           ABAP Workbench Tool as is shown below or directly via Transaction code: SE11




   2.1.1      Create Domains
              In the ABAP dictionary, we could see the option of Data Type.

              Step 1: Select the radio button option for the Domain as shown in the screen below




4|Page
Preview Original paying document published on :
http://expertplug.com/materials/training/sap-abap-training-domains-data-elements


You can find many more full SAP training material and SAP jobs on http://expertplug.com/.
ExpertPlug is an SAP marketplace for training materials and an online community of experts. We
offer a simple way for the global SAP workforce, consulting companies and industry to market their
skills and find quality information.
As an SAP Expert, you can also market your SAP skills and make extra revenue by publishing SAP
documents on http://expertplug.com/.

Contenu connexe

En vedette

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

En vedette (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Sap abap training domains, data elements

  • 1. SAP – ABAP TRAINING DOMAINS, DATA ELEMENTS
  • 3. DOMAINS, DATA ELEMENTS 1 Introduction Data, stored in any system, comprises of a technical attribute which indicates where it’s a numeric data or character data .The data definition henceforth has to be associated with a data type. The data types, in general, can be character, numeric, integer, floating, packed decimals etc. In ABAP, the data types can be of elementary data types or complex data types. They also introduce two new data types namely Data elements and Domains, which we would discuss in details in the further sections. The first question that arises while talking of Data Elements and Domains is- why is this needed or the relevance of introducing these two concepts, when a data can be created and maintained in a character or numeric format. 2 Data elements & Domain In this section, we would look into Data elements and Domains and how they are made use of in ABAP workbench for data processing and data storage in the underlying database. 2.1 Domains Domains are comprised of a data type, the length associated with it. They also can bear all possible values that the data type can accept or process. In short, they provide the syntactical information pertaining to a data that the system can process .A domain, created can be re-used in different contexts, where the data type and the definitions are similar. Business Case For e.g.: in the business case, where the data pertaining to salary trend in an industry has to be analyses with the current salary structure of employees in XYZ Company. In previous document, while creating a database table, we had made of pre-defined data types whereas, in this section we would understand Domains and data elements and how they can be made part of the complex data types like structures, internal tables. 3|Page
  • 4. DOMAINS, DATA ELEMENTS In the business case, the main data that is to be identified, stored and analyzed pertains to the information on salary- which is an amount field which has a currency associated with it. The salary, being an amount, can also have decimal places and the number of decimal places will be determined by the currency associated with the amount. In SAP, there is a data type called CURR, which represents currency amount. Since in this business case, we are trying to create a domain which will be comprised of Currency data type with 2 decimal points. This domain can be used to create further data elements to store industry standard salary amount and the current salary linked to each employee category in the XYZ concern as is described below As described in the initial document, we navigate to SAP Easy Access Menu and to ABAP Workbench Tool as is shown below or directly via Transaction code: SE11 2.1.1 Create Domains In the ABAP dictionary, we could see the option of Data Type. Step 1: Select the radio button option for the Domain as shown in the screen below 4|Page
  • 5. Preview Original paying document published on : http://expertplug.com/materials/training/sap-abap-training-domains-data-elements You can find many more full SAP training material and SAP jobs on http://expertplug.com/. ExpertPlug is an SAP marketplace for training materials and an online community of experts. We offer a simple way for the global SAP workforce, consulting companies and industry to market their skills and find quality information. As an SAP Expert, you can also market your SAP skills and make extra revenue by publishing SAP documents on http://expertplug.com/.