Sunday 16 June 2013

How to write a simple ABAP program in SAP?

In the following post we will see how to write a simple ABAP program.
  • Login to SAP
  • Go to transaction SE38
  • Enter new program name (Say ZTEST1) starting with Y or Z (All custom programs will start with Y or Z in SAP).
  • Enter program name and click on CREATE button.

  • In the next screen, enter the program TITLE and select the type of the program as ‘Executable Program’ and click on SAVE.
  • In the editor screen write the below code.

WRITE in SAP is similar to PRINTF statement in C.
  • Press ‘F8’ for executing the programs. Below is the output of the program.


Refer the below video.


Regards,
Venugopal M N






2 comments:

  1. Latest Govt Bank Railway Jobs 2016


    Some truly fantastic content on this internet site,I appreciate your writing....................

    ReplyDelete
  2. @ Ramys & Sreenivasa,

    Thanks for your valuable feedback. Will share more details in the coming days.

    ReplyDelete