1. Cache Table: Avoiding the heavy FM by going through a table updated on a daily basis
1.1. How long will it run?
1.1.1. Which are possible combinations of IN under a certain amount?
1.1.1.1. What are the Input Parameters ?
1.1.1.1.1. Bank Area (I_UNIT): 1000, 1002, 2017, 2017S. comes from field l_unit
1.1.1.1.2. Recipient Bank Country ( I_BCNTRY): comes from field l_lbanks
1.1.1.1.3. Delivered Payment Method (I_RZAWE):
1.1.1.1.4. Payer Account Number (I_PAYACC)
1.1.1.1.5. Transaction Currency ( I_TRNCUR):
1.1.1.1.6. Delivered Payment Method Supplement (I_UZAWE)
1.1.1.1.7. Transaction Amount ( I_AMNT)
1.1.1.1.8. Transaction Type ( I_TRANSTYP): NOT PASSED TO THE FUNCTION
1.1.1.2. Output Parameter: IHC: Route
1.2. When would table be updated?
1.2.1. Job running every day at off hours + manual refresh for emergency transports that modify routes
1.2.2. When route table is modified, trigger refresh (future feature or NTH)
1.2.3. Manually
1.3. Where do we insert the "bypass" code exactly? Which conditions should trigger this?
1.3.1. done
1.4. How do we tell the update program which are the possible combinations?
1.5. Can we prove this will save over 80% of the payments?
1.6. Pendings, nice to haves:
1.6.1. Create Match Code for bank account field of ZGTM_PTE_CACHE
2. General info
2.1. IHC_DB_RT_NODE IHC: Routing Node ZGTM_DETERMINE_IHCRT_ROUTE Heavy duty FM to avoid
3. Combine Cache Table and History
3.1. Instead of building the cache for all possible combinations, use historical data to know which routes to use
3.2. A job would still run daily during off hours, but instead of looking up all possible combinations, it would look up only those combinations that are in the history table but not using the FM.
3.3. FM 1820 reads cache table, if the necessary info is not in the cache, uses ZGTM_DETERMINE_IHCRT_ROUTE and writes history table (not cache table). "Refresher" job every day at off hours reads history table and dumps the data for the combinations into the cache table.
3.3.1. cache table would have to store last day processed to read history table only since then
3.3.2. solve update conflicts?