abap first prog

Upload: srilakshmi

Post on 23-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 Abap First Prog

    1/1

    Call Transaction SE38.Create a new program.To proceed in an SAP 3.x system you must be registered as a Developer. You get your Developer Key from your Sys. admin in a couple of minutes/hours/days after you applied for it. It must be entered once when you create your first program.

    Program attributes:

    Type: 1Application: SChoose a meaningful title(Save)Choose Development Class &TMP or press Button Local objectNow you can edit the source code.

    Position the cursor in a line number cell. Press F1 for the help of editor linecommands.

    enter i3 which inserts three new rows into your program.

    report zhello.write: / 'hello world'.(Save, Generate, Execute)

    In 3.x you can set your Editor mode in menu /Settings/Editor mode

    (in 2.x this is the only editor mode)

    If you choose Command mode you get an extra input line, where you can execute commands. Position the cursor here and press F1 for the available commands. My favorite one is the HELP command.Try out the HELP WRITE command. What you see now is a hypertext (clickable). I know that this online help is an online meaninglesschaos for the first time, but sooner or later it should become your reference