SAP HR Function Module for reading RT

Hi,
Is there any function module in SAP HR which takes multiple employee numbers and period as input and gives payroll results as output.
Thanks,
Nidhi

There is no FM for that
But you can try reading the cluster by using import export commands.
Regards,
Manu

Similar Messages

  • Function module for reading payroll results

    HI,
    I need a function module for reading payroll results RT table.
    Import parameters are personal number, payroll area, and payroll period.
    Export should be RT table.
    Regards,
    Wasim Ahmed

    Hai Wasim
    Check the following Code
    data: payroll_cluster like t500l-relid.
        call function 'PYXX_READ_PAYROLL_RESULT'
             exporting
                  clusterid                    = payroll_cluster
                  employeenumber               = pernr-pernr
                  sequencenumber               = payroll-evp-seqnr
                READ_ONLY_BUFFER             = ' '
                READ_ONLY_INTERNATIONAL      = ' '
                CHECK_READ_AUTHORITY         = 'X'
           IMPORTING
                VERSION_NUMBER_PAYVN         =
                VERSION_NUMBER_PCL2          =
             changing
                  payroll_result               = payroll_us
            exceptions
                 illegal_isocode_or_clusterid = 1
                 error_generating_import      = 2
                 import_mismatch_error        = 3
                 subpool_dir_full             = 4
                 no_read_authority            = 5
                 no_record_found              = 6
                 versions_do_not_match        = 7
                 others                       = 8
        if sy-subrc <> 0.
          if sy-subrc <> 0.
            write: / 'Fehler beim Laden des US Abrechnungsergebnisses'(003).
            write: /'zu Personalnummer'(008), pernr-pernr,
                    'bei Sequence-Number'(012),
                     payroll-evp-seqnr.
            write: /  'Fehlercode ='(004), sy-subrc.
          endif.
        endif.
    Thanks & regards
    Sreenivasulu P

  • Function module for reading service line items of a po

    function module for reading service line items of a po.............I want to read data from eslh and esll tables to getthe service line details.....
    My requirement is if the item category is 9 I need to print the service line items. So I wan to read the data of service line items from a function module. I am not able to find a fm which fetches both elsh and esll data...

    Hi oskchaitanya ,
    use bapi BAPI_PO_GETDETAIL1.
    Regards
    REA

  • Function Modul for read field label

    hi all
    i search a function modul for read the field label from data element.
    Example for data element matnr, i must have field label text material.
    Thx abap_begin

    Hi,
    If you give input parameters type, field and table you get data element using
    RP_PRINT_GET_DATA_ELEMENT
    Try also
    KL_TABLE_INFO_GET
    But not sure if this futfill your requirement...

  • SAP defined function modules for developing CIN.

    Hi Experts,
                     Please any one tell me the Function modules developed by SAP to implement CIN. Thanks in Advance.
    Thanks and Regards
    Srihari.

    I found out the solution.

  • Function Module for reading PCL2 - B2 FEHLER table

    Hi,
       Is there any function module can use to read the FEHLER table messages? There is a standard program called RPTERL00 that used to read the FEHLER messages. However, I wish to simplified and use FM to get all the FEHLER table data in my customise program. I will need to delete some of the entries in FEHLER table after the correction has been done. Do you know how to do this?
    Thanks in advance.

    Hi, You don't need pass any data for table tgetbuff .
    Try this simple report. It's work for me:
    REPORT  Z_JRQ038R NO STANDARD PAGE HEADING
                     LINE-COUNT 65
                     LINE-SIZE 175.
    * D.A.T.A.
    DATA: IT_FL TYPE PC2B8 OCCURS 0 WITH HEADER LINE.
    DATA:  BEGIN OF tgetbuff occurs 0,
                  x(10),
               END OF tgetbuff.
    * S.E.L.L.E.C.T.I.O.N.  .S.C.R.E.E.N.
      SELECTION-SCREEN BEGIN OF BLOCK BL02 WITH FRAME TITLE TEXT-S20.
        PARAMETERS:
          PERNR LIKE PA0001-PERNR,
          YEAR  LIKE T549Q-PABRJ,
          MONTH LIKE T549Q-PABRP.
      SELECTION-SCREEN END OF BLOCK BL02.
    * M.A.I.N.  .P.R.O.G.R.A.M.
    START-OF-SELECTION.
      CALL FUNCTION 'HR_TIME_RESULTS_GET'
        EXPORTING
          GET_PERNR     = PERNR
          GET_PABRJ     = YEAR
          GET_PABRP     = MONTH
        TABLES
          GET_TBUFF     = TGETBUFF
          GET_FEHLER    = IT_FL
        EXCEPTIONS
          NO_PERIOD_SPECIFIED   = 1
          WRONG_CLUSTER_VERSION = 2
          NO_READ_AUTHORITY     = 3
          CLUSTER_ARCHIVED      = 4
          TECHNICAL_ERROR       = 5
          OTHERS                = 6.
      CHECK IT_FL[] IS NOT INITIAL.
      LOOP AT IT_FL.
        WRITE: / IT_FL-LDATE, SPACE, IT_FL-LTIME, SPACE, IT_FL-ERRTY.
      ENDLOOP.
    Regards,

  • Available Function Modules for Reading Master Recipe Info...

    Hi
    Is there a function module(s) available in ECC to read Master Recipe info.for Material/Plant inputs?
    Thanks
    Bluesclues

    Dear
    Try the folloiwng :
    1.BAPI_CONTROL_RECIPE_GET_LIST Read control recipe
    2.BAPI_CONTROL_RECIPE_REQUEST Request and transfer control
    3.MRTRS300_MASTER_RECIPE_READ  
    4.BAPI_CONTROL_RECIPE_GET_LIST
    5.MRTRS300_MASTER_RECIPE_SAVE (Save Master Recipe data from internal table )
    6.MRTRS300_MASTER_RECIPE_WRITE (Write Master Recipe data into internal table)
    Regards
    JH

  • Help required in creating function module which reads payroll clusters.

    Hi ,
    We have a requirement where in we need to create a function module for reading a sequence of tables from payroll clusters. This function module does two functions:
    1.Read the payroll results from one system.
    2.write the payroll results to other system.
    please do the needful as soon as possible.
    Thanks in advance.
    Regards,
    Durga.

    hi
    Refer to the below thread
    Programming with Clusters for HR-Payroll
    Regards
    Sameer

  • Function Module for BOM for posting BOM component long text

    Is there any SAP provided Function Module for posting BOM components long
    text if so please let me know as it is very urgent for me.

    Hello Sridevi,
    The following customer exits are available for BOM, please check the excect one.
    http://help.sap.com/saphelp_46c/helpdata/en/4a/d286ba5a1111d3b47b006094b9d648/frameset.htm
    Hope this helps.
    Regards
    Arif Mansuri

  • Function Modul for Order Number from VA02

    Hallo
    i have a delivery number and want read the order number from VA02.
    Of course, select the database from LIKP --> LIPS --> VBKD is possible but 
    maybe it has function modul for read the order number from transaction VA02.
    THX ANU

    Hi,
    I think is better recover the data directly from DB tables (in table LIPS you have the fields VGBEL, VGPOS, VGTYP ) if you only want the order number.
    With the delivery number you only need to acces 1 table. If you use a FM, you will recover this data and a few fields that is not interesting for you. The access to table LIPS is using table index (delivery number)
    Regards,
    Pepe

  • Buffered Function Modules for EKKO, EKPO, EKBE, EKES etc

    Hi,
    Could you please let me know of some buffered function modules for reading data from EKKO EKPO EKBE EKES EKET?
    Regards,
    Suraj

    Try BAPI_PO_GETDETAIL  , BAPI_PO_GETITEMS  , BAPI_PO_GET_LIST

  • Is there standard function module to read "open office" in SAP

    Hi All,
    Is there any standard function module to read open office document from SAP.
    Please confirm.
    Thanks and best regards
    Rajeev Chhabra

    Hi all!
    I have a similar problem. I need  create a formatted spread sheet managed open office. The work sheet must be formatted.
    I do not find the function module for doing this.
    Do yo have any idea? The only thing I have found is the functionallity included in program BCALV_TEST_GRID.
    Also I will need a function to upload the file to fill a table control.
    Thanks in advance.
    Cristina.

  • Function Modules for SAP FSCD

    Hi All,
      Can anyone provide me with the standard Function Modules for FPE1 and FP08 Transaction code respectively. Actually I need to create a payment request based on the user requirement and cancel/delete the same payment request if he/she wants to cancel it. To do this FPE1 and FP08 are used, but I need their functionality in the code, so I need some Function Modules, which can take care of this.
    Also you can suggest some alternative ways of achieving my objective.
    Any suggestion shall be appreciated.
    Regards,
    Chandan

    I found out the solution.

  • Function module for converting sap script to smartforms?

    hi ,
       wat is the name of  function module for converting sap script to smartforms?
    regard's
    Deepak sharma

    Hi,
    No function module is there..
    But go to T-code..Smartforms and in the menubar..
    Utilities-->Migration->Import SApScript Form.
    U can thus migrate SAPScipt to smartforms...
    How ever a lot of changes have to be done in the migrated one,,
    Regards

  • How to create the INBOUND Function Module for INBOUND IDOCs

    Hi Friends,
    Can any Suggest me How to proceed to Create an INBOUND Function Module for Processing the INBOUND IDOCS
    which are recieved from XI Server ?
    I am working in SAP-ISU
    Here i will recieve the INBOUND IDOCs for the Meter Reading Orders.
    We have a Standard INBOUND FUNCTION MODULE
    IDOC_INPUT_ISU_MR_UPLOAD
    which Uploads the Meter Reading Results.
    I copied the Same function Module into ZIDOC_INPUT_
    and working on it.
    Can any one suggest me, whether i am going in correct way or not.
    In IDOC_INPUT_ISU_MR_UPLOAD Inbound fun module,
    BAPI_MTRREADDOC_UPLOAD is used to Update or Insert the Meter Reading Results,
    My requirment is to Insert and Update the Meter Reading Orders which are Inbounded from XI.
    Can I Use the Same BAPI
    BAPI_MTRREADDOC_UPLOAD
    to Update the below fields,
    EABL-SERNR
    EABL-ZWNUMMER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS
    EABL-ADATTATS
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Kindly Suggest me,
    Thanks in Advance,
    Ganesh

    Hello Ganesh
    I think you are going completely astray with you z-function module for IDoc processing.
    If you look at TABLES parameter METERREADINGRESULTS (type BAPIEABLU ) of BAPI_MTRREADDOC_UPLOAD you will find many of the requested fields already:
    EABL-SERNR => BAPIEABLU-SERIALNO
    EABL-ZWNUMMER =>REGISTER
    EABLG-ABLESGR
    EABL-V_ZWSTAND
    EABL-N_ZWSTAND
    EABL-ABLHINW
    EABL-ZSKIPC
    EABL-ADAT
    EABL-ATIMTATS => ACTUALMRTIME
    EABL-ADATTATS => ACTUALMRDATE
    EABL-ATIM
    EABL-ZMESSAGE
    EABL-ABLESER(Meter reader number)
    Field EABL-ZMESSAGE appears to be custom field (at least I cannot find it on ECC 6.0). If this field was added using include CI_EABL then you probably can get these values into the BAPI using the EXTENSIONIN parameter.
    Check routine CHECK_UPLOADRECORDS in the BAPI which allows two extension structures:
    - BAPI_TE_EABL
    - BAPI_TE_EOSB
    Not surprisingly BAPI_TE_EABL contains the include CI_EABL.
    Regards
      Uwe

Maybe you are looking for

  • Condition Types In pricing

    Hi, While creating new condition types in pricing, we create them by copying them from exsting condition types. So while doing this which reference condition types should we select for copying new one?

  • My iPhone charger doesn't charge on any other charger but mine

    I can't charge my phone with any other charger but mine

  • HP Hotkey Support won't install

    I recently bought an EliteBook Folio 1040 G1 and upgraded it to Windows 8.1. I was able to install all necessary drivers (even though the fingerprint sensor was a real pain to get to work!), but the Hotkey Support driver refuses to be installed, exit

  • Display top 3 sales column wise

    I have two tables as below AREA (area_code, area_name) MONTHLY_SALES (area_code, isbn, book_name, qty, sales_amount) I want to display the output of top 3 sales columnwise as below. AREA_NAME  Top 1st (ISBN) Top 1st (BOOK_NAME)  Top 1st (QTY)     Top

  • Erasing Employee Information on MacBook Pro

    We just had an employment change and the former employee turned in his MacBook Pro. Is there a way to erase his user profile if he set himself up as the main computer administrator? I'd like to do a clean install on the entire system, but he "lost" t