cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Duty (HMF) based on Mode of Transport

0 Kudos

Hello,

I have a requirement where I need to restrict Harbor Maintenance Fee (HMF) based on Mode of transport.

For example, HMF should apply only if Mode of transport is 'sea'.

Any help on how to achieve this requirement will be appreciated.

Regards

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

former_member215181
Active Contributor
0 Kudos

Hi Pradeep,

You need to create a Requirement, and assign it to your Calculation Profile for the relevant Duty Type.

See the IMG activity:

  • Customs Management
  • Calculation of Customs Duty
  • Configure Control Settings for Customs Duty Calculation.

You can mark the Requirement as "check in exit", and then code the BAdI /SAPSLL/DUTY_CALC to meet your condition.

Let us know if you need further information.

Regards,

Dave

former_member215181
Active Contributor
0 Kudos

Here's some example code for the BadI Method REQUIREMENT_CHECK, assuming you have created Requirement 9001:

  CASE iv_cndsqn.

*---------------------------------------------------------------------

* Only when Mode of Transport is "Sea"

    WHEN '9001'.

      IF is_tlccom(1) NE '1'.

        CLEAR cv_rate_active.

      ENDIF.

*---------------------------------------------------------------------

  ENDCASE.

Hope that helps.

Regards,

Dave

0 Kudos

Hello Dave,

Thanks for the quick and detailed reply.

Will follow the steps and get back to you on the result.

Regards

Pradeep

Answers (0)