Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Blocking certian flows from affecting Facility when linking it to interest rate instrument

$
0
0

Hello Ahmed.

 

I was not able to find the standard solution for your questions.

 

But you can try solution that i've described here - Re: Interest rate instrument & Facility link issue with few modification.

 

Outline of the code:

1. Create View where you can enter flows that you want to exclude from affecting facility limits.

2. tr. SE38 -> IFTR_FC_ASGN_TRTM_IMP, method LIF_FC_CONVERTER~POS_CREATE.

at the end of the method create Enchancement Point.

3. Create ABAP code:

  • Read internal table PE_TAB_POS
  • Try to select entries from internal table L_TAB_FHAPO with keys

L_TAB_FHAPO-DZTERM = PE_TAB_POS-CHG_DATE

L_TAB_FHAPO-BEZBETR = PE_TAB_POS- CHG_AMOUNT

  • If your select is succesful then check if L_TAB_FHAPO-SFHAZBA equal to what you have entered into your View at step 1.
  • If check is succesful - then delete line from table PE_TAB_POS

 

!!! And also you have to think about algorithm if you have deleted something - you have to change something inside internal table. As i indicated in my answer from hereRe: Interest rate instrument & Facility link issue sometimes we have to enter new data and even change the sign.


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>