I cannot use transactions PA20, PA30, or PA40 in our development system. When I try, I crash and get a dump. It fails here:
IF NOT pernr_tab IS INITIAL.
SELECT pernr ename AS name begda endda FROM pa0001
INTO CORRESPONDING FIELDS OF TABLE l_pernr_date_tab
FOR ALL ENTRIES IN pernr_tab
WHERE pernr = pernr_tab-pernr AND
sprps EQ space.
This is the error:
An entry was to be entered into the table
"\FUNCTION=HR_GET_TEXT_FOR_OBJECTS\DATA=L_PERNR_DATE_TAB" (which should have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.
The insert-operation could have ocurred as a result of an INSERT- or
MOVE command, or in conjunction with a SELECT ... INTO.
The statement "INSERT INITIAL LINE ..." cannot be used to insert several
initial lines into a table with a unique key.
Nobody else has this problem. My guess is that I had done a search of EE's at one time, and something or someone in the list is causing the crash.
Is there a way for me to clear something out so that I can run PA20, PA30, or PA40without this list?
Or - If you now of another reason why I may be having this issue and nobody else is, can you suggest a fix?