Skip to Content
author's profile photo Former Member
Former Member

Grace period calculation Issue

Hi Gurus,

in oba3 i created a tolerance group for which the grace period is 3.

i assigned this tolerance group to my customer,so that the due date is extended to 3 days from the due date.

i have a payment term which gives 5% cash discount when paid within 15 days and item due in 15 days.

i have a customer invoice whose baseline date is 18.08.2010. The item should be due only on 18.08.2010 + 15 + 3 = 05.09.2010, with the cash discount.

05.09.2010 is a sunday.

my query is, my customer decides to pay the item on next business day,06.09.2010,monday and looses his cash discount. which should not have happend.

how can we solve this issue.ie, the due date calculation by adding grace period should exclude weekends and public holidays.

what i have tried is, maintaining entry in obba for my house bank which calculates the value date.

but it didn't prove succesufull. i am using f-28 to manually clear the customer invoice created using f-22.

someone sleep over this and help me 😊

thanks and regards,

ficoguy.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2010 at 08:08 AM

    Hi,

    System does not ignore the holidays in due date determination.

    For that you can use the user exit or FI substitution in OBBH to change the "no of days for cash discount" in FI document.

    Search SDN and you will get a lot of thread regarding these user exit etc.

    Regards,

    Garuav

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Try function module HOLIDAY_GET, snippet of code:

      CALL FUNCTION 'HOLIDAY_GET'

      EXPORTING

      holiday_calendar = 'ZA' - (Country e.g. South Africa)

      factory_calendar = 'ZA' - (Country e.g. South Africa)

      date_from = HOLIDAY_DATE_FROM

      date_to = HOLIDAY_DATE_TO

      IMPORTING

      returncode = return_code

      TABLES

      holidays = holiday_tab

      EXCEPTIONS

      factory_calendar_not_found = 1

      holiday_calendar_not_found = 2

      date_has_invalid_format = 3

      date_inconsistency = 4

      OTHERS = 5.

      Regards,

      Vuyo

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.