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:
enter implementation name with Z* or Y*.
copy the sample code:
in method ADJUST_CA_FLOWS, the coding will be copied, save and activate the implementation.
TPM13 cash flow, number of units 100.
FWK0, create corporate action, e.g. capital reduction, activate it:
FWKB, you can see that the Units is changeable:
change the units to 95 and post it:
After that, check the cash flow in TPM13:
Nice document. Thanks for sharing !
thanks. Nice doc