PCL PNP HR Change data retrieval

Dear Friends,
I need to develop a report which retrieves all changed data for the specific period specified by the user.
1) I am not very sure if I need to use PCL4 or any other clustertable, or I can still go with PNP and do query RP_PROVIDE <OLD DATE> <OLDDATE1>!!!
2) If I need to use cluster table could any of you please provide me sample code snippet thus I can go a head?
Thanks and Regards,
Joy
Below are the entries and different infotypes for which the changed data list needs to be displayed.
PA0002     Forename     VORNA
PA0002     Name at birth     NAME2
PA0002     Last Name     NACHN
PA0002     Middle Name     MIDNM
PA0002     Known As     RUFNM
PA0001     Company Code     BUKRS
PA0002     Birth Date     GBDAT
PA0077     Ethnic Origin     RACKY
PA0002     Gender     GESCH
PA0002     Marital Status     FAMST
PA0002     Name Suffix     TITL2
PA0105     Email Address     USRID_LONG
PA0002     Title     TITEL
PA0006     Fax     NUMXX
PA0006     Mobile     NUMXX
PA0002     Nationality     NATIO
PA0006     Domicile     LAND1
PA0002     Religion     KONFE
PA0702     Passport     TBD
PA0702     Place of issue     TBD
PA0702     Issue date     TBD
PA0702     Valid till     TBD
PA0041     Date of Hire     DATXX
PA0000     Action Reason     MASSG
PA0001
HRP1001
PA0002     Reporting to     ORGEH
OBJID/SOBID
CNAME
PA0041     Date of exit interview     DATXX
PA0041     Leave Date     DATXX
PA0000     Leaving Reason     MASSG
PA0006     Street     STRAS
PA0006     Address Line2     LOCAT
PA0006     City     ORT01
PA0006     District     ORT02
PA0006     Region     STATE
PA0006     Country     LAND1
PA0006     Postal Code     PSTLZ
PA0006     Communication Number     NUMXX
PA0002     Personal ID     PERID
PA0041     Date Of Last Hire
     DATXX
PA0001     Location     BTRTL
PA0007     Part time flag
     TEILK
PA0001     Job
     STELL
PA0001     Payroll area
     ABKRS
HRP1000     OrgLvl1     OBJID
PA0001     OrgLvl2     
HRP1000     OrgLvl3     OBJID
HRP1000     OrgLvl4     OBJID
PA0000     Personnel Number     PERNR
PA0041     Date of seniority     DATXX
     EEBankName     
PA0009     Bank account no     BANKN
PA0009     Bank account type     BNKSA
PA0002     PERID

Hi,
Go through this link.
change document for HR data
Regards
Sudheer

