PA30 - Maintain HR Master Data - ITAB_DUPLICATE_KEY shoprt dump

Hello,
when I run PA30 transaction I immediately receive short dump ITAB_DUPLICATE_KEY with info as follows:
What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLHRBAS00GENERICSELECTION" had to be terminated
     because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
Error analysis
    You wanted to add an entry to table
     "\FUNCTION=HR_GET_TEXT_FOR_OBJECTS\DATA=L_PERNR_DATE_TAB", which you declared
    with a UNIQUE KEY. However, there was already an entry with the
    same key.
    This may have been in an INSERT or MOVE statement, or within a
    SELECT ... INTO statement.
    In particular, you cannot insert more than one initial line into a
    table with a unique key using the INSERT INITIAL LINE... statement.
User and Transaction
    Language key........ "E"
    Transaction......... "PA30 "
    Program............. "SAPLHRBAS00GENERICSELECTION"
    Screen.............. "SAPMP50A 1100"
    Screen line......... 3
Information on where terminated
    The termination occurred in the ABAP program "SAPLHRBAS00GENERICSELECTION" in
     "HR_GET_TEXT_FOR_OBJECTS".
    The main program was "SAPMP50A ".
    The termination occurred in line 65 of the source code of the (Include)
     program "LHRBAS00GENERICSELECTIONU17"
    of the source code of program "LHRBAS00GENERICSELECTIONU17" (when calling the
     editor 650).
