<?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: user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847384#M667068</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;Pls refer below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example code is based on enhancement SUSR0001.This enhancement uses function exit EXIT_SAPLSUSF_001 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Enhancement   : SUSR0001 User Exit after logon to SAP system.&lt;/P&gt;&lt;P&gt;When the User logs in the system ,this exit is called each and every time for every user after logon to the R/3 system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Exit : EXIT_SAPLSUSF_001 .&lt;/P&gt;&lt;P&gt;  Every dialog user passes thrugh this function module after logon,It can be used to execute individual customer checks and send mesages to the user.&lt;/P&gt;&lt;P&gt;TABLE USR02 CONTAINS LOGON DATA  and can be used in this exit to get the user logon data and take necessary actions as required by the customer requirement and even LOG_OFF (not recommended by SAP).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;STEPS REQUIRED FOR IMPLEMETING THE EXIT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1) Open CMOD(Project maintenance) Transaction.Enter a project name starting with Z.Press enter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2) Goto Enhancement window by clicking the enhancement button in the application tool bar.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;3) Write SUSR0001 in the enhancement column and press enter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;4) Goto Components window(It will show al the exits included in this enhancement), in our case only one Function Exit will be shown.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;5) Double click on the Function exit EXIT_SAPLSUSF_001.   &lt;/P&gt;&lt;P&gt;     The following function source code will be displayed in the function editor&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPLSUSF_001.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INCLUDE ZXUSRU01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;6) Double click on the include ZXUSRU01 .If it  will ask to create the include say yes . &lt;/P&gt;&lt;P&gt;7)Write the following code in the include.&lt;/P&gt;&lt;P&gt;DATA W_TEXT(30)  TYPE C.&lt;/P&gt;&lt;P&gt;DATA W_DATE(10)  TYPE C.&lt;/P&gt;&lt;P&gt;WRITE sy-datum TO W_DATE DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;CONCATENATE  ' Date is '  W_DATE  INTO W_TEXT.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    titel           = 'Welcome to Paradise !'&lt;/P&gt;&lt;P&gt;    txt1          = 'Have A Nice Day'  &lt;/P&gt;&lt;P&gt;    txt2          =  W_TEXT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TXT3          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TXT4          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;8)Save the include and activate it .Activate the Project also by going to the menu in CMOD transaction.Now The user exit SUSR0001 has been implemented and is ready to use.&lt;/P&gt;&lt;P&gt;9) Logon to the R/3 system . A dialog box will appear with the message&lt;/P&gt;&lt;P&gt;     Welcome to  Paradise ! with date .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NOTE: BAPIs like BAPI_USER_GET_DETAIL can also be used to get user info or directly read from tables USR02 etc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PP User Exit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This user exit is used in PP and is for u to try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCP20020 User exit for reading info structure when transferring reqts&lt;/P&gt;&lt;P&gt;it contains  function exit&lt;/P&gt;&lt;P&gt;EXIT_SAPMMCP6_020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     When planned independent requirements are transferred from SOP to&lt;/P&gt;&lt;P&gt;     program data, the data is read at material/plant level as standard. You&lt;/P&gt;&lt;P&gt;     can use this user exit to have a greater or smaller number of&lt;/P&gt;&lt;P&gt;     characteristics for data selection. In this case, the data is read on a&lt;/P&gt;&lt;P&gt;     different level than that in the standard system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The interface of this user exit corresponds to that of function module&lt;/P&gt;&lt;P&gt;     'MC_PG_TRANSFER_PBED', but the info structure and the key fields table&lt;/P&gt;&lt;P&gt;     (structure IKEYF) are also transferred. YF). The characteristic&lt;/P&gt;&lt;P&gt;     attributes of the characteristics used for data must be transferred to&lt;/P&gt;&lt;P&gt;     the user exit in field 'Value' of the key fields table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     For further information, see function module: 'MC_PG_TRANSFER_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, check the following links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&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;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&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;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/web/BAdI" target="test_blank"&gt;http://www.esnips.com/web/BAdI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/badi.html" target="test_blank"&gt;http://www.allsaplinks.com/badi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="143565"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 03:29:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T03:29:17Z</dc:date>
    <item>
      <title>user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847381#M667065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello friends&lt;/P&gt;&lt;P&gt; i need two userexit program with transaction code&lt;/P&gt;&lt;P&gt;in this program what we change with all programing code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly send to my mail&lt;/P&gt;&lt;P&gt;babasys12@rediffmail.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 07:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847381#M667065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T07:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847382#M667066</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;Below is an user exit written to control duplicate entry of manual pricing conditions.  This routine executes when user selects the pricing condition and presses enters.  The code checks whether the condition already exists in the entered structure, if yes throws an error message.  This routine is in the inlcude LV69AFZZ.  This code executes in Sale Order as well as Purchase Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form userexit_pricing_check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*{   INSERT         WDEK903547                                        1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Changed by hema on 21.12.2006&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Purpose : To control duplication of pricing condition.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: fld(50) TYPE c,&lt;/P&gt;&lt;P&gt;        val(50) TYPE c,&lt;/P&gt;&lt;P&gt;        ln type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: fld, val, ln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD fld VALUE val LINE ln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if fld = 'KOMV-KSCHL'.&lt;/P&gt;&lt;P&gt;    if val is not initial.&lt;/P&gt;&lt;P&gt;        loop at xkomv where kschl = val.&lt;/P&gt;&lt;P&gt;            message e904 with val.&lt;/P&gt;&lt;P&gt;        endloop.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;    if sy-pfkey &amp;lt;&amp;gt; 'KC'.&lt;/P&gt;&lt;P&gt;        loop at xkomv.&lt;/P&gt;&lt;P&gt;            if xkomv-zaeko = '01'.&lt;/P&gt;&lt;P&gt;                if xkomv-zaehk &amp;lt;&amp;gt; komv-zaehk and xkomv-kschl = komv-kschl and komv-kschl is not initial.&lt;/P&gt;&lt;P&gt;                    message e904 with komv-kschl.&lt;/P&gt;&lt;P&gt;                endif.&lt;/P&gt;&lt;P&gt;            elseif xkomv-zaeko = '00'.&lt;/P&gt;&lt;P&gt;                if sy-tabix &amp;lt;&amp;gt; ln and xkomv-kschl = komv-kschl and komv-kschl is not initial.&lt;/P&gt;&lt;P&gt;                    message e904 with komv-kschl.&lt;/P&gt;&lt;P&gt;                endif.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;        endloop.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*}   INSERT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                               " USEREXIT_PRICING_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above example is understandable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2007 14:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847382#M667066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-23T14:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847383#M667067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;USER EXIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&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;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab038.htm" target="test_blank"&gt;http://www.sap-img.com/ab038.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USER EXIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&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;A href="http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html" target="test_blank"&gt;http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.........&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 03:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847383#M667067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T03:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847384#M667068</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;Pls refer below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example code is based on enhancement SUSR0001.This enhancement uses function exit EXIT_SAPLSUSF_001 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Enhancement   : SUSR0001 User Exit after logon to SAP system.&lt;/P&gt;&lt;P&gt;When the User logs in the system ,this exit is called each and every time for every user after logon to the R/3 system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Exit : EXIT_SAPLSUSF_001 .&lt;/P&gt;&lt;P&gt;  Every dialog user passes thrugh this function module after logon,It can be used to execute individual customer checks and send mesages to the user.&lt;/P&gt;&lt;P&gt;TABLE USR02 CONTAINS LOGON DATA  and can be used in this exit to get the user logon data and take necessary actions as required by the customer requirement and even LOG_OFF (not recommended by SAP).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;STEPS REQUIRED FOR IMPLEMETING THE EXIT&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1) Open CMOD(Project maintenance) Transaction.Enter a project name starting with Z.Press enter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2) Goto Enhancement window by clicking the enhancement button in the application tool bar.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;3) Write SUSR0001 in the enhancement column and press enter.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;4) Goto Components window(It will show al the exits included in this enhancement), in our case only one Function Exit will be shown.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;5) Double click on the Function exit EXIT_SAPLSUSF_001.   &lt;/P&gt;&lt;P&gt;     The following function source code will be displayed in the function editor&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPLSUSF_001.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INCLUDE ZXUSRU01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;6) Double click on the include ZXUSRU01 .If it  will ask to create the include say yes . &lt;/P&gt;&lt;P&gt;7)Write the following code in the include.&lt;/P&gt;&lt;P&gt;DATA W_TEXT(30)  TYPE C.&lt;/P&gt;&lt;P&gt;DATA W_DATE(10)  TYPE C.&lt;/P&gt;&lt;P&gt;WRITE sy-datum TO W_DATE DD/MM/YYYY.&lt;/P&gt;&lt;P&gt;CONCATENATE  ' Date is '  W_DATE  INTO W_TEXT.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    titel           = 'Welcome to Paradise !'&lt;/P&gt;&lt;P&gt;    txt1          = 'Have A Nice Day'  &lt;/P&gt;&lt;P&gt;    txt2          =  W_TEXT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TXT3          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TXT4          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;8)Save the include and activate it .Activate the Project also by going to the menu in CMOD transaction.Now The user exit SUSR0001 has been implemented and is ready to use.&lt;/P&gt;&lt;P&gt;9) Logon to the R/3 system . A dialog box will appear with the message&lt;/P&gt;&lt;P&gt;     Welcome to  Paradise ! with date .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;NOTE: BAPIs like BAPI_USER_GET_DETAIL can also be used to get user info or directly read from tables USR02 etc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PP User Exit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This user exit is used in PP and is for u to try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MCP20020 User exit for reading info structure when transferring reqts&lt;/P&gt;&lt;P&gt;it contains  function exit&lt;/P&gt;&lt;P&gt;EXIT_SAPMMCP6_020&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     When planned independent requirements are transferred from SOP to&lt;/P&gt;&lt;P&gt;     program data, the data is read at material/plant level as standard. You&lt;/P&gt;&lt;P&gt;     can use this user exit to have a greater or smaller number of&lt;/P&gt;&lt;P&gt;     characteristics for data selection. In this case, the data is read on a&lt;/P&gt;&lt;P&gt;     different level than that in the standard system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The interface of this user exit corresponds to that of function module&lt;/P&gt;&lt;P&gt;     'MC_PG_TRANSFER_PBED', but the info structure and the key fields table&lt;/P&gt;&lt;P&gt;     (structure IKEYF) are also transferred. YF). The characteristic&lt;/P&gt;&lt;P&gt;     attributes of the characteristics used for data must be transferred to&lt;/P&gt;&lt;P&gt;     the user exit in field 'Value' of the key fields table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     For further information, see function module: 'MC_PG_TRANSFER_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, check the following links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User Exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&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;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.planetsap.com/userexit_main_page.htm" target="test_blank"&gt;http://www.planetsap.com/userexit_main_page.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/abap26.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/code/abap26.htm&lt;/A&gt;&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;A href="http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/userexit.php" target="test_blank"&gt;http://www.easymarketplace.de/userexit.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/userexit.pdfUser-Exit" target="test_blank"&gt;http://www.sappoint.com/abap/userexit.pdfUser-Exit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.esnips.com/web/BAdI" target="test_blank"&gt;http://www.esnips.com/web/BAdI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/badi.html" target="test_blank"&gt;http://www.allsaplinks.com/badi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="143565"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;diinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 03:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847384#M667068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T03:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847385#M667069</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;check this Link here you get the sample code&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.ittoolbox.com/code/archives.asp?i=10&amp;amp;d=2998&amp;amp;a=s" target="test_blank"&gt;http://sap.ittoolbox.com/code/archives.asp?i=10&amp;amp;d=2998&amp;amp;a=s&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab038.htm" target="test_blank"&gt;http://www.sap-img.com/ab038.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 04:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit/m-p/2847385#M667069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T04:16:21Z</dc:date>
    </item>
  </channel>
</rss>

