Site icon SAP Human Resources Experts And Solutions

How to add standard infotype to PPOME tab

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

Exit mobile version