<?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: regarding Validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525743#M848211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In pai.&lt;/P&gt;&lt;P&gt;if vendor is ne space and material is ne space.&lt;/P&gt;&lt;P&gt;erroe message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also in pai.&lt;/P&gt;&lt;P&gt;select vendor from lfa1 into lv_vendor.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;" put vendor in itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 12:29:14 GMT</pubDate>
    <dc:creator>Azeemquadri</dc:creator>
    <dc:date>2008-03-04T12:29:14Z</dc:date>
    <item>
      <title>regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525741#M848209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i have a module pool program where i have two fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material and Vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i have arequirement like i have to add validations like this.&lt;/P&gt;&lt;P&gt;I m confused that what shuld i write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;#149;Have validation for input of vendor and material, only allows having one of them  has value. If both of vendor and material have values, display message&amp;#146; Please make either one of material or vendor having value&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;#149;Have validation for input of vendor, to check if it&amp;#146;s valid. Query from table LFA1 to find out if there is record in the table with user input of Vendor. If it&amp;#146;s invalid, display message &amp;#145; Please enter valid Vendor&amp;#146;. If it&amp;#146;s valid, query from  table MARA to fill internal table IT_MATERIALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525741#M848209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T12:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525742#M848210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can very easily do this in PAI either direct check or using CHAIN ..ENDCHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525742#M848210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T12:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525743#M848211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In pai.&lt;/P&gt;&lt;P&gt;if vendor is ne space and material is ne space.&lt;/P&gt;&lt;P&gt;erroe message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also in pai.&lt;/P&gt;&lt;P&gt;select vendor from lfa1 into lv_vendor.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;error message.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;" put vendor in itab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525743#M848211</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2008-03-04T12:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525744#M848212</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;for the first ,&lt;/P&gt;&lt;P&gt;if the m1 and v1 are the fields.&lt;/P&gt;&lt;P&gt;check whether ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if m1 is not initial and v1 is not initial.&lt;/P&gt;&lt;P&gt;Message 'Please make either one of material or vendor having value&amp;#146; type I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525744#M848212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T12:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525745#M848213</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;For 2) you have to Use the Check..End Check and inside that you have to read the LFA1 table with the data you get from the USer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1) This type of validations never work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhruv Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525745#M848213</guid>
      <dc:creator>dhruv_shah3</dc:creator>
      <dc:date>2008-03-04T12:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525746#M848214</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;You proceed as below for this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PBO event, &lt;/P&gt;&lt;P&gt;if both fields are empty then do nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if either of the fields are initial then hide the other field / make it into display mode.&lt;/P&gt;&lt;P&gt;and then you can do the validation for Vendor on table LFA1 and for material on MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for retrieving the material numbers based on the given Vendor . first you need to inform the ask the relation ship to read the MARA using LFA1-LIFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking may be they need to pull the all material of particular Vendor referring to the Purchase Orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525746#M848214</guid>
      <dc:creator>ravisankara_varaprasad</dc:creator>
      <dc:date>2008-03-04T12:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525747#M848215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frnds what is the relationship between LFA1 and MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to fill the table IT_MATERIALS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525747#M848215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: regarding Validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525748#M848216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     As far i got to understand your requirement, It is like when you select a valid vendor then the Materials related to that particular vendor should be populated in other Select options ...right ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this first you should have a field common between tables LFA1 and MARA which is not available in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways for this kind of stuff in Module pool programming you can use Function module - F4IF_INT_TABLE_VALUE_REQUEST...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 12:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-validations/m-p/3525748#M848216</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2008-03-04T12:43:10Z</dc:date>
    </item>
  </channel>
</rss>

