Skip to main content

CREATING PROGRAM AND INTERNAL TABLES.

MESSAGE: 
                     first  basic  concept is  INTERNAL TABLES. so i am                       going with  INTERNAL TABLES,  i will discuss DATA                  DICITIONARY LATER.




    STEPS TO CREATE  THE  PROGRAM(ADDITION):

>> Execute  SE 38 [ABAP Editor]  in the  command          prompt  and  click enter.


>> Provide  the program  name , it must  starts  with Y or  Z.
     ZDEMO_ADD.

>> Click on create.


>> Provide  title [anything ex:  adding two numbers].

>> Select  the type  is EXECUTABLE  PROGRAM.[ because      we can  execute  this  program independently  without            depending on other  program ].

>>Click  on SAVE.

>> Click  on LOCAL OBJECT.

NOTE:
         click  on local object  means  our program will be saved
on   $TMP    Package (default package).


>>Now  you  get  new  screen .

 
PROGRAM:
       
     Data   A  TYPE  I .
     Data   B  TYPE  I .
     Data   C  TYPE  I .
     A = 10.
     B =  20.
      C =  A + B.
    WRITE  C.

STEPS  TO  EXECUTE  OR  RUN  THE PROGRAM:

>> Save  the  program CTRL+S (u can find on top of the               abap  editor in the above diagram.)

>>  Check  the  program  CTRL+F2 (U CAN FIND ON THE             TOP)

>> Activate  the  program  CTRL + F3.

>> ENTER

>>Test  the  program  or  DIRECT PROCESSING (F8).


>> Yo can see the  output.

 message:  see next  post  for  internal table tutorials very                        important.

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...