<?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: Conversion of WBS Element. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684656#M1767523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arindam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would you please explore a bit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 Aug 2013 06:15:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-31T06:15:32Z</dc:date>
    <item>
      <title>Conversion of WBS Element.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684653#M1767520</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 have an alv report in which i need to display WBS element. I tried to convert it&amp;nbsp; and pass it to alv but it still shows element in alv report as &amp;lt;&amp;lt;&amp;lt;PR00355453&amp;gt;&amp;gt;&amp;gt;. &lt;/P&gt;&lt;P&gt;I tried following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;FUNCTION&lt;/SPAN&gt; &lt;SPAN class="L1S33"&gt;'CONVERSION_EXIT_ABPSP_OUTPUT'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;input&lt;/SPAN&gt;&amp;nbsp; = wa_zfi0200-wbs_element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;output&lt;/SPAN&gt; = wa_zfi0200-wbs_element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 05:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684653#M1767520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-31T05:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of WBS Element.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684654#M1767521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Purushotham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are trying to convert from 8 to 24 char but using same wa_zfi0200-wbs_element in input and output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&amp;nbsp; =&amp;nbsp; wa_zfi0200-wbs_element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;output = wa_zfi0200-wbs_element.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change output reference field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried like this i am getting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data &lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;input &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;output &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;input &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'00000111'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'CONVERSION_EXIT_ABPSP_OUTPUT'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;input&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;input&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OUTPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;output&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S52"&gt;output&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/271276" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 05:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684654#M1767521</guid>
      <dc:creator>former_member209120</dc:creator>
      <dc:date>2013-08-31T05:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of WBS Element.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684655#M1767522</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;The best way might be to just populate the ALV control structure CONVEXIT field to control the same this way the Looping and extra processing in code(via FM usage) can be avoided. Also see if the output data type of the column is appropriate one used for WBS elements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The domain PS_POSNR is the one which has the Conversion Exit built in. Just use it before using the ALV control structure CONVEXIT field by setting it as 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 05:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684655#M1767522</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-08-31T05:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of WBS Element.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684656#M1767523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arindam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would you please explore a bit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 06:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684656#M1767523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-31T06:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of WBS Element.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684657#M1767524</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 think you meant 'Explain'. So the code you must be populating the ALV with the catalog control stucture of type lvc_t_fcat. This basically helps control Grid Functions that are processed during exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say the Internal table that you pass to the ALV will have a field type for the WBS column. Try making that of domain PS_POSNR. the domain will link it to the associated conversion exit that SAP has for WBS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then clear the flag field CONVEXIT this would allow the associated Conversion exit for the domain to work and you get the external format of the WBS in the ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 06:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684657#M1767524</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-08-31T06:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of WBS Element.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684658#M1767525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Purushottam,&lt;/P&gt;&lt;P&gt;If you had declared your WBS variable like &lt;STRONG&gt;PRPS-pspnr&lt;/STRONG&gt;, automatically conversion from &lt;STRONG&gt;NUMC 8&lt;/STRONG&gt; to &lt;STRONG&gt;CHAR 24&lt;/STRONG&gt; will take place in the ALV report.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2013 06:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-wbs-element/m-p/9684658#M1767525</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2013-08-31T06:29:52Z</dc:date>
    </item>
  </channel>
</rss>

