<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: EXIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361904#M806704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Different examination categories are available in the Medical Service&lt;/P&gt;&lt;P&gt;  component of EH&amp;amp;S Occupational Health.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  At present the standard system contains the following examination&lt;/P&gt;&lt;P&gt;  categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Audiogram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Laboratory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Physical&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Pulmonary function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  These examination categories are usually all you need to represent the necessary medical examinations and tests in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     This enhancement gives you the option of defining additional examination&lt;/P&gt;&lt;P&gt;     categories if you require them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The enhancement is made up of seven function module exits and one screen&lt;/P&gt;&lt;P&gt;     exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Enhancement EHSHEX01 contains the following components:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     o   Function module exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         -   EXIT_SAPLEHS00AMBTAET_NEU_001: Transfers the header data for the&lt;/P&gt;&lt;P&gt;             called examination, loads the corresponding data into internal&lt;/P&gt;&lt;P&gt;             tables, and sends the screen number of the user-defined&lt;/P&gt;&lt;P&gt;             subscreen to the main program.&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_002: Transfers the OK code from the&lt;/P&gt;&lt;P&gt;       main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_003: Supplies the indicator for&lt;/P&gt;&lt;P&gt;       registering a data change on the user-defined subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_004: Calls a user-defined detail&lt;/P&gt;&lt;P&gt;       screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_005: If the request to save the data&lt;/P&gt;&lt;P&gt;       is rejected, this exit resets the user-defined internal tables&lt;/P&gt;&lt;P&gt;       when changing to the display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_006: Depending on the action&lt;/P&gt;&lt;P&gt;       indicator, medical tests in (internal) tables are created,&lt;/P&gt;&lt;P&gt;       deleted, initialized, or filled with data by means of an import&lt;/P&gt;&lt;P&gt;       program. Can also lock table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_007: Creates medical tests in the&lt;/P&gt;&lt;P&gt;       corresponding database tables when a medical service is opened.&lt;/P&gt;&lt;P&gt;     o   Screen exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         -   SAPLXEHS00EXAMEXIT: The subscreen belonging to the examination&lt;/P&gt;&lt;P&gt;             category is created in function group SAPLXEHS00EXAMEXIT. The&lt;/P&gt;&lt;P&gt;             number is freely definable and is transferred to function module&lt;/P&gt;&lt;P&gt;             EXIT_SAPLEHS00AMBTAET_NEU_001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         The screen exit is called at the PBO or PAI time for subscreen&lt;/P&gt;&lt;P&gt;         '2579' of function group SAPLEHS00AMBTAET_NEU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     To create your own examination categories, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     1.  In the Implementation Guide for Occupational Health, choose Specify&lt;/P&gt;&lt;P&gt;         Examination Categories and add the key and description for the new&lt;/P&gt;&lt;P&gt;         examination category. For the key, use your namespace '5_' to '9_'&lt;/P&gt;&lt;P&gt;         (for example: '91' "Laboratory - Customer").&lt;/P&gt;&lt;P&gt;   2.  Create a transparent table in the customer namespace of the Data&lt;/P&gt;&lt;P&gt;       Dictionary. This table must have the same key fields as the tables&lt;/P&gt;&lt;P&gt;       T7EHS00_EXA_LAB, T7EHS00_EXA_PHY, T7EHS00_EXA_PUL, and&lt;/P&gt;&lt;P&gt;       T7EHS00_EXA_AUD. The 'TEST_NO' key field is used to differentiate&lt;/P&gt;&lt;P&gt;       between several medical tests in one examination (in laboratory&lt;/P&gt;&lt;P&gt;       tests, for example), and can be ignored if your examination does not&lt;/P&gt;&lt;P&gt;       need this sub-classification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   3.  In addition to this tranparent table, you can create a structure in&lt;/P&gt;&lt;P&gt;       which you use '.include "Tabname"' to include the fields and to&lt;/P&gt;&lt;P&gt;       define any additional fields that you want to display on the&lt;/P&gt;&lt;P&gt;       subscreen (for example, see EHS00S_EXA_LAB for the laboratory test).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   4.  Create the subscreen in the X function group XEHS00EXAMEXIT. To set&lt;/P&gt;&lt;P&gt;       up your subscreen in Screen Painter, use the structure given above.&lt;/P&gt;&lt;P&gt;       The function module EXIT_SAPLEHS00AMBTAET_NEU_001 then also&lt;/P&gt;&lt;P&gt;       transfers the parameter EXAM_MODE. This parameter contains the value&lt;/P&gt;&lt;P&gt;       'C' if the screen fields are meant to be changeable; if not, the&lt;/P&gt;&lt;P&gt;       value is 'D'. In the PBO of your subscreen, use LOOP AT SCREEN and&lt;/P&gt;&lt;P&gt;                                                                     the modification groups to set the input status of the input fields&lt;/P&gt;&lt;P&gt; accordingly.&lt;/P&gt;&lt;P&gt;  5.  In the flow logic of your subscreen, program the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   The SELECT for the data from the database (use the function&lt;/P&gt;&lt;P&gt;          module EXIT_SAPLEHS00AMBTAET_NEU_001 to get the key for the&lt;/P&gt;&lt;P&gt;          WHERE condition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   Data processing by means of internal tables and work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   If required, processing of the OK code that is supplied with&lt;/P&gt;&lt;P&gt;          function module EXIT_SAPLEHS00AMBTAET_NEU_002 (for scrolling,&lt;/P&gt;&lt;P&gt;          sorting or searching in the user-defined subscreen, or for&lt;/P&gt;&lt;P&gt;          navigating in a user-defined detail screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   Navigation in a user-defined detail screen by double-clicking or&lt;/P&gt;&lt;P&gt;          using radio buttons. For this, the OK code is transferred with&lt;/P&gt;&lt;P&gt;          function module EXIT_SAPLEHS00AMBTAET_NEU_002 to the&lt;/P&gt;&lt;P&gt;          user-defined program, so that the relevant internal tables and&lt;/P&gt;&lt;P&gt;       work areas can be filled. The screen number for the detail&lt;/P&gt;&lt;P&gt;       screen is also set. The detail screen is called by function&lt;/P&gt;&lt;P&gt;       module EXIT_SAPLEHS00AMBTAET_NEU_004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   Storage of the data in the database by means of a FORM routine&lt;/P&gt;&lt;P&gt;       with the addition 'ON COMMIT'. This FORM routine is executed if&lt;/P&gt;&lt;P&gt;       a 'COMMIT WORK' is called in the main program. If the data on&lt;/P&gt;&lt;P&gt;       your subscreen has been changed, use the function module&lt;/P&gt;&lt;P&gt;       EXIT_SAPLEHS00AMBTAET_NEU_003 to set the parameter UPDATE_FLAG =&lt;/P&gt;&lt;P&gt;       'X'. If you set this indicator, a query about saving the data&lt;/P&gt;&lt;P&gt;       appears on the screen when you exit from the program&lt;/P&gt;&lt;P&gt;       If you answer 'No' to the query to save, this calls a 'ROLLBACK&lt;/P&gt;&lt;P&gt;       WORK' in the main program. All change indicators are&lt;/P&gt;&lt;P&gt;       initialized, and all changes in the internal tables and work&lt;/P&gt;&lt;P&gt;       areas are cancelled. You can use the function module&lt;/P&gt;&lt;P&gt;       EXIT_SAPLEHS00AMBTAET_NEU_005 to reset this data in a&lt;/P&gt;&lt;P&gt;       user-defined program.&lt;/P&gt;&lt;P&gt;       If you are adding an examination to the main program, the tests&lt;/P&gt;&lt;P&gt;       belonging to this examination must be selected from the database&lt;/P&gt;&lt;P&gt;       and appended to the corresponding internal tables when you call&lt;/P&gt;&lt;P&gt;            the user-defined subscreen. As long as you do not save your&lt;/P&gt;&lt;P&gt;            data, the new examination can still be deleted from the main&lt;/P&gt;&lt;P&gt;            program. Function module EXIT_SAPLEHS00AMBTAET_NEU_006 can also&lt;/P&gt;&lt;P&gt;            be used to delete the tests for the examination from the&lt;/P&gt;&lt;P&gt;            internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    You can use the function group SAPLEHS00_MEDTESTS as a template for the&lt;/P&gt;&lt;P&gt;    steps described above. This function group contains the controls for the&lt;/P&gt;&lt;P&gt;    examination types delivered with the standard system. It also uses the&lt;/P&gt;&lt;P&gt;    same interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    6.  Activate your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    For information on the procedure for using enhancements, call the&lt;/P&gt;&lt;P&gt;    enhancement transaction CMOD and choose Utilities -&amp;gt; Online manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For more information, see BC - Basis -&amp;gt; ABAP Workbench -&amp;gt; BC - Changing&lt;/P&gt;&lt;P&gt; the SAP Standard, as well as the documentation on the individual&lt;/P&gt;&lt;P&gt; function modules for this customer exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 12:20:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T12:20:03Z</dc:date>
    <item>
      <title>EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361903#M806703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI all,&lt;/P&gt;&lt;P&gt; what is the use of EHSHEX01 exit?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 12:18:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361903#M806703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T12:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361904#M806704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Different examination categories are available in the Medical Service&lt;/P&gt;&lt;P&gt;  component of EH&amp;amp;S Occupational Health.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  At present the standard system contains the following examination&lt;/P&gt;&lt;P&gt;  categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Audiogram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Laboratory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Physical&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o   Pulmonary function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  These examination categories are usually all you need to represent the necessary medical examinations and tests in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     This enhancement gives you the option of defining additional examination&lt;/P&gt;&lt;P&gt;     categories if you require them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The enhancement is made up of seven function module exits and one screen&lt;/P&gt;&lt;P&gt;     exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Enhancement EHSHEX01 contains the following components:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     o   Function module exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         -   EXIT_SAPLEHS00AMBTAET_NEU_001: Transfers the header data for the&lt;/P&gt;&lt;P&gt;             called examination, loads the corresponding data into internal&lt;/P&gt;&lt;P&gt;             tables, and sends the screen number of the user-defined&lt;/P&gt;&lt;P&gt;             subscreen to the main program.&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_002: Transfers the OK code from the&lt;/P&gt;&lt;P&gt;       main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_003: Supplies the indicator for&lt;/P&gt;&lt;P&gt;       registering a data change on the user-defined subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_004: Calls a user-defined detail&lt;/P&gt;&lt;P&gt;       screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_005: If the request to save the data&lt;/P&gt;&lt;P&gt;       is rejected, this exit resets the user-defined internal tables&lt;/P&gt;&lt;P&gt;       when changing to the display mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_006: Depending on the action&lt;/P&gt;&lt;P&gt;       indicator, medical tests in (internal) tables are created,&lt;/P&gt;&lt;P&gt;       deleted, initialized, or filled with data by means of an import&lt;/P&gt;&lt;P&gt;       program. Can also lock table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   EXIT_SAPLEHS00AMBTAET_NEU_007: Creates medical tests in the&lt;/P&gt;&lt;P&gt;       corresponding database tables when a medical service is opened.&lt;/P&gt;&lt;P&gt;     o   Screen exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         -   SAPLXEHS00EXAMEXIT: The subscreen belonging to the examination&lt;/P&gt;&lt;P&gt;             category is created in function group SAPLXEHS00EXAMEXIT. The&lt;/P&gt;&lt;P&gt;             number is freely definable and is transferred to function module&lt;/P&gt;&lt;P&gt;             EXIT_SAPLEHS00AMBTAET_NEU_001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         The screen exit is called at the PBO or PAI time for subscreen&lt;/P&gt;&lt;P&gt;         '2579' of function group SAPLEHS00AMBTAET_NEU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     To create your own examination categories, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     1.  In the Implementation Guide for Occupational Health, choose Specify&lt;/P&gt;&lt;P&gt;         Examination Categories and add the key and description for the new&lt;/P&gt;&lt;P&gt;         examination category. For the key, use your namespace '5_' to '9_'&lt;/P&gt;&lt;P&gt;         (for example: '91' "Laboratory - Customer").&lt;/P&gt;&lt;P&gt;   2.  Create a transparent table in the customer namespace of the Data&lt;/P&gt;&lt;P&gt;       Dictionary. This table must have the same key fields as the tables&lt;/P&gt;&lt;P&gt;       T7EHS00_EXA_LAB, T7EHS00_EXA_PHY, T7EHS00_EXA_PUL, and&lt;/P&gt;&lt;P&gt;       T7EHS00_EXA_AUD. The 'TEST_NO' key field is used to differentiate&lt;/P&gt;&lt;P&gt;       between several medical tests in one examination (in laboratory&lt;/P&gt;&lt;P&gt;       tests, for example), and can be ignored if your examination does not&lt;/P&gt;&lt;P&gt;       need this sub-classification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   3.  In addition to this tranparent table, you can create a structure in&lt;/P&gt;&lt;P&gt;       which you use '.include "Tabname"' to include the fields and to&lt;/P&gt;&lt;P&gt;       define any additional fields that you want to display on the&lt;/P&gt;&lt;P&gt;       subscreen (for example, see EHS00S_EXA_LAB for the laboratory test).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   4.  Create the subscreen in the X function group XEHS00EXAMEXIT. To set&lt;/P&gt;&lt;P&gt;       up your subscreen in Screen Painter, use the structure given above.&lt;/P&gt;&lt;P&gt;       The function module EXIT_SAPLEHS00AMBTAET_NEU_001 then also&lt;/P&gt;&lt;P&gt;       transfers the parameter EXAM_MODE. This parameter contains the value&lt;/P&gt;&lt;P&gt;       'C' if the screen fields are meant to be changeable; if not, the&lt;/P&gt;&lt;P&gt;       value is 'D'. In the PBO of your subscreen, use LOOP AT SCREEN and&lt;/P&gt;&lt;P&gt;                                                                     the modification groups to set the input status of the input fields&lt;/P&gt;&lt;P&gt; accordingly.&lt;/P&gt;&lt;P&gt;  5.  In the flow logic of your subscreen, program the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   The SELECT for the data from the database (use the function&lt;/P&gt;&lt;P&gt;          module EXIT_SAPLEHS00AMBTAET_NEU_001 to get the key for the&lt;/P&gt;&lt;P&gt;          WHERE condition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   Data processing by means of internal tables and work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   If required, processing of the OK code that is supplied with&lt;/P&gt;&lt;P&gt;          function module EXIT_SAPLEHS00AMBTAET_NEU_002 (for scrolling,&lt;/P&gt;&lt;P&gt;          sorting or searching in the user-defined subscreen, or for&lt;/P&gt;&lt;P&gt;          navigating in a user-defined detail screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      -   Navigation in a user-defined detail screen by double-clicking or&lt;/P&gt;&lt;P&gt;          using radio buttons. For this, the OK code is transferred with&lt;/P&gt;&lt;P&gt;          function module EXIT_SAPLEHS00AMBTAET_NEU_002 to the&lt;/P&gt;&lt;P&gt;          user-defined program, so that the relevant internal tables and&lt;/P&gt;&lt;P&gt;       work areas can be filled. The screen number for the detail&lt;/P&gt;&lt;P&gt;       screen is also set. The detail screen is called by function&lt;/P&gt;&lt;P&gt;       module EXIT_SAPLEHS00AMBTAET_NEU_004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   -   Storage of the data in the database by means of a FORM routine&lt;/P&gt;&lt;P&gt;       with the addition 'ON COMMIT'. This FORM routine is executed if&lt;/P&gt;&lt;P&gt;       a 'COMMIT WORK' is called in the main program. If the data on&lt;/P&gt;&lt;P&gt;       your subscreen has been changed, use the function module&lt;/P&gt;&lt;P&gt;       EXIT_SAPLEHS00AMBTAET_NEU_003 to set the parameter UPDATE_FLAG =&lt;/P&gt;&lt;P&gt;       'X'. If you set this indicator, a query about saving the data&lt;/P&gt;&lt;P&gt;       appears on the screen when you exit from the program&lt;/P&gt;&lt;P&gt;       If you answer 'No' to the query to save, this calls a 'ROLLBACK&lt;/P&gt;&lt;P&gt;       WORK' in the main program. All change indicators are&lt;/P&gt;&lt;P&gt;       initialized, and all changes in the internal tables and work&lt;/P&gt;&lt;P&gt;       areas are cancelled. You can use the function module&lt;/P&gt;&lt;P&gt;       EXIT_SAPLEHS00AMBTAET_NEU_005 to reset this data in a&lt;/P&gt;&lt;P&gt;       user-defined program.&lt;/P&gt;&lt;P&gt;       If you are adding an examination to the main program, the tests&lt;/P&gt;&lt;P&gt;       belonging to this examination must be selected from the database&lt;/P&gt;&lt;P&gt;       and appended to the corresponding internal tables when you call&lt;/P&gt;&lt;P&gt;            the user-defined subscreen. As long as you do not save your&lt;/P&gt;&lt;P&gt;            data, the new examination can still be deleted from the main&lt;/P&gt;&lt;P&gt;            program. Function module EXIT_SAPLEHS00AMBTAET_NEU_006 can also&lt;/P&gt;&lt;P&gt;            be used to delete the tests for the examination from the&lt;/P&gt;&lt;P&gt;            internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    You can use the function group SAPLEHS00_MEDTESTS as a template for the&lt;/P&gt;&lt;P&gt;    steps described above. This function group contains the controls for the&lt;/P&gt;&lt;P&gt;    examination types delivered with the standard system. It also uses the&lt;/P&gt;&lt;P&gt;    same interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    6.  Activate your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Note:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    For information on the procedure for using enhancements, call the&lt;/P&gt;&lt;P&gt;    enhancement transaction CMOD and choose Utilities -&amp;gt; Online manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For more information, see BC - Basis -&amp;gt; ABAP Workbench -&amp;gt; BC - Changing&lt;/P&gt;&lt;P&gt; the SAP Standard, as well as the documentation on the individual&lt;/P&gt;&lt;P&gt; function modules for this customer exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 12:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361904#M806704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T12:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: EXIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361905#M806705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this related thread&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-is-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-is-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 12:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exit/m-p/3361905#M806705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T12:29:59Z</dc:date>
    </item>
  </channel>
</rss>

