<?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 Regarding Badi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964457#M396204</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;This is satish. Iam new to badi. My requirement is order proposals from F&amp;amp;R system come into Sap system while creating in to purchase orders the badi should look in to that ,and assign purchase order types based on some conditions.&lt;/P&gt;&lt;P&gt;They given the function module name as FRE_ORD_IN_CREATE_DOC which calls&lt;/P&gt;&lt;P&gt;the active implementation of badi exists.I have created that implementation and found 1 method in that. It has two structures how can i use that structures.These structures r not having the fields which i have to use for validation.Is it compulsory to use  those structures if not how to code . please help me solving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2007 12:23:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-15T12:23:51Z</dc:date>
    <item>
      <title>Regarding Badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964457#M396204</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;This is satish. Iam new to badi. My requirement is order proposals from F&amp;amp;R system come into Sap system while creating in to purchase orders the badi should look in to that ,and assign purchase order types based on some conditions.&lt;/P&gt;&lt;P&gt;They given the function module name as FRE_ORD_IN_CREATE_DOC which calls&lt;/P&gt;&lt;P&gt;the active implementation of badi exists.I have created that implementation and found 1 method in that. It has two structures how can i use that structures.These structures r not having the fields which i have to use for validation.Is it compulsory to use  those structures if not how to code . please help me solving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 12:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964457#M396204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T12:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964458#M396205</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;In which system his badi is their, I couldn't find in R/3 or CRM systems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the importing fields of your badi or in structures you will be having the key field for you to search. You can read all the required fields needed for validation and change accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;steps to be followed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Identify the Key field.&lt;/P&gt;&lt;P&gt;2. Find the function module to read the whole incoming data .&lt;/P&gt;&lt;P&gt;3. your validation &lt;/P&gt;&lt;P&gt;4. Function module to update your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If their are no function modules... Create them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can give me more inputs on system i can help you out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Satich Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 13:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964458#M396205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T13:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Badi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964459#M396206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for responding. Iam giving my requirements below.For determination of badi.Go to SPRO-&amp;gt;sap reference img-&amp;gt;integration with my other sap components-&amp;gt;forecasting replishment-&amp;gt;enhancements using badis-&amp;gt;execute modify order inbound data before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAdI to be implemented: FRE_ORD_IN_CREATE_DOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This BAdI should:&lt;/P&gt;&lt;P&gt;1.Determine document type for purchase order to be created after an order proposal.&lt;/P&gt;&lt;P&gt;Using the document types in the selection criteria determine the document type of each purchase order using the vendor master information:&lt;/P&gt;&lt;P&gt;&amp;#149;Purchase orders for domestic vendor with (LFM1 _ KALSK) Schema group blank and account group (LFA1_KTOKK ) not equal to Z100, should be created as document type ZNB.  &lt;/P&gt;&lt;P&gt;&amp;#149;Purchase orders for import vendor with (LFM1 _ KALSK) Schema group Z2and account group (LFA1_KTOKK ) not equal to Z100, should be created as document type ZIMP.&lt;/P&gt;&lt;P&gt;&amp;#149;Purchase orders for cross-border vendor with (LFM1_KALSK) Schema group Z3 and account group (LFA1_KTOKK ) not equal to Z100, should be created as document type ZCB. Additional validation should take plase in this case: if the vendor address is from US or Mexico, it is assumed that the document type is ZCB. However, if the article country of origin is something different from Canada, US or Mexico; it should be a ZIMP.&lt;/P&gt;&lt;P&gt;&amp;#149;Purchase orders for internal vendors should be created as ZUB. Internal vendor will have an account group of Z100 (LFA1- KTOKK).&lt;/P&gt;&lt;P&gt;&amp;#149;Default document type is ZNB.&lt;/P&gt;&lt;P&gt;2.Flag &amp;#147;origin flag&amp;#148;  for those purchase orders with incoterms in selection criteria.&lt;/P&gt;&lt;P&gt;The BAdI should turn on the origin flag for POs (EKPO-WEORA)  with any of the incoterms listed in the selection screen. The incoterms are in the vendor master LFM1_ INCO1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve. &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>Thu, 15 Feb 2007 14:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-badi/m-p/1964459#M396206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T14:26:15Z</dc:date>
    </item>
  </channel>
</rss>

