You are hereCoding using ABAP Workbench

Coding using ABAP Workbench


This beginner tutorial was gathered during the development with ABAP lab course at the Informationsystems Chair of the  TU Munich.

We, in team of 4 students, had the project to develop Webdynpro application using ABAP for managing the SAProuttab entries. The SAPRouttab entries are IP or hostname based filter to control the access the SAP systems hosted in SAP University Competence Center at the TU Munich. 

 

 

docs:application:sap:abap1-coding

ABAP Workbench

Beginners guide to start coding and working with the ABAP Workbench.

Settings

  • Change some useful User-Specific Settings: Utilities → Settings → ABAP Editor
    • Tab Editor: Select Front-End Editor (New) & Display all syntax errors
    • Tab Pretty Printer: Indent & Convert Uppercase/Lowercase

Coding ABAP & Web Dynpro

Using Web Dynpro Code Wizard

Click on Web Dynpro Wizard to:

  • Generate method call
  • Start navigation
  • Generate message
  • Generate popup


Using Pattern

Click on the Pattern button to auto generate code

Generate function call

  • Search your function name, wild card is allowed.
  • On continue, the function call template will be generated automatically


Working with ABAP Objects

  • Click on the ABAP Object Patterns
  • Type in your variable name
  • Type in the object type
  • You can browse the object's methods and generate the method call


Generate SELECT from Data Dictionary

  • Select SELECT * FROM and type in or browse the Data Dictionary Type
  • Click Enter
  • Choose the attribute to be included in the code then click on copy.


Others

Finding Reference Documentation

  • View the object description in the ABAP Source Code Editor
    • Declare an attribute with the object name or type in the function call , e.g. <code>wd_context→get_element( )<code>.
      Click on the attribute to switch to the attribute tab and then click on the object type in the Associated Type column
      or click directly in the function call, and the Methods tab of the object will be displayed.
    • To see method's reference you can click on Parameters or Exception button


Find the object's / function's references in your application

  • Use either the button Where-Used List or right-mouse-click on the function and select the Where-Used List

Post new comment

The content of this field is kept private and will not be shown publicly.
  • No HTML tags allowed
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

Search

Weather