<?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: Problem loading hierarchy from BW to BPC + Javascript in Financial Management Q&amp;A</title>
    <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524349#M204313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vadim, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. And yes, before posting this topic yesterday I tried that, but got same results. The only thing is that I pointed to the same sheet NODE_ID for both NODENAME and PARENT fields. I'll try with 2 different conversion sheets but anyway it should work if I point to the same and it doesn't. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 12:01:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-02-03T12:01:15Z</dc:date>
    <item>
      <title>Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaq-p/11524340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been facing an issue trying to load a hierarchy (0COSTCENTER) from BW to BPC. The ID of the nodes are 0CO_AREA + " " + 0COSTCENTER. That space is an error on productive system, and cannot be changed on ERP side, so we want to handle it in the BPC layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, in the first chain (/CPMB/IMPORT_IOBJ_MASTER), I constructed artificially the same structure &lt;SPAN style="font-size: 13.3333px;"&gt;0CO_AREA + 0COSTCENTER (the space is already there) for both costcenter and hierarchy nodes (created at base level initially). Here, in order to remove the space, I applied the well-known statement in my CF (and works like a charm):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 456px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="179"&gt;EXTERNAL&lt;/TD&gt;&lt;TD class="xl63" width="277"&gt;INTERNAL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17"&gt;*&lt;/TD&gt;&lt;TD class="xl64"&gt;js:%external%.toString().replace(/\s+/g,"")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when I'm trying to load the hierarchy (&lt;SPAN style="font-size: 13.3333px;"&gt;/CPMB/IMPORT_IOBJ_HIER chain), I try to apply the same CF rule to the field NODENAME, but it's like is not taking it, throwing the following error:&lt;/SPAN&gt;&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/879681" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, it tries to lookup for the original nodes (with space), but my expected behavior would be that once the NODENAME is treated by CF, just after that would be the moment for lookup for the nodes and create the hierarchy. I tried to put any other rule like:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp; "hello", but it doesn't enter into any CF rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach SS from my TF and CF:&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/879682" /&gt;&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/879713" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any sugestions? Since 0COSTCENTER it's an standard InfoObjetc, I wouldn't like to touch any transformations &lt;SPAN style="font-size: 13.3333px;"&gt;from BW side&lt;/SPAN&gt; in order to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 23:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaq-p/11524340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-02T23:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524341#M204305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ups, what about conversion for PARENT to remove spaces?&lt;/P&gt;&lt;P&gt;Same as for NODENAME!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 05:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524341#M204305</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2016-02-03T05:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524342#M204306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to modify BW transformations , there is another option in BPC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can implement UJD_ROUTINE to write a start routine.&amp;nbsp; Data from BW will be captured through the implemenation of this BADI &lt;STRONG&gt;IR_DATA &lt;/STRONG&gt;and you can cleanse the data, i.e remove line feed, carriage feed etc., using abap statements before importing to BPC . Please check with the ABAP guy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call this start routine in the transformation file in&amp;nbsp; the options sections : &lt;/P&gt;&lt;P&gt;OPTIONS: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;STARTROUTINE=&amp;lt;BADIFilter name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Pl. try this option &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 07:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524342#M204306</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2016-02-03T07:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524343#M204307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ROUTINE BADI just to remove space from ID?? Absolutely strange idea...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 08:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524343#M204307</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2016-02-03T08:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524344#M204308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use the attached java script.&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/880046" /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sudhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 08:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524344#M204308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-03T08:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524345#M204309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Sudhir!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you think that the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;js:%external%.split(' ').join('')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is better then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;js:%external%.toString().replace(/\s+/g,"")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both codes are equivalents! Please read some JavaScript tutorial...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 09:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524345#M204309</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2016-02-03T09:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524346#M204310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not only for removing spaces. Other transformation logic can also written ( if required ) to cleanse or modify the data just the way the BW transformation does. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 09:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524346#M204310</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2016-02-03T09:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524347#M204311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any complex transformation logic can be programmed in the routine badi, but this is not related to the topic author's case!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 09:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524347#M204311</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2016-02-03T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524348#M204312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vadim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the clarification. I am not very handy with JS.&lt;/P&gt;&lt;P&gt;Will surely go through few JS notes &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sudhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 09:39:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524348#M204312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-03T09:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524349#M204313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vadim, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. And yes, before posting this topic yesterday I tried that, but got same results. The only thing is that I pointed to the same sheet NODE_ID for both NODENAME and PARENT fields. I'll try with 2 different conversion sheets but anyway it should work if I point to the same and it doesn't. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 12:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524349#M204313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-03T12:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524350#M204314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sudhir, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned in my post, the load is not taking any rule. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW I tried that, and works but only for my first load (master data, not hierarchy data) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 12:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524350#M204314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-03T12:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524351#M204315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ups! I see typo error!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not NODE_NAME but NODENAME in CONVERSION section!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 12:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524351#M204315</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2016-02-03T12:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem loading hierarchy from BW to BPC + Javascript</title>
      <link>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524352#M204316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lol no way hahahaha... I'll correct and I'll tell you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 12:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/financial-management-q-a/problem-loading-hierarchy-from-bw-to-bpc-javascript/qaa-p/11524352#M204316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-02-03T12:45:58Z</dc:date>
    </item>
  </channel>
</rss>

