Number of days customer is due to be maped in dunning notice PLD

Hi All,
In the Dunning Reprt PLD I want to print the number of days the Customer is due to company as the number of days due varries from customer to customer please give a solution. So that i want to map number of days from dunning wizard report in to the PLD.
Regards & thanks for advance,
Mobin.

Hi Mobin
One question first, the due days per customer does not make sense as there may be more than one document owing. I assume then that the oldest invoice must be used to calculate? This would be true at header level, but it will not be possible to place a field here to calculate from the rows. It might be possible to include a BP master UDF field here at print time, but this field would have to be updated manually on the BP masters with a query to get the maximum due date of open invoices and calculate their days overdue.
For row level each document could have a number of days overdue and this should be rather easy to achieve. Add an extra column as formula field and use the following formula:
ToNumber(F_203)-ToNumber(F_089)
F_203 is my own hidden field at row level with the formula Date() in it. F_089 is the value date or due date on the row. You can also add a hidden field and refer to the database field you want to use for this date.
I am still of course assuming that the dunning report you are referring to is the SAP standard dunning letter(s). If you are referring to a custom report, please let me know.
Kind regards
Peter Juby

Similar Messages

  • Customer Exit for Number of Days from 1 st Apr to last date of Month Enter

    Hello BI Experts,
    I have a requirement to count the number of days from 1 st April of current year to the last date of month entered.
    For example : The use will enter say July 2010 or 003.2010  (as Fiscal Year Variant is V3 ).
    Today is 14 July ...So we have to first find out the end date of the July month ie 31 st July
    Then go to 1 st April 2010.
    Now calculate the Number of days between 1 st April to 31 st July 2010.
    I consider I have to create two Customer Exit variable
    as below
    1 st customer exit Bex variable  say  ZLY_MTH  ( Last day of Month Entered)
      and i_step = 1
    2 nd Customer Exit BEx Formula variable say ZF_NUMDAYS ( Number of days between two dates)
    i_step =1 .
    Please provide me the logic for the above two.
    Thanks in Advance.
    Regards,
    Amol Kulkarni

    PSUDEO CODE:
    1. Initially LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'ZMONTH'.
    2. Get the Month input using VAR_MONTH2 = LOC_VAR_RANGE-LOW+4(2)
    3. Now calculate Month+1: VAR_MONTH2 = VAR_MONTH2 + 1 (Refer **)
    4. Now calculate the Current Year: VAR_YEAR = LOC_VAR_RANGE-LOW+0(4).
    5. Get the 1st Day of the Month (VAR_MONTH2):  CONCATENATE '01' '/' VAR_MONTH2 '/' VAR_YEAR INTO L_S_RANGE-LOW.
    6. SUBRACT 1 (0DATE) from this DATE (This will give the logic for last day of the current month)
    Insert this code also for using the date conversions
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = VAR_MONTH2
              IMPORTING
                OUTPUT = VAR_MONTH2.
    Pls. check out this logic. Guess it would solve your need.
    Thanks,
    Arun Bala

  • Count the number of days in the selected range using Customer exit

    Hi Experts,
    we have requirment where user is asking to add a column to report, which will have 'count of days for which key figure is having values' for each of the months and the Header would be 'Day Count'
    Please let me know if its possible using Customer exit?

    Hi,
    In our report we have two characteristics site no. and product and we have 6 key figures of type quantity and Input for the report is Fiscal year/period
    So in the report Key figures are populated with values for respective site no. and product combination
    Now the user wants new column in report which will have header u2018Day countu2019 and it should Simply count the number of days in the selected range that have a volume different than 0 for key figure
    Please let me know if more details are required

  • Creedit check on number of days

    hi,
    how can i configure credit check on basis of only payment terms(i.e number of days)
    like if payment terms is 10 days and payment not received from customer next sales order should get blocked automatically.
    thanks

    Dear NakulRaj ,
    Please follow the below steps.
    In OVA8, click on oldest open item , and maintain 0 as no of days.
    (if you have a check based on credit limit, then click DYNAMIC also, else use only OLDEST OPEN ITEM)
    Now with the help of abaper, run a sales cycle.
    System will throw an error message during sales order creation (first on the basis of credit limit and then on the basis of oldest open item)
    Note the message no / position in the program which gets triggered because of oldest open item.
    Now ask your Abaper to identify an exit before this position.
    There wrte the following logic.
    Take Kunnr from VBAK and put it in BSEG.
    Check for all the line enteries which are OPEN with type RV (if you are considering only billing documents)
    {Now select that entries and input the same in VBRK where you will get the Terms of Payment}
    I think Due date will be available in the BSEG itself .. if so then need not do the steps underlined
    Now compare the system date with the due date of all the billing documents open.
    If the condition fails, then trigger the message.
    Else bypass the message.
    Check and revert back.
    Thanks & Regards,
    Hegal K Charles

  • How to create number of days late using two char ??

    Hi Folks,
    Could you please help me on this.
    I have two char :  clearing date & net due date in  my cubes &  multiprovider
    Now client is requesting to create  new kf  in the query  i.e  number of days  = clearing date  - net due date.
    I hope it is done by formula variable with customer exit. Could some provide me the soultion.
    appreciate your response inadvavnce !
    Thanks
    Surendra

    Hi .
    Thanks for your proposal.
    it is on mp.
    Tell me how do i create ckf with char?//
    so my assumption is   formula varaible1- --> replacement path --> with info obejcet ( clearing date)
                                      formula varaible2- --> replacement path --> with info obejcet ( net due date)
                                      CKF  =  ZFV1 - ZFV2.
                                         Hope it works, Any alternate, propose your solutions.
    Thanks
    Srurendra

  • How to get PO and vendor payment term number of days??

    Hi Experts,
    I want to have a) Purchase order payment term number of days as well as
    b) vendor Payment term number of days.
    For  a) For  Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
               term number of days.
              Is it correct??
          b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
               Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
               But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
              with that field.
    So is there any other option for (b)
    and Whether steps for (a) is correct???
    Please confirm this.
    Thanks in Advance,
    Uday Shankar.

    For a) For Purchase order payment term number of days I am using table EKKO and taking ZBD1T field which is giving payment
    term number of days.
    Is it correct??
    Payment terms for purchasing doesn't come delivered as part of the R3/ECC tables and is usually is added as a custom field to EKKO and populated via a User Exit. That looks to be the instance in your case because the field that you show as being the payment terms begins with a Z (custom fields begin with Y or Z). That appears, without being able to actually validate in your R3/ECC environment, to be the correct field to use. You would have to validate, however, with the end customer or your MM function consultant to be 100% certain. If this is the correct one to use, you're going to have to enhance the 2LIS_02_HDR extractor by enhancing the extraction structure and creating the User Exit to read it from EKKO and populate into the DataSource.
    b) vendor Payment term number of days I am using table LFB1 field Zterm to take payment term key not number of days.
    Based on this key i will go to table T052 and find corresponding number of days as told MM consultants .
    But this is not BW work. We need one single table from which we can take the field or enhance the current extractor
    with that field.
    You can enhance the 2LIS_02_HDR extractor with the Vendor Payment Terms by joining the following in your User Exit:
    EKKO-LIFNR = LFB1-LIFNR
    EKKO-BUKRS = LFB1-BUKRS
    LFB1-ZTERM = T052-ZTERM
    This could either be done in a SELECT statement in the User Exit to do this equi join, or you could create a view on your R3/ECC environment and SELECT from that view.

  • Credit Check on Open Items number of day

    Hi
    We have setup automatic credit control and all seems to work fine,  we now want to expandon this to include open items. So we have created a static block on open items.
    The next step was to only include open itesm that have been open for longer than 60 day, sowe have entered 60 in the number of day box.  But order are stillgoing on block due to this statoc check.
    We have 0 set in the max open items box.
    Do we need to enter anything in this box.  We want the check to only include open items older than 60 days and the credit limit not to go over the main customers credit limit
    Thanks
    Barry

    Hi,
    Could you please share the answer?
    Tawsif Chogle

  • Is it possible to add number of days to date?

    I am working on a form where I need to add number of days to a date and come up with a date.
    Header 1
    Header 2
    example date:  March 1, 2013
    + 30
    = march 31 2013                
    1. is this possible? Header1/cell 1 is a date field. Header 2/cell 1 is a dropdown field (30, 60, 90,120, custom),.
    Header2 cell2 not sure what field to use date or text?
    thank you

    Never mind I figured it out. Thanks

  • How to avoid crosstab - Show number of days according to groups

    Morning all,
    I think you all would agree with me that even having crosstab as a great tool in Crystal 2008, there are still quite allot of limitations to it.
    I have created a report using crosstab which shows number of days and jobs according to those days grouped by account number, product code, sales area. This report is working fine until my director asked me to further group those days according to sub categories of lenses.
    For example
    Crosstab shows
    Number of days - Day 1,day 2, day 3
    Number of jobs - 111----123--1213
    Percentage - -
    12%---34% 60%
    Now if you look at the example it says day 1, 111 jobs went out. What the director would like to see is those jobs being sub divided into types of lenses.
    So out of 111 jobs, 25 would be Finished lenses, 30 could be uncut lenses and so on.
    The new report should be like this
    Number of days -
    Day1---Day2---Day3
    Number of Jobs:-
    Finished -
    25--34-----23
    Uncut--3045-----23
    AR--7056-----76
    Total----125135----122
    Percentage:-
    Finished -
    25%--34%-----23%
    Uncut--30%45%-----23%
    AR--70%56%-----76%
    Total----100%100%----100%
    Now if we look at the above criteria it seems that I have to use groups even further down the report where I am using crosstab at the moment. This means I have to get rid of the crosstab and run a report manually.
    However the big question is, how to get the report calculating number of days and jobs according to customer account number, product code and sales area manually?
    I tried the following formula but this requires to write way too many formulas, for example some of the jobs have taken more than 60 days and if i use this formula I have to write 60 formulas for number of days which is not feasable.
    **//provided by IIbas in another forum**
    whileprintingrecords;
    numbervar day0;
    numbervar day1;
    numbervar day2;
    if {@workingdays} = 0 then
    day0 := day0 + 1 else
    if {@workingdays} = 1 then
    day1 := day1 + 1 else
    if {@workingdays} = 2 then
    day2 := day2 + 1 else //up to the maximum number of days.
    Then in the report footer, reference the days in separate formulas, and identify them with text boxes, e.g.,
    //{@day0};
    whileprintingrecords;
    numbervar day0;
    I can sort out the Finished, uncut,AR by grouping them however I am wondering how to create a manual running total of jobs complying with number of days without using crosstab.
    Any ideas?
    Many thanks
    Regards
    Jehanzeb

    no answer closing

  • I want to repeat an event on a set number of days.

    I work shift work and my schedule repeats every 28 days.  For example, I work day shift today and in 28 days I will work day shift.   I want to input my work schedule into iCal, but it doesn't let me create a repeatable event for a certain number of days. I would manually have to enter my work schedule every month.  Can we get this changed.   I know several of my co-workers have iPhones and would like to have this feature.  We would like to deal with just one calander, versus several.  Google calender has this feature, and that is what we currently use, but we want to use the iCal app.  Thanks for the help and input.

    I found a work around.  iCal in iCloud will let you customize your iCal entries; so I inputed my custom work schedule and then it just updates your iPhone.

  • GP: How to wait a specific number of days?

    Hello everybody,
    I am searching for an idea how to create a step in my Guided Procedures process which waits until a specific day (or a number of days from it's start).
    I have thought about implementing a Java Callable Object which waits until completing the step - but I fear to create a lot of server load with that.
    Does anyone have a different idea?
    Maybe there is a way to use due days and a loop?
    Thanks for any suggestion
    Ingo

    Hi,
    I think you can do it :
    STEP A - Complete
    STEP B - Waiting
    STEP C - After complete B
    You can developer a Job that uses Guided Procedure API (http://help.sap.com/saphelp_nwce10/helpdata/en/44/0d3e1626821c9de10000000a11466f/content.htm) to complete STEP B, based on creation date. This Job can execute on each hour, 15 minutes, day. Or on way that you need.
    So, after execute JOB and a step was select, complete it, so STEP C was activated.
    JOBS on NetWeaver CE: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10fed553-0e01-0010-9bb8-ed55659e1236
    Other Job alternative: Java Quartz, CRON
    Best regards

  • How to calculate number of days in hijri

    Dear all,
    I need to develop a custom report in which i required to calculate number of days in hijri month and also the first and last day of the hijri month. we normally use Last_date(sysdate) function to get the last date of the english calender. but how can we find same for month.
    Looking after for your support.
    Regards,
    Saquib

    Convert to hirjih date using:
    select
    to_char(sysdate,'YYYY/MM/DD','NLS_CALENDAR=''English Hijrah''') hijrih_date
    from dual;
    You can replace sysdate with the date of your choice.
    Also I wrote this for my last project:
    /* get hirjih date */
    FUNCTION get_hijrah_date(
    p_date in date,
    p_date_format in varchar2
    ) return varchar2
    is
    v_hijrah_date varchar2(500);
    begin
    select
    to_char(p_date,p_date_format,'NLS_CALENDAR=''English Hijrah''')
    into v_hijrah_date
    from dual;
    return v_hijrah_date;
    end get_hijrah_date;
    So you can have get_hijrah_date(sysdate,'DD-MON-YYYY') from dual;
    (or any other date formate of your choice)
    Edited by: igwe on Jan 30, 2013 8:07 AM

  • How to get planned % complete based on number of days

    Hello:
    I a trying to figure out a way(best way) to determine a "planned % complete" simply based on the number of days in a task.
    For example:
    Task Start Date = 3/1/15
    Task Finish Date = 3/20/15
    So the task is 20 days long
    Today is 3/10/15 so "planned % complete" should be 50%
    (Today-Start) / (Finish-Start)
    =
    ((3/10/15)-(3/1/15)) / ((3/20/15)-(3/1/15))
    =
    (10) / (20)
    =
    50%
    Do I just enter this into a custom field as a formula or is there a better way of doing this?
    Also, when I tried to do this with a formula, it did not apply to the roll up tasks. So, the bolded tasks were blank.
    I am trying to get to a calculated number of the % I should be completed based on the current date and length of the task. I realize this might not be the best way so any
    suggestions are greatly appreciated.
    I would like to be able to look at my project and see that I am 35% complete, but I should be 50%.
    Any guidance is greatly appreciated.
    I am using MS Project 2010.
    Thanks
    kp

    Hi kp,
    You are typically asking for Earned Value indicators. You could of course use the kind of formula you are refering to, but have in mind that MS Project proposes by default a large number of EV fields, such as CPI, SPI and all variance fields. Although it
    requires a certain maturity in scheduling (cost, baselines, status date, tracking), it will provide you a large set of EV indicators out of the box.
    See an excellent article
    here.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Getting number of days between 2 dates

    Hello All,
    I require the number of days between 2 dates.
    The number of days is between low date : PR Date (not an input variable) and the high date.
    I have created an customer exit variable to get sy-datum in made it as formula variable.
    I have also created a formula variable for PR Date , and subtracted the 2 dates.
    It is not giving the correct result.
    Any suggestions.
    Thanks & Regards,
    VL

    Read through this web link.  It will show you how to calculate the days between 2 dates directly in your BEX query.
    No exit needed to calculate this.
    http://teklink.co.uk/sap/sap-bi-bw-how-to-use-replacement-path-variables-to-perform-date-calculations-in-the-bex-analyzer/

  • Need user exit to put filter on field ( customer item due by ) in F110

    i'm having the requirement to put filter on the transation f110 on the paramater tab  of customer item due date that shoud consider  only 10 days back date form the sy-datum .  so i need user exit to pace the logic in automatic payment transaction.
    Thanks
    sarfraz

    Hi used the BET for process 1820 copied the function module and configure it and i have put the break point but when i have process the transaction f110 its not triggering.
    i have done as the below config
    In FIBF Tcode, Products -> of Customer for BTE 1820 : created a ZZ<Product> and made Active
    In Process Modules-> of Customer for BTE 00001820 : added ZZ<Function Module> and ZZ<Product>

Maybe you are looking for

  • How to suppress blank lines in smartforms

    Hi all,      How can we suppress blank lines in smartforms? In my scenario I am having customer address details in main window. i.e. Name      Street       P O Box       P O Box Location       Post Code       Telephone       Fax. Suppose if there is

  • Sending an InDesign document in an e-mail as an eBlast

    I have create a newsletter in InDesign, and I would like to e-mail it out as an eBlast. When I send it through Outlook as a JPG, Outlook downsizes the files and the newsletter looks awful. I have tried bumping the resolution down to 96 in hopes that

  • Reg : Stored Procedure to XI

    Hi, I need to know whether below is feasible using PI Stored procedure is executed in oracle Database by DB people and the response should come to PI. Please let me know if this is posible, if yes let me know how we can achieve this Thanks, Dinesh

  • How to convert the following?

    Hi , Below is the java command line that I provide on dos prompt. How to I convert the same for unix commandline java -cp C:\joost-20090315\lib\joost.jar;C:/joost-20090315/lib/commons-discovery-0.4.jar;C:/joost-20090315/lib/avalon-framework-4.2.0.jar

  • L520: are there any Win 8 drivers for Ericsson 5521gw WWAN card?

    I can't find any Win 8 drivers for my L520. There is a driver listed on the Win 8 beta page, but L520 is not mentioned there. Is the 5521gw card working on Win 8 x64? Do I need the beta driver or do we have to install the Win 7 version?