<?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: USEREXITS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187643#M759194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First in the table EKKO double clink on CI_EKKODB and create that customer include and add new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to add the fields at header level implement below user exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_006&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Item level&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_016&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Subscreen from SE51 Transaction Program SAPLXM06 &lt;/P&gt;&lt;P&gt;Screen 0101 for header, 0111 for Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2007 12:58:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-10T12:58:30Z</dc:date>
    <item>
      <title>USEREXITS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187641#M759192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any body tell hw to add customer fields in purchase document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got the user exit for that it  is MM06E005&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hw can i do it... can anybody gv me the code for it..... plz help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 12:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187641#M759192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T12:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXITS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187642#M759193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   look in txn CMOD or SMOD, check enhancement 0VRF0001. It uses function module EXIT_SAPL0VRF_001. It is used to manipulate route determination for SD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DATA: ls_xvbpa LIKE xvbpa,&lt;/P&gt;&lt;P&gt;          lf_aland LIKE tvst-aland,&lt;/P&gt;&lt;P&gt;          lf_azone LIKE tvst-azone,&lt;/P&gt;&lt;P&gt;          lf_lland LIKE trolz-lland,&lt;/P&gt;&lt;P&gt;          lf_lzone LIKE trolz-lzone,&lt;/P&gt;&lt;P&gt;          ls_vbadr LIKE vbadr,&lt;/P&gt;&lt;P&gt;          ls_xvbap LIKE xvbap,&lt;/P&gt;&lt;P&gt;          ls_tvst LIKE tvst,&lt;/P&gt;&lt;P&gt;          lv_route LIKE trolz-route.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    LOOP AT xvbap INTO ls_xvbap.&lt;/P&gt;&lt;P&gt;      IF NOT ls_xvbap-vstel IS INITIAL.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE * FROM tvst&lt;/P&gt;&lt;P&gt;          INTO ls_tvst&lt;/P&gt;&lt;P&gt;         WHERE vstel EQ ls_xvbap-vstel.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          lf_aland = ls_tvst-aland.&lt;/P&gt;&lt;P&gt;          lf_azone = ls_tvst-azone.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      READ TABLE xvbpa INTO ls_xvbpa WITH KEY vbeln = ls_xvbap-vbeln&lt;/P&gt;&lt;P&gt;                                              posnr = ls_xvbap-posnr&lt;/P&gt;&lt;P&gt;                                              parvw = 'Q1'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'SD_ADDRESS_GET'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            fif_address_number      = ls_xvbpa-adrnr&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            fes_address             = ls_vbadr&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            address_not_found       = 1&lt;/P&gt;&lt;P&gt;            address_type_not_exists = 2&lt;/P&gt;&lt;P&gt;            no_person_number        = 3&lt;/P&gt;&lt;P&gt;            OTHERS                  = 4.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          lf_lland = ls_vbadr-land1.&lt;/P&gt;&lt;P&gt;          lf_lzone = ls_vbadr-lzone.&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;      CALL FUNCTION 'SD_ROUTE_DETERMINATION'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_aland             = lf_aland&lt;/P&gt;&lt;P&gt;          i_azone             = lf_azone&lt;/P&gt;&lt;P&gt;          i_lland             = lf_lland&lt;/P&gt;&lt;P&gt;          i_lzone             = lf_lzone&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          e_route             = lv_route&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          no_route_found      = 1&lt;/P&gt;&lt;P&gt;          departure_error     = 2&lt;/P&gt;&lt;P&gt;          destination_error   = 3&lt;/P&gt;&lt;P&gt;          invalid_generic_key = 4&lt;/P&gt;&lt;P&gt;          customer_exit_error = 5&lt;/P&gt;&lt;P&gt;          OTHERS              = 6.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        ls_xvbap-route = lv_route.&lt;/P&gt;&lt;P&gt;        MODIFY xvbap FROM ls_xvbap TRANSPORTING route.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&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, 10 Dec 2007 12:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187642#M759193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T12:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXITS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187643#M759194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First in the table EKKO double clink on CI_EKKODB and create that customer include and add new fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to add the fields at header level implement below user exits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_006&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Item level&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_016&lt;/P&gt;&lt;P&gt;EXIT_SAPMM06E_017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Subscreen from SE51 Transaction Program SAPLXM06 &lt;/P&gt;&lt;P&gt;Screen 0101 for header, 0111 for Item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 12:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187643#M759194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXITS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187644#M759195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the enhancement AMPL0001 to add your own fields to purchasing info record transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This enhancement allows customers to specify their own criteria for the &lt;/P&gt;&lt;P&gt;admissibility of manufacturer parts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The procedure is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You define your fields in INCLUDE CI_AMPL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You specify these fields in the subscreen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Using the function exit EXIT_SAPLMBAM_001, you pass on the field &lt;/P&gt;&lt;P&gt;contents from the INCLUDE CI_AMPL to your subscreen. &lt;/P&gt;&lt;P&gt;Customer-specific data can be entered, changed, or displayed on this&lt;/P&gt;&lt;P&gt;subscreen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. You use the function exit EXIT_SAPLMBAM_002 to pass entered and &lt;/P&gt;&lt;P&gt;changed data back to the standard program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chandra Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 13:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187644#M759195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T13:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXITS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187645#M759196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its gving an error mesage field xvbpa is unknown.&lt;/P&gt;&lt;P&gt;hw could i correct it  kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2007 13:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexits/m-p/3187645#M759196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-10T13:14:03Z</dc:date>
    </item>
  </channel>
</rss>

