Tuesday, July 15, 2008

Screen exits

Screen exits are exits that allow you to use a reserved part of the screen (A subscreen) to display or
input data.

It is determined be SAP where the sub screen will be displayed.

The syntax is: CALL CUSTOMER-SUBSCREEN

The screen exit is not processed untill the corresponding subscreen has been created in an
enhancement project, and the project has been activated.

Note:


Function codes are only processed in the main screens flow logic
You are not allowed to enter a name for the subscreens command field
You are not allowed to define GUI stauses
You are not allowed to enter a value for Next screen
The global data of the program is not available for the subscreen. Data for the subscreen is provided
by function modules. These function modules belongs to the same function group as the subscreen
Subscreens are edited with transaction CMOD. When you activate a project containg subscreens,
the calling screen is regenerated and the subscreen is displayed next time you display the calling
screen
The developer must create the subscreen and the corresponding PBO and PAI modules

How to identify screen exits


Look after CALL CUSTOMER-SUBSCREEN in the screenprogram of the screen you want to modify.
Use transaction CMOD menu Utillities -> SAP enhancements to search for screen exits
Runthe report in the chapter Report for finding User Exit. Search for the words "screen exit" in the
report

An example of a screen exit can be found in an IDES system, transaction BC425_01 screen 200. You
can also take a look on function group WLF2 screen 0206.

No comments: