<?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 user exit function module include how to write the code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100115#M1360244</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;&lt;/P&gt;&lt;P&gt;i am creating user exit  for ME22N  using this enhance  MM06E005 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this i created subscreen and set some fields .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that data has to be stoe in EKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the include i have to write the logic plz guide me how to follow .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once i enter it will store on wish internal table and wish internal table to shall i move to EKPO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Tcode is ME23N how to display data in disable mode.&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;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2009 12:53:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-09T12:53:22Z</dc:date>
    <item>
      <title>user exit function module include how to write the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100115#M1360244</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;&lt;/P&gt;&lt;P&gt;i am creating user exit  for ME22N  using this enhance  MM06E005 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this i created subscreen and set some fields .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that data has to be stoe in EKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the include i have to write the logic plz guide me how to follow .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once i enter it will store on wish internal table and wish internal table to shall i move to EKPO .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Tcode is ME23N how to display data in disable mode.&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;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 12:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100115#M1360244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T12:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: user exit function module include how to write the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100116#M1360245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the function module interface of the user exit and see what structures are available to you ?&lt;/P&gt;&lt;P&gt;You will have to declare your own internal tables and pass the data to the tables parameter in the function module.&lt;/P&gt;&lt;P&gt;Press Enter to skip the warning message and you can go into the include and write your code. &lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 12:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100116#M1360245</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-09-09T12:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: user exit function module include how to write the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100117#M1360246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the code inside the function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once i enter data in custom field the below wish table it will store.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPMM06E_016.&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;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(I_EKPO) LIKE  EKPO STRUCTURE  EKPO&lt;/P&gt;&lt;P&gt;*"     VALUE(I_AKTYP)&lt;/P&gt;&lt;P&gt;*"     VALUE(I_CI_EKPO) LIKE  EKPO_CI STRUCTURE  EKPO_CI&lt;/P&gt;&lt;P&gt;*"     VALUE(I_BSTYP) LIKE  EKKO-BSTYP&lt;/P&gt;&lt;P&gt;*"     VALUE(I_NO_SCREEN)&lt;/P&gt;&lt;P&gt;*"     VALUE(I_LFA1) LIKE  LFA1 STRUCTURE  LFA1&lt;/P&gt;&lt;P&gt;*"     VALUE(I_LFM1) LIKE  LFM1 STRUCTURE  LFM1&lt;/P&gt;&lt;P&gt;*"     VALUE(I_EKKO) LIKE  EKKO STRUCTURE  EKKO&lt;/P&gt;&lt;P&gt;*"     VALUE(I_REKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_KEKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_AEKPO) LIKE  EKPO STRUCTURE  EKPO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_REBAN) LIKE  EBAN STRUCTURE  EBAN OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_MT06E) LIKE  MT06E STRUCTURE  MT06E OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_EINA) LIKE  EINA STRUCTURE  EINA OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_EINE) LIKE  EINE STRUCTURE  EINE OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_EKPO_OLD) LIKE  EKPO STRUCTURE  EKPO OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_KOMP) LIKE  KOMP STRUCTURE  KOMP OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(I_ENJ_CALL) OPTIONAL&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      TEKPO STRUCTURE  BEKPO OPTIONAL&lt;/P&gt;&lt;P&gt;*"      TEKET STRUCTURE  BEKET OPTIONAL&lt;/P&gt;&lt;P&gt;*"      TEKKN STRUCTURE  EKKNU OPTIONAL&lt;/P&gt;&lt;P&gt;*"      TKOMV STRUCTURE  KOMV OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZXM06U41 .&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside the INCLUDE ZXM06U41 .  i writen this code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  Include           ZXM06U41&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :&lt;/P&gt;&lt;P&gt;      FS_EKPO TYPE EKPO_CI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( SY-TCODE EQ  'ME22N' OR SY-TCODE EQ 'ME23N'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OR SY-TCODE EQ 'ME22' OR SY-TCODE EQ 'ME23' ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT TEKPO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF ( TEKPO-EBELN EQ i_EKPO-EBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        AND TEKPO-EBELP EQ i_EKPO-EBELP ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    EKPO_CI-ZMATERIAL = TEKPO-ZMATERIAL.&lt;/P&gt;&lt;P&gt;    EKPO_CI-ZQUANTITY = TEKPO-ZQUANTITY.&lt;/P&gt;&lt;P&gt;    EKPO_CI-ZUNIT     = TEKPO-ZUNIT.&lt;/P&gt;&lt;P&gt;    EKPO_CI-ZPRICE    = TEKPO-ZPRICE.&lt;/P&gt;&lt;P&gt;    EKPO_CI-ZCURRENCY = TEKPO-ZCURRENCY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 13:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100117#M1360246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-09T13:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: user exit function module include how to write the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100118#M1360247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please be more clear in your requirement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2009 13:36:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-function-module-include-how-to-write-the-code/m-p/6100118#M1360247</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-09-09T13:36:15Z</dc:date>
    </item>
  </channel>
</rss>

