<?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: IDOC DOCMAS Inbound problems in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581060#M1756456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno,&lt;/P&gt;&lt;P&gt;an implicit enhancements point at the beginning&amp;nbsp; of the function module is not suitable for this task. &lt;/P&gt;&lt;P&gt;Also user-exit (CALL CUSTOMER-FUNCTION '001') exists before the standard segments processing, but all table structures are clearing in standard segments processing form.&lt;/P&gt;&lt;P&gt;An implicit enhancements point at the beginning&amp;nbsp; of the function module can be used, but it is the same way that I written (only after document is created by IDOC_INPUT_DOCMAS). The document will be first created without z-fields data, that why I do not like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 10:11:28 GMT</pubDate>
    <dc:creator>alexey_kozlov</dc:creator>
    <dc:date>2013-08-01T10:11:28Z</dc:date>
    <item>
      <title>IDOC DOCMAS Inbound problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581058#M1756454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to problems with IDOC DOCMAS inbound.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; I have DRAW TABLE extended by z-fields, some of them have currency type (CURR).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The standard inbound interface is going to dump when it is trying to write a string to such a field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Function module IDOC_INPUT_DOCMAS, FORM get_seg_drawm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;IF ls_dntab-datatype NE 'NUMC'.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;IF &amp;lt;fs&amp;gt; IS INITIAL.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;IF NOT ( ( ls_dntab-fieldname = 'AENNR'&amp;nbsp; )&amp;nbsp; OR&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;( ls_dntab-fieldname = 'VRLDAT' ) ).&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&amp;lt;fs&amp;gt; = '!'.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;ENDIF.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I really do not see any reason to do anything with z-fields in this form, but it works so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Is it possible to do something with it without modifying SAP-code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The second problem is that I can not find any user-exit in IDOC_INPUT_DOCMAS to fill z-fields by z-segments data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; So I see only the way to do it only after document is created by IDOC_INPUT_DOCMAS, but I do not like this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you know any suitable user-exit or have any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 08:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581058#M1756454</guid>
      <dc:creator>alexey_kozlov</dc:creator>
      <dc:date>2013-07-31T08:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC DOCMAS Inbound problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581059#M1756455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Alexey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that function module you have an implicit enhancements point, at the beginning&amp;nbsp; of the function module, where you could fill your segment data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/254964" /&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;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 15:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581059#M1756455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-31T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC DOCMAS Inbound problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581060#M1756456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno,&lt;/P&gt;&lt;P&gt;an implicit enhancements point at the beginning&amp;nbsp; of the function module is not suitable for this task. &lt;/P&gt;&lt;P&gt;Also user-exit (CALL CUSTOMER-FUNCTION '001') exists before the standard segments processing, but all table structures are clearing in standard segments processing form.&lt;/P&gt;&lt;P&gt;An implicit enhancements point at the beginning&amp;nbsp; of the function module can be used, but it is the same way that I written (only after document is created by IDOC_INPUT_DOCMAS). The document will be first created without z-fields data, that why I do not like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 10:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581060#M1756456</guid>
      <dc:creator>alexey_kozlov</dc:creator>
      <dc:date>2013-08-01T10:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC DOCMAS Inbound problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581061#M1756457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refering to your first point, maybe you could try enhancing FM NAMETAB_GET in order to filter out your fields in the return table (this is fishy, i know &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1662/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;) , just before the validation that rules out non-numerical fields in form get_seg_drawm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 12:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581061#M1756457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-01T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: IDOC DOCMAS Inbound problems</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581062#M1756458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno &lt;/P&gt;&lt;P&gt;I think you could not do such enhancement in FM NAMETAB_GET, because it is a dictionary FM and can be used in very many places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a temporary decision I did the following for this problem:&lt;/P&gt;&lt;P&gt;an enhancement in the beginning of FORM get_seg_drawm as a copy of that form with EXIT. on the end. In that copy I have corrected the code to exclude z-fields from the processing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 06:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/idoc-docmas-inbound-problems/m-p/9581062#M1756458</guid>
      <dc:creator>alexey_kozlov</dc:creator>
      <dc:date>2013-08-02T06:29:30Z</dc:date>
    </item>
  </channel>
</rss>

