<?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: LSMW using BAPI for Purchase Contracts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684755#M1767527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/thread/743410"&gt;http://scn.sap.com/thread/743410&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/3219565"&gt;http://scn.sap.com/thread/3219565&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2013 07:23:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-19T07:23:02Z</dc:date>
    <item>
      <title>LSMW using BAPI for Purchase Contracts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684754#M1767526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create an LSMW using a BAPI for Purchase Documents &lt;SPAN style="color: #000000; font-family: arial; font-size: 14px; background-color: #ffffff;"&gt;(BUS2014)&lt;/SPAN&gt;!&lt;/P&gt;&lt;P&gt;I have found the BAPI, have identified that it will most likely fulfill my requirement but I am stuck at how I should define my input file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the headers, the line items, scale values for conditions and also split cost centers. &lt;/P&gt;&lt;P&gt;Should I define different files for these? If so, what should I use as the key for the scale values for example? Each contract can contain various materials, each material can contain multiple scale values... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an example of this? &lt;/P&gt;&lt;P&gt;Any help is highly appreciated! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Fernanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 01:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684754#M1767526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-19T01:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW using BAPI for Purchase Contracts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684755#M1767527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/thread/743410"&gt;http://scn.sap.com/thread/743410&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/3219565"&gt;http://scn.sap.com/thread/3219565&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 07:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684755#M1767527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-19T07:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW using BAPI for Purchase Contracts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684756#M1767528</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;Use separate files for each structure. Use any key as a link between different structures.&lt;/P&gt;&lt;P&gt;We faced such scenarios in many of our objects. For example, for Inspection plan below sequence of fields we used as link:&lt;/P&gt;&lt;P&gt;Header: PLNNR &lt;/P&gt;&lt;P&gt;Material data: PLNNR (since material data is at header level, only PLNNR is key field)&lt;/P&gt;&lt;P&gt;Item: PLNNR, VORNR (VORNR is the line item number to identify unique key)&lt;/P&gt;&lt;P&gt;Item text: PLNNR, VORNR (VORNR is the line item number to identify unique key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly in your case decide which fields you would like to make as key. Some&amp;nbsp; times we use a key field just to match this sequence and never use for upload. And also the same sequence has to be maintained in source structures. And in your data file the file has to start with above fields followed by other fields.&lt;/P&gt;&lt;P&gt;Its a bit tricky. But I tried to simplify as much as possible.&lt;/P&gt;&lt;P&gt;Please let me know in case of any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Revanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 07:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-using-bapi-for-purchase-contracts/m-p/9684756#M1767528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-19T07:52:57Z</dc:date>
    </item>
  </channel>
</rss>

