cancel
Showing results for 
Search instead for 
Did you mean: 

Two Flow Types for Capital Increase

Former Member
0 Kudos

Hi Experts, I have the following situation: In the Fixed Term Deposit I created an additional flow type for Capital Increase since my client needs that a one single Investment should be created from two different house banks; therefore I created one additional Flow Type that increases capital but what happens now is that when entering the data for the Fixed Term Deposit my client has to select which flow type in the main Structure screen is there any way or configuration that can be donde so that the system suggest a Flow type and the other one will be just Other Changes in Capital Structure??

THANKS IN ADVANCE!!!!

Santiago

Accepted Solutions (1)

Accepted Solutions (1)

grigoriy_babitskiy
Active Contributor
0 Kudos

Hello, Santiago.

There is a proble of empy Flow type fields if you have 2 or more Flow types.

Use BADI FTR_TR_GENERIC, method EVT_APPLICATION_START

Sample code:


  " Limit this code to specific product type where you have 2 flow types for

  IF pi_proxy_transaction->a_transaction-sgsart = '51A'.

    " We use field-symbol to enter our screen field,

    " becuase we are not able to update field directly.

    FIELD-SYMBOLS: <fs_mseg> TYPE ANY.

    ASSIGN ('(SAPLTM00)VTMHPTBWG-SFHAZBA') TO <fs_mseg>.

    " Always check if field-symbol is assigned to our field

    IF sy-subrc = 0.

      " Assign Flow type to screen field

      <fs_mseg> = '1100'.

    ENDIF.

  ENDIF.

Former Member
0 Kudos

I got this error Message

Clase ZCL_IM_FTR_GENERIC_TM01, Metodo IF_EX_FTR_TR_GENERIC EVT_APPLICATION_ FREE

Field "PI_PROXY_TRANSACTION" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement........

grigoriy_babitskiy
Active Contributor
0 Kudos

Santiago, for your task - use only EVT_APPLICATION_START method.

Please check what's inside EVT_APPLICATION_ FREE.


There is no any parameters in EVT_APPLICATION_ FREE methor - that's why you've got an error.


But there is all you need in EVT_APPLICATION_START method


Answers (1)

Answers (1)

former_member198450
Active Contributor
0 Kudos

Dear Santiago,

Could you please help me to understand you issue. You are looking for customization so that when we enter deal for Fixed term deposit change in capital should automatically picked the flow which i feel not possible? Could you please elaborate your issue so that i can try to help you out.

Regards,

Jain

Former Member
0 Kudos

Hi Jain, thanks for your interest in helping me... the issue is that the field appears empty and I would like the system to "suggest" one of the two flows like it does in other different field like interest method or amortization, etc...

Hope this is explanatory

former_member198450
Active Contributor
0 Kudos

Hi Santiago,

I'm not sure about process you followed but I still try to hit the target.

Ok just to replicate you issue, I create new Flow type for capital decrease and assign the same to Transaction type, There after when i used change in capital structure tab it shows the flow i created.

Please have a look below reference.

grigoriy_babitskiy
Active Contributor
0 Kudos

Jain, we are talking about creation of new transaction. And there is 2 investment/increase flow for transaction.You'll have "flow type" field empty. You have to choose one of the investment flows.

And Santiago want to have in this field some default value. Because when you have only one investrment flow (usually it is 1100) - "flow type" field is filled with 1100 value.

former_member198450
Active Contributor
0 Kudos

Thank you