<?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 coding point in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676386#M618413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not always compulsory to write coding in lsmw. You have to write coding when we have to introduce some conditions on the data being uploaded. You can put the code in the "Maintain field mapping and conversion" section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also look at these discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3944264"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2898367"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 12:15:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T12:15:52Z</dc:date>
    <item>
      <title>lsmw coding point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676385#M618412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am doing lsmw to uploading the data..&lt;/P&gt;&lt;P&gt;it is compulsory to write the Code??? &lt;/P&gt;&lt;P&gt;if we want to write the code..how to write? how to write the conditions???&lt;/P&gt;&lt;P&gt;can any one give one example??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676385#M618412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw coding point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676386#M618413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not always compulsory to write coding in lsmw. You have to write coding when we have to introduce some conditions on the data being uploaded. You can put the code in the "Maintain field mapping and conversion" section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also look at these discussions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3944264"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2898367"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676386#M618413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T12:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw coding point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676387#M618414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember these points while doing LSMW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below these coding u have to do in 5th step(Mapping)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u dont have any code to write atleast u have to pass the / symbol in case for that particular field which there is no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of these source structure and target structure,&lt;/P&gt;&lt;P&gt;specify what ur using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For EG:AS91_ZTABLE-ANLKL (source field) ,,&lt;/P&gt;&lt;P&gt;           BALTD-ANLKL(target field).&lt;/P&gt;&lt;P&gt;************&lt;/P&gt;&lt;P&gt;1) this code u have to write for every field .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT AS91_ZTABLE-ANLKL IS INITIAL.&lt;/P&gt;&lt;P&gt;  BALTD-ANLKL = AS91_ZTABLE-ANLKL.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;  BALTD-ANLKL = '/'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its better to upload the date formate like yyyymmdd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in our system we dont have this kind of formates so better to choose yyyy.mm.dd and do change ur date format in flat file itself in the above format(yyyymmdd).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u dont want to change in the flat file , just rite ur code in LSMW itself ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this u have to write coding in Mapping(5th step) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to the particular field in change mode and double click on that field there u have to write like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) like this u have write for the date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if not as91_ztable-AKTIV is initial.&lt;/P&gt;&lt;P&gt; replace '.' with '' into as91_ztable-AKTIV.&lt;/P&gt;&lt;P&gt; replace '.' with '' into as91_ztable-AKTIV.&lt;/P&gt;&lt;P&gt; condense as91_ztable-AKTIV no-gaps.&lt;/P&gt;&lt;P&gt; BALTD-AKTIV = AS91_ZTABLE-AKTIV.&lt;/P&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt; baltd-aktiv = '/'.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u perfectly know there is the value for every field then no need to write this code (if u write also there is no problem).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly know if anything else u want anything&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naveen khan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pattan Naveen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pattan Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676387#M618414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T12:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: lsmw coding point</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676388#M618415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naveen &lt;/P&gt;&lt;P&gt;I am uploading vendor master data using LSMW ,AND USING TCODE XK01 ,&lt;/P&gt;&lt;P&gt;the data in the file is different,&lt;/P&gt;&lt;P&gt;the data is in the format like 'first national bank' i want the data in 3 letter like "std" ,&lt;/P&gt;&lt;P&gt;can u pls provide me the coding in lsmw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;srinu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 08:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-coding-point/m-p/2676388#M618415</guid>
      <dc:creator>former_member671980</dc:creator>
      <dc:date>2011-05-05T08:26:59Z</dc:date>
    </item>
  </channel>
</rss>

