Regarding hr function modules

if to read the data from a RT table which of the following function module will be best
. <b>pyxx_read_payroll_result</b> or <b>RP_FILL_WAGE_TYPE_TABLE</b>
what i am doing is i am filling the rgdir table using the function module <b>cu_read_rgdir</b>
as looking at the query you can see i am totally confused in these function modules
can anone please let me know that  how i can get data from rt using these function modules coz i am not using ldb PNP in my program and i have got all the data wihtout using it now the only issue left is PF that i can get only from RT TABLE.
if there is any other way also for that please let me know
the wage types for pf are /3f1,/3f2./3f3
if anynobdy can help me in this i can complete rest of the parts by today ..
sorry for disturbing you all have asked too many questions on rt table
please dont mind
just wanted to have a grip on it thats y asking so many queries and thanks for all your replies that you all have given
pelase help me in this last one also:)

Hi,
refer
Retrieve record from RT
Re: regarding RT tables
Hope this solves your purpose.
Award points if it helps.
-Gaurang

Similar Messages

  • Questions regarding update function module

    Hello experts,
    I am on customer site to help them investigate one issue: they have a background job which runs periodically.
    In the report database table A is changed firstly ( new entries are inserted ), then a update function module is called via keyword CALL FUNCTION ... IN UPDATE TASK.
    Inside the function module database table B is updated. ( existing entries are updated )
    Customer issue:
    sometimes they find A is updated as expected, however B remains unchanged at the same time.
    customer could not find exact steps to reproduce the issue. However the issue does exist there and occur from time to time.
    the issue could only be reproduced in their production system, but works perfectly well in dev & Q system. It is difficult to debug in their production system for trouble shooting.
    After analyzing related code, I have one doubt: according to ABAP help on CALL FUNCTION aaa IN UPDATE TASK, I know the function module aaa is called in a new update work process. I wonder whether there is any possibility there this issue might be caused because the update function module fails to get called at all? ( perhaps due to heavy system load so no free update function module could serve the table B update ? )
    If update function module fails to execute, is there any system utility to record this? That is to say, will it be recorded in such as SM13 or SM21?
    Looking forward to your expertise on this topic!
    Best regards,
    Jerry

    Hello friends,
    Thanks a lot for your interests on this issue. I update all my findings:
    1. issue background: this issue occurs in SAP CRM Channel manageement Solution, software component CRM-CHM-POS.
    2. due to some limitations, the table CMSD_CI_HISTORY and history table are not updated in the same LUW. Instead the first one is updated in normal work process while the other is done in update work process. Since I am not the original developer I didn't know the whole complex scenario ( I did see this is done delibrately in note 1764006 - CMS:Sell In Release creating PB with zero available quantity ).
    So for the moment we have to accept this design.
    3. during our testing ,we ensure COMMIT WORK is always called.
    4. So why sometimes the first table update fails, however there is no hint at all for this failure in the system like ST22 and SM21 ?? ( forget SM13, since it is updated in normal work process ).
    The root cause is the flaw of SAP code below.
    The code has planned to raise exception if insertion failed due to duplicate records to be inserted.
    Unfortunately, the fact is if we use "INSERT db FROM TABLE xxx" to insert records into database and some record already exists with the same key, it will result in a termination but SY-SUBRC is STILL 0; Just compare it with single insertion using "INSERT db FROM <work area>", in the same error situation, processing does not terminate, and SY-SUBRC is set to 4.
    As a result in this case even the insertion fails, line 29 will never be executed as sy-subrc is always 0. Since the insertion fails and the exception is caught without any notification, so customer sufferred because they do not know what has happened.
    Best regards,
    Jerry

  • Help regarding the Function Module GUID_CREATE

    Hi Experts,
    Can some one explain the functionality of GUID_CREATE function module.Thanks in advance.
    With regards,
    Srini...

    Hello,
    Guid for unique identification assigned list
    It think it will generate the one unique key in the program.
    DATA: con_log_guid   TYPE  guid_16.
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_16 = con_log_guid.
    WRITE con_log_guid .
    Try this example it is generating a 16number id.

  • Regarding The Function Module SXMS_ASYNC_EXEC strucking In Queue

    Dear All,
    I have Written an Enhancement for standard Program MB52,  I have written an Outbound Proxy and scheduled the job in background the Job is running successfully but default the the Function module SXMS_ASYNC_EXEC is also scheduled and is it  showing an Error SYS-Fail.
    Queue Block : Action OPEN_PSA_DATAPACKAGE/2 IS NOT SUPPORTED Iam Trying to Apply the Note Pls help me in this Regards
    Regards
    Naresh

    Hi Amit,
    if you are working with abap proxies there is an error in the proxy code that you have implemented.
    Use the tcode SPROXY -> Proxy -> Test Interface (F8)
    Best Regards,
    Francesco

  • Regarding bapi function module

    Hi to all,
    Tell  me <b>how to test this function module</b>
    <b>BAPI_CAR_PRVD_NUMBER_RANGE</b>
    if possible please <b>provide any example based on this FM</b> .
    thanks and regards,
    surya.

    hi vishnu,
    actually i don't now anything about this fm bcz of that reason only i am asking how to test this fm,what type of input required to test this fm
    if u know please provide solution asap.
    thanks and regards,
    surya

  • Regarding Remote function module ARCHIV_CONNECTION_INSERT

    Hi All,
    Can any give me more detial about remote function  module ARCHIV_CONNECTION_INSERT . So i have requirement that our client is archiving document from Commonstore. So want to create custom function module for TOA01 ( ZTOA01 ) and add a maintanance field. if data is archived maitaianance field should be flagged and next time when he is archivig document he dont want to give date. so only unflagged document should be archived.
    so can any one help me how to overcome this requirement as this is urgent.
    Thanks in advance.
    Best Regards,
    zubera

    Go to SAP Service Marketplace (service.sap.com) and SAP Notes Search. Put in the note number 758278 and hit display.
    However to be able to access service marketplace you need a s-user registered for the company you are working for. Please contact your basis team to find out what user is available to you.
    Regards,
    Michael

  • Regarding Smartform Function module

    Hi,
    When i am executing the smartform function module via print program, Smart form output is displaying properly but it is not showing any OTF data in the importing parameter  JOB_OUTPUT_INFO . (JOB_OUTPUT_INFO-OTFDATA). Why it is happening? Could you please help me in this regard?

    To get the OTF data you need to set the GETOTF parameter in the Control Parameters of the Smartforms.
        DATA: LS_CONTROL  TYPE SSFCTRLOP.  " Controlling info
        LS_CONTROL-GETOTF    = 'X'.
        CALL FUNCTION WF_FM
          EXPORTING
            CONTROL_PARAMETERS         = LS_CONTROL
         IMPORTING
            JOB_OUTPUT_INFO            = WF_OUTDATA
    I guess, when we set the GETOTF flag, it will not generate the output and only puts the data JOB_OUTPUT_INFO-OTFDATA.
    Regards,
    Naimesh Patel

  • Regarding variant function module in alv

    hi,
        could any body tell about the function modules
    reuse_alv_variant_default_get
    reuse_alv_variant_f4
    reuse_alv_variant_existence
               and how to use it.(by giving an example program)
    Regards,
    Pavan.

    reuse_alv_variant_default_get - Provides the default variant for the list specified in the structure parameter CS_VARIANT of a program.
    reuse_alv_variant_f4 - Display variant selection dialog box. Possible entries help, if the variant is defined explicitly as an input field on a screen. The selection must be specified by at least partially filling the parameter structure IS_VARIANT.
    reuse_alv_variant_existence - This function module checks the existence in the database of a display variant passed in the interface.
    Check the Link for Example REUSE_ALV_VARIANT_F4' how to use it when we iuse it
    Kanagaraja L
    Edited by: Kanagaraja  Lokanathan on Jan 17, 2008 5:39 AM

  • Regarding update function module

    Hi all,
    This is regrding update function module
    How to handle errors in update function module
    Can exception be used in Update function modules
    while calling in update Task
    if we can use please let me know how to do so while calling in Update task.
    Regards,
    siva chalasani.

    Hi Vinod,
    Just wanted to say...
    your answer solved my problem.
    I needed to pass my error records into a internal table and from there to notepad using GUI_DOWNLOAD.
    The following is my function module....
    RHPP_Q_PROFILE_WRITE
    It has under  TABLES-- 'err_profile' to capture error records.
    So, I passed a internal table in " err_profile" to capture the errors.
    And then passed this internal table in GUI_DOWNLOAD.
    Regards,
    Hari Kiran
    Edited by: HARI KIRAN REDDY on Aug 12, 2008 12:20 PM

  • Regarding the function module WF_WINDOWS_EXECUTE

    Can anyone tell me if the function module WF_WINDOWS_EXECUTE will work with a parameter of sap R/3 type. I mean that it works with internet sites but will it still work with the HTML pages which we design.

    hi..
    IMPORTING
    *" PARAMETER LIKE TWFSA-PARAM
    *" PROCESS_DATA LIKE WFPRCD STRUCTURE WFPRCD
    *" PROCESS_ID LIKE WFPRCK STRUCTURE WFPRCK
    *" EXPORTING
    *" PROCESS_DATA_NEXT LIKE TWFNS2 STRUCTURE TWFNS2
    *" RETURN_CODE LIKE TWFNS-RCODE
    *" TABLES
    *" ASSIGNMENTS STRUCTURE WFAS1
    *" LOGLINES STRUCTURE TLINE
    *" EXCEPTIONS
    *" WF_ERROR_PROCESS
    *" WF_NOTHING_DONE
    <b>Rewards point if useful</b>
    Regards
    Ashu

  • Regarding Remote Function Module RFC_READ_TABLE

    HI,
    Can any one please let me know that whether Remote function Module RFC_READ_TABLE work in uni code system.
    In notes 382318 stated some problem regarding the Long run structure and security problem.
    So please let me know how to overcome this problem.
    Please reply. it is urgent.
    Thanks in advance.
    Best Regds,
    zubera

    Go to SAP Service Marketplace (service.sap.com) and SAP Notes Search. Put in the note number 758278 and hit display.
    However to be able to access service marketplace you need a s-user registered for the company you are working for. Please contact your basis team to find out what user is available to you.
    Regards,
    Michael

  • Regarding date function module

    Hi abapers,
    We have one requirement in selection screen validation.
    From date is Day 1 of the next period(month).
    To date is Day 1 of the next period*(month) + (next) 3 months.
    which function module we can use.
    how we can pass the selection screen of this date.
    Thanks
    Nani.

    Hi
    Why we need the fun module
    Just write the code as
    select-options : s_date for sy-datum no display.
    data: date like sy-datum, fdate like sy-datum, tdate is like sy-daum, mon(2),
           mon1(2), mon2(2), year(4).
    date =  sy-datum.
    year = date+0(4).
    mon = date+4(2).
    mon1 = mon + 1.
    mon2 = mon + 3.
    concatenate year mon1 '01' into fdate.
    concatenate year mon2 '01' to tdate.
    use the fdate and tdate and write the code
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Very important and urgent - i need info regarding a function module

    hi all,
    can any one suggest me a function module which calculate the
    difference in two dates and give answer in days.
    some one suggest me the following function m odule
      CALL FUNCTION 'HR_SGPBS_YRS_MTHS_DAYS'
           EXPORTING
                beg_da     = wpv_dati
                end_da     = wpv_datf
           IMPORTING
                no_cal_day = wpv_days
    Please suggest any other function module.
    or i can use this Function module only

    Hi,
      U can use the following function  module.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
      EXPORTING
        I_DATUM_BIS                   = date1
        I_DATUM_VON                 = date2
      I_KZ_EXCL_VON              = '0'
      I_KZ_INCL_BIS                 = '0'
      I_KZ_ULT_BIS                  = ' '
      I_KZ_ULT_VON                = ' '
      I_STGMETH                     = '0'
      I_SZBMETH                     = '1'
    IMPORTING
        E_TAGE                        = days
    EXCEPTIONS
      DAYS_METHOD_NOT_DEFINED       = 1
      OTHERS                        = 2
    Reward if useful.
    Regards,
    Rajesh Akarte

  • Regarding SO_SEND_OBJECT function module

    Hi,
    Could you pleas tell me the functionality of function Module  SO_SEND_OBJECT  in detail.
    Regards
    Sandeep REddy

    Hi,
    Usually this FM is used to send the Express mail and can send the mail to the internet.
    Pls cehck the link below for more info on it's usage and the example program -
    http://www.saptechies.com/send-mail-from-background-job/
    Pls modify the program specified in the link as per your standarads.
    Regards
    Lekha

  • Regarding the functional modules

    hi,
    there are three types of function modules are there.
    1)normal functional modules
    2)remote functional modules
    3)update functional modules
    what is the update functional modules?
    please provide me the information regarding this functiional modules

    Hi,
    go through following ,material:
    http://sapmaterial.com/RFCmaterial.html
    http://sapmaterial.com/bapi.html
    Reward points if helpful
    Srikanta Gope

