Skip to Content
author's profile photo Former Member
Former Member

abap

what is screen exit?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2006 at 05:18 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 04:11 AM

    Hi,

    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.

    You can <b>refer to below thread</b> to know more about <b>screen exit</b>

    screen-exit

    <b>Reward if helpful and kindly close the thread if query resolved</b>

    Rgds,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

      http://www.sappoint.com/abap/userexit.pdf

      this is a PDF regarding the exits ....</b>

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 04:23 AM

    Hi,

    Basically exists are known as customer exits. Which means the existing SAP functionality provides us the options to enhance the existing functionality.

    These exists are classified in to,

    Menu Exit

    Screen Exit

    Field Exit

    FM exit

    Sreen Exit:

    This exit facilitates to create a UI element,Sub-screen area etc., in a standard SAP screen.

    If you want to know more about exit send me your email ID, will forward you good documents.

    Regs,

    Venkat Ramanan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 15, 2006 at 04:27 AM

    Hi Siva,

    SAP provides standard transactions to enter data into database. But, client may want to maintain some additional information in SAP other than what is provided.

    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.

    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:

    An append structure in the database table with the new fields.

    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.

    A function group under which the new subscreen has to be created with the new fields.

    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.

    First you find the package for the transaction for which you need to apply screen exits, then goto Tcode->SMOD and give the package name to get the exit names for that package if any.

    Then select the required Exit and goto the components of it and see the corresponding Screen Exits.

    Select the "Screen Exit" and double click on it to see its code for our new implementation there add the newly created screen or subscreen which the exit is provided.

    Then finally you can place these in the project, create this by using CMOD and activate the project and test it.

    Check these links

    SAP help links.

    http://help.sap.com/saphelp_erp2004/helpdata/en/c8/19763443b111d1896f0000e8322d00/frameset.htm

    http://help.sap.com/saphelp_erp2005/helpdata/en/94/bef83770798b76e10000009b38f842/frameset.htm

    http://help.sap.com/saphelp_erp2005/helpdata/en/13/1f2d1a831a43be8a43ecd14170bf1c/frameset.htm

    Some good tutorials :

    www.sapbrain.com/TUTORIALS/TECHNICAL/user_exits_tutorial.html

    http://www.sappoint.com/abap/userexit.pdf

    How to implement a screen exit:

    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

    Hope it was of help

    Thanks,

    Susmitha

    Message was edited by: Susmitha Thomas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2006 at 04:31 AM

    HI

    GOOD

    The following document is about exits in SAP :-

    The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications.

    SAP creates user exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.

    Types of Exits

    There are several different types of user exits. Each of these exits acts as hooks where you can attach or "hang" your own add-ons.

    Menu Exits

    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.

    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.

    Screen Exits

    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.

    Function Module Exits

    Function module exits add functions to R/3 applications. Function module exits play a role in both menu and screen exits.

    When you add a new menu item to a standard pull down menu, you use a function module exit to define the actions that should take place once your menu is activated.

    Function module exits also control the data flow between standard programs and screen exit fields. SAP application developers create function module exits by writing calls to customer functions into the source code of standard R/3 programs.

    These calls have the following syntax:

    CALL CUSTOMER-FUNCTION ‘001’.

    Field Exits

    Field exits allow you to create your own programming logic for any data element in the Dictionary. You can use this logic to carry out checks, conversions, or business-related processing for any screen field. Example: The data element BBBNR identifies a company’s international location number. You might want to set up your R/3 System so that all international location numbers are larger than 100.

    The field exit concept lets you create a special function module that contains this logic.

    You assign the special function module to the data element BBBNR. You then assign the module to any programs and screens in which users can add new international location numbers. When you activate your field exit, the system automatically triggers your special routine whenever a user enters a company location number.

    In 4.6c, you can use "RSMODPRF" program to create field exits.

    An example of a user exits :-

    MODULE user_exit_0001 INPUT

    CASE okcode.

    WHEN 'BACK OR EXIT'.

    CASE sy-dynnr.

    WHEN '100'.

    SET SCREEN 0.

    LEAVE SCREEN.

    WHEN '200'.

                                                                                                                                                            • Note that you can write any code that satisfy your needs. ****

                                                                                                                                                            • But in this case, this was wrote as a sample code for reference sake. ****

                                                                                                                                                            • And you can test it. ****

                                                                                                                                                                                                                                                                                                                SET SCREEN 100.

                                                                                                                                                                                                                                                                                                                LEAVE SCREEN.

                                                                                                                                                                                                                                                                                                                ENDCASE.

                                                                                                                                                                                                                                                                                                                ENDCASE.

                                                                                                                                                                                                                                                                                                                THANKS

                                                                                                                                                                                                                                                                                                                MRUTYUN

                                                                                                                                                                                                                                                                                                              Add a comment
                                                                                                                                                                                                                                                                                                              10|10000 characters needed characters exceeded

                                                                                                                                                                                                                                                                                                            • author's profile photo Former Member
                                                                                                                                                                                                                                                                                                              Former Member
                                                                                                                                                                                                                                                                                                              Posted on Jun 15, 2006 at 07:04 AM

                                                                                                                                                                                                                                                                                                              Hi,

                                                                                                                                                                                                                                                                                                              Screen exit is Predefined area in the standard system reserved for customer-specific subscreens.

                                                                                                                                                                                                                                                                                                              Screen exits refer to areas of a main screen reserved by SAP developers for customers to design their own screens as customer exits.

                                                                                                                                                                                                                                                                                                              Add a comment
                                                                                                                                                                                                                                                                                                              10|10000 characters needed characters exceeded

                                                                                                                                                                                                                                                                                                            • author's profile photo Former Member
                                                                                                                                                                                                                                                                                                              Former Member
                                                                                                                                                                                                                                                                                                              Posted on Jun 15, 2006 at 08:48 AM

                                                                                                                                                                                                                                                                                                              Hai Siva reddy

                                                                                                                                                                                                                                                                                                              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

                                                                                                                                                                                                                                                                                                              Thanks & Regards

                                                                                                                                                                                                                                                                                                              Sreenivasulu P

                                                                                                                                                                                                                                                                                                              Add a comment
                                                                                                                                                                                                                                                                                                              10|10000 characters needed characters exceeded

                                                                                                                                                                                                                                                                                                            • Before answering

                                                                                                                                                                                                                                                                                                              You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
                                                                                                                                                                                                                                                                                                              You must be Logged in to submit an answer.

                                                                                                                                                                                                                                                                                                              Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.