<?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 Problem in LSMW ---mapping in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197539#M1202751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Freinds,&lt;/P&gt;&lt;P&gt;                 I have uploaded infotyep 0002 using LSMW wiath a project id  , now i have to upload another &lt;/P&gt;&lt;P&gt;infotype 0006 ,as per the documentation i have found that i can use only one project for all my infotypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i created one project  zproject , zsubproject,zobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the step 1) Maintain object Attributes&amp;gt;Bath input Recording&amp;gt; Recording Name It0002&amp;gt;Recording IT0002&lt;/P&gt;&lt;P&gt;          setpe 2) MaintainSourceStructures &amp;gt;Source Structure &amp;gt;z0002&lt;/P&gt;&lt;P&gt;          step3) Maintain source feilds &amp;gt; i have given structre exactly what is there in my flat file&lt;/P&gt;&lt;P&gt;PERSNO                         N(008)    Personnel number&lt;/P&gt;&lt;P&gt;BEGDA                          C(010)    From Date&lt;/P&gt;&lt;P&gt;ENDDA                          C(010)    To Date&lt;/P&gt;&lt;P&gt;NACHN                          c(40)       LastName&lt;/P&gt;&lt;P&gt;VORNA                          c(40)      First Name&lt;/P&gt;&lt;P&gt;GBDAT                           c(10)      Date of birth&lt;/P&gt;&lt;P&gt;Step 4)Maintain Structure Relations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Structure Relations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IT0002 Date upload for infotype 0002                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0002 Data upload for 0002&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0002 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i able to use all the steps and successfully iam able to upload the data which is given in my flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am getting problem while iam doing uploading for infotype 0006 , plese correct me where i went wrong&lt;/P&gt;&lt;P&gt;Step 1)  Maintain object Attributes&amp;gt;Bath input Recording&amp;gt; Recording Name It0006&amp;gt;Recording IT0006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          setpe 2) MaintainSourceStructures &amp;gt;Source Structure &amp;gt; &lt;/P&gt;&lt;P&gt;here only doubt it asked me do you wan to create same level or under ... i have opted for same level&lt;/P&gt;&lt;P&gt;and created strucuture z0006&lt;/P&gt;&lt;P&gt;          step3) Maintain source feilds &amp;gt; i have given structre exactly what is there in my flat file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERSNO                         N(008)    Personnel number&lt;/P&gt;&lt;P&gt;BEGDA                          C(010)    From Date&lt;/P&gt;&lt;P&gt;ENDDA                          C(010)    To Date&lt;/P&gt;&lt;P&gt;ANSSA                          c(20)       Address type&lt;/P&gt;&lt;P&gt;STRAS                         c(40)       Street&lt;/P&gt;&lt;P&gt;ORT02                           c(10)     District&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4)Maintain Structure Relations&lt;/P&gt;&lt;P&gt; This the place where iam getting actual problem  i found the relatiion as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Structure Relations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IT0006 Date upload for infotype 0006                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0002 Data upload for 0002&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0006 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam not able understand why iam not  getting as below&lt;/P&gt;&lt;P&gt;        IT0006 Date upload for infotype 0006                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0006 Data upload for 0006&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0006 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i did for infotype i got what exactly should be mapping &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IT0002 Date upload for infotype 0002                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0002 Data upload for 0002&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0002 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me where i went exactly .&lt;/P&gt;&lt;P&gt;&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;srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 08:47:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-12T08:47:51Z</dc:date>
    <item>
      <title>Problem in LSMW ---mapping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197539#M1202751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Freinds,&lt;/P&gt;&lt;P&gt;                 I have uploaded infotyep 0002 using LSMW wiath a project id  , now i have to upload another &lt;/P&gt;&lt;P&gt;infotype 0006 ,as per the documentation i have found that i can use only one project for all my infotypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i created one project  zproject , zsubproject,zobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the step 1) Maintain object Attributes&amp;gt;Bath input Recording&amp;gt; Recording Name It0002&amp;gt;Recording IT0002&lt;/P&gt;&lt;P&gt;          setpe 2) MaintainSourceStructures &amp;gt;Source Structure &amp;gt;z0002&lt;/P&gt;&lt;P&gt;          step3) Maintain source feilds &amp;gt; i have given structre exactly what is there in my flat file&lt;/P&gt;&lt;P&gt;PERSNO                         N(008)    Personnel number&lt;/P&gt;&lt;P&gt;BEGDA                          C(010)    From Date&lt;/P&gt;&lt;P&gt;ENDDA                          C(010)    To Date&lt;/P&gt;&lt;P&gt;NACHN                          c(40)       LastName&lt;/P&gt;&lt;P&gt;VORNA                          c(40)      First Name&lt;/P&gt;&lt;P&gt;GBDAT                           c(10)      Date of birth&lt;/P&gt;&lt;P&gt;Step 4)Maintain Structure Relations &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Structure Relations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IT0002 Date upload for infotype 0002                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0002 Data upload for 0002&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0002 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i able to use all the steps and successfully iam able to upload the data which is given in my flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i am getting problem while iam doing uploading for infotype 0006 , plese correct me where i went wrong&lt;/P&gt;&lt;P&gt;Step 1)  Maintain object Attributes&amp;gt;Bath input Recording&amp;gt; Recording Name It0006&amp;gt;Recording IT0006&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          setpe 2) MaintainSourceStructures &amp;gt;Source Structure &amp;gt; &lt;/P&gt;&lt;P&gt;here only doubt it asked me do you wan to create same level or under ... i have opted for same level&lt;/P&gt;&lt;P&gt;and created strucuture z0006&lt;/P&gt;&lt;P&gt;          step3) Maintain source feilds &amp;gt; i have given structre exactly what is there in my flat file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERSNO                         N(008)    Personnel number&lt;/P&gt;&lt;P&gt;BEGDA                          C(010)    From Date&lt;/P&gt;&lt;P&gt;ENDDA                          C(010)    To Date&lt;/P&gt;&lt;P&gt;ANSSA                          c(20)       Address type&lt;/P&gt;&lt;P&gt;STRAS                         c(40)       Street&lt;/P&gt;&lt;P&gt;ORT02                           c(10)     District&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4)Maintain Structure Relations&lt;/P&gt;&lt;P&gt; This the place where iam getting actual problem  i found the relatiion as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Structure Relations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IT0006 Date upload for infotype 0006                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0002 Data upload for 0002&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0006 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam not able understand why iam not  getting as below&lt;/P&gt;&lt;P&gt;        IT0006 Date upload for infotype 0006                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0006 Data upload for 0006&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0006 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i did for infotype i got what exactly should be mapping &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IT0002 Date upload for infotype 0002                                &amp;lt;&amp;lt;&amp;lt;&amp;lt; ZP0002 Data upload for 0002&lt;/P&gt;&lt;P&gt;               Select Target Structure IT0002 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me where i went exactly .&lt;/P&gt;&lt;P&gt;&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;srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 08:47:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197539#M1202751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LSMW ---mapping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197540#M1202752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can have same project and subproject but create different objects for different requireement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create 2 different objects for info type 002 and 006 differently and it would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to use same object delete the first the source structure for infotype 0002 and keep only one sturcture in src structureb i..e for infotype6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reassign relationships and rest remains the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we genrally do not have 2 src structures at same level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 08:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197540#M1202752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LSMW ---mapping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197541#M1202753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The infotype 0002 and 0006 both are two different objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In lSMW u can have same project and subproject but the objects should differ from object to object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U neeed to create one object for 00002 and 0006 another object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197541#M1202753</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-12T09:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LSMW ---mapping</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197542#M1202754</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;As you specified in in your details you need only on Project that means we can create multiple Sunprojects and Objects under same Project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want only one Project, Subproject, Object for Infotypes 0002, 0006 then you need to do&lt;/P&gt;&lt;P&gt;1. Create Separe two recording for Infotypes ZHR_0002, ZHR_0006 and specify both in first step (Maintainn objrct attribute), here we can assign multiple recording.&lt;/P&gt;&lt;P&gt;2. Create one souce structure for all required fields of 0002, 0006&lt;/P&gt;&lt;P&gt;3. Assign Source structure to different target structure&lt;/P&gt;&lt;P&gt;4. In Maintain field mapping and conversion rules do mapping for all fields&lt;/P&gt;&lt;P&gt;But here you need to implement some login&lt;/P&gt;&lt;P&gt;In Source structure create one more field to store Infotype number.&lt;/P&gt;&lt;P&gt;then when mapped for PERNR,&lt;/P&gt;&lt;P&gt;if zsource-infty = '0002'.&lt;/P&gt;&lt;P&gt;  ztarget-pernr = zsource-pernr.&lt;/P&gt;&lt;P&gt;else.  "If fails means it will skip whole record and goes to second recordin&lt;/P&gt;&lt;P&gt;  skip_record.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In second recording you need to check&lt;/P&gt;&lt;P&gt;if zsource-infty = '0006'.&lt;/P&gt;&lt;P&gt;ztarget-pernr = zsource-pernr.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;skip_record.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you must specify in flat file the Infotype number 0002 02 0006, based on this number mapping will refer to corresponding recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this Create one Project, Subproject and Multiple Objects for different Infotypes. This is good to avoid complexity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-lsmw-mapping/m-p/5197542#M1202754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T09:59:44Z</dc:date>
    </item>
  </channel>
</rss>

