<?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 create PR using LSMW(IDoc) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986293#M73051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use LSMW(IDoc) to create a PR. However the PR number is internally assigned. Is there any way to make the program recognise that the PR has multiple line items using just LSMW(without a separate ABAP program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gladys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2005 05:40:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-26T05:40:30Z</dc:date>
    <item>
      <title>create PR using LSMW(IDoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986293#M73051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use LSMW(IDoc) to create a PR. However the PR number is internally assigned. Is there any way to make the program recognise that the PR has multiple line items using just LSMW(without a separate ABAP program).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gladys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 05:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986293#M73051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T05:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: create PR using LSMW(IDoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986294#M73052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gladys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have two options:&lt;/P&gt;&lt;P&gt;- 1 file with two different line types; a header line and (several) position lines. They can be identified with a key word.&lt;/P&gt;&lt;P&gt;- 2 files with artificial key number as link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="50102"&gt;&lt;/A&gt; for some more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 05:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986294#M73052</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-09-26T05:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: create PR using LSMW(IDoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986295#M73053</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;There is no way in LSMW unless you have header records for segment E1PREQCR inserted into your file. The input file should have one line for this segment ( even though it may ne blank as it is optional ) and one or more line item lines after this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you already have a file with only item records you will have to insert the header lines at the desired place by another method or another ABAP program before passing it to LSMW. LSMW has capability of mapping / converting existing record lines but does not have the capability of adding lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 06:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986295#M73053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T06:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: create PR using LSMW(IDoc)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986296#M73054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian and Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies. I've taken your advice and created two source structures using the unique key as the link, and it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw. How do I close this topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Gladys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2005 07:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-pr-using-lsmw-idoc/m-p/986296#M73054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-26T07:09:00Z</dc:date>
    </item>
  </channel>
</rss>

