<?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: Modifying values in an infotype using HRPAD00INFTY's BEFORE_OUTPUT method. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485682#M1255646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you had a look at the type of the method parameters?&lt;/P&gt;&lt;P&gt;All are &lt;STRONG&gt;IMPORTING&lt;/STRONG&gt; meaning that none of the changes you do within your method is propagated to the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you may use the following trick described in:&lt;/P&gt;&lt;P&gt;[SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2009 21:05:29 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2009-04-29T21:05:29Z</dc:date>
    <item>
      <title>Modifying values in an infotype using HRPAD00INFTY's BEFORE_OUTPUT method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485681#M1255645</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;When I select an employee in Infotype 0194 using transaction PA30, I would like to set a series of fields to a series of values from another table.  I've implemented it via an enhancement to HRPAD00INFTY's BEFORE_OUTPUT method, but the values aren't showing up in the fields on the change screen, and I do not understand why it isn't working properly.  Could someone tell me what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA i0194 TYPE p0194.&lt;/P&gt;&lt;P&gt;IF sy-tcode = 'PA30' AND INNNN-INFTY = '0194'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS cl_hr_pnnnn_type_cast DEFINITION LOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_HR_PNNNN_TYPE_CAST=&amp;gt;PRELP_TO_PNNNN&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      PRELP = INNNN&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      PNNNN = i0194.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  "Changes to i0194 here&lt;/P&gt;&lt;P&gt;  i0194-ORNAM = ........&lt;/P&gt;&lt;P&gt;  i0194-ORSTR = ........&lt;/P&gt;&lt;P&gt;  i0194-ORORT = ........&lt;/P&gt;&lt;P&gt;   ........etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD CL_HR_PNNNN_TYPE_CAST=&amp;gt;PNNNN_TO_PRELP&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      PNNNN = i0194&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      PRELP = INNNN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking through the debugger, the code is being executed and the data appears to be copied over, but it's not appearing in the fields on the change or display screens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 20:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485681#M1255645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-29T20:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying values in an infotype using HRPAD00INFTY's BEFORE_OUTPUT method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485682#M1255646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you had a look at the type of the method parameters?&lt;/P&gt;&lt;P&gt;All are &lt;STRONG&gt;IMPORTING&lt;/STRONG&gt; meaning that none of the changes you do within your method is propagated to the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you may use the following trick described in:&lt;/P&gt;&lt;P&gt;[SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 21:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485682#M1255646</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-04-29T21:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying values in an infotype using HRPAD00INFTY's BEFORE_OUTPUT method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485683#M1255647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah.  Thank you for pointing that out.  The original plan was to modify the user exit to do this, but the PBO use exit does not seem to be invoked when selecting change or display mode.  I'm at a bit of a loss as how to modify the screen fields during PBO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 14:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485683#M1255647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T14:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying values in an infotype using HRPAD00INFTY's BEFORE_OUTPUT method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485684#M1255648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I resolved the problem by enhancing a later point in the program MP019400 to place the values for P0194-ORNAM, etc., in there.  Now it is setting the data as I want it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 18:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485684#M1255648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-30T18:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying values in an infotype using HRPAD00INFTY's BEFORE_OUTPUT method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485685#M1255649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain the procedure to do it as I am facing the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2009 16:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-values-in-an-infotype-using-hrpad00infty-s-before-output-method/m-p/5485685#M1255649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-03T16:34:33Z</dc:date>
    </item>
  </channel>
</rss>

