<?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: Error in 'HR_INFOTYPE_OPERATION' function module. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-infotype-operation-function-module/m-p/3751433#M902513</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;check if variable p0585 is a row. The variable can't be a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 22:48:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T22:48:52Z</dc:date>
    <item>
      <title>Error in 'HR_INFOTYPE_OPERATION' function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-infotype-operation-function-module/m-p/3751432#M902512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts i am using 'HR_INFOTYPE_OPERATION'  this function module in my program . This is the parameters i passed to it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'HR_INFOTYPE_OPERATION' &lt;/P&gt;&lt;P&gt;      exporting &lt;/P&gt;&lt;P&gt;           infty         = '0585' &lt;/P&gt;&lt;P&gt;           number        = number &lt;/P&gt;&lt;P&gt;           lockindicator = space &lt;/P&gt;&lt;P&gt;           validityend   = pendda &lt;/P&gt;&lt;P&gt;           validitybegin = pbegda &lt;/P&gt;&lt;P&gt;           record        = p0585 &lt;/P&gt;&lt;P&gt;           operation     = p_oper &lt;/P&gt;&lt;P&gt;           tclas         = 'A' &lt;/P&gt;&lt;P&gt;            dialog        = '2' &lt;/P&gt;&lt;P&gt;      importing &lt;/P&gt;&lt;P&gt;           return        = wa_return &lt;/P&gt;&lt;P&gt;           key           = wa_key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i run this program it gives dump as shown below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  An exception occurred that is explained in detail below. &lt;/P&gt;&lt;P&gt;  The exception, which is assigned to class 'CX_SY_ASSIGN_CAST_ILLEGAL_CAST' &lt;/P&gt;&lt;P&gt;   not caught in &lt;/P&gt;&lt;P&gt;  procedure "HR_INFOTYPE_OPERATION" "(FUNCTION)", nor was it propagated by a &lt;/P&gt;&lt;P&gt;   RAISING clause. &lt;/P&gt;&lt;P&gt;  Since the caller of the procedure could not have anticipated that the &lt;/P&gt;&lt;P&gt;  exception would occur, the current program is terminated. &lt;/P&gt;&lt;P&gt;  The reason for the exception is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The error occurred at a statement of the form &lt;/P&gt;&lt;P&gt;    ASSIGN f TO &amp;lt;fs&amp;gt; CASTING. &lt;/P&gt;&lt;P&gt;    ASSIGN f TO &amp;lt;fs&amp;gt; CASTING TYPE t. &lt;/P&gt;&lt;P&gt;  or &lt;/P&gt;&lt;P&gt;    ASSIGN f TO &amp;lt;fs&amp;gt; CASTING LIKE f1. &lt;/P&gt;&lt;P&gt;  or &lt;/P&gt;&lt;P&gt;    at table statements with the addition &lt;/P&gt;&lt;P&gt;    ASSIGNING &amp;lt;fs&amp;gt; CASTING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The following error causes are possible: &lt;/P&gt;&lt;P&gt;  1. The type of field f or the target type determined by &amp;lt;fs&amp;gt;, t or f1 &lt;/P&gt;&lt;P&gt;  contains data references, object references, strings or internal tables &lt;/P&gt;&lt;P&gt;  as components. &lt;/P&gt;&lt;P&gt;  These components must match exactly as far as their position (offset) &lt;/P&gt;&lt;P&gt;  and their type are concerned. &lt;/P&gt;&lt;P&gt;  2. The specified type t or the type of f1 are not suited for the type of &lt;/P&gt;&lt;P&gt;   the field symbol &amp;lt;fs&amp;gt;. &lt;/P&gt;&lt;P&gt;  3. The row type of the related table is not suited for the target type  specified by &amp;lt;fs&amp;gt; according to the rules described in 1). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please help me its urgent and send me the correct solution of this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Apr 2008 06:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-infotype-operation-function-module/m-p/3751432#M902512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-26T06:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in 'HR_INFOTYPE_OPERATION' function module.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-infotype-operation-function-module/m-p/3751433#M902513</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;check if variable p0585 is a row. The variable can't be a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 22:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-hr-infotype-operation-function-module/m-p/3751433#M902513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T22:48:52Z</dc:date>
    </item>
  </channel>
</rss>

