<?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: abap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996359#M75367</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 thing the problem is not with paragraph format, becase the currency field always fill blank spaces as the prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define one character type data in the global definitions with 15 length&lt;/P&gt;&lt;P&gt;ex . l_price like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert one program line in the above of your text element&lt;/P&gt;&lt;P&gt;there you assign &lt;/P&gt;&lt;P&gt;l_price = neprice.&lt;/P&gt;&lt;P&gt;condense l_price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print  l_price ( change the text element )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2005 04:30:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-27T04:30:02Z</dc:date>
    <item>
      <title>abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996357#M75365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to display some values read into the internal table within a 'TEXT WINDOW' in the smartform in a properly aligned manner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each field of the itab has a currency value with the field length of 13. Irrespective of whether it has any value in it it displays a lot of empty spaces and displays at the end of the window, at times it wraps around in the next line,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read all the currency values into the itab and read the itab through 'Form interface' into the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i align these values which come one below the other in the window of the form ?&lt;/P&gt;&lt;P&gt;Infact in the 'smartstyle' I have the paragraph format as 'left-align'&lt;/P&gt;&lt;P&gt;The window should look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cxxxx1         13144.50 (currency field of value 13)&lt;/P&gt;&lt;P&gt;Cxxxx2          234.67- (currency field of value 13)&lt;/P&gt;&lt;P&gt;Cxxxx3        42424.34  (currency field of value 13)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 21:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996357#M75365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T21:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996358#M75366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to define "Paragraph Formats". To do this you also need to define your opwn "Smart Style".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to start from the beginning because I feel it is easier for me to explain things. If I go over bits you already know I apologise but please bear with me.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;First look at your SmartForm's default Style (see the "Output Options" tab in the "Form Attributes". We are going to copy this Style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go back to transaction "SMARTFORMS" and enter in your Style and copy it to your "Z" style. Open up your "Z" style. We are now going to create a new Paragraph Format. Right Click the Paragraph Format node on the left hand side and select "Create Node".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give your new Paragraph Format a name (let's call it Z1). Give it a description and then define your margins and spacing (in the "Indents and Spacing" tab) and also the fonts (in the "Fonts" tab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you get to the "Tabs" tab, you define your column alignments. Think of these alignments as pressing the "Tab" button in MS Word. Once you have defined your "Tabs", save and activate your Style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go back to your SmartForm and define your "Z" style as your default (remember the Output Options under Form Attributes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to the Text Window with the currency values. Define your "Z1" Paragraph format and use a ",," to indicate a new tab eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Z1 &amp;amp;BSEG-WRBTR&amp;amp;,,&amp;amp;BSEG-DMBTR&amp;amp;,,....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Kindly assign Reward Points to the posts you find helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 22:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996358#M75366</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-09-26T22:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996359#M75367</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 thing the problem is not with paragraph format, becase the currency field always fill blank spaces as the prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define one character type data in the global definitions with 15 length&lt;/P&gt;&lt;P&gt;ex . l_price like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert one program line in the above of your text element&lt;/P&gt;&lt;P&gt;there you assign &lt;/P&gt;&lt;P&gt;l_price = neprice.&lt;/P&gt;&lt;P&gt;condense l_price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print  l_price ( change the text element )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2005 04:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap/m-p/996359#M75367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-27T04:30:02Z</dc:date>
    </item>
  </channel>
</rss>

