<p>So we have standard infotype which is not shown in PPOME transaction. We want to add standard infotype to PPOME tab to help users enter data. Let&#8217;s take infotype 1039 &#8220;Shift group&#8221; for our example. Usually, we use it for shift planning in time management (transaction PP61). It&#8217;s recorded for Organizational units (object type &#8220;O&#8221;). So it&#8217;s easier to enter this infotype in PPOME than in PP01 as SAP advise.</p>
<p>There are three steps to make it happen. We need to create a new screen, it&#8217;s logic and enter it in customizing tables.<br />
<!--more--></p>
<h3>Three steps to add standard infotype to PPOME or PPOSE tab</h3>
<p>The first step is to create a new screen and it&#8217;s logic like PBO (process before output) and PAI (process after input). There are two options: break standard module pool MPxxxx00 and add screen 9000, or to write your own screen. We don&#8217;t want to crack standard solution as it requires Object Key from SAP Marketplace, so let&#8217;s stick with our custom screen. Open SE38 transaction and copy function group HRFPM_OM_DETAIL_SCREENS to our own. Open it and change screen logic to needed. Thus we change screen 0300 to fit our 1039 infotype fields. Activate it.</p>
<p>Step number two. Customizing. Open view T77OMTABUS in the SM30 transaction. In tab definition create a new tab, but leave fields &#8216;Infotype Specific&#8217; empty. It means we have our own programme to handle screen processing. If you tick checkbox system will search for screen 7000 in module pool MPxxxx00.</p>
<p>So we&#8217;ve created a tab for a new infotype. Now we need to specify this specific tab for O objects. On the same screen choose &#8216;Tab Page in Scenario for each Object Type&#8217;. Create a new record for an OME0 scenario: object type &#8216;O&#8217;, our tab, sequence. Here what I&#8217;ve: OME0 O ZIT1039 18 SAPLZ_HRFPM_OM_DETAIL_SCREEN 0300 ZRH_OM_DETAILSCREEN_ICONS.</p>
<p>If we want to show nice icon in infotype header, then copy standard FM RH_OM_DETAILSCREEN_ICONS into own, add CASE for your tab add write this code:<br />
<code><br />
icon_name = icon_checked.<br />
call function 'RH_OM_PP01_INFTY_CHECK'<br />
EXPORTING<br />
infty = '1039'<br />
IMPORTING<br />
icon_name = icon_name.<br />
</code></p>
<p>Save and check.</p>
<p><a href="http://saphr.ru/wp-content/uploads/ppome_1039.jpg"><img class="alignnone size-medium wp-image-79" title="ppome_1039" src="http://saphr.ru/wp-content/uploads/ppome_1039-300x47.jpg" alt="ppome_1039" width="300" height="47" /></a></p>
<p>Don&#8217;t forget to include icon pool into your code:<br />
TYPE-POOLS: ICON.</p>