Posts

LIST OF SYSTEM SYMBOLS USED IN A FORM of SAP ABAP :

 SYSTEM SYMBOLS DESCRIPTION DATE Display the current date. DAY Display the current day . DEVICE Specifies an output device,such as Printer,Screen,and Fax. HOURS Display the hours in the context of the current time.  MINUTES Display the minute in the context of the current time.  NAME_OF_MONTH Display the name of the month in the context of the current date .  NEXTPAGE Display the next page number of a form. PAGE Display the current page number of a form.  SECONDS Display the seconds in the context of the current time.   SPACE Inserts a blank space in a form.  TIME Display the current time of the form.  ULINE Underline text in a form.  VLINE Display a vertical line in a form.  YEAR Display the cur...

LIST OF SAP SCRIPT CONTROL COMMANDS in SAP ABAP :

LIST OF SAP SCRIPT CONTROL COMMANDS :   CONTROL COMMANDS DESCRIPTION   ADDRESS Formats   the text specified for the address window in a form.  BOTTOM....  ENDBOTTOM Define the footer text in a window.  BOX,POSITION,SIZE Specify a box or line in a form that needs to be formatted.  CASE, ENDCASE Specify multiple conditions based on which the text is printed in a form.  DEFINE Assign values to text symbols in a form.     HEX, ENDHEX Specify hexadecimal values in a form.  IF, ENDIF Specify conditional text in a form.  INCLUDE Include other text in a form.  NEW-PAGE Insert a page in a form explicitly.   NEW-WINDOW Insert a new main window in a form.  PRINT-CONTROL Insert a print control character in a form. ...

SAP Scripts Sub objects in SAP ABAP :

SAP Scripts Sub objects in SAP ABAP: List of SAP Scripts Sub objects are :  SUB OBJECTS DESCRIPTION 1. HEADER Contain global data of a SAP Script form,such as its page format,page orientation,or the initially used font. It also include basic information about the form,such as its name,description and status.  2. PAGES Define the pages included in a SAP Scripts form. A page can have attributes,such as the name of the next page and the type of the page numbering. 3. WINDOWS Represent the logical units that  do not have a physical position on a page, such as an address or logo window.Every window is assigned a window type,such as a constant window,variable window or a main window, which signifies that this window contains several pages.  4. PAGE                 WINDOW Describe the position and size of a window on a speci...

COMPONENTS OF THE SAP SCRIPTS TOOL in SAP ABAP :

Image
COMPONENTS OF THE SAP SCRIPTS TOOL : The Basic component of the SAP Script tools are : 1. EDITOR . 2. STYLES AND FORMS . 3. COMPOSER or PROCESSOR . 4. PROGRAMMING INTERFACE .  5. DATABASE TABLES . 1).EDITOR: Edit the text in a SAP Script form. The transaction of an application automatically call this editor if you need to maintain texts related to the application. 2).STYLE AND FORM: Define & print the style and layout of SAP Script form. 3).COMPOSER or PROCESSOR: Act as a central output module to prepare final layout and text for an output device by including Style ,various formatting option,and the respective text.  4).PROGRAMMING INTERFACE: Allow you to include SAP Script components into ABAP program and control the output of forms from the program. 5).DATABASE TABLE: Store text,style,and forms.  EDITOR STYLES AND FORMAT PROGRAMMING INTERFACE COMPOSER

FUNCTION MODULE USED IN SAP SCRIPTS of SAP ABAP

FUNCTION MODULE USED IN SAP SCRIPTS: Commonly Used Function Modules For SAP Scripts Forms are :  FUNCTION MODULE          DESCRIPTION OPEN_FORM  Open a form to  display or Print it. CLOSE_FORM  Close a form. START_FORM  Start a new form for  spooling a print  request. WRITE_FORM  Write a text element  in a form. WRITE_FORM_LINES  Write lines of text in  a form. END_FORM  End or terminates the  pool request of  printing  the current  form. CONTROL_FORM  Send a control  statement to a form. READ_FORM_ELEMENTS  Retrieve the  elements of a form.  READ_FORM_LINES  Read the lines of the  elements of a form  and store them in an  internal table.

ADVANTAGES OF SMART FORMS in SAP ABAP

ADVANTAGES OF SMART FORMS : A Smart form  has the following advantages are: 1 . Enables you to create interactive Web forms with input fields, push buttons ,and radio buttons. 2 . Enables you to create the layout and logic of a form by using graphic tools, an operation for which programming knowledge is not necessary.   3 . Display table structures. 4 . Display a coloured output of the text.  5 . Enables you to use the user-friendly and integrated form painter to design forms graphically. 6 . Enable you to draw Smart form tables by using a special control, that is, graphical table painter.   7 . Enables you to display the background graphics using templates. 8 . Enables you to display the format of fonts and paragraphs defined in a Smart style. 9 . Enables you to display the output in the HTML format.

FUNCTION MODULES USED IN ALV REPORTS of SAP ABAP

FUNCTION MODULE(FM) USED IN ALV REPORTS : Using ALV , We can have 3 type of reports :   1).Simple Report.   2).Block Report. 3).Hierarchical Sequential Report. 1).SIMPLE REPORT: The important function modules are: A).REUSE_ALV_LIST_DISPLAY : Output a simple list (single line or several lines) or Display an ALV list as per the parameter defined in the functional call. B). REUSE_ALV_GRID_DISPLAY : Output a simple grid (single line or several lines) or Display an ALV grid as per the parameter defined in the functional call.  C).REUSE_ALV_COMMENTARY_WRITE : List body comment block output or display the list header information. D).REUSE_ALV_EVENTS_GET : Return table of possible events for a list type. E).REUSE_ALV_FIELDCATALOG_MERGE : Create field catalog from dictionary structure or internal table. F).REUSE_ALV_VARIANT : Display a variant selection dialog box. G).REUSE_ALV_VARIANT_EXISTENCE : Check the existence of the variant display....

PROGRAM TO DISPLAY SIMPLE ARITHMETIC OPERATIONS in SAP ABAP :

Program to explain Arithmetic Operation in SAP ABAP using mathematical expression and keyword : ---------------------------------------- ADDITION: ---------------------------------------- PARAMETERS: A TYPE I,                        B TYPE I. DATA C TYPE I. C = A + B.     ***using mathematical expression*** or   ADD A TO B .   ***using keyword*** WRITE: / 'THE SUM OF TWO NUMBERS IS', C. ------------------------------------------------------------- OUTPUT:     A= 10.                   B= 15. ------------------------------------------------------------ THE SUM OF TWO NUMBER IS  C= 25. ------------------------------------------------------------- SUBTRACTION: ---------------------------------------- PARAMETERS: A TYPE I,                        B TYPE I. DATA C TYPE I. ...

DIFFERENCE BETWEEN NATIVE SQL AND OPEN SQL-in SAP ABAP..?

NATIVE SQL   ( DB specific SQL ) OPEN SQL ( ABAP specific SQL   ) 1) . Native SQL allow you to use database-specific SQL statement in an ABAP program. This mean that you can use database table that are not managed by the ABAP Dictionary, and therefore integrate data that is not part of the SAP Web AS ABAP System. 1) . Open SQL allow you to access database table declared in the ABAP Dictionary, regardless of the database platform you are using. As a rule, an ABAP program containing database-specific SQL statement will   not   run under different database system. If your program will be used on more than one database platform, only use Open SQL statement. 2). Native SQL statement access the database directly . 2). A database interface translate SAP Open SQL statement into SQL commands specific to the database in us e. 3). No syntax check is performed what ever is written between EXEC an...