<?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: regarding function module error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536782#M575830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do check subtype you are passing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 08:04:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-10T08:04:31Z</dc:date>
    <item>
      <title>regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536774#M575822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             i m using hr_infotype_operation....the syntax is like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at info_table.&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                  = '0015'&lt;/P&gt;&lt;P&gt;    NUMBER                 = info_table-pernr&lt;/P&gt;&lt;P&gt;   SUBTYPE                 = '6500'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECTID               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LOCKINDICATOR          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   VALIDITYEND             = jtab-begda&lt;/P&gt;&lt;P&gt;   VALIDITYBEGIN           = jtab-endda&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RECORDNUMBER           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    RECORD                 = info_table&lt;/P&gt;&lt;P&gt;    OPERATION              = 'INS'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TCLAS                  = 'A'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIALOG_MODE            = '0'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOCOMMIT                = NOCOMMIT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VIEW_IDENTIFIER        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SECONDARY_RECORD       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   RETURN                 = W_RETURN.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KEY                    = PERSONALDATAKEY.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is giving this error:::&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShrtText&lt;/P&gt;&lt;P&gt;    Error in ASSIGN in the program "SAPLHRMM".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    Error in ABAP application program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The current ABAP program "SAPLHRMM" had to be terminated because one of the&lt;/P&gt;&lt;P&gt;    statements could not be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    The source field is too short.&lt;/P&gt;&lt;P&gt;    The current program, "SAPLHRMM", tried to assign a field to a field symbol.&lt;/P&gt;&lt;P&gt;    However, the field is shorter than the type of the field symbol, which&lt;/P&gt;&lt;P&gt;    is not allowed.&lt;/P&gt;&lt;P&gt;    The statement in question is in the form ASSIGN f TO &amp;lt;fs&amp;gt; CASTING or&lt;/P&gt;&lt;P&gt;    ASSIGN f TO &amp;lt;fs&amp;gt; with a field symbol that was created using the&lt;/P&gt;&lt;P&gt;    STRUCTURE addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me to solve this problemmmmm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536774#M575822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T06:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536775#M575823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check, some of the source field is too short than required for field symbole.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to make all fields with proper size as per their domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chetan Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536775#M575823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T06:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536776#M575824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ravi &lt;/P&gt;&lt;P&gt;what is type of your onfo_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be of type P0015. " this should solve the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using internal table without header line (i.e use work areas)&lt;/P&gt;&lt;P&gt;and pass work area to RECORD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 06:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536776#M575824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T06:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536777#M575825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pranesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               no doubt the error has gone but the database pa0015 is not updating......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536777#M575825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536778#M575826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this piece of code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Perform PA30 via infotype_operation&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      call function 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          infty         = '0009'&lt;/P&gt;&lt;P&gt;          number        = p0009-pernr&lt;/P&gt;&lt;P&gt;          validityend   = p0009-endda&lt;/P&gt;&lt;P&gt;          validitybegin = p0009-begda&lt;/P&gt;&lt;P&gt;          subtype       = p0009-subty&lt;/P&gt;&lt;P&gt;          recordnumber  = p0009-seqnr&lt;/P&gt;&lt;P&gt;          record        = p0009&lt;/P&gt;&lt;P&gt;          operation     = 'MOD'&lt;/P&gt;&lt;P&gt;          dialog_mode   = '1'&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          return        = l_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data type should be same as the one's paased in the above case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536778#M575826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536779#M575827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check w_return if it is giving any message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do use FM BAPI_EMPLOYEE_ENQUEUE before calling HR_INFO.._OPER...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; BAPI_EMPLOYEE_DEQUEUE after hr_infotype_operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536779#M575827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536780#M575828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya i checked w_return it shows that no data is stored for 0015 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536780#M575828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536781#M575829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check begda &amp;amp; endda which you are passing in record &amp;amp; which you are passing as jtab-begda &amp;amp; jtab-endda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 07:31:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536781#M575829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T07:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: regarding function module error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536782#M575830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do check subtype you are passing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-error/m-p/2536782#M575830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T08:04:31Z</dc:date>
    </item>
  </channel>
</rss>

