cancel
Showing results for 
Search instead for 
Did you mean: 

Corporate Action-Rounding Rule

prasadraju
Participant
0 Kudos

Dear Experts,

We have posted Corporate action in FWKB (split ratio: 3/4) but in TPM12 report units are not getting rounded near to the decimal value, it should be 1000 units but its showing 999.99.

pls find the below rounding rule configuration, Please can someone suggest if you come across such scenario.

1.jpg

3.jpg

2.jpg

Thanks,

Prasad

Accepted Solutions (0)

Answers (3)

Answers (3)

jasmine_li
Contributor
0 Kudos


Hello,

If you want to have no decimal places you can use the BAdI TPM_CORPORATE_ACTION described in the note 783081.

As note 783081 explains, you will have to create your OWN implementation with SE19 (in customer namespace) and activate it. You may take over the example coding in SE19 via the 'Goto' menu.

In the note you have an example coding so that the user can manipulate quantities calculated by the system. Of course you can use this BAdI to perform rounding automatically, too.

You will get the type of the corporate action in method ADJUST_CA_FLOWS (parameter IM_STR_CA_TRANSACTION_INFO) and you can change the quanities of the flows in EX_TAS_CA_FLOW_ADJUSTMENT.

Best regards,
Jasmine

prasadraju
Participant
0 Kudos

Hi Griogoriy,

Thanks for your update. Please can you explain in detailed how can I proceed further by using BADI.

grigoriy_babitskiy
Active Contributor
0 Kudos

Exporting parameter EX_TAS_CA_FLOW_ADJUSTMENT has UNITS fields.

So you need to apply functional module Round to each field UNITS in table EX_TAS_CA_FLOW_ADJUSTMENT in order to round values like 999,99 to value 1000

grigoriy_babitskiy
Active Contributor
0 Kudos

There is no rounding for units.

You can use badi TPM_CORPORATE_ACTION with functional module ROUND.