Skip to main content

ABAB CONTINUATION.........

PARAMETER:
        
      Parameter is keyword ,which accepts the single value at         run time.
    
   syntax :
                     parameter <name> TYPE  datatype.

eg:                  parameter  A  Type  I.
                       parameter B  Type  I.

note:
         DEFAULT is the keyword to provide  the default  value to the          input field.

syntax:
           parameter < name> Type <datatype>default<value>
ex:      parameter A Type  I  default 10.


note:
         OBLIGATORY  is the  keyword ,to provide  input field as mandatory  or compulsary.

syntax:  parameter <name> Type I  obligatory.
eg:        parameter  A Type I obligatory.

note:
         The name of the  parameter should not exceed 8 character length .

 eg:  parameter janardhan  Type I.
                         incorrect name

note:
         Parameter  cannot  accept  FLOAT DATATYPE. Only it accepts  packed decimal [P].

eg:     parameter A Type F[incorrect].

NOTE:
            By  default  a variable  is the character data type and its length is one.

      DATA  A .   here data type of A is char and length is 1.


           INTRODUCING  PROGRAMING:

In   C   language  Addition of two numbers  are written as:


              C                                                    ABAP

 int  a ,b ,c ;                                Data   A    Type  I.
    a = 10;                                    Data   B      Type  I.
    b = 20;                                    Data   C      Type  I.
    c = a + b ;                                    A = 10.
printf (" %d ",  c);                           B = 20.
                                                        C = A + B.
                                                      Write  C.

NOTE:
1. Between each variable or operand  we must provide space.
2. In ABAP  each  statement  end with  period  ' . '    .
3. Write  is the key operational keyword to display the output  in         ABAP.

4. If more  than one  variable  having  the  same  keyword , instead  of maintaing  the same  keyword everytime   we use   chain operator   [  : ] ,and variable are seperated by comma  and  statement end with  period[ . ]

format  [  :   ,  ,  ,  .]

ex:

         Data   A  Type  I.
         Data   B  Type  I.
         Data   C  Type  I.


We  write above lines with chain keyword.

      Data :  A  Type   I,
                  B  Type   I,
                  C  Type   I.
Technical Requirements  to  create   the   program:

1.  Name  of   the   the   program  
               In    ABAP    the  name of the program  must  starts  with   ' y ' or   '  z '   because  A  to  X   are Reserved  for  SAP.


2.   Provide    the   place  /  folder   ,where   we  save  the  program          the  place  or folder   is   called   as   development class  up  to          4.6C    version.
        now  it is   called  as package .

>>  The  latest   version  is  ECC 6 .0 [Enterprise Central Component] .

>>  note:
                $TMP  is   the   default   package   which  is  provided  by  SAP.

MINIMUM  REQUIRMENT  TO INSTALL SAP ABAP  IS  
    320 GB  HARD DISK
    2 GB      RAM    .

message:  In the next post  i will discuss steps to login to  SAP and                    programming.  


Comments

Popular posts from this blog

ABAP BASICS CONTINUEATION

message: daily just follow my post maximum i will cover upto 90% of abap.                   DATA TYPES IN ABAP Data type specifies what type of the variable it is. data types in abap are divided into two categories.                                    NUMERIC DATATYPE                                   CHARACTER DATATYPE         1. Integer  [ I ]                                             1. Char  [ C ]           2. Float       [ F ]                                         ...

STEPS TO LOG ON TO SAP

            STEPS   TO   UP (ON) THE  SERVER: >> Double  click  on   the  SAP  Management  console  on desktop.   >> Select   the   server   , right   click ,   all tasks,  start. >> Provide  the  password. >>Expand  the server [ECC6], double click on the  ABAP WP               Table  in   the  leftside  , contiuncely  click  on  Refresh  button       until  the  status  is  wait   then  minimize  the  server. >>  Check  until  the  status  is  wait  ,if  it is  in  run  status  you             cannot  login.  so  check  until  status  is  wait. ...

INTRODUCTION TO SAP ABAP

                                                        SAP SAP   stands   as Systems Applications  and  Products in data processing. manufacturing unit Purchasing : The    purchasing department purchases  raw materials from the shops . Warehouse: The raw materials which are received  by  the unit is stored in the ware house. Finance: The amount of the raw materials are paid to shops by the finance department. Production: The production department looks after the production from the raw materials which are in the warehouse. Sales and Distribution: This department looks after the sales. Shipping: Shipping department looks after delevering the products from ware houseto the customers. And again finance department collects the amount from the customers. Human resou...