<?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: Function Module-Z_SD_CHARACT_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401527#M1240901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of itab occurs 0,
         Kunnr,
         field1,
         field2,
         field3,
         end of itab.

data: begin of itab1,
         field1,
         field2,
         field3,
         end of itab1.

Loop at itab.
Move : Itab-field1 to Itab1-field1 ,
           Itab-field2 to Itab1-field2 ,
           Itab-field3 to Itab1-field3 .
           
Call 'Z_SD_CHARACT_CHANGE'
  Kunnr = itab-Kunnr
  I_Structure = ITAB1.

Clear itab1.
Endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2009 13:10:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-07T13:10:27Z</dc:date>
    <item>
      <title>Function Module-Z_SD_CHARACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401522#M1240896</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 am using 'Z_SD_CHARACT_CHANGE' this FM for charectar change.&lt;/P&gt;&lt;P&gt;In my internal table there are four fields.&lt;/P&gt;&lt;P&gt;for Exa.&lt;/P&gt;&lt;P&gt;118260	PROMO_ACTIVITY	Y     011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I call FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_SD_CHARACT_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    IV_KUNNR         =  118620&lt;/P&gt;&lt;P&gt;    IT_CHARACT       =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in IT_CHARACT what should I pass,means it is structure and in it I have to pass all remaining fileds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AMAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 12:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401522#M1240896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T12:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module-Z_SD_CHARACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401523#M1240897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is not so clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the code of the function module, and also please brief your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 12:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401523#M1240897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module-Z_SD_CHARACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401524#M1240898</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;this is not a standard Function module because it starts with a 'Z'  so we can not have a look at it without you providing the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guido Koopmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 12:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401524#M1240898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T12:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module-Z_SD_CHARACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401525#M1240899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In FM Z_SD_CHARACT_CHANGE,there are two import parameter&lt;/P&gt;&lt;P&gt;iv_kunnr and it_charact.&lt;/P&gt;&lt;P&gt;iv_kunnr is customer number which is in my internal table.&lt;/P&gt;&lt;P&gt;it_charact is structure and having three fields which is also in my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how can I pass thosevalue in it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 12:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401525#M1240899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T12:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module-Z_SD_CHARACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401526#M1240900</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;You need to pass all content of that internal table to the FM, but be sure that the structure with values is the same type as the one defined in the FM otherwise the system will dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to transfer data from one itab to another, it' s generally done like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab[ ] = Itab[ ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pay attention to the brackets, so headerlines will not be copied and make sure they have the same type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise if not the same type, you can do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move-corresponding struct1 to struct2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guido Koopmann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: G. Koopmann on Apr 7, 2009 2:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 12:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401526#M1240900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T12:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module-Z_SD_CHARACT_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401527#M1240901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of itab occurs 0,
         Kunnr,
         field1,
         field2,
         field3,
         end of itab.

data: begin of itab1,
         field1,
         field2,
         field3,
         end of itab1.

Loop at itab.
Move : Itab-field1 to Itab1-field1 ,
           Itab-field2 to Itab1-field2 ,
           Itab-field3 to Itab1-field3 .
           
Call 'Z_SD_CHARACT_CHANGE'
  Kunnr = itab-Kunnr
  I_Structure = ITAB1.

Clear itab1.
Endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2009 13:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-z-sd-charact-change/m-p/5401527#M1240901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-07T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

