Skip to Content
Author's profile photo Jasmine Li

Example for note 783081 – FWKB: BAdI for (manual) adjustment of quantities

Here is the description of the note:

With the posting of corporate actions sometimes the situation occurs that calculated quantities deviate, for example, from the specifications of the bank (roundings).

With this note a BAdI enhancement is made available which allows it to still adjust quantities before the update per company code and corporate action. In an example implementation, a list is proposed for this purpose for the manual adjustment.

The BAdI enhancement has the name TPM_CORPORATE_ACTION.

With the own implementation (per SE19) you can transfer the example code if required (in the menu under Goto).

For details, please refer to the below steps:

SE19

SE19_1.PNG

enter implementation name with Z* or Y*.

SE19_2.PNG

copy the sample code:

SE19_3.PNG

SE19_4.PNG

in method ADJUST_CA_FLOWS, the coding will be copied, save and activate the implementation.

SE19_5.PNG

TPM13 cash flow, number of units 100.

TPM13.PNG

FWK0, create corporate action, e.g. capital reduction, activate it:

fwk0.PNG

FWKB, you can see that the Units is changeable:

FWKB.PNG

change the units to 95 and post it:

FWKB_CHANGE.PNG

FWKB_POST.PNG

After that, check the cash flow in TPM13:

TPM13_2.PNG

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jain varghese
      Jain varghese

      Nice document. Thanks for sharing !

      Regards,

      Jain

      Author's profile photo Jasmine Li
      Jasmine Li
      Blog Post Author

      🙂

      Author's profile photo samarendra patro
      samarendra patro

      Superb!!!!!

      Author's profile photo Gustavo Vazquez
      Gustavo Vazquez

      thanks. Nice doc