<?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 HELP ON DMEE EXIT MODULE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-dmee-exit-module/m-p/4311186#M1027738</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;I have a requirement to convert the value in the AMOUNT field based on the content of a field RESERVED in the file. So I have deifined an exit module in the Mapping tab of the Amount field which is of the form &lt;/P&gt;&lt;P&gt;DMEE_EXIT_TEMPLATE_IN_MAPPING. However, the export parameter E_VALUE has the value when it leaves the FM but in the end when I generaete the file. I see no value in the file. I.e. I get empty spaces. Ideally there should be negative amount in the file.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone counsel me in this regard please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in the function module is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z_fi_dmee_exit_mapping_amountx.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_INTERFACE) TYPE  DMEE_EXIT_INTERFACE_INCOMING&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(E_VALUE)&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : ls_amount(20) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF i_interface-file_line+1064(1) = '0'.&lt;/P&gt;&lt;P&gt;    ls_amount = i_interface-file_line+773(20).&lt;/P&gt;&lt;P&gt;    ls_amount = ls_amount * -1.&lt;/P&gt;&lt;P&gt;    e_value = ls_amount.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2008 13:06:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-12T13:06:51Z</dc:date>
    <item>
      <title>HELP ON DMEE EXIT MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-dmee-exit-module/m-p/4311186#M1027738</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;I have a requirement to convert the value in the AMOUNT field based on the content of a field RESERVED in the file. So I have deifined an exit module in the Mapping tab of the Amount field which is of the form &lt;/P&gt;&lt;P&gt;DMEE_EXIT_TEMPLATE_IN_MAPPING. However, the export parameter E_VALUE has the value when it leaves the FM but in the end when I generaete the file. I see no value in the file. I.e. I get empty spaces. Ideally there should be negative amount in the file.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone counsel me in this regard please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in the function module is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z_fi_dmee_exit_mapping_amountx.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(I_INTERFACE) TYPE  DMEE_EXIT_INTERFACE_INCOMING&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(E_VALUE)&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : ls_amount(20) type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF i_interface-file_line+1064(1) = '0'.&lt;/P&gt;&lt;P&gt;    ls_amount = i_interface-file_line+773(20).&lt;/P&gt;&lt;P&gt;    ls_amount = ls_amount * -1.&lt;/P&gt;&lt;P&gt;    e_value = ls_amount.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Amber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 13:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-dmee-exit-module/m-p/4311186#M1027738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T13:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: HELP ON DMEE EXIT MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-dmee-exit-module/m-p/4311187#M1027739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in ur program, ur calling this FM and may be u have specified another field name in the export parameter. This field will hold the value returned from the FM. you need to use this field while generation of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2008 13:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-on-dmee-exit-module/m-p/4311187#M1027739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-12T13:17:29Z</dc:date>
    </item>
  </channel>
</rss>

