Infotypes in abap

What are the infotypes in abap
how to transport abap queries at the time of upgradation

Hi
HR uses INFOTYPES instead of tables.
There are different sub modules exist in HR.
For Personal Admn the Infotypes start with PA0000 to PA1999
Time Related Infotypes start with PA2000 to PA2999.
Orgn related Infotypes start with HRP1000 to HRP1999.
All custom developed infotypes stsrat with PA9000 onwards.
In payroll processing we use Clusters like PCL1,2,3 and 4.
Instead of Select query we use PROVIDE and ENDPROVIDE..
You have to assign a Logical Database in the attributes PNP.
Go through the SAp doc for HR programming and start doing.
http://www.sapdevelopment.co.uk/hr/hrhome.htm
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/bb/bdb041575911d189240000e8323d3a/frameset.htm
see this link you would get information about types of infotypes
<b>Reward if usefull</b>

Similar Messages

  • What are infotypes in ABAP HR

    Hi all,
    what are infotypes in ABAP HR...
    and also can i get a brief idea about reporting in ABAP HR
    Thanks in advance
    cheers,
    Raghavesh

    Hi,
    An infotype is a 'record' or a 'screen' which holds data against an employee or PD object such as a position, org.unit etc.
    A table stores values about an infotype and the way it will function.
    Main program generates internal tables for infotypes at runtime.
    Infotypes have an associated database table and a structure .
    plzz refer to this thread also
    infotype
    infotypes
    0000 Events
    0001 Org assignment
    0002 Personal info
    0003 Payroll data
    0007 Work time
    0008 Basic pay
    0014 Reoccurring pay
    0015 1 X pay
    0027 Cost Center
    0041 Event Dates
    0057 Membership dues
    0165 Over ride to limits on deductions
    0167 Health
    0168 Insurance
    0169 Savings
    0170 Spending
    0194 Garnishment reduction
    0195 Garnishment order
    0207 Residence Tax
    0208 Work Tax
    0209 Unemployment Tax
    0210 Withholding
    0216 Garnishment adjustment
    0221 Adjustment
    0267 Off cycle
    2005 OT
    2010 Catts direct to cluster
    1000 Infotypes 1000 – 1999 are PD Relationship infotypes
    Rfere the links
    http://planetsap.com/hr_hrinfotypes.htm
    http://www.planetsap.com/HR_ABAP_Infotypes.htm
    http://72.14.203.104/search?q=cache:FfEG_19IAzoJ:www.planetsap.com/hr_abap_main_page.htmINFOTYPESIN+ABAP&hl=en&gl=in&ct=clnk&cd=6
    Rgds,
    Prakash

  • How to use HR infotypes in abap

    hi i m new for ABAP HR .
    how i can use or extract data from infotypes.
    Thanks.

    hi,
    You can get data from Infotypes as like normal tables ..
    ex : consider the infotypes PA0001 , PA0002.
    so there will be table named as pa0001 & pa0002 correspondingly..
    so ur normal SELECT  statement itself will work..
    reply back for further queries..
    With Regards,
    S.Barani

  • Calling method of a custom infotype from ABAP

    Hi Experts,
    I am working on an application where i need to call a method of a custom defined infotype.
    I have done this -->
    1. Create a custom infotype 9111
    2. SAP creates a class of that infotype ZCL_HRPA_INFOTYPE_9111
    3. Inside this method there are few inherited method which provide me functionality of insert , update , delete
    i want to call methods IF_HRPA_INFTY_BL~MODIFY,
    IF_HRPA_INFTY_BL~INSERT
    However when i call these method from abap report this method does not work.
    where as when i try to insert an entry using PA30 transaction it works.
    Does anyone know why does this happen and what is the solution?
    Regards,
    Ashish Shah

    Had the same problem (probably copied from the same program). The answer is that you need to commit the work at the end using something like
    * Commit
    CALL METHOD busilog->flush
      EXPORTING
        no_commit = space.
    Here is an example of my code for IT0002 which works.
    *& Report  Z_TEST2
    REPORT  z_test2.
    DATA: a_masterdata_bl TYPE REF TO if_hrpa_masterdata_bl,
          p0002         TYPE p0002,
          lo_0002 TYPE REF TO cl_hrpa_infotype_0002,
          ls_p0002_ref TYPE REF TO data,
          container_tab    TYPE hrpad_infty_container_tab,
          container  TYPE REF TO if_hrpa_infty_container,
          message_handler TYPE REF TO cl_hrpa_message_list,
          infotype_logic TYPE REF TO if_hrpa_infty_bl,
          update_mode TYPE hrpad_update_mode VALUE 'XXX',
          lt_0002_container TYPE REF TO cl_hrpa_infotype_container,
          key TYPE pskey,
          l_is_ok          TYPE boole_d.
    FIELD-SYMBOLS <p0002> TYPE p0002.
    * get business logic from masterdata factory
    CALL METHOD cl_hrpa_masterdata_factory=>get_business_logic
      IMPORTING
        business_logic = a_masterdata_bl.
    * CATCH cx_hrpa_violated_assertion .
    *ENDTRY.
    *TRY.
    CALL METHOD a_masterdata_bl->read
      EXPORTING
        tclas           = 'A'
        pernr           = '508'
        infty           = '0002'
        begda           = sy-datum
        endda           = sy-datum
        no_auth_check   = 'X'
        message_handler = message_handler
      IMPORTING
        container_tab   = container_tab
        is_ok           = l_is_ok
    * CATCH cx_hrpa_violated_assertion .
    *ENDTRY.
    READ TABLE container_tab INTO container INDEX 1.
    lt_0002_container ?= container.
    TRY.
        CALL METHOD lt_0002_container->primary_record_ref
          IMPORTING
            pnnnn_ref = ls_p0002_ref.
      CATCH cx_hrpa_violated_assertion.
    ENDTRY.
    ASSIGN ls_p0002_ref->* TO <p0002>.
    MOVE-CORRESPONDING <p0002> TO key.
    break stantric.
    <p0002>-vorna = 'Rick'.
    container ?= lt_0002_container->modify_primary_record( <p0002> ).
    TRY.
        CREATE OBJECT lo_0002
          EXPORTING
            tclas = 'A'
            infty = '0002'.
      CATCH cx_hrpa_violated_assertion .
    ENDTRY.
    CREATE OBJECT message_handler.
    TRY.
        CALL METHOD lo_0002->get_specific_bl
          EXPORTING
            versionid      = '01'
            tclas          = 'A'
            pskey          = key
          IMPORTING
            infotype_logic = infotype_logic.
      CATCH cx_hrpa_violated_assertion .
    ENDTRY.
    TRY.
        CALL METHOD infotype_logic->modify
          EXPORTING
            old_container   = lt_0002_container
            massn           = space
            massg           = space
            update_mode     = update_mode
            no_auth_check   = 'X'
            message_handler = message_handler
          IMPORTING
            is_ok           = l_is_ok
          CHANGING
            container       = container.
      CATCH cx_hrpa_violated_assertion .
    ENDTRY.
    * Commit
    CALL METHOD a_masterdata_bl->flush
      EXPORTING
        no_commit = space.

  • Regarding infotype  HR ABAP

    hi experts plz tell me the procedure to copy standard infotype in pm01, i want copy of 0591infotype ecc 5.0 is my version

    Hello,
    The option i have implememted for a similar scenario is as follows
    data: v_darxx like p0041-dar01,
             v_datxx like p0041-dat01.
    select single * from pa0041 into int_pa0041 after passing key fields
    do 12 times
    varying v_darxx from i_it41-dar01 next i_it41-dar02
    varying v_datxx from i_it41-dat01 next i_it41-dat02.
    if v_darxx = 'U9' and v_datxx gt v_dat.
    "You have your required date
    endif.
    enddo
    the same has been discussed in the following link,
    Reading dates from infotype 41
    Hope the suggestions gave you some idea
    Reward if helpful
    Regards
    Byju

  • How to create the sub type field in hr abap infotype

    hi ,
        how to create the sub type field in hr abap infotype.
    regards,
    venkat.

    Try like this also
    creating of infotype please follow these steps ...
    Step 1: Create Infotypes
    i. Goto Transaction PM01 – To create Infotypes:
    ii. Enter the Infotype Number and say create all.
    iii. The following message would display:
    i. PSnnnn Does not exist. How do you want to proceed?
    iv. Click
    v. A maintain Structure screen appears.
    Fill in the short text description and the PS structure of the Infotype.
    Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
    vi. Once the PS Structure is created, save and activate the structure.
    vii. In the initial screen of PM01, now click on .
    Create a new entry for the infotype.
    Fill in the values as mentioned below and save.
    Infotype Characteristics:
    Infotype Name of the infotype_ Short Text: __Short Description________
    *General Attributes :
    Time constraint = 1
    Check Subtype Obligatory
    Display and Selection:
    Select w/ start = 3 “Valid record for entered data
    Select w/ end = 5 “Records with valid dates within the period entered
    Select w/o date = 6 “Read all records
    Screen header = 02 “Header ID
    Create w/o end = 1 “Default value is 31.12.9999
    Technical Data:
    Single screen = 2000
    List screen = 3000; List Entry Checked.
    viii. In the initial screen of PM01, now click on .
    Choose the infotype entry in the list.
    Fill in the values as mentioned below and save.
    Technical Attributes:
    In tab section,
    The following attribute values are given:
    Applicant DB Tab = PAnnnn “Infotype Name
    Subtype field = SUBTY
    Subtype table = T591A
    Subty.text tab. = T591S
    Time cnstr.tab. = T591A
    Prim. /Sec. = I Infotype
    Period/key date = I Interval
    and .
    ix. Infotype Screen Modification:
    Edit Screen 2000 from PM01 for the Infotype.
    ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
    Click . Flow Logic will be displayed. There string coding of your own logic.
    Regards
    Pavan

  • ABAP Function to read long texts in HR Infotypes

    Is there any standard ABAP function to read long texts in HR infotypes like ABAP function to read comments entered in infotype 19

    HI ,
    try this code
    tables pcl1.
    include rpc1tx00.  " This include is explained on web page above
    start-of-selection. 
    perform fill_key.  perform get_data.end-of-selection.
    form fill_key. 
      tx-key-pernr = p_pernr.
      tx-key-infty = p_infty.
      tx-key-subty = p_subty.
      tx-key-objps = p_objps. 
      tx-key-sprps = p_sprps.
      tx-key-endda = p_endda. 
    tx-key-begda = p_begda.
    tx-key-seqnr = p_seqnr.
    "OR
      SELECT * INTO CORRESPONDING FIELDS OF wa_p0219
       FROM pa0219
       WHERE pernr = p_pernr
         AND subty =  p_subtyp
         AND endda = '99991231'.
      ENDSELECT.
    MOVE-CORRESPONDING gs_p0219 TO tx-key.
        MOVE '0219' TO tx-key-infty.
         IF wa_p0219-itxex = 'X'.
           MOVE-CORRESPONDING wa_p0219 TO tx-key.
         endif.
    endif
    endform.                    " fill_key
    form get_data. 
          import ptext from database pcl1(tx) id tx-key.
           loop at ptext.            "ptext is defined in above include  
                   write: / ptext-line. 
          endloop.
    endform.  " get_data
    Prabhudas

  • How to give References for the field in the Abap Query

    Dear Freinds,
               I am not able to get Text for Cost Centre which iam using in My custom infotype , when iam calling the Custom infotype in abap querry i dont find the T symbol for my field Cost Centre , since i have created in my custom infotype for Cost Centre similar to the infotype 0001. When i look at the
    infotype 0001 fields in my abap query i can see that there is T field for P0001-KOSTL and again if i double click on it i can see that in the REFERENCES Tab i can see " Function Module:HR_TXID_KOSTL" . Could any one let me how i can assign to my custom field "Function Module:HR_TXID_KOSTL " in the References Tab.
    Regards
    divya

    solved the problem

  • Hi All difference between abap and hr-abap urgent pls

    Hi All difference between abap and hr-abap urgent pls

    Hello,
    To add to the above points regarding infotypes
    Infotypes stand apart in  HR and manage a volume of data in HR domain..they are unique to HR module ranging from basic employee information to time management and finally the custom infotypes.....
    Payroll and other monetory activities related to an employee also form a vital part of the HR module....
    while considering Reports..in HR data is mainly with respect to infotypes and the concept of PAKEY...7 key fields which uniquely defines any record in an infotype is used..with Pernr(employee number),Begda(begindate) and Endda(enddate) form an integral part of the key..Based on the time constraints(1,2,3) of an infotype the keys are judged (to retrieve data from an infotype)
    In ABAP HR we also have lots of predefined function modules that can be used..eg:go to se37..put 'HR*' and press F4...
    finally to update an HR infotype record we use the function module hr operation rather than direct updates...also there are standard audit trail reports that monitors various activities such as insert/modify/delete operations on an hr infotype record...
    Pls revert back for clarity and reward if helpful
    Regards
    Byju

  • Custom infotype in HCM and Extraction into BI

    Hi
    I am unable to build a custom extractor from view in hcm to extract the infotype 0102.
    could you please help me out in understanding hcm custom extractions?
    The error message was: Invalid extract structure template PA0102.
    Can I not create a custom extractor over any infotype? what about the custom infotypes?
    Please help me in understanding this: If we create a custom infotype in R3, will all the data related to that reside in one underlying table or not?
    Can I create a custom extractor to extract from the custom infotype without ABAP?
    Thanks
    Sarah

    Hi Sarah,
    I guess your is related to some of the amount or quantity fields included in pa0102. Check it out. They must point to unit fields also included in pa0102. In case they do not, it is not possible to use that table for extraction. You need to create a view on it as well as on the unit tables and include the unit fields into your view. Then it will work.
    kind regards
    Siggi

  • Custom Fields in PA infotypes

    Hi Gurus,
    How do i create some new fields in the organizational assignment infotype. I have tried using v_t588m but i could not understand how to create the new field. Thanks in advance for helping.
    Thanks,
    Rajiv

    u need to enhance infotype and abaper wll come into the feild
    https://forums.sdn.sap.com/click.jspa?searchID=10532552&messageID=4715918
    Edited by: Sikindar on Apr 9, 2008 9:28 AM

  • Creating an infotype

    I want to create a zinfotype. Can anyone tell me the steps involved along with the relevant transactions?
    Thanks in advance.

    hi this is MohanVamsiKrishna.A,
    I hv created a personal administration infotype by the following steps.
    creating of infotype please follow these steps ...
    Step 1: Create Infotypes
    i.     Goto Transaction PM01 – To create Infotypes:
    ii.     Enter the Infotype Number and say create all.
    iii.     The following message would display:
    i.     PSnnnn Does not exist. How do you want to proceed?                          
    iv.     Click 
    v.     A maintain Structure screen appears.
       Fill in the short text description and the PS structure of the Infotype.
    Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
    vi.     Once the PS Structure is created, save and activate the structure.
    vii.     In the initial screen of PM01, now click on  .
    Create a new entry for the infotype.
    Fill in the values as mentioned below and save.
              Infotype Characteristics:
    Infotype Name of the infotype_ Short Text: __Short Description________
    *General Attributes :
      Time constraint = 1    
      Check Subtype Obligatory
    Display and Selection:      
                Select w/ start   = 3     “Valid record for entered data
                Select w/ end    = 5     “Records with valid dates within the period entered
      Select w/o date = 6     “Read all records                  
                                Screen header   = 02   “Header ID
      Create w/o end = 1     “Default value is 31.12.9999
    Technical Data:                    
      Single screen = 2000
            List screen = 3000; List Entry Checked.
    viii.     In the initial screen of PM01, now click on  .
    Choose the infotype entry in the list.
    Fill in the values as mentioned below and save.
    Technical Attributes:
    In    tab section,
    The following attribute values are given:
    Applicant DB Tab = PAnnnn      “Infotype Name                   
    Subtype field         = SUBTY                           
    Subtype table         = T591A                           
    Subty.text tab.        = T591S                           
    Time cnstr.tab.       = T591A                           
    Prim. /Sec.             = I Infotype                      
    Period/key date      = I Interval                                                                               
    and  .                      
    ix.     Infotype Screen Modification:
    Edit Screen 2000 from PM01 for the Infotype.
    ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
    Click  . Flow Logic will be displayed. There string coding of your own logic.
    Have you got it, how to create IT.
    good luck.

  • Capturing Languages in Infotypes

    Hi
    Where do we capture Language skills for employees ? which infotype is used to capture multiple language spoken and written by employees ?
    thanks
    J

    I am not sure of stantard  Infotype , Go for Custom Infotype.Ask ABAP consultant to create and give the specifications.
    Edited by: rkvarma on Nov 8, 2011 5:50 AM

  • Infotype creation process

    hello,
    i have got a requirement to create an infotype.. i don't have any idea on that.. can i get a detailed step by step process on how to create an infotype..
    thanks in advance

    Step 1: Create Infotypes
    i.     Goto Transaction PM01 – To create Infotypes:
    ii.     Enter the Infotype Number and say create all.
    iii.     The following message would display:
    i.     PSnnnn Does not exist. How do you want to proceed?                          
    iv.     Click 
    v.     A maintain Structure screen appears.
       Fill in the short text description and the PS structure of the Infotype.
    Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,
    Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you needed.
    vi.     Once the PS Structure is created, save and activate the structure.
    vii.     In the initial screen of PM01, now click on  .
    Create a new entry for the infotype.
    Fill in the values as mentioned below and save.
              Infotype Characteristics:
    Infotype Name of the infotype_ Short Text: __Short Description________
    General Attributes :
      Time constraint = 1      “Record must have no gaps, no overlapping
      Check Subtype Obligatory “layout of an infotype screen depends on the subtype
    Display and Selection:      
                Select w/ start   = 3     “Valid record for entered data
                Select w/ end    = 5     “Records with valid dates within the period entered
      Select w/o date = 6     “Read all records                  
                                Screen header   = 02   “Header ID
      Create w/o end = 1     “Default value is 31.12.9999
    Technical Data:                    
      Single screen = 2000
            List screen = 3000; List Entry Checked.
    viii.     In the initial screen of PM01, now click on  .
    Choose the infotype entry in the list.
    Fill in the values as mentioned below and save.
    Technical Attributes:
    In    tab section,
    The following attribute values are given:
    Applicant DB Tab = PAnnnn      “Infotype Name                   
    Subtype field         = SUBTY                           
    Subtype table         = T591A                           
    Subty.text tab.        = T591S                           
    Time cnstr.tab.       = T591A                           
    Prim. /Sec.             = I Infotype                      
    Period/key date      = I Interval                                                                               
    and  .                      
    ix.     Infotype Screen Modification:
    Edit Screen 2000 from PM01 for the Infotype.
    ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
    Click  . Flow Logic will be displayed.
    Create two modules: wity your logic to implemented
    Message was edited by: MohanVamsi Krishna

  • Use SAP defined methods instead of Logical Database(LDB)

    Hi All,
    I gonethrough some documents related to new HR ABAP programing without using logical database.  we can replace the logical databased with SAP defined methods for all the infotypes.  Appreciate if anyone let me know how do this.
    Thanks in advance.
    Thanks,
    -suresh

    Yes.. we can use the Infotype reader class.. you can use the following sample code & go from there.. fyi I wrote this on a 47 system..
    *& Report  ZP_INF_CL                                                   *
    *&  read an infotype using ABAP Objects                                *
    report  zp_inf_cl line-size 1000.
    infotypes: 0001,0008.
    parameters: p_infty type infty,
                p_pernr type pernr_d.
    constants: c_a type tclas value 'A',
               c_true value 'X'.
    data: w_infotype_reader type ref to if_hrpa_read_infotype,
          t_inftab type hrpad_prelp_tab,
          w_missing_auth type boole_d,
          w_data_exists  type boole_d,
          rec_infty like line of t_inftab.
    * init infotype reader
    call method cl_hrpa_read_infotype=>get_instance
      importing
        infotype_reader = w_infotype_reader.
    call method w_infotype_reader->read
      exporting
        tclas         = c_a
        pernr         = p_pernr
        infty         = p_infty
        begda         = sy-datum
        endda         = sy-datum
        no_auth_check = c_true
      importing
        infotype_tab  = t_inftab
        data_exists   = w_data_exists
        missing_auth  = w_missing_auth.
    loop at t_inftab into rec_infty.
      call method cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
        exporting
          prelp = rec_infty
        importing
          pnnnn = p0001.
      append p0001.
    endloop.
    loop at p0001.
      write:/ p0001-orgeh.
    endloop.
    ~Suresh

Maybe you are looking for

  • Is there something wrong with the iPhone calc app?

    The other day I needed to show my son how many paper punch cards would be needed to compete with the flash memory on my iPhone 4.  Each punch card had 480 spaces on it, that could correspond to bits.  In order to work out how many punch cards would b

  • Can't replace old text with new text in a text box

    Hello everyone. This is my first time posting in the forum, so I'm hoping this works out well. We recently purchased a few copies of Adobe Acrobt X for the office, and one of the users is having an issue with editing text in a field. She can type new

  • Detecting Loaded Flash Chart

    I have a page with a report region and a flash chart. I created a printer friendly template for this and in it included some script to print the page using the onload event. The problem is that when the print dialog box comes up the chart is sometime

  • How to install and setup macports for mac os mavericks, for open vpn purpose.

    Hi Guys! I'm using OS Mavericks now in my macbook pro, I need help and suggestions regarding open vpn application that i can use for my laptop so that i can access my server in my office even im out of town and country. I found vpn network setup in n

  • ORA 01840 SELECT INTO

    HI, Would someone please look at this code? For all the changes I made it still returns the same error above. If I can not use the TYPE TABLE ... would be great. The select statement is going return several values with the same date (sysdate-1). I am