Finding changes in HR infotypes by date.

Hi All,
I am required to develop a report giving * changes in HR infotypes by date.
*I have made use of two Function Modules, HR_INFOTYPE_LOG_GET_LIST and
HR_INFOTYPE_LOG_GET_DETAIL. I am able to correctly get the table giving
output of first function module HR_INFOTYPE_LOG_GET_LIST. However, when I am
passing each record of table retrieved as output of first function module to
second function module, it is taking a lot of time to process and finally
gives a dump at the SELECT SQL statement that is responsible for retrieving the data from PCL4 cluster.
Regards,
Ameet

Hi,
Thanks for the reply.
Yes, thats true. My requirement is based on report RPUAUD00 infotype audit report.
Based on this report and Functional Specification given to me, I am required to make use of two Function Modules mentioned earlier.
I have written a code given below:-
DATA: t_change_list TYPE pldoc_key_tab,
w_change_item TYPE pldoc_key.
CALL FUNCTION 'HR_INFOTYPE_LOG_GET_LIST'
EXPORTING
TCLAS = 'A'
begda = p_aedtm
endda = p_aedtm
TABLES
infty_logg_key_tab = t_change_list
DATA: t_before TYPE prelp_tab,
t_after TYPE prelp_tab,
w_before TYPE prelp,
w_after TYPE prelp.
LOOP AT t_change_list INTO w_change_item.
CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'
EXPORTING
logged_infotype = w_change_item
TABLES
infty_tab_before = t_before
infty_tab_after = t_after.
ENDLOOP.
Now, when I loop at t_after into its corresponding workarea, just to know the records populated by means of following code.
LOOP AT t_after INTO w_after.
CASE w_after-infty.
WHEN '0001'.
WHEN '0007'.
etc..........
ENDCASE.
ENDLOOP.
It gives me dump when report is run, and the dump error screen locates this error at point select * from PCL4.....
I hope that my problem is more clear to you now. Please help me out to understand what would be causing to give the dump.
Also I want to ask in case I dont want to use standard PNP selection screen. Inspite of that I want to use the only three select options viz Changed By, Changed On and PERNR from the RPUAUD00 infotype audit report. How can I achieve this. Is there a way to do this.
Regards,
Ameet

