среда, 4 февраля 2015 г.

Dump ITAB_DUPLICATE_KEY

После копирования системы возникают ошибки с переносами и (как у меня с запуском цепочки). Один из способов лечения – проверить системную таблицу RSISOSMAP, ниже привожу выдержку из текста сап ноты (сама нота в pdf прилагается).
Reproducing the Issue
  1. Trigger the problematic DTP via transaction code RSA1
  2. Use the monitor function to view the DTP details/log
  3. Transaction code ST22 will contain the relevant ITAB_DUPLICATE_KEY dump.
Cause
This ABAP dump indicates that there may be duplicate transfer structure entries in the table RSISOSMAP.
This type of inconsistency normally happens only after system copies.
Resolution

In transaction code SE38, execute program RS_FIND_ISOSMAP_DUPREC to identify if there are any duplicate transfer structure names in table RSISOSMAP.
If there are duplicates, you can delete these by executing program RSAR_RSISOSMAP_REPAIR in Repair mode via SE38.

понедельник, 2 февраля 2015 г.

Чистаем основные данные в правилах (чтобы подсматривать)

*"----------------------------------------------------------------------
   
DATA : l_chavl   TYPE rsd_chavl.

    l_chavl
= source_fields-/bic/nccredit .


   
CALL FUNCTION 'RSAU_READ_MASTER_DATA'
     
EXPORTING
        i_iobjnm 
= 'NCCHCRKK'
        i_chavl  
= l_chavl
        i_attrnm 
= 'NCCRKK'
        i_date   
= l_date
     
IMPORTING
        e_attrval
= l_crkk
                   
EXCEPTIONS
                   
OTHERS.

*-----------------------------------------------------------------------