Similar Messages

  • Retrieving latest changed date UDATE for Vendor.

    Hi All,
    I have a requirement to retrieve latest changed date UDATE field from CDHDR table based on company code wise??.
    As the vendor can be same for different company codes, I need to retrieve the company code wise latest changed date of vendor.
    Hope am clear.
    Currently am doing this 
    SELECT objectclas objectid tcode udate
        FROM cdhdr INTO  CORRESPONDING FIELDS OF TABLE it_cdhdr
        FOR ALL ENTRIES IN it_lfa2
        WHERE objectclas = 'KRED' AND
              objectid   = it_lfa2-objectid
        AND   change_ind = 'U'.
    SORT it_cdhdr BY objectid udate  DESCENDING.
    Its giving me the latest changed date. But I need latest changed date -company code wise?
    Any help is highly appreciated.
    Thanks & regards
    Himayat.

    Hi,
    Use function module CHANGEDOCUMENT_READ to get the details of CDHDR as well as CDPOS data. Records of table CDPOS where TABNAME = 'LFB1' will have the details related to changes in company-specific data.  Structure EDITPOS of above function module will give you detail information.
    Regards
    Vinod

  • WAD : Result set is too large; data retrieval restricted by configuration

    Hi All,
    When trying to execute the web template by giving less restiction we are getting the below error :
    Result set is too large; data retrieval restricted by configuration
    Result set too large (758992 cells); data retrieval restricted by configuration (maximum = 500000 cells)
    But when we try to increase the number of restictions it is giving output. For example if we give fiscal period, company code ann Brand we are able to get output. But if we give fical period alone it it throwing the above error.
    Note : We are in SP18.
    Whether do we need to change some setting in configuration? If we yes where do we need to change or what else we need to do to remove this error
    Regards
    Karthik

    Hi Karthik,
    the standard setting for web templates is to display a maximum amount of 50.000 cells. The less you restrict your query the more data will be displayed in the report. If you want to display more than 50.000 cells the template will not be executed correctly.
    In general it is advisable to restrict the query as much as possible. The more data you display the worse your performance will be. If you have to display more data and you execute the query from query designer or if you use the standard template you can individually set the maximum amount of cells. This is described over  [here|Re: Bex Web 7.0 cells overflow].
    However I do not know if (and how) you can set the maximum amount of cells differently as a default setting for your template. This should be possible somehow I think, if you find a solution for this please let us know.
    Brgds,
    Marcel

  • Creation and Change Date for Tcode and Function Groups

    Hello All,
    I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
    regards,
    Mahesh

    Hi,
    TADIR and TRDIR is the tables where you can find all these data
    Regards
    Sudheer

  • Changing data in a linked list object.

    hi,
    i'm still pretty new to java, so bear with me if i am making stupid mistakes, heh.
    i'm having trouble with changing data in an object stored in a singly-linked list. i've created a class that will store polynomials in sorted order (descending) in a singly-linked list. each linked list is one polynomial, and each node references to a polynomial object that stores two ints: the coefficient and the exponent of that term.
    i'm having trouble when it comes to 'collecting like terms,' though. here's a rough skeleton of my code:
    public class Polynomial
    private LinkedList polynoList;
    private LinkedListItr Itr;
    private int coeff;
    private int exponent;
    public Polynomial()
    zeroPolynomial();
    } // this constructor sets up an empty linked list
    public Polynomial( int c, int e )
    coeff = c;
    exponent = e;
    } // this creates a Polynomial object storing the two ints
    public void zeroPolynomial()
    polynoList = new LinkedList();
    theItr = polynoList.zeroth();
    } // this method creates the empty linked list and sets the
    //iterator on the zeroth node.
    //various other methods are here, not relevant to my post
    //this next method is the one i am having trouble with.
    //it takes two ints as parameters, the coefficient
    //and the exponent.
    public void insertTerm( int c, int e )
    //...i have a few if/then statements here
    //so that the terms can be inserted in descending order.
    LinkedListItr tester = polynoList.first();
    //the 'tester' iterator is set on the first node
    //this following if statement retrieves the exponent
    //in the current node by casting the information
    //retrieved from the LinkedList retrieve() method
    //into Polynomial, then compares it to the current
    //exponent. if they are equal, i want to add the
    //coefficients.
    if( e == ((Polynomial)tester.retrieve()).getExp() )
    this.coeff = ((Polynomial)tester.retrieve()).getCoeff() + c;
    //a main method goes here wherein the user can insert
    //terms, print the polynomial, etc.
    }//end Polynomial class
    can anyone help me out? the code i'm using compiles correctly, but it does not change the value of the current coeff variable as i'd like to think it should. any input would be GREATLY appreciated, thanks!

    hey,
    thanks for the reply...
    i am sure that ((Polynomial)tester.retrieve()).getExp() will return an int equal to 'e.' i tried this:
    System.out.println("e="+e);
    System.out.println((Polynomial)tester.retrieve()).getExp());
    if( e == ((Polynomial)tester.retrieve()).getExp() ){
    this.coeff = ((Polynomial)tester.retrieve()).getCoeff() + c;
    System.out.println( "this.coeff = " + this.coeff );
    with that, the output showed that e and the getExp() output were the same. it also showed (as output) that this.coeff did change in value, but when i tried this:
    System.out.println( ((Polynomial)tester.retrieve()).getCoeff() )
    to check if the value changed within the object, it didn't. this.coeff changed, but the actual coeff variable in the object didn't.
    any ideas?

  • Change Data Capture on an existing database

    Hi Readers,
    I am using the Sql Server CTP5 Developer edition on which i am able to perform CDC only if i start with creating a new database and then load the tables.The complete data change could be captured.
    But when i implement the same on a existing database the following query fails,
    DECLARE @from_lsn binary(10), @to_lsn binary(10);
    SET @from_lsn = sys.fn_cdc_get_min_lsn('dbo_table1');
    SET @to_lsn = sys.fn_cdc_get_max_lsn();
    SELECT * from [cdc].[fn_cdc_get_all_changes_dbo_Table1](@from_lsn, @to_lsn, 'all')
    GO
    The Error i get is ,
    Insufficient arguments supplied to function cdc.fn_cdc_get_all_......
    However the  change data tracking on the database and the table could be enabled.
    Nothing could be retrieved fron cdc.ddlHistory table as no data was captured.
    Thanks and regards,
    Karthik

    Even after applying above mentioned all logic I am fail to manage this.
    My concern is function cdc.fn_cdc_get_all_changes getting fail any point of time and I don't have clue. Is there any perfect way through which we can find that what is the right LSN for a specific table? The function "cdc.fn_cdc_get_all_changes..."
    is no way use full. No any documentation I find where we have the perfect solution for this error. 
    An insufficient number of arguments were supplied for the procedure or function cdc.fn_cdc_get_all_changes_ ... . 
    I am using below logic
    DECLARE @begin_time datetime, @end_time datetim
    , @begin_lsn binary(10), @end_lsn binary(10);
    SET @begin_time = (select isnull(max(AuditDate),'''
    +CONVERT(VARCHAR(100),DATEADD(MINUTE,-2,GETDATE()),121)+''')
    from tbl);
    SET @end_time =GETDATE()
    SELECT @begin_lsn = sys.fn_cdc_map_time_to_lsn(''smallest greater than'', @begin_time);
    SELECT @end_lsn = sys.fn_cdc_map_time_to_lsn(''largest less than or equal'', @end_time);
    Regards Vikas Pathak

  • Creation and Change date in T Tables

    Hi
    When entries are made in SAP tables like T001  , T001L ,T001W etc. Creation of company code, plant is there a creation date , change date maintained ?
    Where can i retrieve this information from? Preferbly an SAP table
    -Dexter

    The dates are recorded in tables only if the "Log data changes" checkbox in SE11->Table display -> Technical settings is checked.
    The logs are maintained as documents in CDPOS and CDHDR maintains the date and time.
    If you are creating a Z-Table and want to have such a log, you can create timestamp fields (date and time) and modify at runtime during database update.
    Hope this helps!
    Cheers,
    Shailesh.

  • SQ02 Data retrieval by program

    Hello,
    I would like create an abap query 'SQ01' using infoset 'SQ02' with the option
    'Data retrieval by program' and 'Integrated program'
    I wrote and tested this program:
    REPORT  ZONR_REPORT_MBEW.
    data:  mbew_tab like mbew OCCURS 0 WITH HEADER LINE.
    * <Query_head>
    select * from mbew into table mbew_tab
        where bwkey = 'MANT' and bklas = '3000' and matnr = '000000000001027712'.
        call function  'MBEW_EXTEND'
          exporting
            XVPER = 'X'
          tables
            mbew_tab = mbew_tab.
    loop at mbew_tab.
    * <Query_body>
      endloop.
    Could you help how to fill the area 'Data structure' of the option
    'Data retrieval by program' ?
    With the menu 'Goto' -> 'Code' -> 'Data readindg program'
    I found this template of program :
    REPORT  RSAQDVP_TEMPLATE .
    *   declarations
    *   (insert your declarations in this section)
    data:
      MBEW                           type MBEW                          ,
      it_data type standard table of MBEW                          .
    field-symbols: <struc> type MBEW                          .
    *   selection screen statements
    *   (define your selection-screen here)
    * !! the following comment MUST NOT BE CHANGED !!
    *<QUERY_HEAD>
    *   read data into IT_DATA
    *  (select your data here into internal table IT_DATA)
    *   output of the data
    *   (this section can be left unchanged)
    loop at it_data assigning <struc>.
      move-corresponding <struc> to MBEW                          .
    * !! the following comment MUST NOT BE CHANGED !!
    *<QUERY_BODY>
    endloop.
    Could you help me to customize the program ZONR_REPORT_MBEW according
    to the template, because I'm a neewbie in abap ?
    Thanks for your helping
    Marco

    The "Data retrieval program" would be coded like any normal report except for adding a few comment tags that will be used by SQ01 query generator as placeholders to insert its own code into your code to generate the query program.
    In general this is how a data retrieval program is coded. SQ01 when it generates the query will insert its own code in place of *<Query_body> and *<Query_head> comment tags
    REPORT ztest_sq01_driver_program.
    TABLES: <name of dictionary structure of your infoset>.
    * DATA declarations
    START-OF-SELECTION.
    *<Query_head>
    * <Fetch your data here and store it in an internal table gt_report> that has all the fields that you need in your query
    END-OF-SELECTION.
      LOOP AT gt_report INTO gs_report.
        MOVE-CORRESPONDING gs_report TO <name of dictionary structure of your infoset>
    *<Query_body>
      ENDLOOP.

  • Active data retrieval

    I've created a report using an external data source, and set an active data retrieval interval.
    However, when i update a field, using sqlplus, it doesn't update the report.
    With an internal data source, it works fine.
    Can you help me with this?

    Theoretically, yes.
    Instead of using a External Data Source as the basis for the report, you could create a data object that is a replica of of the external source. And then you can have changes to the external data source, be replicated in the data object through an EL plan. I recommend this, since Enterprise Link resembles the ETL portion of any data warehouse, which should in charge of handling data cleansing and uploading. IMHO, this may result in data duplication, but you're better off than having your client hit that reprompt button every time she wants to view the report.

  • Table for Function modules - Changed date & Changed by.

    Hi Experts,
    Help me to get Function module changed date & changed by.
    For programs we can get the mentained information in TABLE : TADIR.

    Function Modules change history can be retrieved from table TRDIR.
    Function Module stores a program Include in table TRDIR.
    The details of the Function Module can be found in Attributes-->general data tab in the Function Module.
    You need to pass the Include which correponds the FM.
    Hence you can find the Log changes.
    Hope this helps.
    Regards
    Vinayak

  • Data retrieval failed for the subreport

    Hi All,
    I m getting this error whn i try to bind a sub report within a report,
    Data retrieval failed for the subreport, 'Subreport2', located at: E:\Anil\Sample.rdlc. Please check the log files for more information.
    Thanks,
    Anil Kumar Dhiman

    Hi Anil,
    This is a know issue which you can see in the link:https://connect.microsoft.com/SQLServer/feedback/details/648560/subreport-with-shared-dataset-throws-error
    This issue occurs only on Business Integrated Development Studio (BIDS) and use a shared dataset in subreport. And it is fixed in SQL Server Reporting Services 2012. So you can avoid this issue by changing the shared dataset to embedded dataset or deploy the
    shared dataset to Report Server and view report on Report Manage.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • WCF-SQL notification and SQL Change Data Tracking - incompatible?

    Hi,
    I have a DB with Change Data Tracking enabled on a particular table. Each time an Update/Insert is made on this table, I'm able to check what need to be synchronised with other systems by using the CHANGETABLE function of SQL Server.
    And I want to use it with a Receive location WCF-SQL with inboundOperationType=Notification. So each time a modification is made on the table, I have a notification and I'm able to retrieve the updated/inserted records.
    Unfortunately, it seems that using the CHANGETABLE is not supported in the NotificationStatement, I got the following error: "The notification callback returned an error. Info=Invalid. Source=Statement. Type=Subscribe.".
    Any ideas to workaround?
    Thanks.

    Hi Johns-305,
    Thank you for your response.
    I'm not totally agreed with you about the notification because it depends on the situation.
    In my case, I have a table in a remote SQL database where data are not changing often. But I want to retrieve the changes as fast as I can because it needs to be synchronised with a MDM. 
    The notification is great for me because I get a notification message just after a change and I can synchronise it. Of course, if my receive location is down I can't receive the notification but with the mechanism described in the MSDN article you pointed,
    I can get the changes I missed during the outage.
    And now I have a solution to use the notification and the Data Change tracking: I use a regular SELECT statement in the notification statement (SELECT <columns> FROM MYTABLE). If something changes in the table, I got a notification and then I send
    a SELECT FROM CHANGETABLE(MYTABLE, ...) and I store the number of the last modification I got. So I can retrieve only the changes that occurs since my previous call.

  • Read "last changed" data from AL11 into BSP page

    Hi all,
    I'm looking for a way to read the following information from the application server
    Last change             Creator     Name
    17.07.2006 09:19:58     cbdadm      file1.csv
    27.05.2003 10:53:11     cbdadm      file2.csv
    13.07.2006 17:01:30     cbdadm      file3.csv
    I want to see for a number of filenames, when it was last changed, but I don't know where to get this data? Is it stored in a table? And how should I read this data?
    I see that a program named RSWATCH0 is generating the required output for transaction AL11...maybe this is helpful?
    The following code works in ABAP, but I need to use this in BSP... is this possible somehow?
    REPORT ZUPLOAD_TIME .
    TABLES epsf.
    PARAMETERS dir  LIKE epsf-epsdirnam.
    PARAMETERS file LIKE epsf-epsfilnam.
    DATA mtime TYPE p DECIMALS 0.
    DATA time(10).
    DATA date LIKE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
         EXPORTING
              file_name              = 'TESTFILE.CSV'
              dir_name               = '/usr/sap/data/'
         IMPORTING
              file_size              = epsf-epsfilsiz
              file_owner             = epsf-epsfilown
              file_mode              = epsf-epsfilmod
              file_type              = epsf-epsfiltyp
              file_mtime             = mtime
         EXCEPTIONS
              read_directory_failed  = 1
              read_attributes_failed = 2
              OTHERS                 = 3.
    PERFORM p6_to_date_time_tz(rstr0400) USING mtime
                                               time
                                               date.
    WRITE: / mtime,
           / date, time.
    thanks in advance! points will be rewarded for usefull answers
    Message was edited by: Joris Hens
    Message was edited by: Joris Hens

    In the TYPES Definition tab :
    types: BEGIN OF t_file,
            date     TYPE d,
            time(10) TYPE c.
            INCLUDE  TYPE epsf.
    TYPES: END OF t_file.
    types: tt_files type table of t_file.
    In the Page attributes tab :
    ta_files TYPE tt_files
    In the OnInitialization Event Handler :
    * event handler for data retrieval
    DATA: epsf      TYPE epsf.
    DATA: mtime     TYPE p DECIMALS 0.
    DATA: time(10)  TYPE c.
    DATA: date      TYPE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
      EXPORTING
        file_name              = 'myfile.csv'
        dir_name               = '/usr/sap/data'
      IMPORTING
        file_size              = epsf-epsfilsiz
        file_owner             = epsf-epsfilown
        file_mode              = epsf-epsfilmod
        file_type              = epsf-epsfiltyp
        file_mtime             = mtime
      EXCEPTIONS
        read_directory_failed  = 1
        read_attributes_failed = 2
        OTHERS                 = 3.
    PERFORM p6_to_date_time_tz IN PROGRAM rstr0400 USING mtime
                                                         time
                                                         date.
    FIELD-SYMBOLS: <fs_file>  LIKE LINE OF ta_files.
    APPEND INITIAL LINE TO ta_files ASSIGNING <fs_file>.
    MOVE-CORRESPONDING epsf TO <fs_file>.
    <fs_file>-time = time.
    <fs_file>-date = date.
    In the Layout :
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "List files on application server ">
        <htmlb:form>
        <htmlb:tableView id = "tvx"
                         table = "<%= ta_files %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Then, you still have some minor modificaions to perform on the tableView thanks to an Iterator, for instance.
    Best regards,
    Guillaume
    Message was edited by: Guillaume Garcia

  • How to get changed data in ALV in Web Dynpro for ABAP

    METHOD on_data_check .
    DATA:
        node_spfli                          TYPE REF TO if_wd_context_node,
        node_sflight                        TYPE REF TO if_wd_context_node,
        itab_sflight2                        TYPE if_display_view=>elements_sflight.
      node_spfli = wd_context->get_child_node( name = if_display_view=>wdctx_spfli ).
      node_sflight = node_spfli->get_child_node( name = if_display_view=>wdctx_sflight ).
      CALL METHOD node_sflight->get_static_attributes_table
        IMPORTING
          table = itab_sflight2.
    this code is ..get all data(changed and not changed)
    but i want get changed data only, not all data.
    how to get changed data?
    Edited by: Ki-Joon Seo on Dec 27, 2007 6:04 AM

    Hi,
    To get only the changed data in the ALV grid of a WD, you need to capture the "ON_DATA_CHECK" of the ALV grid.
    To this please do the following in the ALV initialization of the ALV table settings :
        lr_table_settings->set_data_check(
                IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
    You may also do this:
        lr_table_settings->set_data_check(            IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CHECK_EVENT)
    The above two ways would depend on when do you need to check for the changed data. If you want to check the data as soon as it is entered, then use the first method. Else, use the second method.
    You need to register an EVENT HANDLER for this event.(You may do this in your VIEW or Component Controller).
    In this Event handler, you would find an importing parameter R_PARAM which is a ref type of      IF_SALV_WD_TABLE_DATA_CHECK.
    The attribute T_MODIFIED_CELLS of this interface IF_SALV_WD_TABLE_DATA_CHECK will contain the modified cells of the ALV with the old & new values.

  • Can not change data in Input Ready Query

    All,
    I have created an input ready query on an aggreagation level which has one transactional cube underlying it however, after run the query I am unable to change data in the cells even though I get a warning message saying query is ready for input
    Note:
    1. The underlying realtime cube is in "Planning Mode:Loading not allowed" state in rsa1
    2. I tried including all characteristics so that the record can be uniquely identified at that aggregation level).
    3. I am not using any characteristic restrictions
    4. I have not set any data slices
    5. I have set the property for Planning "Start query in Change Mode"
    6. I have set the 'Key Figure' Planning Properties to "Can be changed Manually or via Planning Functions" for the key figures
    7. I do not have currency/unit in row/column.
    8. There are any locks occurring
    Any pointers welcome.
    Thanks,
    Milind

    Hi Milind,
    Was wondering how was your problem solved. I get the same message when I run the query in web from query designer and in bex analyzer the cells are not updated with the changes that I make.
    I am hitting my head against the wall to figure what could be the problem as my plan query is simply based on aggregation level created directlty upon the real time info cube.
    Have cross checked all the points that you mentioned in this post but I cells do not change.
    There should be some way around to solve this problem.
    Thanks

Maybe you are looking for

  • Pictures not saving from external websites.

    Since I updated my iPhone 4s software, ios6. My pictures are not saving from Facebook or alternitive websites. I have tryed to hold on the picture and press save picture and it is not saving to my camera roll, or any albums. I've rebooted twice. It w

  • File -- XI -- Abap proxy Que lock

    Hi all, My scenario is file --> XI --> Abap proxy, for some strange reason the message always gets locked on R3 side. So, in the monitor of XI the message is processed succesful BUT in the monitor of R3 we always have to unlock (que) the message manu

  • Question Regarding "Show View Options"

    Good morning! I have a question and I am hoping someone here on the Apple Support Communities will be able to assist me. I am using a MacBook Air and have downloaded the latest iOS (Mavericks).  I have my iTunes application open and in the menu area,

  • How To Run BRGui  In ECC5.0

    Hello Gurus Can anybody guide me in which way i am able to run brgui on my server Server Configuration ECC - 5.0 Oracle - 9i ( 9.2.0.8.0) Windows Server - 2000 Advance Sever Thanks & Regards  Shishir

  • Photos organization

    I hope you can tell me I'm missing something.  I have never been able to sort any of my photos on my iPad or iPhone to descend by date. This is incredibly frustrating trying to scroll through 4 thousand photos to find one I took the other month. I ha