<?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 If condition-- mapping in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition-mapping/m-p/3667308#M883313</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 want to print the company description using the following mappings :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0268 = x.&lt;/P&gt;&lt;P&gt;0278 = y.&lt;/P&gt;&lt;P&gt;2706 = z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this with this select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs docdat ntgew brgew anzpk nfnum from J_1BNFDOC&lt;/P&gt;&lt;P&gt;      into corresponding fields of int_output where&lt;/P&gt;&lt;P&gt;     DOCNUM = int_output-docnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here,&lt;/P&gt;&lt;P&gt; bukrs is company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reply asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 23:18:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-17T23:18:10Z</dc:date>
    <item>
      <title>If condition-- mapping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition-mapping/m-p/3667308#M883313</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 want to print the company description using the following mappings :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0268 = x.&lt;/P&gt;&lt;P&gt;0278 = y.&lt;/P&gt;&lt;P&gt;2706 = z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this with this select statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs docdat ntgew brgew anzpk nfnum from J_1BNFDOC&lt;/P&gt;&lt;P&gt;      into corresponding fields of int_output where&lt;/P&gt;&lt;P&gt;     DOCNUM = int_output-docnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here,&lt;/P&gt;&lt;P&gt; bukrs is company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reply asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 23:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition-mapping/m-p/3667308#M883313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T23:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: If condition-- mapping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition-mapping/m-p/3667309#M883314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After your select statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    You can write the below select to get the company description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select bukrs butxt&lt;/P&gt;&lt;P&gt;          from t001&lt;/P&gt;&lt;P&gt;          into table i_t001&lt;/P&gt;&lt;P&gt;          for all entries in int_output&lt;/P&gt;&lt;P&gt;          where bukrs = int_output-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you get the values then you can loop and move the company code description to the final internal table...and you can do the further process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 23:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition-mapping/m-p/3667309#M883314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T23:53:23Z</dc:date>
    </item>
  </channel>
</rss>

