<?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: Validation Code for Business area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660783#M1446255</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;1.  I guess in order to trigger the validation for f-02,f-53,f-28 as well you need to add these codes into the prerequisite and in  check you can use the user exit. &lt;/P&gt;&lt;P&gt;2. in order to validate the business area you can add the user-exit in the validation which need to be written in the  program by coping the program RGGBR000 into Z program and same is need to configured in the T80D table.&lt;/P&gt;&lt;P&gt;3. check the different condition in the exit and pass the return value as abap_true and abap_false.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Mar 2010 06:25:55 GMT</pubDate>
    <dc:creator>nirajgadre</dc:creator>
    <dc:date>2010-03-05T06:25:55Z</dc:date>
    <item>
      <title>Validation Code for Business area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660782#M1446254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the Validation Like this,However it is working in Miro and not considering cenvat clearing accounts and able to post miro, but it is taking wrong business area and not working in another t.codes like f-02,f-53,f-28, thereby taking wrong business area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prerequisite: BSEG-BUKRS = 'JSL'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check : BSEG-GSBER = 'HRD' OR&lt;/P&gt;&lt;P&gt;BSEG-GSBER = 'CRD' OR&lt;/P&gt;&lt;P&gt;BSEG-GSBER = 'COR' OR&lt;/P&gt;&lt;P&gt;BSEG-GSBER = 'JPB' OR&lt;/P&gt;&lt;P&gt;BSEG-GSBER = '' OR&lt;/P&gt;&lt;P&gt;SYST-TCODE &amp;lt;&amp;gt; 'MIRO'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message : E : 023 :Please Check the Business Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, The user is posting wrong business area ;Ex: in the first line item he should post Business area ABC and second line item ABC, instead he is posting EFG, which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another condtion is if Document type is ZA and ZB, There can be two different business areas in two line items.In first line item business area is ABC and second line item is BCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest how to write correct the validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 06:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660782#M1446254</guid>
      <dc:creator>sridhar_muthekepalli3</dc:creator>
      <dc:date>2010-03-05T06:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Validation Code for Business area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660783#M1446255</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;1.  I guess in order to trigger the validation for f-02,f-53,f-28 as well you need to add these codes into the prerequisite and in  check you can use the user exit. &lt;/P&gt;&lt;P&gt;2. in order to validate the business area you can add the user-exit in the validation which need to be written in the  program by coping the program RGGBR000 into Z program and same is need to configured in the T80D table.&lt;/P&gt;&lt;P&gt;3. check the different condition in the exit and pass the return value as abap_true and abap_false.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Mar 2010 06:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660783#M1446255</guid>
      <dc:creator>nirajgadre</dc:creator>
      <dc:date>2010-03-05T06:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Validation Code for Business area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660784#M1446256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 07:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-code-for-business-area/m-p/6660784#M1446256</guid>
      <dc:creator>sridhar_muthekepalli3</dc:creator>
      <dc:date>2010-06-22T07:27:39Z</dc:date>
    </item>
  </channel>
</rss>

