Posts

What is Internal Table in SAP ABAP

Image
Internal Table in ABAP program In this post, we have to learn SAP ABAP internal tables and types of internal table and internal table program tutorials and what is work area and technical features of table’s Operations on internal tables that are creating, changing, appending, modifying and deleting internal tables in SAP program. Internal Tables Internal tables are used to take data from fixed structure and inserting it in working memory in ABAP.Line by line stored in the memory and each line has the same structure. We are using internal table whenever we want to make changes to data base tables. Internal tables acts as function of arrays, dynamic data objects and implements the dynamic memory management in programs. Internal table data types There are 3 types of data types Line type,Key and Table type. Line Type The line type of an internal table can be any data type and it is  a structure. Each component of the structure is a column in the i...

Constant and Literals in SAP ABAP programming

Constant and Literals in SAP ABAP programming In SAP,there is available two types of literals that are Numeric and Character.Literals are unnamed data objects which we can create within the ABAP program.They are predefined by their value and we can't change value of literal.We creates constants using declarative statements .Constants are named data objects and assigning a value to it and can not be changed constant while executing the program. Literals Constants Literals Numeric literals are number literals which are sequence of digits and having prefixed signs. Example:1000,-45,+72. Character literals are sequence of alphanumeric characters in the ABAP program declared within the single quotation marks.They have predefined data type C. Text field literals  REPORT Z_LIT_EX. Write 'sinu abap tutor'. Write / 'ABAP Tutorials'. String field literals  REPORT Z_LIT_EX1. Write `sinu abap tutor `. Write / `ABAP Tutorials'. The output is s...

SAP ABAP Variables Types

SAP ABAP Variables Types In the previous post,we have learned data types in sap abap with examples and difference between data and types in abap and parameters in abap with example along with elementary data types and reference types ,structure types and table types .So now let us learn the variables in SAP and their definition and how to declare them and what is the role of variables in sap abap. We are using Variables in SAP that are data objects used to store values within the allotted memory area of a program. We can change the content of variables with the help of ABAP statements. Each variable in ABAP has a different type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable. We must be declare all types of variables before they can be used. we can declare variable like DATA <f> TYPE <type> VALUE <val>. Here <f...

SAP ABAP Data Types

SAP ABAP Data Types   Data types which are used  to store information of various data types like character, integer, floating point, etc.So as a ABAP consultant ,to write any code ,we have to understand data types and how to declare data types and how much space will take every data type variable in the SAP system. Type Field  Byte field     X Text field     C Integer     I Floating Point    F Packed number    P Text string   STRING Based on the data type of a variable, the operating system allocates memory and decides what can be stored in the reserved memory. Elementary Data Types in SAP ABAP offers the programmer a rich assortment of fixed length as well as variable length data types. Some of the fields and numbers can be modified using one or more names as the following: byte numeric character-like Type Type Length Type range X 1 byte           ...

Basic Syntax and Screen Navigation in SAP ABAP

Image
Basic Syntax and Screen Navigation in SAP ABAP To understand SAP ABAP screen navigation and basic syntax , we should have basic knowledge of how to log into sap system, ABAP Editor and how to Logout and from SAP system. I hope this post helpful for new ABAP learners to understand sreen navigation and the standard toolbar functionality and basic systax of ABAP programming. How to log in into SAP system First of all, we log on to SAP server, then SAP login screen will ask for client,User ID , Password and language details. We have to provide a valid client, user ID and Password and language and  press Enter . ABAP Screen Navigation  Menu Bar : Menu bar is the top line of dialog window. Standard Toolbar : Most standard functions such as Top of Page, End of Page, Page Up, Page Down and Save are available in this toolbar. Title Bar : Title Bar displays the name of the application/business process you are currently in. Application Toolbar: Application specific m...

SAP ABAP Environment

SAP ABAP Environment As a ABAP developer, to learn the coding, we have to understand ABAP environment and its tools,statements,execution,activation and saving the ABAP objects and writing the ABAP programmer. We can understand ABAP environment very well by using Reports to familiarize you with general ABAP statements and tools. ABAP reports are used in many applications. In this chapter, we will look how easy it is to write a simple ABAP Report. Hello ABAP program Let's get started with the common “Hello World” example. Each ABAP statement starts with an ABAP keyword and ends with a period. Keywords must be separated by at least one space. It does not matter whether we use one line or several lines for an ABAP statement. We enter our code using the ABAP Editor that is a part of ABAP Tools delivered with the SAP Net Weaver Application Server ABAP (also known as ‘AS ABAP’). Application server with its own database, ABAP run-time environment, and ABAP development tools...

SAP ABAP programming overview

Image
Every SAP ABAP consultant should have overview on ABAP application programming process in SAP system to understand SAP software 3 tier client/server technology. SAP ABAP programming overview ABAP stands for Advanced Business Application Programming . It is a 4th generation language. Currently it is competes with Java, as the main language for SAP application server programming. Now  let us learn architecture of SAP system. The 3-tier Client/Server architecture of a typical SAP system. The Presentation layer contains of any input device that can be used to control SAP system. This could be a web browser. All the central processing work takes place in Application server . The Application server is not just only one system in itself, but it can be multiple instances of the processing system. The server communicates with the Database layer that is usually kept on a separate server, mainly for performance reasons and also for security. Communication happens between each ...