<?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: Data Conversion Program in LSMW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059106#M724520</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;  Here is an example showing the way to use the conversion tool LSMW in SAP. It starts in the start-up screen of LSMW transaction and ends with a screen on which the results of the conversion are displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If you want to create or change objects, make sure that you are working in change mode. To activate this mode, click Change in the corresponding processing step. Only this mode provides all functions required for changing objects&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Nov 2007 08:12:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-19T08:12:35Z</dc:date>
    <item>
      <title>Data Conversion Program in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059104#M724518</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;1.  I am new to LSMW. Could you please explain When Data Conversion Program (/1CADMC/SAP_LSMW_CONV_00000010)will be generated. What is the source for this. Can we edit this program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I changed source structure where I need to write convertion routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How do I transport my changes to Quality/ production servers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rays&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 07:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059104#M724518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Conversion Program in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059105#M724519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. I am new to LSMW. Could you please explain When Data Conversion Program (/1CADMC/SAP_LSMW_CONV_00000010)will be generated. What is the source for this. Can we edit this program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I changed source structure where I need to write convertion routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conversion program is generated depnding on your field mapping. you can change the conversion program. but make sure that changes will be remained after you did some chnages in field mapping again and generate the conversion program again. there are chnaces that the chnages will go out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so better you can write code in field mapping. you can do that. Conversion routines, validations anything you can write in field mapping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How do I transport my changes to Quality/ production servers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to LSMW intial screen -&amp;gt; Extras --&amp;gt; Generate change request. then you can transport the LSMW. remember that you can transport a full project. not a single object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 08:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059105#M724519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T08:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data Conversion Program in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059106#M724520</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;  Here is an example showing the way to use the conversion tool LSMW in SAP. It starts in the start-up screen of LSMW transaction and ends with a screen on which the results of the conversion are displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If you want to create or change objects, make sure that you are working in change mode. To activate this mode, click Change in the corresponding processing step. Only this mode provides all functions required for changing objects&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 08:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059106#M724520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T08:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data Conversion Program in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059107#M724521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jyothi,&lt;/P&gt;&lt;P&gt;   I got your point. My convertion program getting rewritten every time I execute step 'Maintain Field Mapping and Conversion Rules'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is I am not able to see the code any where in the steps, Which i am currently in convertion program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to see the following code from LSMW steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open program /1CADMC/SAP_LSMW_CONV_00000010: following code is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Process last transaction.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  perform convert_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  convert_transaction&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form convert_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check so_tcntr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Begin of transaction&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;__BEGIN_OF_TRANSACTION__&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH BTCH_CHAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Update Customer Name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  MOVE-CORRESPONDING MATL TO BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  IF NOT MATL-CUSTNAME IS INITIAL.&lt;/P&gt;&lt;P&gt;    MOVE 'MM_CUSTOMER_NAME' TO BTCH_CHAR-CHAR_NAME.&lt;/P&gt;&lt;P&gt;    MOVE MATL-CUSTNAME TO BTCH_CHAR-CHAR_VALUE.&lt;/P&gt;&lt;P&gt;    APPEND BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Update Customer Part ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  MOVE-CORRESPONDING MATL TO BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  IF NOT MATL-CUSTPARTID IS INITIAL.&lt;/P&gt;&lt;P&gt;    IF MATL-CUSTPARTID NE 'NA' AND MATL-CUSTPARTID NE 'TBD'.&lt;/P&gt;&lt;P&gt;      MOVE 'MM_CUSTOMER_PARTID' TO BTCH_CHAR-CHAR_NAME.&lt;/P&gt;&lt;P&gt;      MOVE MATL-CUSTPARTID TO BTCH_CHAR-CHAR_VALUE.&lt;/P&gt;&lt;P&gt;      APPEND BTCH_CHAR.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Update E-Sort Yield Info&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING MATL TO BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  IF NOT MATL-ESORT IS INITIAL.&lt;/P&gt;&lt;P&gt;    MOVE 'MM_ESORT_YIELD' TO BTCH_CHAR-CHAR_NAME.&lt;/P&gt;&lt;P&gt;    IF MATL-ESORT GE 'A'.&lt;/P&gt;&lt;P&gt;      CLEAR MATL-ESORT.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      MOVE MATL-ESORT TO BTCH_CHAR-CHAR_VALUE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Update Defect Density Info&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  MOVE-CORRESPONDING MATL TO BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  IF NOT MATL-DEFECT IS INITIAL.&lt;/P&gt;&lt;P&gt;    MOVE 'MM_DEFECT_DENSITY' TO BTCH_CHAR-CHAR_NAME.&lt;/P&gt;&lt;P&gt;    IF MATL-DEFECT GE 'A'.&lt;/P&gt;&lt;P&gt;      CLEAR MATL-DEFECT.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      MOVE MATL-DEFECT TO BTCH_CHAR-CHAR_VALUE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="5" type="ul"&gt;&lt;P&gt;Update Gross Die Per Wafer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  IF NOT MATL-GDPW IS INITIAL.&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING MATL TO BTCH_CHAR.&lt;/P&gt;&lt;P&gt;    MOVE 'MM_GROSS_DIE_PER_WAFER' TO BTCH_CHAR-CHAR_NAME.&lt;/P&gt;&lt;P&gt;    IF MATL-GDPW GE 'A'.&lt;/P&gt;&lt;P&gt;      CLEAR MATL-GDPW.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      MOVE MATL-GDPW TO BTCH_CHAR-CHAR_VALUE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND BTCH_CHAR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SEARCH MATL-PARTID FOR 'ZZZZ'.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE MATL-MATNR TO OBJECT.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CLAF_CHECK_ALLOCATION'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              CLASSNAME                  = 'SSMC_PRODUCT_CLS01'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        classnumber                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              CLASSTYPE                  = '023'&lt;/P&gt;&lt;P&gt;              OBJECT                     = OBJECT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        KEY_DATE                   = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        CHANGE_SERVICE_CLF         = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        CHANGE_NUMBER              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              TABLE                      = 'MARA'&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              ALLOCATION_EXIST           = EXIST_FLG&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ALLOCATION_EXIST_IN_FUTURE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;    IF EXIST_FLG IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE '023' TO MATL-CLASS_TYPE.&lt;/P&gt;&lt;P&gt;      ADD 100000 TO MATL-RECNR_000001.&lt;/P&gt;&lt;P&gt;      APPEND MATL.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at MATL.&lt;/P&gt;&lt;P&gt;    perform convert_0001. " BIKSSK&lt;/P&gt;&lt;P&gt;    loop at BTCH_CHAR&lt;/P&gt;&lt;P&gt;         where recnr_000001 =&lt;/P&gt;&lt;P&gt;               MATL-recnr_000001.&lt;/P&gt;&lt;P&gt;      perform convert_0002. " BIAUSP&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;End of transaction&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  transfer_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    "convert_transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 08:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059107#M724521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T08:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Conversion Program in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059108#M724522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jyothi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I dont know how system generated that code. Not able to find in LSMW steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only i can see this when I open Read Convert program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;1. My source structure is
 MATL                     Material
     BTCH_CHAR                batch characteristics

2. Structure Relations
       BIKSSK Classification: Batch Input                   &amp;lt;&amp;lt;&amp;lt;&amp;lt; MATL      Material
              Select Target Structure BIKSSK .
           BIAUSP Classification: Batch Input    &amp;lt;&amp;lt;&amp;lt;&amp;lt; BTCH_CHAR batch characteristics&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rays&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 08:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059108#M724522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-19T08:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Data Conversion Program in LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059109#M724523</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;  here is solution. Execute step 3(Field mapping and convertion rules). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the default layout is  Global definitions are not visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Goto Extras--&amp;gt;Layout then check Global data definitions. Thens its visible to you and then can change now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This global part of code will be excuted  Before Transaction Processing Starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Rayudu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 02:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-conversion-program-in-lsmw/m-p/3059109#M724523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-20T02:07:49Z</dc:date>
    </item>
  </channel>
</rss>

