<?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: Assign blank space to numeric variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028699#M1609643</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;you can use string type of variable in smartforms then u can pass numc values is not initial means &lt;/P&gt;&lt;P&gt;else u can clear that string type variable and pass it it will come like blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 08:36:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-28T08:36:47Z</dc:date>
    <item>
      <title>Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028698#M1609642</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;val1 type numc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the invoice programe, we are showing the free issue qty.&lt;/P&gt;&lt;P&gt;free issue qty is assign to the val1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if val1 = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to print blank value in the smartform .&lt;/P&gt;&lt;P&gt;so i need to assign blank space to the val1 (type numc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the blank purpose i m using below code.&lt;/P&gt;&lt;P&gt;currently val1 type string.&lt;/P&gt;&lt;P&gt;CONCATENATE '' '' INTO val1 RESPECTING BLANKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 08:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028698#M1609642</guid>
      <dc:creator>former_member203806</dc:creator>
      <dc:date>2011-07-28T08:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028699#M1609643</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;you can use string type of variable in smartforms then u can pass numc values is not initial means &lt;/P&gt;&lt;P&gt;else u can clear that string type variable and pass it it will come like blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 08:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028699#M1609643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T08:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028700#M1609644</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;There are 2 ways viz:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Define another variable val2 with type char. Put a check if val1 = 0 then pass the value of val1 into val2. &lt;/P&gt;&lt;P&gt;2. In smartforms  I hope you are displaying free issue qty by a text element. Double click on the text element. Go to 'Conditions' tab and put a check If val1 NE 0 or val1 NE INITIAL.&lt;/P&gt;&lt;P&gt;This means free issue qty will be displayed as a blank space if val1 having 0 value and free issue qty will have some value if val1 is not equal to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using smartforms you can go for option 2. Hope this clarifies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Atanu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Atanu Mukherjee on Jul 28, 2011 11:45 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:37:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028700#M1609644</guid>
      <dc:creator>atanu_mukherjee</dc:creator>
      <dc:date>2011-07-28T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028701#M1609645</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;&lt;STRONG&gt;no need to convert numeric format to string .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;do the following steps:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;1)Double click on the text element. &lt;/P&gt;&lt;P&gt;2) Go to 'Conditions' tab and put condition like val1 NE 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you give the condition val1 contains 0 means it wont display otherwise it will display the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dhina DMD on Jul 28, 2011 11:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028701#M1609645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T09:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028702#M1609646</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 m using the same text for item qty and free issue qty.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028702#M1609646</guid>
      <dc:creator>former_member203806</dc:creator>
      <dc:date>2011-07-28T09:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028703#M1609647</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 use the condition check effect will be same for both the quantities.  If val1 is having 0 values then for the both the quantities space will be printed. Can you be a bit more specific about the problem you are facing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Atanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:55:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028703#M1609647</guid>
      <dc:creator>atanu_mukherjee</dc:creator>
      <dc:date>2011-07-28T09:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028704#M1609648</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;  How you create a line type in your smartforms whether the item qty and free issue&lt;/P&gt;&lt;P&gt;qty is same column or different column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make the line type as different column tats good for the above logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028704#M1609648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T09:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028705#M1609649</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;Both feilds , im using in same coloumn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 10:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028705#M1609649</guid>
      <dc:creator>former_member203806</dc:creator>
      <dc:date>2011-07-28T10:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Assign blank space to numeric variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028706#M1609650</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; you need to display the both field in all the item?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;if Yes means do the follow the steps:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) add one more cell in your line type make both qty should be in different cell&lt;/P&gt;&lt;P&gt;2) create a text element for free issue qty and put the above condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;if No Means :&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how you restrict to print either free issue qty value or item qty value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 10:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-blank-space-to-numeric-variable/m-p/8028706#M1609650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T10:16:02Z</dc:date>
    </item>
  </channel>
</rss>

