0% found this document useful (0 votes)
67 views

Abap

The document discusses various tools in the ABAP Workbench for developing SAP applications, including the ABAP Dictionary, ABAP Editor, Class Builder, and others. It also describes key concepts in ABAP including data types, declarative statements like DATA and PARAMETERS, modularization statements, control statements, call statements, operational statements, and database access statements. Finally, it provides examples of important system variables in ABAP like SUBRC, TABIX, DYNNR, and others.

Uploaded by

meddebyounes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views

Abap

The document discusses various tools in the ABAP Workbench for developing SAP applications, including the ABAP Dictionary, ABAP Editor, Class Builder, and others. It also describes key concepts in ABAP including data types, declarative statements like DATA and PARAMETERS, modularization statements, control statements, call statements, operational statements, and database access statements. Finally, it provides examples of important system variables in ABAP like SUBRC, TABIX, DYNNR, and others.

Uploaded by

meddebyounes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

the following are different tools provided by ABAP Workbench:

 ABAP Dictionary SE11


 ABAP Editor SE38
 Class Builder SE24
 Function Builder SE37
 Screen Painter SE51
 Menu Painter SE41
 Object Navigator SE80
 Maintain Message SE91
 ABAP Text Elements SE32
 Maintain Transaction SE93

 ABAP Runtime Analysis SE30


 Performance Analysis ST05

The webservices :

- Extensible Markup Language (XML)— Represents the common markup language for
communication.
- Simple Object Access Protocol (SOAP)— Specifies the common message format to
exchange information.
- Web Service Description Language (WSDL)— Represents the common service
specification format.
- Universal Description, Discovery, and Integration (UDDI)— Specifies a platform-
independent framework to describe services, discover businesses, and integrate business
services by using the Internet.

Data type, data element, data object, structure types and structures, table

Declarative statements
TYPE, DATA, CONSTANTS, PARAMETERS, SELECT-OPTIONS, and TABLES

DATA:
l_amount TYPE REF TO f,
l_consumer(30) TYPE c.

CONSTANTS:
con_pi TYPE f VALUE ‘3.41’,
con_eacc_fld_fiscyear TYPE string VALUE ‘FISCYEAR’.

Parametrs :
PARAMETERS p_input TYPE c LENGTH 20.
WRITE : 'The input was:', p_input.
the PARAMETERS statement is performing a couple of tasks:
 Declaring a variable called p_input.
 Generating a screen field (screen element) on the selection screen with the
same name as the variable p_input.

PARAMETERS:
p_date TYPE d OBLIGATORY,
p_save TYPE c AS CHECKBOX.

Structure
TYPES : BEGIN OF ty_sflight,
CARRID TYPE S_CARR_ID,
CONNID TYPE S_CONN_ID,
FLDATE TYPE S_DATE,
END OF ty_sflight.
TYPES : BEGIN OF ty_trip,
name TYPE name1,
flight type ty_sflight,
END OF ty_trip.
DATA : st_sflight TYPE ty_sflight,
st_trip TYPE ty_trip.
Modularization statements
LOAD-OF-A-PROGRAM, INITIALIZATION, AT SELECTION SCREEN,
START-OF-SELECTION, END-OF-SELECTION, AT USER-COMMAND, AT LINE-SELECTION,
GET, AT USER COMMAND, AT LINE SELECTION, FORM-ENDFORM, FUNCTION-ENDFUNCTION,
MODULE-ENDMODULE, and METHOD-ENDMETHOD

Control statements
Examples include IF-ELSEIF-ELSE-ENDIF, CASE-WHEN-ENDCASE, CHECK, EXIT, and RETURN.

Call statements
Examples include PERFORM, CALL METHOD, CALL TRANSACTION, CALL SCREEN, SUBMIT,
LEAVE TO TRANSACTION, and CALL FUNCTION.

Operational statements
Examples include ADD, SUBTRACT, MULTIPLY, DIVIDE, SEARCH, REPLACE, CONCATENATE,
CONDENSE, COLLECT, READ TABLE, LOOP AT, INSERT, DELETE, MODIFY, SORT, DELETE
ADJACENT DUPLICATES, APPEND, CLEAR, REFRESH, and FREE.

Database access statements (Open SQL)


Examples include SELECT, SELECT SINGLE, INSERT, UPDATE, DELETE, and MODIFY.
The system variables:

SUBRC: 0 successful, else NOK


TABIX: the number of read lines in a table
DBCNT: the number of read rows in a table
DYNNR: the screen number
TCODE: the current transaction code
UCOMM: the latest user action triggered
MSGID: the message class
MSGTY: the message type (Error, Information …)
MSGNO: the message number

You might also like