Calendar for Due Dates

Hello,
We would like to configure somewhere in GP the workable days for the workflow in order to avoid de Due Date to count the holidays, saturdays and sundays.
Does someone knows how to do this??

Hi,
You know from NetWeaver system administration( http://<host>:<port>.nwa) you can find when the process has started and when it is ended. Another one way from portal -> UWL. So through through the Java API you can get the total days of the running process. There from you just compare it with your local calander and find the no of days except holidays.
To write the Java APIs you will create a simple JAVA class. If you want to interact the Java Class with GP, Then you create Background Callable object.
For Help how to create  Background Callable object please go to help.sap.com and search Background Callable object. you wil get the step bu step doc.
Thanks
Chandan

Similar Messages

  • FI Calendar-Invoice due date on holiday

    Dear Gurus,
    Can any body tell me whether there is any relation between calendar maintained in SAP and due date calculation.User say that due date falling on holiday I am not sure in FI whether holidays are considered for due date calculation.If there is any relation pls tell me how?
    Regards
    Arunava Chanda

    Hi Raju,
    There are 2 types of calendars in SAP.
    1. Holiday Calendar
    2. Factory Calendar
    Due date calculation is based on payment terms defined.
    Payment terms are based on Factory Calendar.
    Check if your Factory calendar is defined correctly

  • Special GL  asking for Due Date

    Hi SAP Gurus,
                When I am trying to post the customer invoice with t.code F-22 and put the Special Ledger indicator it is asking for Due Date as a mandatory field but it should not be because of the payment terms.
    Is there any configuration I can use payment terms with special GL indicators for customer and vendor documents.
    Is there an option to get the payment terms from the company view when we are creating invoices in special GL indicators. Because the due date that appears, instead of baseline date, payment terms and days as in a common invoice.
    Regards,
    Sim

    Go to T.Code - OB41 (Field Status for Posting Keys)
    Selct Posting Key - 01 & Go inside
    Go Inside to Group - Payment Transactions
    & Check Out whether Due Date Field is with Required Entry or not. If it is so then make it Optional.
    Similarly, Check out Special GL Reconciliation A/C . Through FS00,Check out the Field Status Group of the same (Mostly, it will be G067- Recon.A/Cs) & make the Due Sate Field Optional there as well in Payment Transactions.
    Regards..
    Ameya....

  • Baseline Date for Due Date Calculation required for S/L indicators

    Hello,
    Iu2019m facing the following problem
    Iu2019m trying to insert an invoice (using a customer master record) but the system blocks me because the field ZFBDT (Baseline Date for Due Date Calculation) is a Required entry.
    The strange thing is  that if I use a S/L indicators the field is mandatory, if not the date may be defaulted.
    I checked in OB41 but there are non differences between Special PK and normal PK.
    Any ideas?
    Thanks in advance
    Alberto

    Dear Alberto,
    the field "Due On (BSEG-ZFBDT)" cannot be controlled with field status.
    It is controlled by field attribute of screen painter (Tcd: SE51).  If
    you look at element attribute for "Due On" field, a flag for required
    entry is activated.  In this case, field status has no control over
    the field.
    As of release 3.1G, field BSEG-ZFBDT is hardcoded in most FI screens
    to be mandatory and cannot be influenced by any field status
    changes. This situation is only valid when posting with special G/L
    indicator (ie PK 29/39).
    SAP development team has determined that this is a critical field.  The
    reason behind this is that this special GL screen and the data entered
    here are very important to many other programs. This data affects
    liabilities and receivables where due date is necessary almost
    everytime. Thus, we changed this field in this screen in order to
    prevent problems in many other areas. The reason is explained further
    in note 95079.
    I hope this helps You.
    mauri

  • Advaned warning for due date based on statuses

    Hi,
    While searching transactions, for the due date some icons are coming like(green squere, yellow triangle, tick mark, grayed dimond) and so on.
    can I maintain these icons based on statuses. Presently tick mark is coming for one of the statuses maintained in the status management. But for this we didn't maintained any configuration settings at IMG --> CRM --> Interaction center Web client --> Agent Inbox --> Map item attributes to inbox Attributes --> Define advanced warning for due date.
    Required quick response as it is business critical requirement.
    Thanks,
    Chandu

    Hello Praeva ,
    The event 1330 has a sample FM FKK_SAMPLE_1330. It doesnt even have a Standard Function Module.
    You need to create a Installation-Specific FM and put your code to determine the Due Date based on the logic.
    Rgds
    Ram Kumar.

  • Drill down report for due date analysis for customer open items

    Hi, in transaction FDI0 i am using report 0SAPDUEAN-01 Due Date Analysis for Open Items .The reason i am using this is that s_alr_87012178 caters for only 6 intervals. With this report , i get 8 intervals:
    daily intervals Due Not Due Total OI
    0 - 30 0,00 0,00 0,00
    31 - 60 67.000,00- 0,00 67.000,00-
    61 - 90 0,00 0,00 0,00
    91 - 120 20.020,86 0,00 20.020,86
    121 - 150 3.270,00 0,00 3.270,00
    151 - 180 0,00 0,00 0,00
    181 - 210 0,00 0,00 0,00
    211 - 99999 0,00 0,00 0,00
    Total open items 43.709,14- 0,00 43.709,14-
    Is it possible to change the intervals through custo? i need intervals:
    0 - 30
    31 - 60
    91-120
    121-150
    151-365
    >365

    Hi AA
    refer this link where in I have given the screen shots
    http://img233.imageshack.us/g/86081486.jpg/
    The 1st screen shot is COPY of the Std Form
    The 2nd scren shot shows how to add new interval
    Br, Ajay M

  • Notification Email For Due Date.

    Hi all,
    I would like to seek help from you all guys in this scenario.
    I have a table with a column "due_date", I want my application to automatically send email to the end user when the sysdate is 1 day before the due date.
    What should I do,please advice..
    Thanks for sharing.

    1. Create a procedure to send mail as mentioned by Shan above..
    eg.
    create or replace procedure snd_mail
    is
    ws_id number;
    begin
    select max( workspace_id) into ws_id from apex_applications ;
    wwv_flow_api.set_security_group_id(ws_id);
    FOR C1 IN ( SELECT email_id from sample_table where  due_date - sysdate <= 1 )
    loop
          APEX_MAIL.SEND(
          P_TO       => c1.email_id,
          P_FROM     => '[email protected]',
          P_BODY     => 'Body of the email',
          P_SUBJ     => 'Subject of the email');
          APEX_MAIL.PUSH_QUEUE;
      end loop;
    end;2. Schedule the above procedure to run daily
    begin
      dbms_scheduler.create_job(
        job_name => 'TESTJOB',
        job_type => 'stored_procedure',
        job_action => 'snd_mail',
        number_of_arguments => 0,
        start_date => systimestamp,
        repeat_interval => 'FREQ=DAILY',
        end_date => null,
        job_class => 'DEFAULT_JOB_CLASS',
        enabled => true,
        auto_drop => TRUE,
        comments => NULL
    end;Regards,
    Shijesh
    Edited by: Apex_Noob on Dec 21, 2009 10:03 AM

  • Query for due date

    Hi All,
    How to write a query for an alert to be generated 5 days before the document due date?
    thanks
    SV Reddy

    Hi Everybody for your valuable suggestions.
    When we execute this query in normal mode by going to user query menu, it returns some records that can be displayed on to the screen in a separate window.  When you attach this query to an Alert, how the Alert will trigger ?
    Is it when the query returns more than 1 record then the name of the Alert will display in the inbox of the user ? 
    OR
    Is it the result of the query displayed in the window?
    What will happen when this query returns 0 records ?  means is that true the alert wont be triggerred ?
    What is the base criteria that an alert take in to consideration when to send a popup to the specified users?
    Please reply
    Thanks

  • Expression for due date less than today

    hi - i'm trying to compare if the due date of a task is less than today, so that I can automatically mark it as completed.
    any idea what expression I'd use?

    You will have to write a workflow that waits till the due date and then updates it as completed.
    But then what business purpose will it serve? The users will not update the tasks ever.

  • Activity Management - search result - RED Icon for Due date

    Hello all,
    In CRM 7.0, when we create certain activities, and set the due date to be somewhere in the future, the ICON (Round circle) is always showing RED colour even though the due date is not reached.
    Any ideas how this can be controlled? Is there a customizing setting available, or does this have to be controlled via code?
    Thanks,
    -N

    Hi Nikhil,
    Did you manage to get it sorted out?
    Im having an issue where I create a transaction and set a due date to the future the due date icon diaplays the grey diamond.
    Only happens in DEV, PRD is okay.
    Reason we looking into it is because we want to do some new dev that might take this issue to PRD.
    Thanks
    Des

  • Looking for Calendar functionality for a Date Variable

    Hi Experts,
    Currently iam creating a WEBI Report where the source system is SAP BI System. I have a BEx Query with some characteristics at the row level and keyfigures at the column level. I have a Date Interval Variable (Based on 0DATE and optional), where the user will input the From and To date to execute the query. I have created the universe on top of this query, but date inteval variable appears as a character in the form of LOV. When i use this universe and buid the report in WEBI, the User Prompt for date is appearing as List of date values for this date interval variable, where as my requirement is to have date calendar for this date interval variable.
    I did some r&d on top of this, when the date varibale as single value and optional, iam able to get the date calendar, but when i use the Date interval Varibale it takes as a character. I searched the forum, but i didn't find any solution.
    Is it possible to have a date calendar for a date interval variable in BEx?? or its is only for single value date varibale.
    Kindly suggest
    Regards
    Santosh

    Hi,
    you stated it correctly that the calendar shows up in case of a keydate and in case of a single value but not in case of a range.
    in addition the underlying characteristic needs to be type DATS
    Ingo
    Edited by: Ingo Hilgefort on Dec 8, 2009 1:35 PM

  • Manual input for Date offset Buckets in Due date analysis 0FIAR_C03

    Hi Experts,
    I have a requirement where i need to provide a manual input selection to fill offset values of dates for due date analysis.
    For example, current standard report 0FIAR_C03_Q0005 provides data with buckets of 0 days, 1-30 days, 31-60 and so on. Instead of this we need to define this bucket as manual input field and based on that the due date report should fetch the data like as if a user enters 7, 14, 21, 28 and so on till last option as 999 in 6 to eight variables provided than the report should come in buckets of 0-7, 8-14, 15-21 and so on.
    How can i achieve this with BEx.
    -Kushal

    I'm considering you are running this report on a daily basis. Under this assumption, you may create a Key Date Varaible in BEx Query Designer. SAP BEx offers a very useful concept called Key Date. Purpose of Key Date is to execute your report as of today's date (sy-datum) based on a variable. You may create variables also on 'Key Date' & use this variable as subsequent your offsets in the row/col structure. This gives you a better leverage from ABAP side. For such bucket scenarios, your defined variable will give you option to choose input date which can be customized to choose sy-datum as the current date.
    There's no necessity for user to define bucket limits for each level. As per the statements, its obvious the values are multiple of ZOFFSET (The offset provided by users). We can use a simple Customer Exit Variable. We need to first capture the value of ZOFFSET:7. Using CMOD, we can write the custom exit returning a value which gives the bucket range. Another input also must be passed to the exit program to capture 'How many lines you need to process/iterate?'. Say, you create a small formula variable to capture the # of slabs: ZSLABS.  I've just written a basic skeleton. Pls. incorporate your requirements as necessary.
    CASE I_VNAM
    WHEN 'XXXX'.     
         IF I_STEP=2 +(i.e.after popup!)+
              READ TABLE I_T_VAR_RANGE INTO L_S_RANGE WITH KEY VNAM='ZOFFSET'.
    FOR (ZTEMP_I=0; Z_TEMP_1 <= ZSLABS; ZTEMP_I++)
         IF SYSUBRC=0
              CLEAR L_S_RANGE.
              L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(8).      +This is YYYYMMDD+
                        ZOFF_PREV = L_S_RANGE-LOW + 1.
              ZOFFSET = ZOFFSET * ZTEMP_I.
                   IF(ZOFFSET) IS INITIAL.     
                        L_ST_RANGE-HIGH = SY-DATUM.
                        L_S_RANGE-LOW+6(2) = ZOFFSET.          +Just filter only DD from YYYYMMDD+
                   ELSE     
                        L_ST_RANGE-HIGH = ZOFF_PREV.
                        L_S_RANGE-LOW+6(2) = ZOFFSET.
                   ENDIF.               
              L_S_RANGE-SIGN='I'.
              L_S_RANGE-OPT ='B'.
              APPPEND L_S_RANGE TO E_T_RANGE.
    END FOR +(Not sure about For loops; but you may similar logic using normal do/while loops too...)+     
    ENDCASE
    There may be a few errors in code. Pls. review them & let me know your comments. 
    Typos regretted. Thanks!
    Edited by: Arun Bala G on Oct 16, 2010 12:44 AM

  • Due date for BoEx is not picked up by payment programme RFFOF_V??

    Hi!
    I would be most grateful for your help/advise on my problem;
    I have a French customer for which I have set up BoEx with payment method 4 -LCR non accepté with payment programme RFFOF_V, as it is compliant with the bank's file specification "AFB-CONFB pour le virement et prelevement par fichiers".
    File is generated according to bank file specification (and accepted by bank), but I am having problems with the due date of BoEx since it is not picked up by payment programme when running trx F110. Instead issue date is picked up by file.
    What do I need to do/change in order for file to pick up BoEx due date instead of issue date?
    It should be possible to run F110 and group items so that file picks up information on due date instead of issue date so that bank does not withdraw money from customer bank account before BoEx due date..or??
    At least it was possible for payment method 2 LCR magnétique and payment method 4 does not seem that different.
    Ex.
    Trx: F110
    Posting date: 2014.04.08
    Docs entered up to: 2014.04.08
    Customer items due by: 2014.04.30
    Pmt method:4
    Next pmt: 20140501
    B.ex/pmt request > Issue date=2014.04.08
    B.ex/pmt request>Items Due by=2014.04.30
    B.ex/pmt request>Incoming pmt due by=2014.04.30
    Config settings for paying company code:
    Bill/exch pymt: X
    One bill of exch. per due date period: X
    Latest due date in: 90 days
    Bill on demand for due date up until:- (blank)
    Payment method 4: Create BoEX before due date.
    Any information that could help me resolve my problem is highly appreciated.
    Kind regards
    Linda

    Dear Ramana,
    I am really thank to you for your kind answer.
    With your guidence, i could able to solve this problem, but i would ask you one question.
    Why this sales order is not updated in VEPVG table? Does the data in  this table will archieve after some time. if yes what is that particular time.
    Onemore thing, my understanding on delivery due list VL10C, that system will not pick those sales order for which the delivery date is older than one month. i,e if the sales order in created in the month of september and has the delivery date as 29.08.2010 then system will not pick up this sales order.
    Please correct me if my understanding is wrong.
    Once again i am really thank you for your great help.
    Warm Regards,
    Sridhar Burugula

  • User Exit for Changing Payment Due date for Invoices

    HI Gurus,
    Could anyone suggest a User Exit which cane be used for Due Date calculation an all Invoice Entries like MIRO, FB60 etc.
    This is required for overwriting the Due Date determined via payment terms by a Particular day in a week. (Eg: Friday)

    Hi
    User exit
    Re: user exits in MM
    Regards
    Ram

  • Payment terms should calculate Payment due date based on working days

    Hi Experts,
    As we know that standard SAP calculates Payment due date= base line date + number of days maintained in payment terms. In this payment days are considered as calendar days and not the working days.
    Example: If base line date is Thursday, payment terms says 3 days then payment due date is calculated as Sunday ( which is not a working day as per the factory calendar I use). The requirement is that payment date should be calculated as following Tuesday considering Satuarday and Sunday are not working days as per the calendar.
    Can you please suggest how can we achieve this?
    Thanks,
    Ravi

    You can not acheive from config pooint of view but you can use BADI and get the solution
    use BAdI MRM_PAYMENT_TERMS to set terms of payment
    You can use this Business Add-In to change the following fields for the 
    terms of payment in the invoice document header:                        
    o  ZFBDT: Base date for due date calculation                            
    o  ZBD1T: Discount days 1                                               
    o  ZBD1P: Discount percentage 1                                         
    o  ZBD2T: Discount days 2                                               
    o  ZBD2P: Discount percentage 2                                         
    o  ZBD3T: Deadline for net condition                                    
    o  ZLSPR: Key for payment block

Maybe you are looking for