<?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 - Maintain Source Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911908#M1794017</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;Your input structure should have a field for posting key, if you want to manage it in mapping step you should write a routine in order to decide which posting key to be set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2013 11:37:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-11-29T11:37:36Z</dc:date>
    <item>
      <title>LSMW - Maintain Source Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911907#M1794016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In LSMW, Maintain Source Fields, The system is not allowing me to maintain same field twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex: For&amp;nbsp; Transaction code FB01, Posting key field NEWBS has to maintained twice both of debit and credit, means posting key 01 for customer and posting key 50 has to maintained for GL Account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For both posting keys 01 &amp;amp; 50 field NEWBS is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I clicked on Fields with the same name. But it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&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;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 11:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911907#M1794016</guid>
      <dc:creator>sridhar_muthekepalli3</dc:creator>
      <dc:date>2013-11-29T11:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW - Maintain Source Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911908#M1794017</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;Your input structure should have a field for posting key, if you want to manage it in mapping step you should write a routine in order to decide which posting key to be set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 11:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911908#M1794017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-29T11:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW - Maintain Source Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911909#M1794018</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;Create two fields NEWBS and NEWBS1 in the source structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atul Mohanty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 14:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911909#M1794018</guid>
      <dc:creator>atul_mohanty</dc:creator>
      <dc:date>2013-11-29T14:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW - Maintain Source Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911910#M1794019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created two fields NEWBS and NEWBS1 in the source structure.But i am running the batch input, for NEWBS1, the posting key 50 is not getting inputted but posting 01 is getting displayed which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 06:20:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911910#M1794019</guid>
      <dc:creator>sridhar_muthekepalli3</dc:creator>
      <dc:date>2013-12-03T06:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW - Maintain Source Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911911#M1794020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar - Thanks for your mail. It seems you are facing the problem in mapping your source structure to BBSEG structure in LSMW while mapping the posting key. I would suggest the following steps to resolve your issue.&lt;/P&gt;&lt;P&gt;1. Create a structre HEADER and another stucture ITEM (lower level to header) in the step 2 (Maintain Source Structures) of LSMW.&lt;/P&gt;&lt;P&gt;2. In Step 3( Maintain Source Structures) of LSMW , now create source field with first field as Indicator ( 1 char) following the header data fields and line item field (keep just one field for NEWBS) .&lt;/P&gt;&lt;P&gt;3. Now to post the records through LSMW for FB01, your file should look like this for 1 transaction, it should have three records as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; H ( header fields)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I&amp;nbsp;&amp;nbsp;&amp;nbsp; 01 ( item fields)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I&amp;nbsp;&amp;nbsp;&amp;nbsp; 50 ( other fields&amp;nbsp; &lt;BR /&gt;4. Now in step 4 LSMW assign HEADER to BBKPF and ITEM to BBSEG&lt;/P&gt;&lt;P&gt;5. In in step 5 LSMW , BBKPF-STYPE = '1' and BBSEG-STYPE = '2' . Here you can mention&amp;nbsp; BBSEG-NEWBS = ITEM-NEWBS.&lt;/P&gt;&lt;P&gt;This should help you to resolve your issue. Please try the above steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But again if you want to just go with one structure for your file with two fields NEWBS and NEWBS1. Then try to add one BBSEG record after the end of record / transfer record of BBSEG with one more line (for NEWBS1) with coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know, if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atul Mohanty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 08:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-maintain-source-fields/m-p/9911911#M1794020</guid>
      <dc:creator>atul_mohanty</dc:creator>
      <dc:date>2013-12-03T08:18:16Z</dc:date>
    </item>
  </channel>
</rss>

