How to track down duplicates record in BPC 5.1

All,
        We had a consultant who builds up a script which pulled all the data files from different sources and finally load in SAP BPC. We are seeing duplicates in our SAP BPC for excel reports. We looked at couple of tables  at SQL level and everything looks fine. We also look at the data files separately and all of them have unique values. Iu2019m fairly new to SAP BPC. Can you guys give some tips, so I can track down u201CDupsu201D and able to fix the bug !
Also let me know is it recommended to write VBA code to get rid of duplicates for one of the SAP BPC reports?
Thanks,
-Saquib

What exactly do you mean by duplicates? Two (or more) data records in the same intersection of members, across all dimensions in the application? These will be combined into one record when the database is optimized. And add'l records will be added, if you have input schedules where users modify data.
So you must be very careful about how you remove data from the database.
If you're seeing data in reports that is different from what's in the database, then it's more likely a bug in the report, not the data -- or else the cubes are not properly processed.
I wouldn't have any idea how VBA could help solve the problem, but I'm not really sure what is your problem. More commonly, SQL helps to identify where there are data integrity issues.
If you have a problem with the data in the cube not matching what's in your source files, it may be related to how data was initially imported, depending on the merge vs. clear option you selected during the imports. That's where I would start the investigation, if I understand your problem correctly.
The correct solution is probably to fix the import routine and re-load, rather than much around in the BPC tables until you think you got it right. Otherwise, next time you need to load data, you'll have the same problem.

