<?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 SAPScript  - Fields Question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715728#M312859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to sapscript. This is what i wish to do..&lt;/P&gt;&lt;P&gt;Let's say i want to print the vendor address with the addrnumber,&lt;/P&gt;&lt;P&gt;then take the address from ADRC using the same addrnumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the spec, these are the fields which are required:&lt;/P&gt;&lt;P&gt;Name1, Name2, Name3, Name4, str_suppl1, str_suppl2, street, str_suppl3 and tel_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;P&gt;Kraft Foods Limited&lt;/P&gt;&lt;P&gt;Rm 1606 16/F&lt;/P&gt;&lt;P&gt;Str_suppl2&lt;/P&gt;&lt;P&gt;street&lt;/P&gt;&lt;P&gt;str_suppl3&lt;/P&gt;&lt;P&gt;tel_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is...how to ignore those empty fields.. what if one of the fields required is not filled..will sapscript leave a gap to something like this if str_suppl2 is not field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kraft Foods limit&lt;/P&gt;&lt;P&gt;Rm 1606 16/F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;street&lt;/P&gt;&lt;P&gt;str_suppl3&lt;/P&gt;&lt;P&gt;tel_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyway to ignore the gap so that it will be printed to the next line instead of leaving a line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks all comments are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2006 03:16:04 GMT</pubDate>
    <dc:creator>cywings</dc:creator>
    <dc:date>2006-11-22T03:16:04Z</dc:date>
    <item>
      <title>SAPScript  - Fields Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715728#M312859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to sapscript. This is what i wish to do..&lt;/P&gt;&lt;P&gt;Let's say i want to print the vendor address with the addrnumber,&lt;/P&gt;&lt;P&gt;then take the address from ADRC using the same addrnumber.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the spec, these are the fields which are required:&lt;/P&gt;&lt;P&gt;Name1, Name2, Name3, Name4, str_suppl1, str_suppl2, street, str_suppl3 and tel_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected:&lt;/P&gt;&lt;P&gt;Kraft Foods Limited&lt;/P&gt;&lt;P&gt;Rm 1606 16/F&lt;/P&gt;&lt;P&gt;Str_suppl2&lt;/P&gt;&lt;P&gt;street&lt;/P&gt;&lt;P&gt;str_suppl3&lt;/P&gt;&lt;P&gt;tel_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is...how to ignore those empty fields.. what if one of the fields required is not filled..will sapscript leave a gap to something like this if str_suppl2 is not field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kraft Foods limit&lt;/P&gt;&lt;P&gt;Rm 1606 16/F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;street&lt;/P&gt;&lt;P&gt;str_suppl3&lt;/P&gt;&lt;P&gt;tel_number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyway to ignore the gap so that it will be printed to the next line instead of leaving a line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks all comments are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 03:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715728#M312859</guid>
      <dc:creator>cywings</dc:creator>
      <dc:date>2006-11-22T03:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  - Fields Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715729#M312860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yew,&lt;/P&gt;&lt;P&gt;In your driver program you use condition to check whether name1 is initial or not and call the respective text-element only if the address element is not initial..&lt;/P&gt;&lt;P&gt;This will solve your porb...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 03:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715729#M312860</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-11-22T03:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  - Fields Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715730#M312861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yew Wing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The best option is to use the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/: ADDRESS
          /:    ADDRESSNUMBER &amp;amp;ADRC-ADRNR&amp;amp;
          /: ENDADDRESS&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This way the system will automatically format the address for you. You need not worry about the blank space and other formatiing options. You need not select all the other fields as well. Just pass the Address number and rest the command ADDRES and ENDADDRESS will do automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 03:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715730#M312861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T03:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  - Fields Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715731#M312862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yew \ Vijayendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Th usage of /: ADDRESS - /: ENDADDRESS prints address in sap standard. if this format does suffice the req...then well and good....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what Yew is asking is &lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;    Kraft Foods Limited&lt;/P&gt;&lt;P&gt;      Rm 1606 16/F&lt;/P&gt;&lt;P&gt;      Str_suppl2&lt;/P&gt;&lt;P&gt;      street&lt;/P&gt;&lt;P&gt;      str_suppl3&lt;/P&gt;&lt;P&gt;      tel_number&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether the std addres format also prints tel no too..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yew try using ADDRESS key and check if it is ok ..if yes then definitely some pain will be reduce in ur driver prog. else littlre extra coding..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy SAP.&lt;/P&gt;&lt;P&gt;Pankaj Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 03:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715731#M312862</guid>
      <dc:creator>messier31</dc:creator>
      <dc:date>2006-11-22T03:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  - Fields Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715732#M312863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to both of u for the suggestions i will try it out later today and shall reward accordingly if it works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 03:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715732#M312863</guid>
      <dc:creator>cywings</dc:creator>
      <dc:date>2006-11-22T03:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript  - Fields Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715733#M312864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;Best way is to avoid the Blank line field is empty .&lt;/P&gt;&lt;P&gt;I observerd that  Addess is of 6 lines , You  declare the 6 varible for 6 lines of address . Concatenate the address fields in respective lines  checking they are blank or not . &lt;/P&gt;&lt;P&gt;Then dispaly these lines again  if they are not blan in our sctript .&lt;/P&gt;&lt;P&gt;OR .&lt;/P&gt;&lt;P&gt;USE   ADDRESS / END ADDRESS in script this should handle this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 05:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-fields-question/m-p/1715733#M312864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-22T05:53:05Z</dc:date>
    </item>
  </channel>
</rss>

