<?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: Update infotype using class method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-infotype-using-class-method/m-p/4853934#M1135101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA infotype_reader        TYPE REF TO if_hrpa_plain_infotype_access.
*  MOVE  &amp;lt;pnnnn_typ&amp;gt;    TO &amp;lt;pnnnn_local_typ&amp;gt;.
  text_tab_local[] = text_tab[].
*
  CALL METHOD cl_hrpa_masterdata_factory=&amp;gt;get_plain_infotype_access
    IMPORTING
      plain_infotype_access = infotype_reader.
*
  CALL METHOD infotype_reader-&amp;gt;insert
    EXPORTING
      tclas           = tclas_employee
      no_auth_check   = no_auth_check
      message_handler = message_handler
    IMPORTING
      is_ok           = is_ok
    CHANGING
      pnnnn           = &amp;lt;pnnnn_local_typ&amp;gt;
      text_tab        = text_tab_local.
  CHECK is_ok = true.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shrinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2008 11:39:45 GMT</pubDate>
    <dc:creator>former_member31961</dc:creator>
    <dc:date>2008-12-04T11:39:45Z</dc:date>
    <item>
      <title>Update infotype using class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-infotype-using-class-method/m-p/4853933#M1135100</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;&lt;/P&gt;&lt;P&gt;I need to update an infotype using a Class method. I need to pass a file as input to the Class Structure.&lt;/P&gt;&lt;P&gt;How can we pas a file as input to the Class structure. &lt;/P&gt;&lt;P&gt;Any pointers on this would be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saher&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 10:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-infotype-using-class-method/m-p/4853933#M1135100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T10:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update infotype using class method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-infotype-using-class-method/m-p/4853934#M1135101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA infotype_reader        TYPE REF TO if_hrpa_plain_infotype_access.
*  MOVE  &amp;lt;pnnnn_typ&amp;gt;    TO &amp;lt;pnnnn_local_typ&amp;gt;.
  text_tab_local[] = text_tab[].
*
  CALL METHOD cl_hrpa_masterdata_factory=&amp;gt;get_plain_infotype_access
    IMPORTING
      plain_infotype_access = infotype_reader.
*
  CALL METHOD infotype_reader-&amp;gt;insert
    EXPORTING
      tclas           = tclas_employee
      no_auth_check   = no_auth_check
      message_handler = message_handler
    IMPORTING
      is_ok           = is_ok
    CHANGING
      pnnnn           = &amp;lt;pnnnn_local_typ&amp;gt;
      text_tab        = text_tab_local.
  CHECK is_ok = true.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shrinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 11:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-infotype-using-class-method/m-p/4853934#M1135101</guid>
      <dc:creator>former_member31961</dc:creator>
      <dc:date>2008-12-04T11:39:45Z</dc:date>
    </item>
  </channel>
</rss>

