Show TOC

Step 1: Create an ABAP ProgramLocate this document in the navigation structure

Context

As the first step of migrating ITS services with flow logic, you create an ABAP program that is later to contain the screen control in accordance with the flow logic.

Procedure


  1. In transaction SE80, select the package in which you want to create the ABAP program.

  2. Create a new ABAP program by Start of the navigation path Create Next navigation step Program End of the navigation path from the context menu for the package.

  3. For every existing flow file, create an empty screen by choosing Start of the navigation path Create Next navigation step Screen End of the navigation path from the context menu of the program.

    You can choose any screen number. The screen must contain only an okCode field. You activate the OKCode field by assigning the field its own name on the Element List tab page, such as OKCode.

  4. Define a transaction for the program.

    To do this, in the context menu of the program entry, choose Start of the navigation path Create Next navigation step Transaction End of the navigation path and enter the program and screen number in the transaction properties. The screen number replaces the service parameter ~initialTemplate of the flow logic service file.

Results

You have created an ABAP program that will later contain the screen control in accordance with the flow logic.

You can now continue with Step 2: Create and Adjust an Internet Service and Templates.