cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Charge Calculations from SAP TM

0 Kudos
1,402

Hi experts.

Im trying to change the cost of the freight order using the BADI /SCMTMS/TCC_RULES on the method CHARGE_CALC_THROUGH_FORMULA but Im having some troubles.

I tried to change the AMOUNT property from the CHANGING Structure but it didn't save my changes. After I tried to use method MODIFY from the Transaction Manager and changing the Business Object but when i try to call method SAVE I get a ASSERTION_FAILED dump.

Anyone could lend a hand?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello,

Please try these methods

/scmtms/cl_mod_helper=>mod_update_single- Update the changes on any node.

After updating changes to save data use below method by passing mod table

io_modify->do_modify EXPORTING it_modification = lt_mod.

Thanks.