Skip to Content

ICR: Interface to SAP ICR

Hello Experts

We have around 6 legacy systems from which we need to inter face Inter co AR and AP data to S4 1610.

- Planning to use the FM


1) How does this FM decide when to over write and when to APPEND

2) Since the volume of InterCo AR and AP is very high, we are planning to use DELTA feeds and not whole file every day. What is the ideal way to handle cleared invoices in between - can we use this same FM to delete them from


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 11, 2018 at 08:22 AM

    Hello Kishore,

    #1 The program uses the following fields to identify an item:

    1. RCOMP
    2. SEQNR
    3. ROBUKRS
    5. DOCNR
    6. DOCLN
    7. LOGSYS
    10. FAGL_DOCNR
    11. FAGL_RLDNR
    13. FAGL_DOCLN

    If you push data into the ICR system through FB_ICRC_ADD_DATA_RFC, it will try to find existing records with the same unique combination of these fields. If it doesn't find one, the item is classified as a new open item. If one is found, the existing record is updated (however, certain fields are protected from being overwritten - you can change this for most fields in BADI method ADD_INFORMATION_TO_DATA_RECORD with event 4). If an item is not contained in the current set of data, it is classified as cleared and therefore deleted.

    This logic is implemented in CL_FBICRC_SERVICES method COMPLETE_DATA if you want to have a closer look.

    #2 You cannot use a delta mechanism for processes 001 and 003. These processes work with open items. Therefore all currently open items must be included in the dataset you are transferring (as mentioned in #1 - any items not contained are determined to be cleared and therefore deleted).

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded

  • Nov 22, 2018 at 09:42 AM

    Thanks a lot Ralph. Is it possible to get a NOTE/DOCUMENT which shows clear changes in ICR as of latest versions of S/4? Browsing through various conversations make us feel like:

    - Ready from PRIMARY DB option is leading to performance issues. However we also see new notes being released to address the same as well

    Add comment
    10|10000 characters needed characters exceeded