<?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: Problem when copying a FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661782#M1287758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Would you please copy the FM again along with the VARIANTS and then check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2009 14:02:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-08T14:02:12Z</dc:date>
    <item>
      <title>Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661781#M1287757</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;I have to use a std FM to create a report and have to tweak the FM according to my needs before i use it. the name of the std FM is K_KKB_KKBCS_ORDER_REPORT. This FM calculated the Target vs Actual costs. This std SAP FM has 3 layout variants. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to copy this FM to a ZFM to tweak it. When i copied it to the ZFM it did not copy the standard SAP layout variants. So i thought i will create the same variants manually and to my suprise I didnt find some of the fields for selection that are in the original FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am i missing here? If my question is not clear please tell me i will try to rephrase it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 13:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661781#M1287757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T13:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661782#M1287758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Would you please copy the FM again along with the VARIANTS and then check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 14:02:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661782#M1287758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661783#M1287759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pinaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no option to do that. When i copy a report i get the option to check the VARIANTS but when copying a FM it never prompts for that option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 15:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661783#M1287759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T15:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661784#M1287760</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;What do you mean by : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I didnt find some of the fields for selection that are in the original FM&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM 'K_KKB_KKBCS_ORDER_REPORT' has an i/p param I_VARIA which contains the variant info. I think you must be knowing this, but FYI this is also related to the i/p param I_WIP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: l_varia type disvariant.
  if i_wip is initial.
     move i_varia to l_varia.
  else.
     move '1SAP03' to l_varia-variant.
     move 'SAPLKKBC' to l_varia-report.

  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 15:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661784#M1287760</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-06-08T15:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661785#M1287761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a thought: Is it some thing to do with Function group.&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 15:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661785#M1287761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T15:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661786#M1287762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;I didnt find some of the fields for selection that are in the original FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well let me be more specific here. When i run the 'K_KKB_KKBCS_ORDER_REPORT', and get the ALV display i can choose 3 options from the 'Select Layout' button 1SAP01,1SAP02,1SAP03. and 1SAP01 statnds for Target/Actual comparison. And when i click on the button 'Change Layout' to select some more columns i get a column called Scrap Variance. That is what i need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i copy the 'K_KKB_KKBCS_ORDER_REPORT' into a 'Z_K_KKB_KKBCS_ORDER_REPORT' and execute it without making any changes i dont get the 3 layouts when i click on the 'Select Layout' button. But instead i get only one option 1SAP01 and the description says 'Plan/Actual Comparison' instead of 'Target/Actual comparison'. And when i click on the 'Change Layout' button i dont see the Scrap Variance column at all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 16:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661786#M1287762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T16:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661787#M1287763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sivasakthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You first copy the entire Function group &lt;STRONG&gt;KKBC&lt;/STRONG&gt; to a Z function group.&lt;/P&gt;&lt;P&gt;Then delete the other function modules except K_KKB_KKBCS_ORDER_REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the variant for the FM  K_KKB_KKBCS_ORDER_REPORT if required.&lt;/P&gt;&lt;P&gt;Now activate the Function Group .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will resolve the issue .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 05:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661787#M1287763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T05:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661788#M1287764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I passed a dummy name in the variant field when i executed the FM i copied and voila...i could get all the feild names...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 16:28:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661788#M1287764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when copying a FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661789#M1287765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain more in detail how you solve this issue? I am facing the same thing now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 13:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-copying-a-fm/m-p/5661789#M1287765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-08T13:08:18Z</dc:date>
    </item>
  </channel>
</rss>

