<?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: Loading text using LSMW in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loading-text-using-lsmw/m-p/1199173#M130580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used BAPI to do that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clfrsh : materialdescription,materiallongtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    headdata-material   = it_mara-niin.&lt;/P&gt;&lt;P&gt;    headdata-ind_sector = 'M'.&lt;/P&gt;&lt;P&gt;    headdata-matl_type  = 'UNBW'.&lt;/P&gt;&lt;P&gt;    headdata-basic_view = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clientdata-size_dim = it_mara-sizes.&lt;/P&gt;&lt;P&gt;    clientdatax-size_dim = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    materialdescription-langu     = 'E'.&lt;/P&gt;&lt;P&gt;    materialdescription-langu_iso = 'EN'.&lt;/P&gt;&lt;P&gt;    materialdescription-matl_desc = it_mara-desc+0(40).&lt;/P&gt;&lt;P&gt;    appclr materialdescription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    materiallongtext-applobject = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;    materiallongtext-text_name  = it_mara-niin.&lt;/P&gt;&lt;P&gt;    materiallongtext-text_id    = 'GRUN'.&lt;/P&gt;&lt;P&gt;    materiallongtext-langu      = 'E'.&lt;/P&gt;&lt;P&gt;    materiallongtext-langu_iso  = 'EN'.&lt;/P&gt;&lt;P&gt;    materiallongtext-format_col = '*'.&lt;/P&gt;&lt;P&gt;    materiallongtext-text_line  = it_mara-desc.&lt;/P&gt;&lt;P&gt;    appclr materiallongtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; plantdata-plant = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; plantdatax-plant = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdata-plant    = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdata-stge_loc = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdatax-plant    = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdatax-stge_loc = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              headdata             = headdata&lt;/P&gt;&lt;P&gt;              clientdata           = clientdata&lt;/P&gt;&lt;P&gt;              clientdatax          = clientdatax&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           plantdata            = plantdata&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           plantdatax           = plantdatax&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           storagelocationdata  = storagelocationdata&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           storagelocationdatax = storagelocationdatax&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              returnmessages      = returnmessages&lt;/P&gt;&lt;P&gt;              materialdescription = materialdescription&lt;/P&gt;&lt;P&gt;              materiallongtext    = materiallongtext.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             UNITSOFMEASURE      = UNITSOFMEASURE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             UNITSOFMEASUREx     = UNITSOFMEASUREx&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             extensionin         = extensionin&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             extensioninx        = extensioninx.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR returnmessages.&lt;/P&gt;&lt;P&gt;    appclr returnmessages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'COMMIT_TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT returnmessages.&lt;/P&gt;&lt;P&gt;    WRITE:/ returnmessages-message.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2006 21:22:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-16T21:22:07Z</dc:date>
    <item>
      <title>Loading text using LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loading-text-using-lsmw/m-p/1199172#M130579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone used LSMW to load text?  I need to use transaction MM02 to add text to the Basic data text area of the Basic data 1 view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 21:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loading-text-using-lsmw/m-p/1199172#M130579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T21:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading text using LSMW</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loading-text-using-lsmw/m-p/1199173#M130580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used BAPI to do that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clfrsh : materialdescription,materiallongtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    headdata-material   = it_mara-niin.&lt;/P&gt;&lt;P&gt;    headdata-ind_sector = 'M'.&lt;/P&gt;&lt;P&gt;    headdata-matl_type  = 'UNBW'.&lt;/P&gt;&lt;P&gt;    headdata-basic_view = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clientdata-size_dim = it_mara-sizes.&lt;/P&gt;&lt;P&gt;    clientdatax-size_dim = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    materialdescription-langu     = 'E'.&lt;/P&gt;&lt;P&gt;    materialdescription-langu_iso = 'EN'.&lt;/P&gt;&lt;P&gt;    materialdescription-matl_desc = it_mara-desc+0(40).&lt;/P&gt;&lt;P&gt;    appclr materialdescription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    materiallongtext-applobject = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;    materiallongtext-text_name  = it_mara-niin.&lt;/P&gt;&lt;P&gt;    materiallongtext-text_id    = 'GRUN'.&lt;/P&gt;&lt;P&gt;    materiallongtext-langu      = 'E'.&lt;/P&gt;&lt;P&gt;    materiallongtext-langu_iso  = 'EN'.&lt;/P&gt;&lt;P&gt;    materiallongtext-format_col = '*'.&lt;/P&gt;&lt;P&gt;    materiallongtext-text_line  = it_mara-desc.&lt;/P&gt;&lt;P&gt;    appclr materiallongtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; plantdata-plant = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; plantdatax-plant = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdata-plant    = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdata-stge_loc = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdatax-plant    = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; storagelocationdatax-stge_loc = 'PICA'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              headdata             = headdata&lt;/P&gt;&lt;P&gt;              clientdata           = clientdata&lt;/P&gt;&lt;P&gt;              clientdatax          = clientdatax&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           plantdata            = plantdata&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           plantdatax           = plantdatax&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           storagelocationdata  = storagelocationdata&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           storagelocationdatax = storagelocationdatax&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              returnmessages      = returnmessages&lt;/P&gt;&lt;P&gt;              materialdescription = materialdescription&lt;/P&gt;&lt;P&gt;              materiallongtext    = materiallongtext.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             UNITSOFMEASURE      = UNITSOFMEASURE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             UNITSOFMEASUREx     = UNITSOFMEASUREx&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             extensionin         = extensionin&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             extensioninx        = extensioninx.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR returnmessages.&lt;/P&gt;&lt;P&gt;    appclr returnmessages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'COMMIT_TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT returnmessages.&lt;/P&gt;&lt;P&gt;    WRITE:/ returnmessages-message.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 21:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loading-text-using-lsmw/m-p/1199173#M130580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-16T21:22:07Z</dc:date>
    </item>
  </channel>
</rss>

