<?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 logic needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3329108#M797430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish to put a control check as user enter the cost center it should validate that the cost center should be in the same plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it shold also give a msg if its blocked.&lt;/P&gt;&lt;P&gt;so i 'm using this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single GSBER into GSBER from t134g&lt;/P&gt;&lt;P&gt;where werks = zmm_isslip-werks.&lt;/P&gt;&lt;P&gt;                                                     *GSBER   "business area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  select single * from csks&lt;/P&gt;&lt;P&gt;    where GSBER = GSBER and kostl = zmm_isslip-kostl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if csks-bkzkp = 'X' and csks-pkzkp = 'X' .&lt;/P&gt;&lt;P&gt;    message 'Cost Center Blocked ' type 'E'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 03:42:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-07T03:42:37Z</dc:date>
    <item>
      <title>logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3329108#M797430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wish to put a control check as user enter the cost center it should validate that the cost center should be in the same plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it shold also give a msg if its blocked.&lt;/P&gt;&lt;P&gt;so i 'm using this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single GSBER into GSBER from t134g&lt;/P&gt;&lt;P&gt;where werks = zmm_isslip-werks.&lt;/P&gt;&lt;P&gt;                                                     *GSBER   "business area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  select single * from csks&lt;/P&gt;&lt;P&gt;    where GSBER = GSBER and kostl = zmm_isslip-kostl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if csks-bkzkp = 'X' and csks-pkzkp = 'X' .&lt;/P&gt;&lt;P&gt;    message 'Cost Center Blocked ' type 'E'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 03:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3329108#M797430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T03:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3329109#M797431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While GSBER "business area u r using select single, but select single should contain all primary key in where condition in this u r missing SPART, so try to use WERKS and SPART in where condition in first select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and let me know&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 03:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3329109#M797431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-07T03:58:37Z</dc:date>
    </item>
  </channel>
</rss>

