<?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 Reg: Data Selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645714#M1284801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a typical requirement that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given data in a file format to load into sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;*Field1   Field2&lt;/U&gt;      &lt;EM&gt;Field3    Field4  Field5&lt;/EM&gt;      &lt;STRONG&gt;+Field6  Filed7&lt;/STRONG&gt;+*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My file format is like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this, Field1   Field2 are Project Definitions.&lt;/P&gt;&lt;P&gt;Field3    Field4  Field5 are WBS Elements.&lt;/P&gt;&lt;P&gt;Field6  Filed7  are Settlement Rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data for the file will be as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;*Field1   Field2&lt;/U&gt;      &lt;EM&gt;Field3    Field4     Field5&lt;/EM&gt;      &lt;STRONG&gt;+Field6  Filed7&lt;/STRONG&gt;+*&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   100       TEST         100.1     TEST.1       X               100.2      Y&lt;/P&gt;&lt;P&gt;                                100.1.1     TEST.1.1  X               100.2      Y&lt;/P&gt;&lt;P&gt;                                100.1.2     TEST.1.2  X               100.2      Y&lt;/P&gt;&lt;P&gt;  101       TEST          101.1     TEST.1       X               100.2      Y&lt;/P&gt;&lt;P&gt;                                101.1.1     TEST.1.1  X               100.2      Y&lt;/P&gt;&lt;P&gt;                                101.1.2     TEST.1.2  X               100.2      Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here data loading is carried using BAPI's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Load WBS Elements,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_project_definition = i_project_definition&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          it_wbs_element       = i_wbsmasterdata&lt;/P&gt;&lt;P&gt;          et_return            = i_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my requirement is:Using 100 as Project Definition,have to create WBS related to 100,using 101 as Project Definition,have to create WBS related to 101 etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest me the logic.&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;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2009 06:47:23 GMT</pubDate>
    <dc:creator>sreeramkumar_madisetty</dc:creator>
    <dc:date>2009-05-21T06:47:23Z</dc:date>
    <item>
      <title>Reg: Data Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645714#M1284801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a typical requirement that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given data in a file format to load into sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;*Field1   Field2&lt;/U&gt;      &lt;EM&gt;Field3    Field4  Field5&lt;/EM&gt;      &lt;STRONG&gt;+Field6  Filed7&lt;/STRONG&gt;+*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My file format is like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this, Field1   Field2 are Project Definitions.&lt;/P&gt;&lt;P&gt;Field3    Field4  Field5 are WBS Elements.&lt;/P&gt;&lt;P&gt;Field6  Filed7  are Settlement Rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data for the file will be as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;*Field1   Field2&lt;/U&gt;      &lt;EM&gt;Field3    Field4     Field5&lt;/EM&gt;      &lt;STRONG&gt;+Field6  Filed7&lt;/STRONG&gt;+*&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   100       TEST         100.1     TEST.1       X               100.2      Y&lt;/P&gt;&lt;P&gt;                                100.1.1     TEST.1.1  X               100.2      Y&lt;/P&gt;&lt;P&gt;                                100.1.2     TEST.1.2  X               100.2      Y&lt;/P&gt;&lt;P&gt;  101       TEST          101.1     TEST.1       X               100.2      Y&lt;/P&gt;&lt;P&gt;                                101.1.1     TEST.1.1  X               100.2      Y&lt;/P&gt;&lt;P&gt;                                101.1.2     TEST.1.2  X               100.2      Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here data loading is carried using BAPI's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Load WBS Elements,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_project_definition = i_project_definition&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          it_wbs_element       = i_wbsmasterdata&lt;/P&gt;&lt;P&gt;          et_return            = i_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my requirement is:Using 100 as Project Definition,have to create WBS related to 100,using 101 as Project Definition,have to create WBS related to 101 etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest me the logic.&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;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 06:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645714#M1284801</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-05-21T06:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Data Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645715#M1284802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please provide me some solution.&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;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:54:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645715#M1284802</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-05-21T07:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Data Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645716#M1284803</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;Loop through the internal table which holds the data.&lt;/P&gt;&lt;P&gt;  AT NEW &amp;lt;*Field1&amp;gt;.&lt;/P&gt;&lt;P&gt;    Move the &amp;lt;*Field1&amp;gt; to your i_project_defenition.&lt;/P&gt;&lt;P&gt;  END AT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move your WBS elements to the i_wbsmasterdata. * Note : this is shoudl be done for every loop pass.&lt;/P&gt;&lt;P&gt;Append i_wbsmasterdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  AT END OF &amp;lt;*Field1&amp;gt;.&lt;/P&gt;&lt;P&gt;   Call  BAPI "BAPI_BUS2054_CREATE_MULTI".&lt;/P&gt;&lt;P&gt;  END AT.&lt;/P&gt;&lt;P&gt;End loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smart Varghese&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 08:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-data-selection/m-p/5645716#M1284803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T08:32:44Z</dc:date>
    </item>
  </channel>
</rss>