Similar Messages

  • HT4436 how to track down when icloud was downloaded to a ipod

    how to track down when icloud was downloaded to a ipod

    You don't "download" iCloud. It is built-in to devices running iOS5 or above.
    You set iCloud up on iPhones, iPads and iPod touch. You should know when you set it up, there is no record stored anywhere of when you did that.

  • My macbook pro is crashing any clues on how to track down the problem?

    my macbook pro is crashing any clues on how to track down the problem?
    I'm running OS X 10.9.5 on a Late 2008 Macbook Pro... 8GB of memory... I've swapped the original drive for an SSD.
    here is a problem report on one of the crashes... they always look just like this:
    Mon Oct  6 17:53:40 2014
    panic(cpu 0 caller 0xffffff80018dc43e): Kernel trap at 0xffffff7f82fe26e2, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffff80cdde2008, CR3: 0x000000004785e000, CR4: 0x0000000000000660
    RAX: 0x0000000000000039, RBX: 0x0000000000000059, RCX: 0x0200000002400009, RDX: 0x7fffffffffffffff
    RSP: 0xffffff80fdb8b820, RBP: 0xffffff80fdb8b860, RSI: 0x0000000000000059, RDI: 0xffffff80cdde2008
    R8:  0x0000000000000000, R9:  0x0000000000000000, R10: 0xffffff80fdb8b380, R11: 0xffffff7f81efab4c
    R12: 0xffffff80cdde2008, R13: 0xffffff802de1d008, R14: 0x0000000000000059, R15: 0xffffff80cdde2008
    RFL: 0x0000000000010282, RIP: 0xffffff7f82fe26e2, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0xffffff80cdde2008, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80fdb8b4b0 : 0xffffff8001822f79
    0xffffff80fdb8b530 : 0xffffff80018dc43e
    0xffffff80fdb8b700 : 0xffffff80018f3976
    0xffffff80fdb8b720 : 0xffffff7f82fe26e2
    0xffffff80fdb8b860 : 0xffffff7f82fe3cbf
    0xffffff80fdb8b970 : 0xffffff7f82fe3ff2
    0xffffff80fdb8b9e0 : 0xffffff7f82fe4256
    0xffffff80fdb8ba60 : 0xffffff7f82ff53d7
    0xffffff80fdb8baa0 : 0xffffff7f82fef706
    0xffffff80fdb8bae0 : 0xffffff80019fabd6
    0xffffff80fdb8bb10 : 0xffffff80019fb38e
    0xffffff80fdb8bb30 : 0xffffff80019de87a
    0xffffff80fdb8bc80 : 0xffffff8001b82cc3
    0xffffff80fdb8bcd0 : 0xffffff8001b7c076
    0xffffff80fdb8bd80 : 0xffffff80019fabd6
    0xffffff80fdb8bdb0 : 0xffffff80019fb38e
    0xffffff80fdb8bdd0 : 0xffffff80019de87a
    0xffffff80fdb8bf20 : 0xffffff80019e602a
    0xffffff80fdb8bf50 : 0xffffff8001c40c63
    0xffffff80fdb8bfb0 : 0xffffff80018f4176
          Kernel Extensions in backtrace:
             com.apple.filesystems.afpfs(11.1)[DCC45CDD-E950-364F-8221-1A914106BC59]@0xfffff f7f82fd7000->0xffffff7f83025fff
                dependency: com.apple.security.SecureRemotePassword(1.0)[BC0BAB92-C8C9-3959-AA42-272AF578DF D9]@0xffffff7f82fc6000
    BSD process name corresponding to current thread: mds
    Mac OS version:
    13F34
    Kernel version:
    Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64
    Kernel UUID: 9477416E-7BCA-3679-AF97-E1EAAD3DD5A0
    Kernel slide:     0x0000000001600000
    Kernel text base: 0xffffff8001800000
    System model name: MacBookPro5,1 (Mac-F42D86A9)
    System uptime in nanoseconds: 13782929543220
    last loaded kext at 732159785634: com.apple.filesystems.smbfs    2.0.3 (addr 0xffffff7f83026000, size 335872)
    last unloaded kext at 315936860456: com.apple.filesystems.msdosfs    1.9 (addr 0xffffff7f82fb9000, size 57344)
    loaded kexts:
    tc.tctechnologies.driver.Saffire    8028
    com.iospirit.driver.rbiokithelper    1.8.0
    com.squirrels.airparrot.framebuffer    3
    com.Logitech.Unifying.HID Driver    1.3.1
    com.squirrels.driver.AirParrotSpeakers    1.8
    com.Logitech.Control Center.HID Driver    3.9.1
    com.apple.filesystems.smbfs    2.0.3
    com.apple.filesystems.afpfs    11.1
    com.apple.nke.asp-tcp    8.0.1
    com.apple.driver.AppleHWSensor    1.9.5d0
    com.apple.filesystems.autofs    3.0
    com.apple.driver.AudioAUUC    1.60
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.iokit.IOBluetoothSerialManager    4.2.7f3
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AppleUpstreamUserClient    3.5.13
    com.apple.driver.AGPM    100.14.34
    com.apple.driver.AppleMikeyHIDDriver    124
    com.apple.driver.AppleHWAccess    1
    com.apple.GeForceTesla    8.2.4
    com.apple.driver.AppleHDA    2.6.3f4
    com.apple.driver.AppleMikeyDriver    2.6.3f4
    com.apple.driver.SMCMotionSensor    3.0.4d1
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    4.2.7f3
    com.apple.driver.AppleSMCLMU    2.0.4d1
    com.apple.driver.AppleMuxControl    3.6.22
    com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
    com.apple.driver.AppleLPC    1.7.0
    com.apple.driver.AppleMCCSControl    1.2.5
    com.apple.driver.AppleUSBTCButtons    240.2
    com.apple.driver.AppleUSBTCKeyboard    240.2
    com.apple.BootCache    35
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN    1.0.0d1
    com.apple.iokit.SCSITaskUserClient    3.6.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.6.0
    com.apple.driver.AppleUSBHub    683.4.0
    com.apple.driver.AppleFWOHCI    5.0.2
    com.apple.driver.AirPort.Brcm4331    700.20.22
    com.apple.driver.AppleUSBEHCI    660.4.0
    com.apple.driver.AppleUSBOHCI    656.4.1
    com.apple.nvenet    2.0.21
    com.apple.driver.AppleAHCIPort    3.0.5
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleRTC    2.0
    com.apple.driver.AppleHPET    1.8
    com.apple.driver.AppleACPIButtons    2.0
    com.apple.driver.AppleSMBIOS    2.1
    com.apple.driver.AppleACPIEC    2.0
    com.apple.driver.AppleAPIC    1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient    217.92.1
    com.apple.security.quarantine    3
    com.apple.nke.applicationfirewall    153
    com.apple.driver.AppleIntelCPUPowerManagement    217.92.1
    com.apple.security.SecureRemotePassword    1.0
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOSurface    91.1
    com.apple.iokit.IOSerialFamily    10.0.7
    com.apple.AppleGraphicsDeviceControl    3.6.22
    com.apple.nvidia.classic.NVDANV50HalTesla    8.2.4
    com.apple.nvidia.classic.NVDAResmanTesla    8.2.4
    com.apple.driver.DspFuncLib    2.6.3f4
    com.apple.vecLib.kext    1.0.0
    com.apple.iokit.IOBluetoothHostControllerUSBTransport    4.2.7f3
    com.apple.iokit.IOFireWireIP    2.2.6
    com.apple.driver.AppleHDAController    2.6.3f4
    com.apple.iokit.IOHDAFamily    2.6.3f4
    com.apple.driver.AppleSMBusPCI    1.0.12d1
    com.apple.driver.AppleBacklightExpert    1.0.4
    com.apple.iokit.IONDRVSupport    2.4.1
    com.apple.driver.AppleGraphicsControl    3.6.22
    com.apple.iokit.IOAudioFamily    1.9.7fc2
    com.apple.kext.OSvKernDSPLib    1.14
    com.apple.driver.AppleSMC    3.1.8
    com.apple.driver.IOPlatformPluginLegacy    1.0.0
    com.apple.driver.IOPlatformPluginFamily    5.7.1d6
    com.apple.driver.AppleSMBusController    1.0.12d1
    com.apple.iokit.IOGraphicsFamily    2.4.1
    com.apple.driver.IOBluetoothHIDDriver    4.2.7f3
    com.apple.iokit.IOBluetoothFamily    4.2.7f3
    com.apple.driver.AppleUSBMultitouch    240.10
    com.apple.iokit.IOUSBHIDDriver    660.4.0
    com.apple.driver.AppleUSBMergeNub    650.4.0
    com.apple.driver.AppleUSBComposite    656.4.1
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.6.7
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOAHCISerialATAPI    2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.6.7
    com.apple.iokit.IOUSBUserClient    660.4.2
    com.apple.driver.AppleEFINVRAM    2.0
    com.apple.iokit.IOFireWireFamily    4.5.5
    com.apple.iokit.IO80211Family    640.36
    com.apple.iokit.IOUSBFamily    686.4.1
    com.apple.iokit.IONetworkingFamily    3.2
    com.apple.driver.NVSMU    2.2.9
    com.apple.iokit.IOAHCIFamily    2.6.5
    com.apple.driver.AppleEFIRuntime    2.0
    com.apple.iokit.IOHIDFamily    2.0.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.TMSafetyNet    7
    com.apple.security.sandbox    278.11.1
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.iokit.IOReportFamily    23
    com.apple.driver.DiskImages    371.1
    com.apple.iokit.IOStorageFamily    1.9
    com.apple.driver.AppleKeyStore    2
    com.apple.driver.AppleFDEKeyStore    28.30
    com.apple.driver.AppleACPIPlatform    2.0
    com.apple.iokit.IOPCIFamily    2.9
    com.apple.iokit.IOACPIFamily    1.4
    com.apple.kec.pthread    1
    com.apple.kec.corecrypto    1.0
    Model: MacBookPro5,1, BootROM MBP51.007E.B06, 2 processors, Intel Core 2 Duo, 2.66 GHz, 8 GB, SMC 1.41f2
    Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
    Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.7f3 14616, 3 services, 23 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: OWC Mercury Electra 3G SSD, 480.1 GB
    Serial ATA Device: HL-DT-ST DVDRW  GS21N
    USB Device: USB2.0 Hub
    USB Device: Built-in iSight
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: IR Receiver
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: USB Receiver
    Thunderbolt Bus:

    These may be your problem candidates:
    Uninstall them and then reinstall in a systematic manner and see if the MBP crashes again.  If  and when it does, then that is the troublemaker.
    Ciao.

  • How to track down my lost ipod touch with out having mobile me as a app???

    DOES ANYBODY KNOW HOW TO TRACK DOWN A IPOD TOUCH WITH OUT HAVING MOBILE ME AS A APP?

    You cannot. Sorry.  You could try calling it via facetime, if  you have facetime, and listen for the ringing.
    BTW, typing in all caps indicates shouting, is considered rude and is difficult to read.
    Many simply do not read such posts.

  • How to retrieve the duplicates records.

    Hi friends,
         My next issue, how to retrieve the duplicate records in web intelligence.I checked the option Retrieve duplicate records in web intelligence as well.But it is not helping me.
    Hope you guys are help to solve this issue.
    Thanks lot,
    Regards,
    -B-

    hi Blaji,,
    ive tried this here and it worked perfectly with me
    even so, you dont need to make the QTY as a dimension, you can leave it as a measure also, and it will work good with you.
    click the block on the WebI, the Block itself.
    and find its properties, under "Display", you will find
    "Avoid Duplicate row Aggregations"
    in the query it self you should flag "Retrieve Duplicated Rows"
    i think this will work fine with you
    good luck
    Amr

  • How to find out duplicate record contained in a flat file

    Hi Experts,
    For my project I have written a program for flat file upload.
    Requirement 1
    In the flat file there may be some duplicate record like:
    Field1   Field2
    11        test1
    11        test2
    12        test3
    13        test4
    Field1 is primary key.
    Can you please let me know how I can find out the duplicate record.
    Requirement 2
    The flat file contains the header row as shown above
    Field1   Field2
    How our program can skip this record and start reading / inserting records from row no 2 ie
    11        test1
    onwards.
    Thanks
    S
    FORM upload1.
    DATA : wf_title TYPE string,
    lt_filetab TYPE filetable,
    l_separator TYPE char01,
    l_action TYPE i,
    l_count TYPE i,
    ls_filetab TYPE file_table,
    wf_delemt TYPE rollname,
    wa_fieldcat TYPE lvc_s_fcat,
    tb_fieldcat TYPE lvc_t_fcat,
    rows_read TYPE i,
    p_error TYPE char01,
    l_file TYPE string.
    DATA: wf_object(30) TYPE c,
    wf_tablnm TYPE rsdchkview.
    wf_object = 'myprogram'.
    DATA i TYPE i.
    DATA:
    lr_mdmt TYPE REF TO cl_rsdmd_mdmt,
    lr_mdmtr TYPE REF TO cl_rsdmd_mdmtr,
    lt_idocstate TYPE rsarr_t_idocstate,
    lv_subrc TYPE sysubrc.
    TYPES : BEGIN OF test_struc,
    /bic/myprogram TYPE /bic/oimyprogram,
    txtmd TYPE rstxtmd,
    END OF test_struc.
    DATA : tb_assum TYPE TABLE OF /bic/pmyprogram.
    DATA: wa_ztext TYPE /bic/tmyprogram,
    myprogram_temp TYPE ziott_assum,
    wa_myprogram TYPE /bic/pmyprogram.
    DATA : test_upload TYPE STANDARD TABLE OF test_struc,
    wa2 TYPE test_struc.
    DATA : wa_test_upload TYPE test_struc,
    ztable_data TYPE TABLE OF /bic/pmyprogram,
    ztable_text TYPE TABLE OF /bic/tmyprogram,
    wa_upld_text TYPE /bic/tmyprogram,
    wa_upld_data TYPE /bic/pmyprogram,
    t_assum TYPE ziott_assum.
    DATA : wa1 LIKE test_upload.
    wf_title = text-026.
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
    window_title = wf_title
    default_extension = 'txt'
    file_filter = 'Tab delimited Text Files (*.txt)'
    CHANGING
    file_table = lt_filetab
    rc = l_count
    user_action = l_action
    EXCEPTIONS
    file_open_dialog_failed = 1
    cntl_error = 2
    OTHERS = 3. "#EC NOTEXT
    IF sy-subrc 0.
    EXIT.
    ENDIF.
    LOOP AT lt_filetab INTO ls_filetab.
    l_file = ls_filetab.
    ENDLOOP.
    CHECK l_action = 0.
    IF l_file IS INITIAL.
    EXIT.
    ENDIF.
    l_separator = 'X'.
    wa_fieldcat-fieldname = 'test'.
    wa_fieldcat-dd_roll = wf_delemt.
    APPEND wa_fieldcat TO tb_fieldcat.
    CALL FUNCTION 'MESSAGES_INITIALIZE'.
    CLEAR wa_test_upload.
    Upload file from front-end (PC)
    File format is tab-delimited ASCII
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = l_file
    has_field_separator = l_separator
    TABLES
    data_tab = i_mara
    data_tab = test_upload
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    IF sy-subrc 0.
    EXIT.
    ELSE.
    CALL FUNCTION 'MESSAGES_INITIALIZE'.
    IF test_upload IS NOT INITIAL.
    DESCRIBE TABLE test_upload LINES rows_read.
    CLEAR : wa_test_upload,wa_upld_data.
    LOOP AT test_upload INTO wa_test_upload.
    CLEAR : p_error.
    rows_read = sy-tabix.
    IF wa_test_upload-/bic/myprogram IS INITIAL.
    p_error = 'X'.
    MESSAGE s153 WITH wa_test_upload-/bic/myprogram sy-tabix.
    CONTINUE.
    ELSE.
    TRANSLATE wa_test_upload-/bic/myprogram TO UPPER CASE.
    wa_upld_text-txtmd = wa_test_upload-txtmd.
    wa_upld_text-txtsh = wa_test_upload-txtmd.
    wa_upld_text-langu = sy-langu.
    wa_upld_data-chrt_accts = 'xyz1'.
    wa_upld_data-co_area = '12'.
    wa_upld_data-/bic/zxyzbcsg = 'Iy'.
    wa_upld_data-objvers = 'A'.
    wa_upld_data-changed = 'I'.
    wa_upld_data-/bic/zass_mdl = 'rrr'.
    wa_upld_data-/bic/zass_typ = 'I'.
    wa_upld_data-/bic/zdriver = 'yyy'.
    wa_upld_text-langu = sy-langu.
    MOVE-CORRESPONDING wa_test_upload TO wa_upld_data.
    MOVE-CORRESPONDING wa_test_upload TO wa_upld_text.
    APPEND wa_upld_data TO ztable_data.
    APPEND wa_upld_text TO ztable_text.
    ENDIF.
    ENDLOOP.
    DELETE ADJACENT DUPLICATES FROM ztable_data.
    DELETE ADJACENT DUPLICATES FROM ztable_text.
    IF ztable_data IS NOT INITIAL.
    CALL METHOD cl_rsdmd_mdmt=>factory
    EXPORTING
    i_chabasnm = 'myprogram'
    IMPORTING
    e_r_mdmt = lr_mdmt
    EXCEPTIONS
    invalid_iobjnm = 1
    OTHERS = 2.
    CALL FUNCTION 'MESSAGES_INITIALIZE'.
    **Lock the Infoobject to update
    CALL FUNCTION 'RSDG_IOBJ_ENQUEUE'
    EXPORTING
    i_objnm = wf_object
    i_scope = '1'
    i_msgty = rs_c_error
    EXCEPTIONS
    foreign_lock = 1
    sys_failure = 2.
    IF sy-subrc = 1.
    MESSAGE i107(zddd_rr) WITH wf_object sy-msgv2.
    EXIT.
    ELSEIF sy-subrc = 2.
    MESSAGE i108(zddd_rr) WITH wf_object.
    EXIT.
    ENDIF.
    *****Update Master Table
    IF ztable_data IS NOT INITIAL.
    CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
    EXPORTING
    i_iobjnm = 'myprogram'
    i_tabclass = 'M'
    I_T_ATTR = lt_attr
    TABLES
    i_t_table = ztable_data
    EXCEPTIONS
    attribute_name_error = 1
    iobj_not_found = 2
    generate_program_error = 3
    OTHERS = 4.
    IF sy-subrc 0.
    CALL FUNCTION 'MESSAGE_STORE'
    EXPORTING
    arbgb = 'zddd_rr'
    msgty = 'E'
    txtnr = '054'
    msgv1 = text-033
    EXCEPTIONS
    OTHERS = 3.
    MESSAGE e054(zddd_rr) WITH 'myprogram'.
    ELSE.
    CALL FUNCTION 'MESSAGE_STORE'
    EXPORTING
    arbgb = 'zddd_rr'
    msgty = 'S'
    txtnr = '053'
    msgv1 = text-033
    EXCEPTIONS
    OTHERS = 3.
    ENDIF.
    *endif.
    *****update Text Table
    IF ztable_text IS NOT INITIAL.
    CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
    EXPORTING
    i_iobjnm = 'myprogram'
    i_tabclass = 'T'
    TABLES
    i_t_table = ztable_text
    EXCEPTIONS
    attribute_name_error = 1
    iobj_not_found = 2
    generate_program_error = 3
    OTHERS = 4.
    IF sy-subrc 0.
    CALL FUNCTION 'MESSAGE_STORE'
    EXPORTING
    arbgb = 'zddd_rr'
    msgty = 'E'
    txtnr = '055'
    msgv1 = text-033
    EXCEPTIONS
    OTHERS = 3.
    ENDIF.
    ENDIF.
    ELSE.
    MESSAGE s178(zddd_rr).
    ENDIF.
    ENDIF.
    COMMIT WORK.
    CALL FUNCTION 'RSD_CHKTAB_GET_FOR_CHA_BAS'
    EXPORTING
    i_chabasnm = 'myprogram'
    IMPORTING
    e_chktab = wf_tablnm
    EXCEPTIONS
    name_error = 1.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ****Release locks on Infoobject
    CALL FUNCTION 'RSDG_IOBJ_DEQUEUE'
    EXPORTING
    i_objnm = 'myprogram'
    i_scope = '1'.
    ENDIF.
    ENDIF.
    PERFORM data_selection .
    PERFORM update_alv_grid_display.
    CALL FUNCTION 'MESSAGES_SHOW'.
    ENDFORM.

    Can you please let me know how I can find out the duplicate record.
    you need to split the records from flat file structure into your internal table ans use a delete ADJACENT duplicates comparing fields
    split flat_str into wa_f1 wa_f2 wa_f2 at tab_space.

  • How to make a duplicate record in oracle fomr

    Hi,
    I have a custom master-detail form in ebs. User wants to query a record and store a duplicate record in the database with modification of some column values.
    I am using custom tables in data blocks.
    Please guide me how can I do it.
    Regards
    Farooq

    create a button and then insert a record based on the records queried:
    when button-pressed:
    insert into t_x() values();
    commit;

  • TS4006 how to track down stolen iMac?

    How do I track down my stolen iMac?

    Hello Roger,
    My Mac is stolen today, I bought it last month and I set 'Find my Mac'on it. But I still don't know how to track it? Where can I track my Mac? I have ICloud on my phone, but there I cannot find an option for this.
    Regards, Astrid

  • BW system ran out of "session" = transaction SMGW; how to track down "resource" issues?

    Hi SAP Experts,
    we had on our SAP BW system the following situation:
    We are having a week daily process chains, that is uploading data from our ECC system.
    Once in a month, we are uploading from our APO/SCM system data from our BW system.
    Parallel we are having also SAP PreCalculation Server (with three PreCalc instances) instances running. The PreCalc Server is running daily.
    The landscape in short: (DB server = AIX/Oracle, App-Server = Linux, SAP System=7.01; PreCalc Server = Win2008/64)
    This week when all was running at the same time, we faced problems, that log-on to SAP System via ABAP took a long time, same BEx Reports (some failed with Run Time errors).
    From the landscape infrastructure we couldn’t detect any resource issues (we are having two application servers connected to the BW landscape).
    What we saw from the system transactions (SM66, SM51, SM21, ST02, ST04, ST06N) the issue did not seem to be resource based, by network, database, amount of work processes etc.
    But we noticed in transaction SMGW, that it seemed not possible for external programs, like a BEx reports or the PreCalc Server to connect with new session to the BW ABAP landscape.
    The trace showed in SMGW:
    *  LOCATION    SAP-Gateway on host server / sapgw##
    *  ERROR       Conversation 01792797 not found
    *  TIME        Tue Jul 22 14:13:03 2014
    *  RELEASE     720
    *  COMPONENT   SAP-Gateway
    *  VERSION     2
    *  RC          728
    *  MODULE      gwxxconn.c
    *  LINE        971
    *  COUNTER     75240
    In system log, database alert log, we could not find any dead locks reported or anything reported, that explained why, via the SMGW is was not possible to connect with new sessions.
    We restarted the PreCalc Server and after clarifying with application team of APO/SCM we stop the process chain and than the system was back to “normal” operation.
    Now the question is, if you faced similar issues and what the solution, or how you where able to track down the issue?
    Thanks for your ideas.
    Best regards
    Carlos Behlau

    Hi Alwina,
    thank you for your help.
    What I was able to is in SMGW, because the system was very slow, that some connection where "red".
    I forgot to capture screenshots and now I am not able to recall the the status text.
    It is there a way to find out, if we reach the "max" connection numbers, like parameter gw/max_conn 500, via ST03N or via SMGW or via some logs?
    I checked the SMGW trace, but I am not able to identify via the trace in SMGW, if the failures happened now, because max. values of parameters have been reached or what the cause was/is.
    What I meant:
    All external programs, like SAP BW BEx Analyzer (Excel Reporting tool for BW) are connecting via RFC calls. Also SAP Pre-Calculation Server is using RFC calls to generate the reports and send them via E-mail.
    Usually, I can see these connections in SMGW (goto => logon clients).
    There I didn't noticed that we reach 500, when we had the problem.
    Best regards
    Carlos

  • How can I view duplicate records in a table?

    Hello everyone,
    My question is very straight forward. How can I view all duplicate records?
    Thanks in advance,
    Sonya

    Easy enough,
    select t1.n1,t1.c1,count(*) as "TOTAL_DUPS" from tableA t1 having count(*) > 1 group by t1.n1,t1.c1 order by count(*) desc
    Tyler

  • How to avoid retrieve duplicate records from SalesLogix

    I wanted to know if you could assist me.  I am now responsible for reporting our inside sales activities which includes (each month), outbound calls made, opportunities created, opportunities won $, etc.  We use SalesLogix as our tool.  I have been working with Business Objects exporting this information from SalesLogix and have pretty much created the report I need.  The only problem I have is it will pull in duplicate records with the same opportunity ID number because my query is based on u201Ccampaign codesu201D attached to SLX opportunities.  When an opportunity is created in SLX, it automatically assigns an opportunity ID (ex: OQF8AA008YQB) which is distinctive.  However, when we attach more than one u201Ccampaign codeu201D to this opportunity it pulls in opportunity ID that many more times.
    Is there a way to filter or only retrieve one ID record number regardless of how many campaign codes are attached?  All the information attached to the opportunity are the same with the exception that the "campaign code" is different which makes it two records since I pull by "campaign code"
    My greatest appreciation!

    Hi,
    If you are having CAMPAIGN CODE in your query and if you are displaying it in your report, then it would definitely display multiple rows for OPPORTUNITY ID for each CAMPAIGN CODE it has. 
    If you would like to have just one row for OPPORTUNITY ID, then you will need to remove CAMPAIGN CODE from your report.

  • How to delete the duplicate records in a table without promary key

    I have a table that contains around 1 million records and there is no promary key or auto number coulums. I need to delete the duplicate records from this table. what is the simple effective way to do this.

    Please see this link:
    Remove duplicate records ...
    sqldevelop.wordpress.com

  • Advice needed on how to track down a program after 3 mins upti

    Hi... really struggling with tracking down a daemon/script that is running on my system.... have openbox, with some gnome, xfce and lxde programs to make it more gui based. Wondering if someone can can help me track down the program that is over-riding my synaptics config?
    Basically, I have a synaptics config file in xorg.conf.d that is read and applied at boot. Then at around 3min 28 secs of uptime, this config gets overridden. I have stared at the output of top to see if there is anything showing up at around that time, but I not noticing anything!
    The arch wiki mentions;
    Gnome settings daemon may override existing settings (for example ones set in xorg.conf.d) for which there is no equivalent in any of the graphical configuration utilities. It is possible to stop gnome from touching mouse settings at all:
    Run dconf-editor
    Edit /org/gnome/settings-daemon/plugins/mouse/
    Uncheck the active setting
    It will now respect your system's existing synaptics configuration.
    however, this option is not available, so I am assuming this is not the cause (might be mistaken?), but am now lost. I have tried to remove dconf, but it has dependencies I use for smbclient, namely gvfs.
    Any ideas / help / guidance or what ever would be great!
    Thanks

    ninjaprawn wrote:no, the file itself is not being overwritten... just the values are being overridden...the values remain the same, just dont have any effect... and if I pass something like 'synclient CoastingFriction=5' this has no effect on the coasting speed, even if the value was 0 before.
    Oh, overridden. My bad, I read "overwritten" by accident. My apologies. Unfortunately I don't think I can help. Sorry :\. lsof should still help you if what you're trying to do is track though. GDB wouldn't be a bad idea, either.
    Last edited by FluxCapp (2013-06-17 22:37:15)

  • How to track down php service fault

    I have a small FlashBuilder4 project that runs fine on my local computer under Apache, PHP and MySQL.The first thing it does is populate a DataGrid with data from a MySQL table (the grid's creationcomplete event triggers a PHP service call and has its dataprovider hooked to the callresponder's lastresult property).
    As is often the case, I'm having trouble deploying the project to a remote, hosted server. I have uploaded the Zend framework, the release build, transferred my tables to the remote server, set the paths, etc. After several initial problems I believe I've got the ini file and everything else set up correctly (if I browse to my gateway.php and open it in notepad I get "Zend endpoint" with no errors). I have entered the credentials in each php service file. However, when I browse to the html wrapper page the grid displays fine but the phpservice call is apparently generating a fault. Unfortunately, there is no error information returned by the fault; i.e. the Alert box is blank.
    Can anyone suggest a methodical way of trying to track down what is going on?
    Thanks in advance.

    You cannot. Sorry.  You could try calling it via facetime, if  you have facetime, and listen for the ringing.
    BTW, typing in all caps indicates shouting, is considered rude and is difficult to read.
    Many simply do not read such posts.

  • How to remove the duplicate record in DART Extract

    Hi Guys,
    We are getting duplicate record when we do validate the DART extract file through DATA VIEWS for FI General Ledger Account Balances. If any one have experance on this, pls help us.
    Following are the steps we done to Validate the DART EXTRACT File for FI General Ledger Account Balances.
    1. We have run the DART extract program to extract the data from table to directory file by period vice in T.code FTW1A.
    2. When we do validate the data from DART extract file through DATA VIWE for FI General Ledger Account Balances in T.code FTWH, getting duplicate record.
    We unable to find out from where the duplicate records are coming out. will be great if any one can help us immediately.
    Thanks & Records,
    Boobalan,v

    If the dup records are actually in the DART View versus the DART Extract, you could try OSS Note 1139619 DART: Eliminate duplicate records from DART view.
    Additional Note - 1332571 FTWH/FTWY - Performance for "Eliminate duplicate records
    Colleen
    Edited by: Colleen Geraghty on May 28, 2009 6:07 PM

Maybe you are looking for

  • Using the monitor plug to connect to video headphones

    Can someone advise a company that makes video glasses/headphone that directly plugs into a 1.67ghz Powerbook 15" monitor accessory plug?

  • Creating aggregates using abap instead of relying on the interface

    Does anyone know how to create aggregates in BW by using abap instead of the habitual dragging and dropping?

  • ITunes Smart Playlist Glitch

    In the past, I've had no problem organizing my music via the rating system. I had a smart playlist named "Unrated" where all of my songs that had not yet received a rating would automatically be sent. Recently (I've upgraded / changed so much that I

  • MAX doesn't find my USB-Scope

    Cheers! I am using Agilent DSO1014A USB-scope. If I switch my scope first on and then launch MAX it doesn't see my scope. Refresh doesn't help. Why? Only way which helps is to launch MAX first then power on scope. That is when NI Signal Express lauch

  • What is wrong by inheriting from Object?

    Hi and thank you for reading my question, I have tried the following program: import java.util.*; interface I {} class A1 {} class B1 extends A1  implements I {     B1() {} class B2 extends A1 implements I {     B2() {} class Cell<V>  V  value; <T ex