Similar Messages

  • Infotype Header Data - Cost center- System to read the latest data

    Dear Group Members,
    I am modifying Infotype Header data and calling Cost center (Field - KOSTL) in header data via modifying header data in   table T588J. The cost center values appears on the  header data (As stored in Infotype 0001) however it appears with the oldest data. i.e. if the employee cost center had been changed after his joining system does not picked up the Latest data/ Latest cost center value.
    Any one on how to resolve this issue with SAP Standard functionality.
    Regards
    VISHAL SAXENA
    SAP Specialist - HCM

    Hi,
    The answer to your question lies in table V_582A_B. You can either access it through SM30 or by following IMG path:
    SPRO>Personnel Management>Personnel Administration>Customizing User Interfaces>Change Screen Header>Header structure per infotype
    There is a u201Cchoose datau201D indicator for each infotype. If that is checked, the header displays data as per the start date of infotype displayed; otherwise, it shows data valid as of system date. Please bring up SAP help on the field by F1 for more information.
    Also check table T588H (data selection field) as it has some dependencies for the above mentioned settings. The table can be brought up from:
    SPRO>Personnel Management>Personnel Administration>Customizing User Interfaces>Change Screen Header> Infotype header data selection control
    Hope this helps.
    Donnie

  • Function Module to change start of infotypes when hire date changed in HCM

    Hello Guys,
    I have a scenarion where in i need to change the start of the infotypes(Ex IT0001,2,7,41.105 etc) for an employee in the program with new hire date. For this already one BDC is there with PA41 recording but for some scenarios it is not working. I am searching for a FM to overcome the issue. Coudl any one pls help me if you have the same problem eralier.
    Early help appreciated......
    Thanks,
    Preetham

    This way we need to change all the infotypes with this FM in the program which are there in PA41 to change the date,  I am looking a direct FM whicn can do the functionality of PA41 in instead of BDC.
    Thanks ...

  • Find/Change Varying dates..

    I have a varied dates that appear throughout a LONG document.. for instance "January 14, 1945" date changes all the time of course.. usually appears at start of a paragraph.. i need to set up a find/change to be able to select it, and I need to change it's style.. is this the wildcard choice somehow in find/change?

    try a GREP search for      \<\w+\.? \d\d?, \d{4}\>      (those are ordinary typed spaces after the first ? and the comma). If should find dates with months spelled out or abbreviated with or without a period. You can use this in a GREP Style as part of a paragraph style to apply your character style so you don't need find/change

  • Date Find - Change

    Is it possible to batch change dates in a spreadsheet? How would you change the month on a row of dates Ex: 05/02/08, 05/15/08, etc. to 06/02/08, 06/15/08, etc. I've tried the find change command with dates in many formats (mm/dd/yy; m/dd; May 2, 2008; May 2, etc) with no success.

    I though I should be brief in posting my question but after the spanking I just received, I'll give more details of what I did before I posted my question so that you'll see all that I tried before asking for help.
    1. Last month I searched through the Help in the Numbers application and did not find a solution.
    2. Last month I posted my question to another user group that I belong to and no one could answer because they stated they did not have that much experience with Numbers.
    3. Tonight I tried the application's Help, but still no answers.
    4. Tonight I decided to give Apple Discussions a try. I searched 'Find/Change' under Numbers and received 113 hits. I read every single one of the posts. While none spoke directly about changing 'Dates', I tried the items discussed such as changing to text 360, making changes, then back to numeric, but this did not work for me either.
    5. I tried changing my dates to all the various formats and again, no effects.
    6. And during all my attempts I also tried the various options (next, find and replace, replace, etc.) alone or in combinations.
    7. I came back to the Apple Discussions and posted my question.
    And regarding the way I posted my question, I felt I should post a new Topic under Numbers since Dates was not part of the 113 discussions on Find/Change. Also, since the original question was different than mine I felt I might "get in trouble" for posting within that discussion. I see I was wrong, so yes, my newbie status of 2 posts is my excuse.

  • Change Pointers for Infotypes - HR Master Data distribution

    Hi,
    I want to distribute HR infotypes Master Data to other systems...
    How do I activate Change pointers for HR infotypes?
    Do I have to use idoc HRMD_A or HRMD_B?
    Do I have to distribute thru PFAL transaction?
    Can I do that a employee change the data of an infotype send the idoc authomaticly?
    Thanks in advance.
    Regards.
    Urtzi.

    Thanks Roman,
    I've looking also for idoc HRMD_ABA. What is the diference between HRDM_ABA and HRMD_A?
    When I press SAVE in PA20 doing changes in an employee system distributes authomatically HRMD_ABA but not HRMD_A. Is it correct?
    So, if that is correct could I say the following:
    - To distribute HRDM_A we can use report RBDMIDOC scheduleing periodic JOB.
    - iDoc HRDM_ABA is distributed when saving data in standard transactions.
    Is that correct?
    Regards.
    Urtzi.

  • Changing date format (find/change?)

    Hello, I have little bit tricky question.
    I have document full of dates:
    01.01.2013
    02.01.2013
    05.01.2013
    And i want to change all these dates just to:
    01. Mon
    02. Tue
    05. Fri
    Is there a possibility to do that within Indesign? Thank you for your answers.

    OrcusDei wrote:
    Sandee, you got it exactly right. That's very unfortunate. It's pretty simple data formating and i'm surprised InDesign can't nativly do that O_O
    InDesign is not a data formating tool - nor is it a word processor. It's a layout tool for creating print/web ready documentation.
    It can do a lot of things - but it can't reformat your data.
    I would have done the same as you did - but I would have added a blank character style(create a char style based on None and don't select any options) to the numbers and created an index.
    http://www.kahrel.plus.com/indesign/index_charstyles.html
    Brought that to Excel and converted the text to the way it was supposed.
    Then prepare the "FindChangebyList" in the scripts panel.
    http://indesignsecrets.com/find-change-scripting-goodness.php

  • Find/Change (Multiple Date Changes in one Find)

    Hi ID geniuses, got a question for your gigantic brains.
    This may or may not be an easy one...
    I do a lot of production work and I'd like to create a Find/Change or even a GREP search that will allow me to change multiple blank dates at once).
    the format changes from file to file and follows these 4 formats usually and all 4 formats could be used in one document.
    XX/XX/XX (8 characters)
    XX/XX/10 (8 characters)
    XX/XX/2010 (10 characters)
    9/26/10 - wrong date in place already. (6 – 8 characters depending on the month)
    Instead of having 4 different searches, is it possible to do one search that look for any of these text formats and change them at once?
    Any ideas/guidance will be appreciated.
    Thanks for your time.

    Piece of cake.
    Of course GREP comes to the rescue. Enter this in your search field:
    \b((XX|\d{1,2})/){2}(XX|\d{2,4})\b
    and it'll find any of your examples. Wot Doth This All Mean?
    \b     a Word break -- there must not be a word character before this entire expression. This means it'll ignore "XXX/XX/XX".
    (     repeat group -- see below
    ( XX | \d{1,2} )     Either "XX" (exactly) or "a digit, 1 or 2". This means it'll ignore "XXX/XX/XX" (three exes), pick up "1/2/3" (one digit), ignore "123/123/123" (three digits)
    /     A slash. Nothing special, except ...
    )     .. since this is the end of the repeat group ...
    {2}     ... we want twice the sequence "XX/" (or "digit/"), to match "XX/XX/" and every possible combo with digits as well.
    (     oh yet another group. That's because ...
    XX     .. this literal text ...
    |     ... OR ... (hold on, I'm gettin' there)
    \d{2,4}     .. two to four digits should be matched ..
    )     .. in this entire group.
    \b     Phew! A Word break to prevent it matching "12/34/56789"

  • LOgged Changes in Customer infotype

    Dear All,
    We have built a custom infotype for holding the bonus data.  Some infotype data is stored in a custom table apart from Infotype table.  We need to report/ log the changes to the data that is stored in the custom table.  I am unable to find out how this can be achieved in table T585A, b or C.
    Thanks in advance.
    Regards,
    Lakshmi

    Hi Ram Manohar,
    Thanks for your quick response.  But the requirement is to report the changes in the infotype using the standard transaction S_AHR_61016380.
    I have done the configuration updations in Table T585A, B & C but the data which is in custom table is not getting reported during running the log report.
    Can you pls let me know how to go about this.
    Regards,
    Lakshmi

  • Hiding Infotype Start Date in the header

    Hi
    I need to hide the infotype start date begda for a particular infotype 8.
    I tried all these tables but could not find an option to hide bedga
    T588m
    V_582A_B
    V_T588I
    T588J
    Looking forward for some inputs
    Thanks

    Hi Raj
    Every single infotype won't have each  Header screen.
    V_582A_B this the table headers assigned For infotype 0008 header is 03;
    If you change that header it will effect othere screens too.
    To avoid this you need to create one more header and add it here
    Or write pice of code in user exit
    Please check
    Best Regards

  • Changing To New AT&T Data Plan, Breaks Voice Mail

    Sorry, but I'm posting this in several iPhone Hardware Discussions, since I think it applies to all versions of iPhones.
    I'm also sorry if this has been posted before, but I'm not looking for help or answers, I'm providing them.
    I have been on the $30 per month unlimited data plan with AT&T. Today I decided to change to one of the lower cost, lower monthly data rate plans. I called up AT&T and they made the change.
    What I didn't realize is that making this change broke my voice mail. Well, more specifically, it broke the voice mail on all 5 phones in our Family Plan.
    By breaking voice mail I mean that people can no longer leave you voice mail messages. If they call you, they will get the standard message that this person does not have a voice mail box and you cannot leave them a message.
    Unfortunately, you don't realize it's broke. Since no one can leave you a voice mail, you don't get any voice mail notifications. AT&T doesn't send you a message stating that they just broke your voice mail. Your voice mail is broke and you don't know it.
    It was my wife who figured it out. She had several missed call notifications, but no voice mail notifications, which seemed odd. When she clicked on the voice mail icon, she was prompted to Set Up Your Voice Mail. There was no list of her existing voice mail messages. Just a button to click to start the set up process. Which she did. She was asked to enter her PIN and record an outgoing message, even though she had done this the first time she set up her voice mail. She entered both her PIN and outgoing prompt. But when she clicked Save she got an error message stating that she could not set up voice mail. Her voice mail needed to be set up, but it wouldn't let her. There was no suggestion in the prompt telling her what to do or why it was suddenly broken.
    So, I called AT&T. The person I spoke said I needed to power down the phone, which I did. After powering the phone back up, voice mail was still broke. I was then transferred to AT&T tech support. That person told me power down the phone. Which I did, but with some skepticism. After powering the phone back up I was told to go back into voice mail, which was still asking me to set up my voice mail. I followed the prompts and entered my PIN and recorded my greeting. This time it worked. Not only did I get voice working again, but I could see all the old voice mails I had. Unfortunately, I cannot get any voice mail messages during the several hours it was broken because none could be recorded.
    Technical support person did fix the problem. However, I had to contact all family members and we had to go through this same procedure (power off, wait, power on, re-enter a new PIN and greeting) for each and every phone. This took somewhere close to an hour of my time.
    The AT&T technical support person explained to me that since I changed my data plan (from unlimited to 200 MB) new "configuration" data needed to be sent to the phone. To get this data to your phone, you have to turn the phone off so they can send the data. Then you have to renter all your voice mail data.
    Incredible.
    So, as I said, I'm not looking for help or answers. But I thought posting what I went through might be helpful to anyone else who might change their data plan.
    Changing data plans = Broken voice mail .... Which requires a long phone call to technical support and reentering your voice mail data.
    Sheesh.

    I've been a cell phone user since the early days of analog cellular. Back in the days of brick phones, of which I was a user.
    I've been a customer of of Cellular One, Ameritech, Verizon, T Mobile, Cingular and AT&T.
    I've never experienced loosing my voice mail as I did today.
    I considered my voice mail broken since I could not access my visual voice mail on my phone, I could not reset my voice mail on my phone (following the prompts on my phone) and no one could leave me a voice mail message if they called me. I called AT&T customer support and they could not get my voice mail working. I'm not sure what more could be broken, but I would classify my voice mail as broken.
    You may find it acceptable to have your voice mail broken (or perhaps cut off) if you change your data plan, but I don't think that's acceptable.
    I don't see how I made a major change to my account. I didn't make any changes to the types of data I can send or receive. The only change I made was to opt for a lower cost plan that delivers all the same data. That change resulted in all 5 members of my family plan to loose their voice mail.
    You may be correct that all this needed was for it to be reset. But, I can't reset it. The customer service person could not reset it. It took the tech support person to be able to reset it. All of which was about an hour on the phone.
    I don't think this experience should be typical. Maybe it isn't. Maybe for some strange reason, in my circumstance something more went wrong. But, that's not what AT&T told me. They told me what I experienced is typical.
    So, I thought I would post this for people that might experience this issue, or think about changing their data plan so that they would know what to do.
    But, perhaps I was wrong in using this Discussion site to post what I thought might be helpful.
    I'm sorry. I will (as I told a previous poster) delete this post. As soon I as I figure out how.

  • SharePoint PPS 2013 Dashboard Designer error "Please check the data source for any unsaved changes and click on Test Data Source button"

    Hi,
    I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
    "An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
    I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
    Thanks in advance.
    Poomani Sankaran

    Hi Poomani,
    Thanks for posting your issue,
    you must have to Install SQL Server 2012 ADOMD.Net  on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
    http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • No view of the changes of Customer /Vendor master data

    Hi Experts,
    I have a problem, when I run the standard report to view the changes of customer/vendor master data, I don't find the change relative to a bank account .
    I found in the report the technical field that the user has changed, but I haven't found the text of the data in the tab "bank account".
    Can you help me, please?
    Thanks in advance.
    Best regards
    Giampaolo

    Dear Ram,
    thank you for your answer , but my problem is still present. If I want to see the modify of the Customer/Vendor Master Data  for the Payment transaction Data  details, I don't try this information in the TCODE FD04.
    Do you know a different report or TCODE that I can use?
    Thank you in advance.
    Best Regards
    Giampaolo

  • Finished script: Use grep find/change to fill in a supplied table of contents

    This script is now complete, and has been the subject of most of my previous posts. Just in case anyone wanted to know what the finished script ended as, here it is.
    Thanks so much to all. A lot of really helpful folks on this board are very responsible for the success of this task. This script is to be one of hopefully many in the creation of our records. But it's a huge leap forward. Thanks again to everyone that helped.
    Cheers,
    ~Nate
    Task:
    Automatically find town names in listings, and fill in table of contents template on page 2 accordingly.
    Example of page 2 toc, initially:
    Example of a page of content. The town names are what need to be referenced on the TOC:
    Example of page 2 toc once script is finished:
    Because of the need to include the transaction dates on the TOC (comes as a provided, tagged-text file), a simple Indesign-generated TOC can't be used alone.
    This script uses an Indesign-generated TOC that's on a master page called "T-tocGen" ... It then uses grep search and replaces to grab the needed information, and insert it into the page 2 TOC.
    The script will update a generated TOC and then search for an instance of a page number, and town name. The generated toc lists all included towns in the following format:
    (line start)## tab townName(line end)
    In Grep, this would be (please note, extra \ for \d and \t ... javascript needs that for some reason):
    ^\\d+\\t(.*)$
    After the script gets the info it needs from a found instance of the above, it replaces that line with "---", to prevent that line from being picked up once again.
    The script with then place the needed page number in it's rightful place on page 2, replacing the XX.
    A while loop is used to repeat the above process until there are no longer any instances of "^\\d+\\t(.*)$" present.
    Not every town runs every issue, so once the script is done, it removes all remaining instance of "XX" on the page 2 TOC.
    FINAL CODE:
    TOC replace
    This script will use grep find/change methods to apply page numbers in
    tocGen to the XX's on page2TOC.
    // define the text frame of generated TOC
        var tocGenFrame  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
    // udpate generated TOC ... store contents in tocGenStuff
        var tocGenStuff = updateTOCGen();
    // set variable for while loop
    var okGo = "1";
    // while okGo isn't 0
    while(okGo.length!=0)
    // get town info from tocGen
    getCurrentTown();
    // replace XX's with tocGen info
    replaceTown();
    // grep find ... any remaining towns with page numbers in tocGen?
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // set current value of okGo ... with any instances of above grep find in tocGen
    okGo = tocGenFrame.findGrep();   
    // grep find/change all leftover XXs in page2TOC
    app.findGrepPreferences = app.changeGrepPreferences = null;       
    app.findGrepPreferences.findWhat = "^XX\\t";
    app.changeGrepPreferences.changeTo = "\\t";
    app.activeDocument.changeGrep();  
    // clear grep prefs
    app.findGrepPreferences = app.changeGrepPreferences = null;
    //  functions                  //
    function getCurrentTown()
    // grep options   
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // grep find:  startLine anyDigits tab anyCharacters endLine
          app.findGrepPreferences = app.changeGrepPreferences = null;
          app.findGrepPreferences.findWhat = "^\\d+\\t(.*)$";
    // get grep find results      
    currentGen = tocGenFrame.findGrep();  
    // store grep results content into currentLine
    currentLine = currentGen[0].contents;
    // match to get array of grep found items
    currentMatch = currentGen[0].contents.match("^\\d+\\t(.*)$");
    // second found item is town name, store as currentTown
    currentTown = currentMatch[1];
    // change current line to --- now that data has been grabbed
    // this is because loop will continue as long as the above grep find yields a result
           app.findGrepPreferences.findWhat = "^\\d+\\t"+currentTown+"$";
                  app.changeGrepPreferences.changeTo = "---";
                tocGenFrame.changeGrep(); 
    function replaceTown()
    app.findChangeGrepOptions.includeLockedLayersForFind = true;
    app.findChangeGrepOptions.includeLockedStoriesForFind = true;
    app.findChangeGrepOptions.includeHiddenLayers = true;
    app.findChangeGrepOptions.includeMasterPages = true;
    app.findChangeGrepOptions.includeFootnotes = true;
    // find: XX currentTown .... replace with: currentLine
        app.findGrepPreferences = app.changeGrepPreferences = null;
        app.findGrepPreferences.findWhat = "^XX\\t"+currentTown+" \\(";
        app.changeGrepPreferences.changeTo = currentLine+" \(";
    app.activeDocument.changeGrep();   
    function updateTOCGen()
    //set vars ... toc text frame, toc master pag
        var tocGen  = document.masterSpreads.item("T-tocGen").pages.item(0).textFrames.item(0);
        var tocGenPage  = document.masterSpreads.item("T-tocGen").pages.item(0);
    //SELECT the text frame generatedTOC on the master TOC
        tocGen.select();
    //Update Table of Contents by script menu action:
        app.scriptMenuActions.itemByID(71442).invoke();
    //Deselect selection of text frame holding your TOC:
        app.select(null);
    //store contents of toc text frame in variable
        var tocGenText = tocGen.contents;
    //return contents of tocGen
        return tocGenText;

    Thanks for the reply.
    You are correct but the problem is there are three rows, One row is 100% black, the second is 60% black and the third is 40% black. I want to change the black to blue, the 60% black to an orange and the 40% black to a light shaded blue. In the find/change option you can select the tint you want to find and replace but yea.. does work on table cells.. oddly enough.

  • Find/change using end of paragraph marker /p

    Folks,
    We are attempting to remove a space at the end of a paragraph in unstructured documents.  If I enter ' \p' in the Find text field in the Find/Change dialog FrameMaker finds the the appropriate paragraphs.  If I then enter '\p' in the Change text field in the Find/Change dialog and click Change the space is removed.  However the target paragraphs style is also applied to the the following paragraph.  This occurs in FrameMaker 8,9 & 10.
    If the Find/Change scenario above is followed with these two paragraphs the first paragraphs style is applied to the second paragraph.
    paragraph 1 with a trailing space and using Heading 1 style
    paragraph 2 using Heading 2 style
    Any thoughts?
    regards
    Jon

    JonEBe wrote:
    Arnis,
    Thanks!
    Yes why bother indeed!  I am at the end of a rather lengthy process to convert the creation and output of Framemaker documents into a database with a web front end.  As part of this the existing documents are imported to save lengthy keying/rekeying.  The output from the system is then compared against the originals.  As a matter of course I stripped of leading or trailing spaces (it is amazing how many there are in a manually created/updated document) so we therefore have noisy comparison documents as a result.
    BTW the trailing spaces are apparently a legacy of the conversion from WordPerfect.
    My choices are to re-import without stripping the trailing space and remove them at a later date or create a script using the FDK, which I am very familiar with, and is the likely outcome!
    Jon
    Just a wild thought - a real GREP processor, not the mild imitation in FrameMaker, can find a construction like a space followed by a paragraph marker and delete the space without affecting the marker. The technique is a form of the "lookbehind" or "lookahead" feature. I'm zero-skilled at actually doing this beyond just mentioning it, but the technique might work in a MIF, or text conversion, of the file. Search Google for terms like "GREP lookbehind lookahead," without quotes.
    Another possibility is that once the FrameMaker file is converted to the database, it would be possible to use a database command to remove the space.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for