<?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: need help with idea in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539046#M576740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Prashant &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say i have action in log i check field massn and see which action happen  &lt;/P&gt;&lt;P&gt;lets say hire 'A1' now i have to now if fields orgeh and stell are not empty and there &lt;/P&gt;&lt;P&gt;i call to function get log detail with employee for 0000 ,0001,0002....&lt;/P&gt;&lt;P&gt;i can avoid doing 2 times call to fm log detail in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2007 10:26:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-09T10:26:46Z</dc:date>
    <item>
      <title>need help with idea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539044#M576738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallow &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doing an inteface to other system that log the pa and I wont to now if im in the write way?&lt;/P&gt;&lt;P&gt;becouse i call to fm log get detail in the first time like u see below but in all perform above the function i need to call it again .&lt;/P&gt;&lt;P&gt;(i call it in the first time to see what action done and take care of the log if emp hire fire or just change data in infotype)&lt;/P&gt;&lt;P&gt;i certain that there is better way to do that i wont help with plan.&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HREIC_GET_LOGGED_INFTY_CHANGES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;is_log_key = is_log_key&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;et_infty_modif = et_infty_modif. "here i get table with log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT et_infty_modif BY pernr bdate btime .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT et_infty_modif INTO wa_et_infty_modif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON CHANGE OF wa_et_infty_modif-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN wa_et_infty_modif-pernr TO &amp;lt;fs_pernr&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;logged_infotype = wa_et_infty_modif&lt;/P&gt;&lt;P&gt;auth_check = 'X'&lt;/P&gt;&lt;P&gt;use_archive = ' '&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;infty_tab_before = infty_tab_before&lt;/P&gt;&lt;P&gt;infty_tab_after = infty_tab_after&lt;/P&gt;&lt;P&gt;fields = fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--&lt;DEL&gt;- Check Action Hire/Fire/Change&lt;/DEL&gt;---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM action_type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--&lt;DEL&gt;-Take care on change infotype&lt;/DEL&gt;-----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;fs_action&amp;gt; = '1'.&lt;/P&gt;&lt;P&gt;PERFORM change_infotype.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--&lt;DEL&gt;-Take care on hire employee&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;fs_action&amp;gt; = '0'.&lt;/P&gt;&lt;P&gt;APPEND LINES OF et_infty_modif TO hire_tab.&lt;/P&gt;&lt;P&gt;DELETE hire_tab WHERE pernr NE &amp;lt;fs_pernr&amp;gt;.&lt;/P&gt;&lt;P&gt;SORT hire_tab BY infty.&lt;/P&gt;&lt;P&gt;READ TABLE hire_tab ASSIGNING &amp;lt;wa_hire_tab&amp;gt; WITH KEY infty = '0000'. "subrc = 0 its action&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;PERFORM action.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--&lt;DEL&gt;-Take care on delete records&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &amp;lt;fs_action&amp;gt; = '8'.&lt;/P&gt;&lt;P&gt;PERFORM delete_record.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDON.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 17:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539044#M576738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T17:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: need help with idea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539045#M576739</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;This is the correct way. I dont see any problems in it. Do let us know, what problem you are facing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 05:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539045#M576739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T05:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: need help with idea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539046#M576740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Prashant &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say i have action in log i check field massn and see which action happen  &lt;/P&gt;&lt;P&gt;lets say hire 'A1' now i have to now if fields orgeh and stell are not empty and there &lt;/P&gt;&lt;P&gt;i call to function get log detail with employee for 0000 ,0001,0002....&lt;/P&gt;&lt;P&gt;i can avoid doing 2 times call to fm log detail in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 10:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-help-with-idea/m-p/2539046#M576740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T10:26:46Z</dc:date>
    </item>
  </channel>
</rss>

