on 10-20-2014 3:39 PM
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
Hi Pradeep,
You need to create a Requirement, and assign it to your Calculation Profile for the relevant Duty Type.
See the IMG activity:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
6 | |
5 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.