<?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: Process function with HR_MAINTAIN_MASTERDATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-function-with-hr-maintain-masterdata/m-p/3049888#M722049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; this is how i had used for my requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  select single stext
  into w_oname
  from T591S
  where sprsl = sy-langu
  and   infty = '0219'
  and   subty = w_otype.
  I_PROPOSED_VALUES-FNAME = 'P0219-ONAME'.
  I_PROPOSED_VALUES-FVAL = w_oname.
  APPEND I_PROPOSED_VALUES.


  CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
      EXPORTING
           PERNR              = '00000000'
           MASSN              = C_ACTION_HIRE
           ACTIO              = 'INS'
           TCLAS              = 'A'
           BEGDA              = W_START_DATE_D
           ENDDA              = W_END_DATE_D
*         OBJPS              =
*         SEQNR              =
*           sprps              = 'X'
*         SUBTY              =
           WERKS              = W_WERKS
           PERSG              = WA_DATA-EMPLOYMENT_TYPE
           PERSK              = WA_DATA-EMPLOYMENT_DETAILS
           PLANS              = W_OBJID
           DIALOG_MODE        = '1'
           LUW_MODE           = '1'
           NO_EXISTENCE_CHECK = 'X'
           NO_ENQUEUE         = 'X'
      IMPORTING
*         return             =
           RETURN1            = W_BAPIRETURN1
*         hr_return          =
       TABLES
            PROPOSED_VALUES    = I_PROPOSED_VALUES
            MODIFIED_KEYS      = I_MODIFIED_KEYS.
  .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2007 15:07:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-08T15:07:23Z</dc:date>
    <item>
      <title>Process function with HR_MAINTAIN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-function-with-hr-maintain-masterdata/m-p/3049887#M722048</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 want to use the FM HR_MAINTAIN_MASTERDATA for infotype 0764. In this infotype I must push a genarate button. Is this possible with the proposed values table? I already tried 'BDC_OKCODE' and 'FCODE' for the fieldname, but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 14:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-function-with-hr-maintain-masterdata/m-p/3049887#M722048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Process function with HR_MAINTAIN_MASTERDATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-function-with-hr-maintain-masterdata/m-p/3049888#M722049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; this is how i had used for my requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  select single stext
  into w_oname
  from T591S
  where sprsl = sy-langu
  and   infty = '0219'
  and   subty = w_otype.
  I_PROPOSED_VALUES-FNAME = 'P0219-ONAME'.
  I_PROPOSED_VALUES-FVAL = w_oname.
  APPEND I_PROPOSED_VALUES.


  CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
      EXPORTING
           PERNR              = '00000000'
           MASSN              = C_ACTION_HIRE
           ACTIO              = 'INS'
           TCLAS              = 'A'
           BEGDA              = W_START_DATE_D
           ENDDA              = W_END_DATE_D
*         OBJPS              =
*         SEQNR              =
*           sprps              = 'X'
*         SUBTY              =
           WERKS              = W_WERKS
           PERSG              = WA_DATA-EMPLOYMENT_TYPE
           PERSK              = WA_DATA-EMPLOYMENT_DETAILS
           PLANS              = W_OBJID
           DIALOG_MODE        = '1'
           LUW_MODE           = '1'
           NO_EXISTENCE_CHECK = 'X'
           NO_ENQUEUE         = 'X'
      IMPORTING
*         return             =
           RETURN1            = W_BAPIRETURN1
*         hr_return          =
       TABLES
            PROPOSED_VALUES    = I_PROPOSED_VALUES
            MODIFIED_KEYS      = I_MODIFIED_KEYS.
  .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2007 15:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-function-with-hr-maintain-masterdata/m-p/3049888#M722049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-08T15:07:23Z</dc:date>
    </item>
  </channel>
</rss>

