<?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 batch session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-session/m-p/3139939#M746192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;             My program is Batch session and the batch session is for posting fi documents(FB01). and iam doing by using rfbibl00 program. Actually there r 3 types of currencies while updation and one of them is company code currency(dmbe2). &lt;STRONG&gt;My requirement is i should not pass the value for company code currency dmbe2 when the currency key is equal to USD.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;what they said is check in table T001 for example if the company code(BUKRS) = 1001 then check for company code currency(dmbe2) if it is equal to USD then dont pass the value dmbe2 to session.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;please help me with the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Dec 2007 06:28:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-24T06:28:28Z</dc:date>
    <item>
      <title>batch session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-session/m-p/3139939#M746192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;             My program is Batch session and the batch session is for posting fi documents(FB01). and iam doing by using rfbibl00 program. Actually there r 3 types of currencies while updation and one of them is company code currency(dmbe2). &lt;STRONG&gt;My requirement is i should not pass the value for company code currency dmbe2 when the currency key is equal to USD.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;what they said is check in table T001 for example if the company code(BUKRS) = 1001 then check for company code currency(dmbe2) if it is equal to USD then dont pass the value dmbe2 to session.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;please help me with the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 06:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-session/m-p/3139939#M746192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T06:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: batch session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/batch-session/m-p/3139940#M746193</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;check with this logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * into work area from t001&lt;/P&gt;&lt;P&gt;                              where company code eq '1001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0 and &lt;/P&gt;&lt;P&gt;  workarea-WAERS eq 'USD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dmeb2 = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demb2 = 'pass the value'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end if.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are doing this in side the loop, then instead of taking "select single *", write the select statement outside the loop for t001 and take values into internal table. Then inside the loop user Read statement in the place of "select single *"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it dose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Siva kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 09:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/batch-session/m-p/3139940#M746193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T09:45:14Z</dc:date>
    </item>
  </channel>
</rss>

