<?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: Problems with HR_INFOTYPE_OPERATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hr-infotype-operation/m-p/3313357#M793591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James, this might help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to create a HR Infotype:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Go to Transaction PM01. &lt;/P&gt;&lt;P&gt;2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9). &lt;/P&gt;&lt;P&gt;3) Select the 'Employee Infotype' radio button. &lt;/P&gt;&lt;P&gt;4) Select the 'PS Structure Infotype'. &lt;/P&gt;&lt;P&gt;5) Click on Create... A separate table maintenance window appears... &lt;/P&gt;&lt;P&gt;6) Create a PS structure with all the fields you want on the Infotype &lt;/P&gt;&lt;P&gt;7) Save and Activate the PS structure &lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Go back to the initial screen of PM01. &lt;/P&gt;&lt;P&gt;9) Click on 'All' push button. It takes a few moments. &lt;/P&gt;&lt;P&gt;10) Click on 'Technical Characteristics'. Infotype list screen appears &lt;/P&gt;&lt;P&gt;11) Click on 'Change'(pencil) button &lt;/P&gt;&lt;P&gt;12) Select your Infotype and click on 'Detail' (magnifying glass) button &lt;/P&gt;&lt;P&gt;13) Give 'T591A' as subtype table &lt;/P&gt;&lt;P&gt;14) Give 'T591S' as subtype txt tab &lt;/P&gt;&lt;P&gt;15) Give your subtype field as subtype field &lt;/P&gt;&lt;P&gt;16) Save and come back to PM01 initial screen &lt;/P&gt;&lt;P&gt;17) Click on 'Infotype Characteristics' ... Infotype list screen appears &lt;/P&gt;&lt;P&gt;18) Click on 'Change' (pencil) button &lt;/P&gt;&lt;P&gt;19) Click on 'New Entries' &lt;/P&gt;&lt;P&gt;20) Enter your Infotype number and short text &lt;/P&gt;&lt;P&gt;21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours) &lt;/P&gt;&lt;P&gt;22) Save your entries. &lt;/P&gt;&lt;P&gt;23) Now the Infotype is created and ready to use. &lt;/P&gt;&lt;P&gt;24) If you want to change the layout of the Infotype as per your requirement... &lt;/P&gt;&lt;P&gt;25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit. &lt;/P&gt;&lt;P&gt;26) In the next screen.. Select 'Layout Editor' and click 'Change'. &lt;/P&gt;&lt;P&gt;27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc. &lt;/P&gt;&lt;P&gt;28) Save and activate. (Don't forget to 'Activate at every level) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subtype Creation :&lt;/P&gt;&lt;P&gt;Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.&lt;/P&gt;&lt;P&gt;Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.&lt;/P&gt;&lt;P&gt;Subty.text tab is T591S and time const tab is T591A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR related site:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/hr/hrhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/hr/hrhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancement of Infotype&lt;/P&gt;&lt;P&gt;Check the following&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="492897"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2008 15:11:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-28T15:11:03Z</dc:date>
    <item>
      <title>Problems with HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hr-infotype-operation/m-p/3313356#M793590</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;I created infotype 2002. The record was locked. I unlocked the record using HR_INFOTYPE_GETDETAIL function. The record 2002 was unlocked but the quota deduction in infotype 2007 was not updated. Normally when I use PA30 transaction when I unlock IT2002 record the quota deduction in infotype 2007 is increased.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a short report which I used to unlock the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : RETURN LIKE BAPIRETURN1,&lt;/P&gt;&lt;P&gt;NOCOMMIT TYPE BAPI_STAND-NO_COMMIT,&lt;/P&gt;&lt;P&gt;p2002 like p2002 occurs 0 with header line,&lt;/P&gt;&lt;P&gt;p2007 like p2007 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;NUMBER = '50400095'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if return-type ne 'E' and return-type ne 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_GETDETAIL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;INFTY = '2002'&lt;/P&gt;&lt;P&gt;NUMBER = '50400095'&lt;/P&gt;&lt;P&gt;SUBTYPE = '9117'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OBJECTID = OBJECTID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOCKINDICATOR = 'X'&lt;/P&gt;&lt;P&gt;VALIDITYEND = '20080122'&lt;/P&gt;&lt;P&gt;VALIDITYBEGIN = '20080122'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RECORDNUMBER = RECORDNUMBER&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCLAS = 'A'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;P&gt;RECORD = P2002&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table p2002 index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;INFTY = '2002'&lt;/P&gt;&lt;P&gt;NUMBER = p2002-pernr&lt;/P&gt;&lt;P&gt;SUBTYPE = p2002-subty&lt;/P&gt;&lt;P&gt;OBJECTID = p2002-objps&lt;/P&gt;&lt;P&gt;LOCKINDICATOR = p2002-sprps&lt;/P&gt;&lt;P&gt;VALIDITYEND = p2002-begda&lt;/P&gt;&lt;P&gt;VALIDITYBEGIN = p2002-endda&lt;/P&gt;&lt;P&gt;RECORDNUMBER = p2002-seqnr&lt;/P&gt;&lt;P&gt;RECORD = P2002&lt;/P&gt;&lt;P&gt;secondary_record = p2007&lt;/P&gt;&lt;P&gt;DIALOG_MODE = '1'&lt;/P&gt;&lt;P&gt;OPERATION = 'EDQ'&lt;/P&gt;&lt;P&gt;NOCOMMIT = ''&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 0.&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;CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;NUMBER = '50400095'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;RETURN = RETURN&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know why the quota deduction in infotype 2007 is not updated when I use this function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 15:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hr-infotype-operation/m-p/3313356#M793590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with HR_INFOTYPE_OPERATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hr-infotype-operation/m-p/3313357#M793591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James, this might help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to create a HR Infotype:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Go to Transaction PM01. &lt;/P&gt;&lt;P&gt;2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9). &lt;/P&gt;&lt;P&gt;3) Select the 'Employee Infotype' radio button. &lt;/P&gt;&lt;P&gt;4) Select the 'PS Structure Infotype'. &lt;/P&gt;&lt;P&gt;5) Click on Create... A separate table maintenance window appears... &lt;/P&gt;&lt;P&gt;6) Create a PS structure with all the fields you want on the Infotype &lt;/P&gt;&lt;P&gt;7) Save and Activate the PS structure &lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; Go back to the initial screen of PM01. &lt;/P&gt;&lt;P&gt;9) Click on 'All' push button. It takes a few moments. &lt;/P&gt;&lt;P&gt;10) Click on 'Technical Characteristics'. Infotype list screen appears &lt;/P&gt;&lt;P&gt;11) Click on 'Change'(pencil) button &lt;/P&gt;&lt;P&gt;12) Select your Infotype and click on 'Detail' (magnifying glass) button &lt;/P&gt;&lt;P&gt;13) Give 'T591A' as subtype table &lt;/P&gt;&lt;P&gt;14) Give 'T591S' as subtype txt tab &lt;/P&gt;&lt;P&gt;15) Give your subtype field as subtype field &lt;/P&gt;&lt;P&gt;16) Save and come back to PM01 initial screen &lt;/P&gt;&lt;P&gt;17) Click on 'Infotype Characteristics' ... Infotype list screen appears &lt;/P&gt;&lt;P&gt;18) Click on 'Change' (pencil) button &lt;/P&gt;&lt;P&gt;19) Click on 'New Entries' &lt;/P&gt;&lt;P&gt;20) Enter your Infotype number and short text &lt;/P&gt;&lt;P&gt;21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours) &lt;/P&gt;&lt;P&gt;22) Save your entries. &lt;/P&gt;&lt;P&gt;23) Now the Infotype is created and ready to use. &lt;/P&gt;&lt;P&gt;24) If you want to change the layout of the Infotype as per your requirement... &lt;/P&gt;&lt;P&gt;25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit. &lt;/P&gt;&lt;P&gt;26) In the next screen.. Select 'Layout Editor' and click 'Change'. &lt;/P&gt;&lt;P&gt;27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc. &lt;/P&gt;&lt;P&gt;28) Save and activate. (Don't forget to 'Activate at every level) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subtype Creation :&lt;/P&gt;&lt;P&gt;Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.&lt;/P&gt;&lt;P&gt;Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.&lt;/P&gt;&lt;P&gt;Subty.text tab is T591S and time const tab is T591A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HR related site:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/hr/hrhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/hr/hrhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhancement of Infotype&lt;/P&gt;&lt;P&gt;Check the following&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="492897"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Hema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2008 15:11:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-with-hr-infotype-operation/m-p/3313357#M793591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-28T15:11:03Z</dc:date>
    </item>
  </channel>
</rss>