SourceCode
.........cut................
60     IF begda > endda.
61       RAISE wrong_dates.
62     ENDIF.
63
64     IF NOT pernr_tab[] IS INITIAL.
65       SELECT pernr ename AS name begda endda FROM pa0001
66         INTO CORRESPONDING FIELDS OF TABLE l_pernr_date_tab
67           FOR ALL ENTRIES IN pernr_tab
68             WHERE pernr = pernr_tab-pernr AND
69                   sprps EQ space.
70       CLEAR pernr_tab[].
71 *     ENAME contains allways the latest name, so we don't have to care
72 *     about the dates
73       LOOP AT l_pernr_date_tab INTO l_pernr_date_wa.
...........cut..............
This happens for a specific employee.
There are two records in PA0001 table, but they are on a different date ranges, so this should be OK.
PA0001 table content:
PERNR      SUBTY OBJPS SPRPS ENDDA      BEGDA      SEQNR AEDTM      UNAME
10001228                     31.12.2008 01.09.2008 000   03.10.2008 MARTISB
10001228                     31.12.9999 01.01.2009 000   03.10.2008 MARTISB
I suppose this happens when PA30 before showing screen to a user tries to read info of users used in last usage of PA30.
Maybe clear of SAP GUI cache should help? (Do you know how to cleare GUI cache on user's desktop?)
Maybe field SPRPS ("Lock Indicator for HR Master Data Record") should not be empty for the second record of PA0001 table?
Anyone know any solution for that or OSS note?
Kind regards
Marcin

To solve that I've run program RH_DELETE_USER_SETTINGS via se38 transaction. I've selected only first checkbox named: "Delete last object selection".
Now PA30 works fine.
Good luck and thanks!

Similar Messages

  • BSP for maintain BW master Data

    Hi,
    I know we discussed many times about master data maintenance in a BSP page.
    I have to create a page for maintaining new cost centers (for simulation purpose).
    Is anybody can provide an example of code developped ?
    How much time to developp a BSP page to maintain a master data cost center with five attributes ?
    Thanks for your help
    Matteo

    Hi,
    This is Ami Kapadia. CAn anyone pls. help me, that is it possible to make changes in the Standard SAP BW BSP pages.
    like if i want to change some displays or changing the selection field names.
    eg..
    on BW BSP page i am displaying the date on which the database is uploaded from SAP R/3 database. the field is displayed as "Validate for", instead i want to write in business words that "the data is uploaded on......date".
    pls. help.

  • Maintain the Master data

    How to maintain the Master data at Client –Server architecture?
    Thanks

    1)You get to the master data maintenance via
    InfoObject Tree - InfoObject - Context Menu (right mouse button) - Maintain Master Data.
    or
    or in the InfoObject maintenance by choosing Maintain Master Data
    2)A selection screen appears for restricting the master data. You may want to edit here.
    Taking into account the options from F4 Help, select the relevant data.
    You get to the list header for the selection. The list header is also displayed if no hits have been found for your selection, so that you can enter new master records for particular criteria.
    Make your changes with the help of the relevant maintenance function.
    3)Creating new master records
    Choose Create to add new master records. New records are tagged onto the end of the list.
    Changing single records
    4)A double-click on a data record takes you to the individual maintenance. Make the relevant changes in the following Change dialog box.
    5)Choose Save.

  • Please maintain  the master data for material during product cost collector

    hi
    i get a error
    please maintain  the master data for material during product cost collector
    please guide me
    regards
    leo

    Hi Leo,
    Can you elaborate your issue, like when did you get the error exactly?
    If it is the error you got while creating Product Cost Collector, then this is not the right Forum to post.
    Please post your question in the 'ERP Manufacturing (PP)' forum
    Regards,
    Manimaran M

  • Hi masters , Actually maintain the master data in BI also then why the spec

    HI masters ,
    Actually maintaing the master data also we can do in BI, then why we have to need MDM.
    What is special purpose with mdm.  please tell brefily,

    Hi Surya,
    In MDM we maintain only master data
    The goal of MDM to make master data unique and accurate.
    BI is used to analyze data from diverse source to support decision  making. In BI  transaction data are placed  in a table named Fact table .This fact table or transaction data are connected to master data /dimension table using some foreign key. Example of different transactions data are :-  Quantity sold, sales revenue .In BI /BW we can analyze transaction data i.e. we can calculate total quantity sold for a particular region .
    There may be different sales representative for different region. And every sales representative have different and unique ID.
    To calculate total quantity sold we have to do the following things
    We have to select sales representative Id of the specified region.
    Based on sales representative Id (which is master data) for a particular region and the summarized quantity sold by them we can get the total quantity sold for a particular region.
    So this master data sales representative Id should be correct and unique based on which we will analyze transaction data otherwise the result would be wrong.
    These sales representative ID is maintained in MDM.
    Basic scenarios of MDM are
    1)     Consolidation
    2)     Harmonization
    3)     Central master data management
    MDM assures following things
    u2022     Accuracy - Does my data adhere to defined formats and standards?
    u2022     Validity - Does my data contain incorrect information?
    u2022     Completeness - Does my data contain all the necessary information?
    u2022     Consistency - Does my data contain contradicting or duplicate information?
    SAP Master Data Management (SAP MDM) is a component of SAPu2019s Net Weaver product group and is used as a platform to consolidate, cleanse and synchronize a single version of the truth for master data within a heterogeneous application landscape.
    Thanks
    Dola Aich
    Edited by: DOLA AICH on Oct 14, 2008 10:34 AM

  • How to maintain material master data in plant....

    Hi all,
    while creating BOM I am getting an error "no material master data in plant'  can some one help me how to maintain the material master data in plant
    Regards,
    Balu

    Hi,
    Please check the below link for MMR creaion .
    http://web.mit.edu/sapr3/windocs/bpmdb01m.htm
    Regards,

  • APD master data join - ABAP dump TSV_TNEW_PAGE_ALLOC_FAILED

    Hi,
    I have created an APD to join 3 ISU master data infoobjects
    1. left join 0UCPREMISE with 0UC_CONNOBJ
    2. left join 0UCINSTALLA with result of 1.
    3. Store the data in ODS
    When I did this in DEV (D4S) everything worked - but there is also much
    less data in the master data infoobjects.
    When running the APD in Test (Q4S) I get ABAP dump after a while (not
    time out): TSV_TNEW_PAGE_ALLOC_FAILED
    1. I have tried with the APD setting to store in internal memory to OFF
    but the same problems occur.
    2. I tried to create index (on /BI0/P* ) for fields part of the join
    which was not table key but same problem occurs.
    3. I have no filters for the joins as I want to get all master data in
    the output ODS.
    4. The size of the p-tables are:
    /BI0/PUCPREMISE = 1 385 792
    /BI0/PUC_CONNOBJ = 1 031 272
    /BI0/PUCINSTALLA = 2 445 742
    5. Components + SP level:
    SAP_ABA     700     0013     SAPKA70013
    SAP_BASIS     700     0013     SAPKB70013
    PI_BASIS     2005_1_700     0013     SAPKIPYJ7D
    ST-PI     2005_1_700     0005     SAPKITLQI5
    SAP_BW     700     0015     SAPKW70015
    BI_CONT     703     0005     SAPKIBIIP5
    Linux / Oracle 10.2.0.2.0
    6. Info from ABAP Dump:
    Error analysis
    The internal table "\CLASS=CL_RSMD_RS_UTILITIES\METHOD=DATA_TO_RETURN\DATA=L_SX
    RETURN-TVALUE" could not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 200
    Number of rows: 15
    Allocated rows: 15
    Newly requested rows: 64 (in 1 blocks)
    Last error logged in SAP kernel
    Component............ "EM"
    Place................ "SAP-Server q4s_Q4S_72 on host q4s (wp 12)"
    Version.............. 37
    Error code........... 7
    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
    Description.......... " "
    System call.......... " "
    Module............... "emxx.c"
    Line................. 1881
    The error reported by the operating system is:
    Error number..... " "
    |    Error text....... " "
    How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 2755600
    Extended memory (EM)........... 1977608256
    Assigned memory (HEAP)......... 2000733904
    Short area..................... " "
    Paging area.................... 24576
    Maximum address space.......... 4294967295
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "TSV_TNEW_PAGE_ALLOC_FAILED" " "
    "CL_RSMD_RS_UTILITIES==========CP" or "CL_RSMD_RS_UTILITIES==========CM006"
    |    "DATA_TO_RETURN"                    
    Anybody have any idea what i can do to be able to run this APD (in production I want to run it on a monthly basis). To me it seems the APD fills 2 gig of mem, I thought the APD option to not store the complete dataset in internal memory (using temp tables instead) would kick in before the 2 gigs was used. Basis team didn't want to raise mem paramenters if it could be sorted out any other way.
    Thanks,
    Johan

    I have searched on my problem before posting here ofcourse - but somehow I missed this one, mentioned in 794257:
    "InfoObject" data source
    A dump occurs because of a memory overflow in the SAPLRSDM_F4 function group in the SD_CHA_GET_VALUES function module.
    The InfoObject data source for reading master data is currently based on a function module that loads all data into the main memory in an inefficient data structure. As a result, the data source is only suitable for reading master data with a few data records. A memory overflow can occur for master data tables with lots of records such as business partners or products. This occurs regardless of how the "Process data in the memory" indicator was set.
    If this situation occurs, set the InfoObject in such a way that it is available as an InfoProvider. Then use the "InfoProvider" data source instead of the "InfoObject" data source in the analysis process.
    I'll try this...
    //Johan

  • How to set up replenishment or what must maintain in master data?

    I seted up replenishment in master data but it was not available when the stock less than minimum. So I will set what and How to set it.

    1) MAintain min. bin quantity and max bin quantity in WM2 view of material master.
    2)Whenever the bin quantity will fall below the min. bin quantity system will propose for replenishment.
    3) This is valid only for fixed bin so fixed bin needs to be maintained in WM2 view of material master.
    4) Run LP21 and system will create a TR automatically

  • Master data load gives dump with exception CX_RSR_X_MESSAGE

    Hi all,
    I scheduled master data load for 0MATERIAL in our BI 7.0 Quality server. The load ended in dump with the exception CX_RSR_X_MESSAGE. The data has loaded into PSA( 37257 from 37257 records) but the technical status is red and has not updated the master data object.
    I have seen note 615389 which talks about number range but the check is successful. The data load was successful in development server. This error has occured only in Quality.
    We are on SP 12 in BI 7.0.
    We are moving to production soon, so this is an urgent issue. I would appreciate if anyone responds soon. Points will be rewarded.
    with regards,
    Ashish

    Hi,
    The log of the dump is given below.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_RSR_X_MESSAGE', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    No text available for this exception
    Information on where terminated
    Termination occurred in the ABAP program "SAPLRRMS" - in "RRMS_X_MESSAGE".
    The main program was "SAPMSSY1 ".
    In the source code you have the termination point in line 78
    of the (Include) program "LRRMSU13".
    Source Code Extract
    Line
    SourceCde
    48
    *... Nachricht an den Message-Handler schicken
    49
    50
    *... S-Meldung wenn kein Handler initialisiert
    51
    DATA: l_type  TYPE smesg-msgty,
    52
    l_zeile TYPE rrx_mesg-zeile.
    53
    CALL FUNCTION 'MESSAGES_ACTIVE'
    54
    IMPORTING
    55
    zeile      = l_zeile
    56
    EXCEPTIONS
    57
    not_active = 1.
    58
    IF sy-subrc NE 0.
    59
    l_type = 'S'.
    60
    ELSE.
    61
    l_type = 'W'.
    62
    ENDIF.
    63
    64
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    65
    EXPORTING
    66
    i_class  = 'BRAIN'
    67
    i_type   = l_type
    68
    i_number = '299'
    69
    i_msgv1  = i_program
    70
    i_msgv2  = i_text.
    71
    ELSE.
    72
    DATA: l_text  TYPE string,
    73
    l_repid TYPE syrepid.
    74
    75
    l_repid = i_program.
    76
    l_text  = i_text.
    77
    >>>>>
    RAISE EXCEPTION TYPE cx_rsr_x_message
    79
    EXPORTING text = l_text
    80
    program = l_repid.
    81
    ENDIF.
    82
    83
    ENDFUNCTION.
    I went to SM21 and went through the system log.  There was a log with the following text  ORA-20000: Insufficient privileges#ORA-06512: at
    "SYS.DBMS_STATS", line 2150#ORA-06512: at "SYS.DBMS_STATS.
    I found a note 963760 for this error. After the changes said in this note were done I reloaded the data and it worked fine. Data load for another data source which gave dump now worked.
    I am not sure if the note did the trick. So i am keeping this post open in case someone finds another solution or can confirm the solution which worked for me.
    Thanks Oliver and Oscar, for replying.
    regards,
    Ashish

  • Maintaining BI Master Data with SAP NetWeaver Visual Composer

    Hi guys,
    I found the above mentiond VC model in the resource center,
    can anyone help me on how to find & download it?
    It can be found at:
    https://www.sdn.sap.com/irj/sdn/bpx-analytics?rid=/webcontent/uuid/a0360551-0e01-0010-adae-c24adaa225b1 [original link is broken]
    Thanks

    Hi Milan,
    it "sounds" as it would be correct ... unfortunately I was not able to find this one in detail in the PAM ...
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • PA30, attaching documents through the employee personal master data

    Hi,
    We want to add documents to a pernr in PA30 via Extra -> assign original. We configured the archive link but it asks for "Bar Code Entry" when we want to add an document. In http://help.sap.com/saphelp_erp60_sp/helpdata/en/d7/e2270b408e11d1896b0000e8322d00/content.htm they say However, it is also technically possible to store without a bar code (that is, you can use the "assign then store" scenario). But I don't find the information to do it. Please can somebody assist?
    Br
    Steven

    Check with below url ...you have different options..
    [http://help.sap.com/saphelp_47x200/helpdata/en/48/35d4ad4abf11d18a0f0000e816ae6e/frameset.htm]
    You can also try in PA30....Click on Services for Object besides Maintain HR Master Data name.....Create...Create Attachment.
    Mohan

  • Maintain penalty costs in product master data via macro

    Hi all,
    I am trying to use the function MATLOC_SET to maintain the penalty cost (field Non. Del. Penalty) on SNP1 tab, but it didn't work.
    Is it possible to use this function to update this field or I need to use an other function to do this?
    I tried :
    1) MATLOC_SET( 'NDPEN' ; 123 ; ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION )
    2) MATLOC_SET( 'NDPEN' ; '123' ; ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION )
    3) MATLOC_SET( 'NDPEN1LOC' ; 123 ; ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION )
    4) MATLOC_SET( 'NDPEN1LOC' ; '123' ; ACT_PRODUCT ; ACT_LOCATION ; ACT_VERSION )
    Thanks in advance,
    Regards,
    Douglas Marques

    Thanks all for replies!
    Kishore Reddy,
    Yes, it's possible to maintain product master data via macro by functions. In my case, I'm using MATLOC_SET and it's work fine... except for the penalty costs fields.
    Saradha,
    I can't use the MASSD to do this because the costs are calculated in the macro based on sku/location forecast. But call a custom program in the macro is a good idea. I only have a doubt... Is it possible to transfer the calculated values in the macro to the custom program? If it's possible, how can I do to call the custom program transferring these values?
    Julien,
    The function MATLOC_SET works fine for other fields, only doesn't work to penalty costs fields...  
    I saw that the structures are different, but the help that provides by SAP not mention any restriction. So, I think there is some other specific function to update the costs and i tried the MATLOC_EXTRA_SET, but it updates only extra fields...  
    May be having another function to do this...
    Thanks and Regards
    Doug

  • HR Master data replication from R3 to SRM

    Hi All,
    I am trying to replicate one orguint from R3 to SRM.
    So I do PFAL for the orguint on R3 but when I check the Idoc status in SRM using transcation WE02
    under Status Record there are four status as 51 With following messages:
    1)HR: ALE inbound processing for HR master data
    2)Error: insertion of infotype 5585 (return code 6 )
    3)Error: insertion of infotype 5582 (return code 6 )
    4)Error: insertion of infotype 1001 (return code 6 )
    I also checked in SRM PPOSA_BBP , the orguint is not replicated.
    Any tips on this?
    Regards,
    Anubhav

    Hello Anubhav,
    This is due to incorrect HR Master Data Maintainanxce...
    Plz go to Transactioon:PA30 Maintain HR Master
    and maintain/check the Infotypes 5585, 5582 ,1001 etc
    that are shown in the Error Messages of reflection of HR Master to SRM
    once after maintaining do the replication again using PFAL(Use Insert option instead of Update)
    also refer to below link,might be useful..
    http://www.erpgenie.com/sapedi/message_types_bp_hr.htm
    Plz let me know
    Arshad
    Edited by: arshad ahmed on May 27, 2009 8:42 AM

  • Loading data from one master data attr.to another master data in production

    Hi all,
    I have two two masterdata attr info objects A and B( have time dependent attr.).
    according to businees requirement i have included 8 objects of A TO B to make them as time dependent.
    all reports are designed on infosets only having these A and B ,some other ods objects.
    I have done mapping in infosets and made changes in queries according to changes.i when moved from dev to quality and checked all infosets and queries all changes are reflecting in infosets  and queries in quality.
    *QUETIONS * :
    1. while executing queries i am getting 'no data' in the reult of query output.
    2. How can get 8 fields data from A to B, because A has lot of data for that 8 fields in A in production
    Regards,
    Chinna.

    Hi chinna
    first of all maintain the master data to attributes and these attribute converted into Navigational Attributes
    in this way u can get master data at query output
    thanks
    Muralidhar Reddy.P
    Edited by: Muralidhar Reddy P on Dec 24, 2008 9:31 PM

  • Error while loading master data to attribute ZMAJORGU(Major organisational unit)

    Hi Experts,
    While loading master data to  ZMAJORGU(MOU)(info object texts) from  datasource (ZOS_HRP1000)datasource iam getting error in DTP.
    below is the error...
    Diagnosis
        Data record 349 & with the key 'Ship &' is invalid in value 'Ship &' of
        the attribute/characteristic ZMAJORGU &.
    System Response
        The system has recognized that the value mentioned above is invalid, and
        has processed this general error message. A subsequent message may give
        you more information on the error. This message refers to the same
        value, even though it does not state this explicitly.
    Procedure
        If this message appears during a data load, maintain the attribute in
        the PSA maintenance screens. If this message appears in the master data
        maintenance screens, leave the transaction and call it again. This
        allows you to maintain your master data.
    Please find the below screen shots
    I have done the following regarding the issue ....Looking at the error i have gone trough the transformation and i didnt find any routines or formuales
    I have checked the PSA and down loaded the data to spread sheet and put a filter on SHORT and STEXT assuming i will find the value
    'Ship &' as mentioned in the Diagnosis description. However i was not able to find the relavent data(i went to se16 gave teh request ID from PSA and displayed the entire data)tarting with Ship .The closest  value i could find in both the fileds was was AVP Shipment .
    I have the following questions
    1)In the screen short 2 it says record number 349 is it right to go to PSA table and check against the record number 349(i tried that but i was not able to find the error against that record)
    2)why am i not finding the value 'Ship' in PSA ...but this is the value wich is creating a poblem in updating to the target ....does it mean the record value is Ship or it starts with Ship or is ir part of some word?
    Please find the attached PSA data file (u have to convert it to Excel)
    I request people to help me analyse the issue and fix the issue.
    Regards
    Kiran

    Ram
    I checked other records as well they were a lot of smallcharecters upper case charectres ,numeric special charecters .but nothing stopped ...when the system is even accpeting all other charectres  like smallof caps or numeric... why on this record is creating an issue...
    please have a look at error stack
    and i have one more question when i look at PSA there are close to 300000 records
    but when i do an SE16 with request id i see only close to one lakh records (i came to conclusion b dragging down and the last record number was (below screen shot)
    Can you tell me what my mistake is numebr or records are not tallying in SE16 and PSA..

Maybe you are looking for

  • Problem with printing Graphics

    I have created a grahic (based on a view). The graphic is colored with different colors. When the graphic is printed on a color-printer everything is fine. But when it is printed on a non-color-printer (i have tested different printers), some lines a

  • Problem with my E6 Waranty extend

    Hello sir,  i have purchased my E6-00 on 27-6-2012 ,,everything gone ok ,but when i visit nokia store on september for firmware upgrade,they said to me your waranty going to expire on november but i purchased on june 2012 ,,they said me to give an ap

  • Itunes on macbook freezing

    Itunes on my macbook started freezing after I turned on homesharing on Itunes and began backing up my system using Time Capsule.  Whenever I insert a CD itunes locks up completely. My operating system is up to date-- 10.7.4. I have a new Mac Mini and

  • About structures

    how to include structures in a report to get data from that structure. and also tell how to retrive data frm the structure thanx

  • Small/cheap switch with EtherType 0x9100 / tunneling? 2960G?

    I have a pair of 2960G switches with vlans I'd like shared over a circuit provided by Yipes. Yipes says in order to pass my tags unmolested I need to hand them ethertype 0x9100 instead of 0x8100. Apparently the command to set this for an interface is