<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240148#M141834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha,&lt;/P&gt;&lt;P&gt;I hope u'd recollect, i also need to update profit center on sales order. i am using BAPI_SALESORDER_CHANGE. when i run the LSMW i get a message saying 'not in database. So i am trying to create a custon function module with bapi_salesorder_change and bapi_transaction_commit. please advise the way you proceeded.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2008 22:02:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-19T22:02:58Z</dc:date>
    <item>
      <title>LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240144#M141830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have the requirement where the input file has all the sales orders, sales org , distribution channel and plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to update the profit center of each particular line item of the sales order with the profit center of the material of the line item(in MM03 if we select the sales:General/plant data view and give the sales org,distribution channel and plant which are iput from the file then we get the profit center of the material).&lt;/P&gt;&lt;P&gt;Can any one suggest a way to do this along with an example. Preferably BAPI method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 05:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240144#M141830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-15T05:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240145#M141831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Asha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this BAPI....&lt;/P&gt;&lt;P&gt;pass profit center,controlling area,date to this BAPI&lt;/P&gt;&lt;P&gt;BAPI_PROFITCENTER_GETDETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also refer this link...&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/eb/13811243c411d1896f0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/eb/13811243c411d1896f0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 05:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240145#M141831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-15T05:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240146#M141832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srikanth,&lt;/P&gt;&lt;P&gt;I wanted how can we implement the BAPI in the LSMW.I have written a program using BAPI_SALESORDER_CHANGE but i have to implement that BAPI in the LSMW. how can i do that.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 05:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240146#M141832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-15T05:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240147#M141833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi asha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to create &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create project, Subproject, Object (freely definable, for the purpose of &lt;/P&gt;&lt;P&gt;identification) &amp;#150; Use create icon in the menu. For example&lt;/P&gt;&lt;P&gt;Project FI Finance&lt;/P&gt;&lt;P&gt;Subproject GL GL MASTER&lt;/P&gt;&lt;P&gt;Object GL GL Master&lt;/P&gt;&lt;P&gt;2. Continue F8, Now you will see series of steps. Select the step and execute &lt;/P&gt;&lt;P&gt;it (Ctrl-F8). In each steps, we will do some activity and save it. Then &lt;/P&gt;&lt;P&gt;system prompts for the next activity.&lt;/P&gt;&lt;P&gt;3. Maintain object attributes. By default the screen in display mode, Click &lt;/P&gt;&lt;P&gt;on &amp;#145;pencil button&amp;#146; to get into change mode. (This is applicable to upto the &lt;/P&gt;&lt;P&gt;activity assign files). In this screen select &amp;#145;Batch input recording&amp;#146; and &lt;/P&gt;&lt;P&gt;in &amp;#145;Recording&amp;#146; give name (freely definable) sal &amp;#145;GL01&amp;#146; and click on Overview. &lt;/P&gt;&lt;P&gt;In this screen button (Recordings overview). Now click on create button for &lt;/P&gt;&lt;P&gt;recording. Give name and description, Now it will ask for the transaction &lt;/P&gt;&lt;P&gt;code, enter the transaction code and enter the data, the way you want fill in &lt;/P&gt;&lt;P&gt;the SAP screens/fields with legacy data. Then save the transaction. Now save &lt;/P&gt;&lt;P&gt;again to save the recording. After that you select the button &amp;#145;default all&amp;#146;, &lt;/P&gt;&lt;P&gt;then save it. And come back, now the cursor is on next activity.&lt;/P&gt;&lt;P&gt;4. Maintain source structures. Here create the structure by specifying name &lt;/P&gt;&lt;P&gt;(freely definable).&lt;/P&gt;&lt;P&gt;5. Maintain source fields. In this screen, click on &amp;#145;copy fields&amp;#146; (Ctrl+F8), &lt;/P&gt;&lt;P&gt;here select &amp;#145;From data file(field names in 1st line)&amp;#146;. Now the system asks &lt;/P&gt;&lt;P&gt;for the file, select your text file, the system will copy the fiedls from &lt;/P&gt;&lt;P&gt;text file (tab delimited file. It contains field names in the first row). &lt;/P&gt;&lt;P&gt;Save it.&lt;/P&gt;&lt;P&gt;6. Maintain structure relations. Generally, we need not do anything here.&lt;/P&gt;&lt;P&gt;7. Maintain field mapping and conversation rules. Here put the cursor on the &lt;/P&gt;&lt;P&gt;field and click on source field, now you can see the list of field available, &lt;/P&gt;&lt;P&gt;from which select one which is equal to the field on which you out the &lt;/P&gt;&lt;P&gt;cursor. You can also write coding (ABAP Code) on any field for the purpose of &lt;/P&gt;&lt;P&gt;validation of data. Save it.&lt;/P&gt;&lt;P&gt;8. Maintain fixed values, translations, user-defined routines. Here also you &lt;/P&gt;&lt;P&gt;can maintain values, if required.&lt;/P&gt;&lt;P&gt;9. Specify files. In this screen, place the cursor on Legacy data, then click &lt;/P&gt;&lt;P&gt;on create button. The system asks for the file name, (the text file, in which &lt;/P&gt;&lt;P&gt;the legacy data is there), enter the file name, description and select Data &lt;/P&gt;&lt;P&gt;for one source structure (table), delimiter as &amp;#145;Tabulator&amp;#146;, file structure &lt;/P&gt;&lt;P&gt;as &amp;#147;Field names at the beginning of the file&amp;#148;.&lt;/P&gt;&lt;P&gt;10. Assign files. The file name you specified in earlier step comes &lt;/P&gt;&lt;P&gt;automatically here, If the file name does not come, then click &lt;/P&gt;&lt;P&gt;on &amp;#145;assignment&amp;#146; button and assign the file.&lt;/P&gt;&lt;P&gt;11. Read data. Here specify the &amp;#145;transaction number&amp;#146; (the number not less &lt;/P&gt;&lt;P&gt;than the number of rows in the text file). Execute it.&lt;/P&gt;&lt;P&gt;12. Display read data. Here, you can see the values, how the system read the &lt;/P&gt;&lt;P&gt;data.&lt;/P&gt;&lt;P&gt;13. Convert data. Here specify the &amp;#145;transaction number&amp;#146; (the number not less &lt;/P&gt;&lt;P&gt;than the number of rows in the text file). Execute it.&lt;/P&gt;&lt;P&gt;14. Display converted data. Here, you can see the values, how the system &lt;/P&gt;&lt;P&gt;converted the data, after interpreting conversion rules specified in the &lt;/P&gt;&lt;P&gt;earlier steps. This is the data that is actually goes into SAP, once the &lt;/P&gt;&lt;P&gt;Batch Input session is run.&lt;/P&gt;&lt;P&gt;15. Create batch input session. Specify the &amp;#145;batch input session&amp;#146; name for &lt;/P&gt;&lt;P&gt;identification and also select the &amp;#145;keep session&amp;#146;.&lt;/P&gt;&lt;P&gt;16. Run Batch Input Session. Select the batch input and click &amp;#145;Process&amp;#146;, from &lt;/P&gt;&lt;P&gt;there select &amp;#145;foreground&amp;#146; or &amp;#145;background&amp;#146;. Now the program runs and update &lt;/P&gt;&lt;P&gt;the data in to SAP. You can analyze the batch input for the successful &lt;/P&gt;&lt;P&gt;postings, errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these links help you...&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf" target="test_blank"&gt;http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc" target="test_blank"&gt;http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/7a/5e3d38faba11d1b40f006094b944c8/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/sap-data-migration.htm" target="test_blank"&gt;http://www.sap-img.com/sap-data-migration.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srikanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 06:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240147#M141833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-15T06:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240148#M141834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asha,&lt;/P&gt;&lt;P&gt;I hope u'd recollect, i also need to update profit center on sales order. i am using BAPI_SALESORDER_CHANGE. when i run the LSMW i get a message saying 'not in database. So i am trying to create a custon function module with bapi_salesorder_change and bapi_transaction_commit. please advise the way you proceeded.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 22:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw/m-p/1240148#M141834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T22:02:58Z</dc:date>
    </item>
  </channel>
</rss>

