<?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: Field Conversions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608939#M273190</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;If  you have declared the variable i.e number in your case as type i ,then you can edit the output with '-' mask in front&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have decared the number as type c. then you can use this FM &lt;/P&gt;&lt;P&gt;CLOI_PUT_SIGN_IN_FRONT and just pass the variable that holds the negative value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If number &amp;lt; 0.&lt;/P&gt;&lt;P&gt;sign = '-'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;sign = '+'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;concatenate sign number into number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest to go for FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;VENKI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 13:02:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T13:02:20Z</dc:date>
    <item>
      <title>Field Conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608936#M273187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a currency field containing e.g. 1000-. An output file requires that a '-' sign is in front e.g. '-1000'.&lt;/P&gt;&lt;P&gt;Of course any empty spaces must be deleted so that it doesn't look like  '-        1000'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We could do with CONDENSE etc but have 70 fields with which to do this change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any customizing that can do this or does anyone know of a neat solution? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608936#M273187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field Conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608937#M273188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way is to use the function moduile:&lt;/P&gt;&lt;P&gt;CLOI_PUT_SIGN_IN_FRONT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608937#M273188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Field Conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608938#M273189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if all the fields are the currency fields the do for one than automatically it ll come for others also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont think there is any customizing program which can help you in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608938#M273189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Field Conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608939#M273190</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;If  you have declared the variable i.e number in your case as type i ,then you can edit the output with '-' mask in front&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have decared the number as type c. then you can use this FM &lt;/P&gt;&lt;P&gt;CLOI_PUT_SIGN_IN_FRONT and just pass the variable that holds the negative value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If number &amp;lt; 0.&lt;/P&gt;&lt;P&gt;sign = '-'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;sign = '+'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;concatenate sign number into number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest to go for FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;VENKI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608939#M273190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T13:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608940#M273191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dWYER,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just trying to know what are the actual limitations to ur query ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this works cant we handle this through a zfm ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im just giving a blinder shot ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;VIjay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : P1 LIKE VBAK-WAERK VALUE '2300',&lt;/P&gt;&lt;P&gt;       P2 LIKE VBAK-WAERK VALUE '3300',&lt;/P&gt;&lt;P&gt;       RES LIKE VBAK-WAERK,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      RES2(15).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       RES2 LIKE VBAK-WAERK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RES = P1 - P2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       DATA: TEXT1(1) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       SEARCH RES FOR '-'.&lt;/P&gt;&lt;P&gt;       IF SY-SUBRC = 0 AND SY-FDPOS &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;         SPLIT RES AT '-' INTO RES2 TEXT1.&lt;/P&gt;&lt;P&gt;         CONDENSE RES2.&lt;/P&gt;&lt;P&gt;         CONCATENATE '-' RES2 INTO RES2.&lt;/P&gt;&lt;P&gt;       ELSE.&lt;/P&gt;&lt;P&gt;         EXIT.&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;WRITE RES2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 14:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-conversions/m-p/1608940#M273191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T14:01:39Z</dc:date>
    </item>
  </channel>
</rss>

