<?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>Question Re: SAP PI/PO Use one as Many Node functionality in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904582#M4470895</link>
    <description>&lt;P&gt;Hi Niranjan,&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;Use One as Many &lt;/STRONG&gt; to work correctly:&lt;/P&gt;&lt;P&gt;1) 1st two input should have same number of context changes.&lt;/P&gt;&lt;P&gt;2) Last two input i.e. 2nd and 3rd one should have same number of values inside the queue.&lt;/P&gt;&lt;P&gt;Please make sure you are following this logic.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aamir&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2019 14:31:17 GMT</pubDate>
    <dc:creator>former_member202642</dc:creator>
    <dc:date>2019-04-17T14:31:17Z</dc:date>
    <item>
      <title>SAP PI/PO Use one as Many Node functionality</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaq-p/11904578</link>
      <description>&lt;P&gt;Hi Experts, &lt;/P&gt;
  &lt;P&gt;Recently we have migrated all the PI 7.3 version links to SAP PO7.5 sp12, and after that noticed that one of the mapping is getting failed, narrowed it down and found that UseOneAsmany display queue is throwing this error&lt;/P&gt;
  &lt;P&gt;we have not changed anything in the mapping, but somehow it is not liking in latest version, any pointer would be appreciated. &lt;/P&gt;
  &lt;P&gt;My scenario is CREMAS IDOC to Database mapping. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1667651-mm.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Too many values in the first queue in function useOneAsMany. It must have the same number of contexts as the second queue] in class com.sap.aii.mappingtool.flib7.NodeFunctions method useOneAsMany[[Ljava.lang.String;@7069be45, [Ljava.lang.String;@130b7475, [Ljava.lang.String;@19776c6a, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@3eccd84c, com.sap.aii.mappingtool.tf7.rt.Context@36ac246]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;See error logs for details"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaq-p/11904578</guid>
      <dc:creator>former_member404901</dc:creator>
      <dc:date>2019-04-16T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI/PO Use one as Many Node functionality</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904579#M4470892</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1667652-mm1.png" /&gt;&lt;/P&gt;&lt;P&gt;Uploaded the queue information. &lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 16:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904579#M4470892</guid>
      <dc:creator>former_member404901</dc:creator>
      <dc:date>2019-04-16T16:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI/PO Use one as Many Node functionality</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904580#M4470893</link>
      <description>&lt;P&gt;Hello Niranjan,&lt;/P&gt;&lt;P&gt;try adding a mapwithdefault after the DOCNUM. This will Handle Empty Context.&lt;/P&gt;&lt;P&gt;As per the error, you have to maintain the input queues according to the node function's requirement.&lt;/P&gt;&lt;P&gt;1st  input = value you want to repeat &lt;/P&gt;&lt;P&gt;2nd input = How many times it will repeat&lt;/P&gt;&lt;P&gt;3rd input = how the context change will be applied.&lt;/P&gt;&lt;P&gt;2nd and 3rd input should have the same number of values&lt;/P&gt;&lt;P&gt;Another way is , if you have only one source value to repeat, assign that value to a variable in the map and assign that variable to the target.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sugata&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1667663-2019-04-16-14-46-58.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 20:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904580#M4470893</guid>
      <dc:creator>sugata_bagchi2</dc:creator>
      <dc:date>2019-04-16T20:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI/PO Use one as Many Node functionality</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904581#M4470894</link>
      <description>&lt;P&gt;Your first queue is incorrect. It cannot have repeating values or null values. Also, there should be only one value in each context of the first queue.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Isuru&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 11:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904581#M4470894</guid>
      <dc:creator>isuru_fernando24</dc:creator>
      <dc:date>2019-04-17T11:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI/PO Use one as Many Node functionality</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904582#M4470895</link>
      <description>&lt;P&gt;Hi Niranjan,&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;Use One as Many &lt;/STRONG&gt; to work correctly:&lt;/P&gt;&lt;P&gt;1) 1st two input should have same number of context changes.&lt;/P&gt;&lt;P&gt;2) Last two input i.e. 2nd and 3rd one should have same number of values inside the queue.&lt;/P&gt;&lt;P&gt;Please make sure you are following this logic.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aamir&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 14:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904582#M4470895</guid>
      <dc:creator>former_member202642</dc:creator>
      <dc:date>2019-04-17T14:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAP PI/PO Use one as Many Node functionality</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904583#M4470896</link>
      <description>&lt;P&gt;Thank you so much guys for your quick inputs. This was working fine in older version of SAP PI, started getting this issue when we migrated the scenario to SAP PO7.5, I have followed SAP note "2434890 - New Feature : Mapping migration switch for XI 7.0 to PI 7.5 upgrade"    along with Map with Default node function. please find below mapping snippets and error message. I am also planning to open a OSS Message with SAP. Please let me know if you have any further input based on the error and SAP PO 7.5 upgraded version. &lt;/P&gt;&lt;P&gt;Error Message: &lt;/P&gt;&lt;P&gt;Mapping "urn:finance:VendorMasterDetailsToGLUE:map/IM_IDOCZCREMAS_FI_CREMAS05_ZXCREMAS05_TO_MI_VendorMasterDatabaseRequest_IB_ASYNC" failed to execute: MappingException: Mapping failed in runtimeRuntime Exception when executing application mapping program com/sap/xi/tf/_MM_CREMAS05PP_TO_VendorMaster_DBRequest_; Details: com.sap.aii.mappingtool.tf7.MessageMappingException; Runtime exception when processing target-field mapping /ns0:MT_VendorMasterDatabaseRequest/COMP_CODE[2]/TABLE_NAME/access/BATCHKEY(suppressed field); root message: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Too few values in the second queue in function useOneAsMany. The number of values for all contexts must be the same as the number of values for the third queue] in class com.sap.aii.mappingtool.flib7.NodeFunctions method useOneAsMany[[Ljava.lang.String;@259387aa, [Ljava.lang.String;@3cbeb40, [Ljava.lang.String;@4309f482, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@41a51f74, com.sap.aii.mappingtool.tf7.rt.Context@78b27e3d], ApplicationRuntimeException: Runtime Exception when executing application mapping program com/sap/xi/tf/_MM_CREMAS05PP_TO_VendorMaster_DBRequest_; Details: com.sap.aii.mappingtool.tf7.MessageMappingException; Runtime exception when processing target-field mapping /ns0:MT_VendorMasterDatabaseRequest/COMP_CODE[2]/TABLE_NAME/access/BATCHKEY(suppressed field); root message: Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Too few values in the second queue in function useOneAsMany. The number of values for all contexts must be the same as the number of values for the third queue]
 in class com.sap.aii.mappingtool.flib7.NodeFunctions method useOneAsMany[[Ljava.lang.String;@259387aa, [Ljava.lang.String;@3cbeb40, [Ljava.lang.String;@4309f482, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@41a51f74, com.sap.aii.mappingtool.tf7.rt.Context@78b27e3d], MessageMappingException: Runtime exception when processing target-field mapping /ns0:MT_VendorMasterDatabaseRequest/COMP_CODE[2]/TABLE_NAME/access/BATCHKEY(suppressed field)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1667694-com-code.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1667695-batchkey.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1667696-suppressed-value.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 18:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-pi-po-use-one-as-many-node-functionality/qaa-p/11904583#M4470896</guid>
      <dc:creator>former_member404901</dc:creator>
      <dc:date>2019-04-17T18:10:28Z</dc:date>
    </item>
  </channel>
</rss>

