<?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: Problems with function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168273#M753814</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'm using this FM for Venezuelan Currency's Change  and sap provided this function for made this convertion, for example iused this FM HR_CONVERT_CURRENCY_RESULT for convert RT's tables of the payroll cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I need to convert amount in PS_EVAL Table of the payroll cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using type HRPAYVE_PS_EVAL, but i have a dump when i used this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working in R/3 Release 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Others idea for convert this table??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 18:12:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-14T18:12:07Z</dc:date>
    <item>
      <title>Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168269#M753810</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 a problem with the FM ' &amp;lt;b&amp;gt;HRVE_CONVERT_CURR_NAT_PAY_TABS&amp;lt;/b&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need convert the currency in the table PS_EVAL , but i have a dump for conflit type with the declarations of my table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which type of declarations can i use for my table?&lt;/P&gt;&lt;P&gt;How can i use this FM for convert currency in table PS_EVAL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 15:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168269#M753810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T15:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168270#M753811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which system is it... I am looking in ECC6.0 and it says the FM doesnt exist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 16:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168270#M753811</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-14T16:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168271#M753812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use type HRPAYVE_PS_EVAL for this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 16:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168271#M753812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168272#M753813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Iam using 4.6c version.but that fm doesnot exist in my system.Which version you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my system only "HRVE_CONVERT_TIME" exists starts with HRVE&lt;STRONG&gt;CONVERT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No other related fms also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sivaparvathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 16:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168272#M753813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T16:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168273#M753814</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'm using this FM for Venezuelan Currency's Change  and sap provided this function for made this convertion, for example iused this FM HR_CONVERT_CURRENCY_RESULT for convert RT's tables of the payroll cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I need to convert amount in PS_EVAL Table of the payroll cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using type HRPAYVE_PS_EVAL, but i have a dump when i used this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working in R/3 Release 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Others idea for convert this table??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 18:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168273#M753814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T18:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168274#M753815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give some more of the dump details? Code extract? Error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 18:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168274#M753815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T18:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168275#M753816</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;&amp;lt;b&amp;gt;part of my dump&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;The call to the function module "HRVE_CONVERT_CURR_NAT_PAY_TABS" is incorrect:&lt;/P&gt;&lt;P&gt;The function module interface allows you to specify only fields&lt;/P&gt;&lt;P&gt;of a particular type under "CT_PS_EVAL". The field "WA_PS_EVAL" specified here has a different field type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;My Code :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;              LOOP AT ps_eval.&lt;/P&gt;&lt;P&gt;                linea = sy-tabix.&lt;/P&gt;&lt;P&gt;                MOVE-CORRESPONDING ps_eval TO wa_ps_eval.&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;                call function 'HRVE_CONVERT_CURR_NAT_PAY_TABS'&lt;/P&gt;&lt;P&gt;                     exporting&lt;/P&gt;&lt;P&gt;                          iv_target_currency    = moneda_endda&lt;/P&gt;&lt;P&gt;                          iv_currency_rate_date = pn-endda&lt;/P&gt;&lt;P&gt;                          iv_pernr              = pernr_aux&lt;/P&gt;&lt;P&gt;                          iv_seqnr              = evpdir-seqnr&lt;/P&gt;&lt;P&gt;                     changing&lt;/P&gt;&lt;P&gt;                          ct_ps_eval            = wa_ps_eval&lt;/P&gt;&lt;P&gt;                     exceptions&lt;/P&gt;&lt;P&gt;                          error                 = 1&lt;/P&gt;&lt;P&gt;                          others                = 2.&lt;/P&gt;&lt;P&gt;              ENDLOOP.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 19:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168275#M753816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T19:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168276#M753817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you declared wa_ps_eval correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: wa_ps_eval type HRPAYVE_PS_EVAL.

LOOP AT ps_eval.
  linea = sy-tabix.
  MOVE-CORRESPONDING ps_eval TO wa_ps_eval.
****
  CALL FUNCTION 'HRVE_CONVERT_CURR_NAT_PAY_TABS'
    EXPORTING
      iv_target_currency    = moneda_endda
      iv_currency_rate_date = pn-endda
      iv_pernr              = pernr_aux
      iv_seqnr              = evpdir-seqnr
    CHANGING
      ct_ps_eval            = wa_ps_eval
    EXCEPTIONS
      error                 = 1
      OTHERS                = 2.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 19:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168276#M753817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168277#M753818</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 solved my problems.  &lt;/P&gt;&lt;P&gt;Thanks for your answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code:&lt;/P&gt;&lt;P&gt;              CALL FUNCTION 'HRVE_CONVERT_CURR_NAT_PAY_TABS'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  IV_TARGET_CURRENCY          = MONEDA_ENDDA&lt;/P&gt;&lt;P&gt;                  IV_CURRENCY_RATE_DATE       = pn-endda&lt;/P&gt;&lt;P&gt;                  IV_PERNR                    = PERNR-PERNR&lt;/P&gt;&lt;P&gt;                  IV_SEQNR                    = EVPDIR-SEQNR&lt;/P&gt;&lt;P&gt;               CHANGING&lt;/P&gt;&lt;P&gt;                  CT_PS_EVAL                  = PS_EVAL[]&lt;/P&gt;&lt;P&gt;               EXCEPTIONS&lt;/P&gt;&lt;P&gt;                 ERROR                       = 1&lt;/P&gt;&lt;P&gt;                 OTHERS                      = 2.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 21:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-function/m-p/3168277#M753818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T21:05:02Z</dc:date>
    </item>
  </channel>
</rss>