Maybe you are looking for

  • Transaction and Weblogic MDB

    Hi, I am using Coherence as a cache for my weblogic application. I use a Message Driven Bean that receive a message, write something in Coherence and then write an other message in a result queue. I want all this operations to be fully transactional.

  • HP2015 driver: problem printing on transparen​t paper in Ubuntu

    Hi. Product name: HP2015 OS: Ubuntu 13.10 Problem: low fuser temperature for transparent paper Details: I am using HP2015 for printing on 90g/m2 transparent paper like this: http://www.amazon.co.uk/Canson-Calque-Tracing-Pape​r-Pads/dp/B00F38Q8CI Unde

  • Not able to integrate SOA Suite with EBS using Oracle APPS Adapter

    Hi, We need to listen to outbound business events of Oracle EBS using BES via Oracle APPS Adapter. We have created a composite containing Oracle Application Adapter and BPEL Process. In Apps adapter when configured Outbound Business events "oracle.ap

  • On combo selection, components visibility need to change

    1) I have one combobox --> with values 1, 2, 3 2) If i am selecting 1, one textfield need to be shown 3) If i am selecting 2, one calendar need to be shown 4) If i am selecting 3, 2 textfields need to be shown How it can be achived using JSF/Richface

  • My macbook will not load online videos

    My macbook will not load online videos such as youtube or CNN. the videos will just be a black screen and will not load. i have tried using different browsers and also have uninstalled and reinstalled Adobe. what else could it be? Thanks