Skip to main content

YCLASSICAL_JOINING

*&---------------------------------------------------------------------* *& Report  YCLASSICAL_JOINING *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT   yclassical_joining  NO   STANDARD   PAGE  HEADING                               LINE - SIZE   110                               LINE - COUNT   255                               MESSAGE - ID  zsan. ** T Y P E    D E C L A R A T I O N ** TYPES  :  BEGIN   OF  ty_mara,          matnr  TYPE  matnr,          ernam  TYPE  ernam,          pstat  TYPE  pstat_d,          END   OF  ty_mara,          BEGIN   OF  ty_makt,          matnr  TYPE  matnr,          spras  TYPE  spras,          maktx  TYPE  maktx,          END   OF  ty_makt,          BEGIN   OF  ty_final,          matnr  TYPE  matnr,          ernam  TYPE  ernam,          pstat  TYPE  pstat_d,          maktx  TY

Overview of ABAP Programming Language

 Overview of ABAP Programming Language

Basic Syntax of ABAP
*ABAP 4 is a programming language developed by SAP for the interactive development of application programming.
*ABAP 4 is a fourth generation language.
ABAP 4 is tightly integrated across all the modules viz like SD, MM, HR etc and most or all of the modules and transactions(like screens are created using ABAP).
*All application programs, along with parts of the R/3 Basis system, are written in the ABAP Workbench using ABAP, Sap's programming language. The individual components of application programs are stored in a special section of the database called the R/3 Repository. The R/3 Repository serves as a central store for all of the development objects in the R/3 System
ABAP Programs are objects of R/3 Repository. You maintain them using ABAP WorkBench Tool- in this case its ABAP Editor(Transaction SE38).
R/3 applications are written in the ABAP programming language, and run within the application layer of the R/3 System.
ABAP programs communicate with the database management system of the central relational database (RDBMS), and with the graphical user interface (SAP GUI ) at presentation level.
The ABAP/4 Development Workbench provides access to Sap's development tools which cover the entire software development cycle.
These tools can be used both for customer-specific developments and enhancements to R/3 applications supplied by SAP.
All applications created with the ABAP/4 Development Workbench can run without further modifications on any platforms, database systems and graphical user interfaces supported by SAP.
ABAP Development Work Bench consists of many tools for like ABAP Editor, Screen Painter, Function Builder, Menu painter… for you to create or write Programs like Reports or Screens or Menus etc ...
Typically as a ABAP Developer you will be working on the above said Tools to design, develop and test any programs which include Reports, Screens, Menu that you might want to implement in SAP.
Development Class
To create a program, you first specify a development class. Development classes are containers for objects in the same area. A common transport route is defined for all objects within a development class. Customer-specific development classes begin with Y or Z.
If you are creating a test object which you do not want to be transported, choose local private objects. The development class is then set to $TMP.
You then specify the name of the new program. To proceed, click the radio button Program and choose Display.
Save using Transport request number provided by system administrators or create your own request.
Workbench requests record changes made to ABAP
Workbench objects.
There are local and transportable Workbench requests.
(Local Workbench requests have the target system <space>)
The development class of the object and the transport route settings in the Transport Management System determine whether changes are recorded in a local or a transportable Workbench request.
ABAP/4 Interfaces Uses:
When you use ABAP/4 Data interfaces, a sequential dataset is generated in the source system . This is read into the target system by the data transfer program and imported automatically into the R/3 database using batch input, call transaction or direct input.
ABAP/4 contains statements for the implementation of Communication interfaces like RFC/BAPI, OLE which typically connects R/3 with Non R/3 system for establishing a transaction over the Net.
As a ABAP Developer
Majority of the work during and after implementation of R/3 will be Report programming, Dialog programming, BDC, Enhancements using ABAP/4 Programming Language.
In reporting you use the ABAP/4 Open SQL to read data from the R/3 database. A report consists of a selection screen, on which you define the dataset you wish to display, and a list, which displays the data itself. In interactive reporting, the user can navigate from the (basic) list to details lists at runtime. Typically, reports merely read data from the database. However, it is also possible to make changes in the database using a report.
Dialog Programming
In dialog programming you use the Screen Painter to create screens and program the sequence in which they appear. You write an ABAP/4 program (ABAP/4 module pool) for your screens. This is a collection of dialog modules which are called by the flow logic of your screens. You use dialog programs for both reading and changing database tables.
Batch Data Communication (BDC)
Batch Data Communication (BDC) offers transferring of data into the SAP System from other SAP Systems and non-SAP Systems (legacy systems).
For example, the data collection in some areas of your company is still performed by a non-SAP system like VB-SQL or Java-Oracle etc. You can still consolidate all of your data in the SAP System by exporting the data from the other system and reading it into the SAP System with batch input.
SAP Scripts
SAP script is the tightly integrated text management system of the SAP R/3 System.
It will therefore be used for many different text-processing tasks all over the SAP System.
Example:
SAP script is used for incorporating the company logo in forms sets.
SAP Script can be used for printing the Sales order or the purchase order in the company given pre printed format.
Enhancements
SAP offers a broad range of functionality within its business application suite.
If standard applications do not offer some of the functionality you need, You don’t have to Panic!!
R/3 provides the flexibility to Add-on/Bolt-on any application to its standard functionality. This facility is called “Enhancement” and called as “User Exits”, “Menu Exits”, “Screen Exits” and “Function Exits”.
Enhancement offers better alternative to the problem-ridden modification approach.
Some important transactions in ABAP Development Workbench.
ABAP Editor(se38) : used for Writing Report programs..etc
Object Navigator(se80) : used for Creating Screens and/or Transactions or Development Class or navigation purpose ..etc
Function Builder(se37): used for Writing Functions which can be further used in Report programs or Screen programming.. etc.
Data Dictionary(se11) : Used for Database Table handling.. etc.
a period.
The first word of a statement is known as the key word.
Words are separated from each other by at least one blank.
Statements can be indented.
Statements can extend over several lines.
You can concatenate several consecutive statements with an identical first part into a chain statement.
When doing this, conclude the identical first part with a colon.
After the colon, separate each concatenated part from the next with a comma.
Blanks can appear before and after the separators (colon, comma or period).
Commenting a ABAP Statement
An asterisk (*) in column 1 flags the whole line as a comment.
-A quotation mark (") within a line flags the remainder of the line as a comment.
WRITE outputs the contents of a field or constant in the format appropriate for the type.
Consecutive WRITE statements output data on the same line. If there is no more space on one line, the output continues on the next line.
SKIP generates blank lines.
The ABAP/4 processor generates a standard header for each line. This consists of the list title, page number and an underline.

Comments

Popular posts from this blog

How to Create SAP ABAP Query Using SQ01 Step by Step Guide

How to Create SAP ABAP Query Using SQ01 Step by Step. You can create ABAP query objects ,if they are not exist in the SAP system. You can create SAP query without  ABAP programming knowledge. ABAP Query provides users with a variety of ways to define and create different types of  reports , such as  Basic Lists ,  Stats , and  Sorted Lists . ABAP query consists of four elements: Queries InfoSets Groups Translation query Queries The query component is used by end users for Queries. You can create queries, change and queries executed. Transaction  SQ01. Trnslation component / QUERY Many texts to define queries, InfoSets and user groups are generated. These texts are displayed in the language we choose to access the SAP system. We can compare the text or languages ​​that use this component. InfoSets InfoSets are the views of the Special Data Sources. An InfoSet Describes the fields of a data source that can be reported in the query. An InfoSet can be assig

BADI in SAP ABAP Step by Step

BADI in SAP ABAP Step by Step BAdI Acronym of Business Add Ins As a customer outsider, it helps BAdI to improve SAP functionality. Why is BADI? Unlike previous improvement methods, BADI continues the approach aimed at re-use objectives. BADI can be used in a number of times that these standard evaluation techniques can only be used once. For example, if you are upgrading a custom project, you can not map the extension on other custom projects. In order to overcome this disadvantage, SAP provided a new evaluation technique called BADI. Code of transaction for BADI definition: SE18 When you create a BAdI definition, you create a class interface automatically and you can define the methods in the interface. The application of the methods can be made in SE19 transactions. When created BAD, they are generated automatically: An interface with 'IF_EX_' is inserted between the first and second characters of the BAdi name Class classified as 'CL_EX_' inserted betwee

SAP Table Structure T-codes

SAP table structure tcodes E11 - ABAP Dictionary Maintenance Basis - Dictionary Maintenance SE14 - Utilities for Dictionary tables Basis - Activation Program, Conversion Program, DB Utility, MC,  SPDDCU61 - Create table structure Cross Application - Object Dependencies CU63 - Display table structure Cross Application - Object Dependencies CU62 - Change table structure Cross Application - Object Dependencie CU64 - table structure List Cross Application - Object Dependencies LBWE - LO Data Ext.: Customizing Cockpit Logistics - Logistics Information System (LIS)RSA6 - Maintain DataSources Basis - BW Service APIRSO2 - Oltp Metadata Repository Basis - BW Service  APISE84 - Repository Information System Basis - Workbench Tools: Editors, Painters, Modelers SE38 - ABAP Editor Basis - ABAP Editor SE16 - Data Browser Basis - Workbench Utilities SM30 - Call View Maintenance Basis - Table Maintenance Tool SE37 - ABAP Function Modules Basis - Function Builder SE80 - Object Navigator