Printing of Net Due date in report output

hi Guru's,
I have to print the net due date which is printed in fbl1n, but the problem is the field FAEDT is comming from the structure and i am not able to print it.
The process is like this
    Base line date + Payment Term = Net due date.
    here the Payment Term is maintained in SAP code so how can i convert this so that i can do the above calculation.
Payment terms like (Z001,Z002,Z003) etc.
urgent.
regards
syama
Edited by: syama sundar on Aug 11, 2008 10:48 AM

hi,
see:
Link: [https://forums.sdn.sap.com/click.jspa?searchID=15042090&messageID=5792271]

Similar Messages

  • How to print long raw text data in report output in single line?

    Hi All,
    I have a requirement where I need to print raw comma separated text data in the report output which end user will open in excel and can sort as required. I can not directly generate excel output.
    Now there is huge set of data and each row from the report query should be get printed on single line, It should not get printed on the next line.
    I tried to extending the report with 240 characters but still there are some text data which is getting printed on the next line.
    Please share your view if someone has any solution on this issue.
    Thanks in Advance.
    Arun

    Make the report even wider. By default a report layout can be 10 pages wide. If you need more, change the "Max. Horizontal Body Pages" property, and extend your layout too.
    IMHO, I wouldn't even use Reports to create a csv file. Utl_file or an sqlplus script that spools to a file are better options I think.

  • Mismatch in net due dates in credit note output and FBL5N

    Hi SAP gurus,
    In my case, there is a credit note with 30 days payment terms and it is without reference to an invoice. The net due date on output is 30-10- 2010, while in FBL5N, it is 30-09- 2010. As per the analysis, it is right as in case of without ref. to invoice, the baseline date will act as net due date.
    Now the user, wants to have the same due date at both the places( FBL5N and invoice output) irrespective of standard settings, I came to know that it is possible through some change in output type.
    If so, kindly suggest me the logic as how to fetch the date appearing on FBL5N on invoice output. Need is to take the FBL5's date as input to be printed on output.
    thanks a lot in advance for the inputs.

    Credit memos are of 2 types
    Other Credit Memos.
    Terms of payment in other credit memos are invalid. These credit memos
    are due on the baseline date. To activate the terms of payment in these
    non-invoice-related credit memos, enter a “V” in the invoice reference field
    during document entry.
    Invoice related credit memos:
    Credit memos can be linked to the original invoice by entering the invoice
    number in the invoice reference field during document entry. In this case,
    the terms of payment are copied from the invoice so that the invoice and the
    credit memo are due on the same date.
    If you look at the second option you need to give the Invoice referevce to default the terms from Invoice or use "V" in the reference feild.
    Hope you have understood the concept.
    reward if useful.
    sarma

  • Net due date incorrect in FBL3N report

    Hi,
    Net due date is coming correctly in Vendor Display report FBL1N, however the same entry when we see in reconciliation account in FBL3N we get the wrong due date. We are going thorough GL head to get the correct amount which is tallying with f.08 data for ageing group-wise. For this reason net due date is required.
    Let me know if there is any other way I can proceed.
    Regards,
    Devdatth

    Hi,
    Waiting for reply.
    I need to know, why in FBL1N we get the correct net due date and in FBl3N get incorrect net due date.
    For example:
    in FBL1N the entry is-
    doc date           Baseline date           Net due date             Pay terms
    08.10.2012         08.11.2012              08.12.2012                30 days
    the same entry in FBL3N is-
    doc date           Baseline date          Net due date              Pay terms 
    08.10.2012        08.11.2012              08.11.2012                 30 days  
    i.e in FBL3N report also the same date 08.12.2012 should appear. But the report is showing incorrect date.
    Regards,
    Devdatth

  • Subroutine in sapscript for net due date

    Hi,
    This is the first time I am creating a subroutine for sapscript and I could not get it to work. I need to calculate the net due date using the baseline date plus cash discount days. But the form is just printing out 0000000. I am just trying to extract one due date here but I will have to get it for all line items then sort descending to get the latest one. Can anyone help me to see the gap why this is not working?
    In the sapscript I have the following:
    DEFINE &BASEDATE& = &REGUP-ZFBDT&
    DEFINE &PAYTERMS& = &REGUP-ZBD1T&
    PERFORM NET_DUE_DATE IN PROGRAM Z_SAPSCRIPT_FUNCTIONS
    USING &BASEDATE&
    USING &PAYTERMS&
    CHANGING &DUEDATE&
    ENDPERFORM
    In program Z_SAPSCRIPT_FUNCTIONS
    Thanks in advance!
    Cholen

    Hi Raju!
    I am really getting close! I did the conversion for all variables, however for VBLNR, it does not work. It gives leading zeroes but the value starts with a 'P' before the zeroes and the numeric value. I tried to remove that from the where clause and my select finally got something. However the output on the form is in the internal format. I suppose I should use CONVERT_DATE_TO_EXTERNAL which I tried doing after out_tab-value = lv_netduedate which is the variable I am passing to the form. 
    Raju Shrestha wrote:
    Hi Cholen,
    I believe your lv_laufd is a 10 character field in format MM/DD/YYY or DD/MM/YYYY. You should move that data to a 8 character variable (say lv_date) in YYYYDDMM format.
    Please try this conversion
        CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
          EXPORTING
            date_external            = lv_laufd
          IMPORTING
            date_internal            = lv_date
          EXCEPTIONS
            date_external_is_invalid = 1
            OTHERS                   = 2.
    Check in debug, you should get lv_date in YYYYMMDD. Now use lv_date in your WHERE clause.
    If you still do not get data after lv_date eq YYYYMMDD, check your LIFNR and KUNNR. They should be 10 charaters with leading zeroes if not 10 .
    If needed use the conversion for lv_lifnr and lv_kunnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            date_external            = lv_lifnr
          IMPORTING
            date_internal            = lv_lifnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            date_external            =  lv_kunnr
          IMPORTING
            date_internal            =  lv_kunnr.
    Cheers,
    Raju.

  • Net Due Date - FBL5N

    Hi All
    There is a request to change the net due date at the report FBL5N : if the net due date is on a weekend or holiday, it is necessary to change it to the next business day..
    I realized that this field is calculated using FM DETERMINE_DUE_DATE (when running FBL5n).
    Questions:
    -  Is it possible to change this date as requested? If yes, is it an ABAP issue?
    -  Modifying this net due date at this point, may affect the integrity of other reports or transactions?
    Thanks in advance.
    Regards.
    Gaia

    HI,
    As per SAP standard, it is not possible to link the due date calculation
    to a calendar so as to avoid having the due date fall on a holiday or
    weekend.  There is no provision in standard SAP to enable this.
    Only for automatic payment and dunning purposes, you can use a calendar
    to avoid payments on Saturdays, Sundays, and Holidays. Please see
    customizing transaction OBBA.
    One suggestion could be to use the substitution functionality, where
    you can substitute and change several fields from BKPF and BSEG. By a
    user exit you will calculate the adequate baseline date to avoid due
    date on Saturdays, Sundays or Holidays.
    Regards
    Madhu M

  • Calendar date & net due date (FI) PAYMENT TERMS - OBB8 Vendor Invoice

    I read many posts on SDN forum about the topic.
    Anyway, I didn't find a simple solution for that.
    My aim is is to calculate a net due date based on working days.
    So, If I've got a 30 days document days payment term  ("Deafult for baseline date" = Document date ; Additional Months = '2'), a Vendor Invoice (document date = 12.05.2011), by standard net due date will be 12.06.2011.
    FROM 12.05.2011 to 12.06.2011 =
    32 CALENDAR  DAYS         
    22 WORKDAYS (32 minus  10 holyday - 2 weekends)
    WORKDAYS PAYMENT TERMS  Within 30 workdays Due net
    Vendor Invoice  document date = 12.05.2011
    plus   30 workdays   =  DUE DATE  22.06.2011  (and not 12.06.2011)
    Can I obtain that with a standard functionality?
    Edited by: Roberto Buono on Jul 1, 2011 2:29 PM

    Hi,
    Sadly this is not available as standard.  As per your need the Net due date should be worked out by using a factory calendar; but what this does is it delinks the direct correlation between the number of days in the payment terms with the difference between the due date and baseline date.  I hope you are aware that Net Due date is not stored but is a variable calculated during run time in reports.
    There are four things you can try:
    1.  The simplest to do is: As the number of weekends are fixed; and if the intention is to give a 30 working day term, then add on the number of weekends and make the payment term effectively for say 40 days.  There will be marginal variations over what you want. Best part here is that config remains standard.
    2. All the receivable reports will use a function module (usually the same one) to calculate the net due date; enhance the FM and make it consider a factory calendar for calculating due date.
    3. Enhance the accounting interface, and in runtime; modify the days that are coming from the payment term; based on a factory calendar, and update the accounting document. This delinks the days mentioned in the payment term and the accounting document and may not be palatable.
    4. Enhance the accounting interface, and in runtime; calculate the due date and update the baseline date with it and make the payment term as "Immediate" yielding the desired due date. Not very elegant.  Alternatively add to the baseline date days equivalent to holidays and weekends and keep the days from payment terms constant and update the accounting document. Better...
    All four options have somes pros and cons.  I do not see any other means of acheiving what you want.  Maybe you could restrict users to a custom receivables/due date/ageing report which delivers what you want and lock the standard reports.
    Cheers..

  • Arrear after net due date - FD33 Credit Management

    Arrears after net due date is not appearing in the payment history of FD33 customer credit management report(it is showing as zero days), bur the same is appearing in the FDL5N report.
    The credit control area and payment terms are same as other customer wherein the arrear days are getting appear properly

    Hi,
    I moved your question tnto this forum.
    Mario

  • Net Due Date differences in Credit Note

    Hi FI Gurus,
    I have pass an entry for returns Credit Note based on return order u2013 This Credit Note was created on 11/05/08 with Payment Term (T60B) 60 days from B/L date so the due date should 60 days from the B/L date means the net due date should be 10/07/08.
    But in my case system is showing the same due date as the document date means the document date is 11/05/08 and the net due date is also the same 11/05/08 in FBL5N customer line item report.
    Kindly can any body help me why system is behaving like this, while only passing the CN entry system is showing the same due date as doc date, for the normal customer invoice for same payment term (T60B) is calculating accurately 60 days from the baseline date.
    Thanks and Regards,
    Yasir

    Credit memos are of 2 types
    Other Credit Memos.
    Terms of payment in other credit memos are invalid. These credit memos
    are due on the baseline date. To activate the terms of payment in these
    non-invoice-related credit memos, enter a “V” in the invoice reference field
    during document entry.
    Invoice related credit memos:
    Credit memos can be linked to the original invoice by entering the invoice
    number in the invoice reference field during document entry. In this case,
    the terms of payment are copied from the invoice so that the invoice and the
    credit memo are due on the same date.
    If you look at the second option you need to give the Invoice referevce to default the terms from Invoice or use "V" in the reference feild.
    Hope you have understood the concept.
    reward if useful.
    sarma

  • Posting date and net due date

    Hi forum,
    In a report i need to show the value of overdue items that were collected in a period between two key dates (entered as variables)
    First I restrict as follows:
    KF: Credit amount
    Net due date [] key date 1, key date 2
    But additionally I would need to restrict:
    Posting date > net due date (i.e. collected after an item is overdue).
    But how can you assign net due date to posting date? Maybe using a variable with replacement path?
    Any help is appreciated as this very urgent.
    Thanks!
    Alex

    Hi Swetha,
    Thanks for the reply.
    I created two replacment path variables as you suggested and put them in the formula. Unfortunately, I do not see any results in the column.
    I am showing the report by different customers - do I have to maybe change the aggregation to see any figures?
    Thanks

  • Fbl5n - calculate net due date

    Hey All Gurus,
    I am writting a report and want to calculate the net due date which we see in FBL5N. This is a customer aging report, and I have tried using fm DETERMINE_DUE_DATE or J_1A_SD_CI_DATA_GET... is there any other formula that I can use from zfbdt/zfbd1t...
    Please help. Thanks a lot Nina.

    hai,
    my requirement is also to do the customer ageing report will u please help me on that how to calculate net due amount,
    regarda,
    karthik

  • Selection by net due date

    Dear all,
    I want to make a report with selection net due date, for example(net due date in tcode fbl5n). but i dont know how to read the BSID , because there is no field - net due date in BSID.
    Can anyone tell me how the selection net due date in fbl5n works?

    Hi.,
    For Open Items Radio button.
    Open at Key Date -: the table name is  RFPDO and field name is ALLGSTID
    For Cleared Items Radio button.
    Clearing Date -:  the table name is  BSID  and field name is AUGDT
    Open at Key Date -: the table name is  RFPDO and field name is ALLGSTID
    For radio button All Items.
    Posting Date - : the table name is  BSID  and field name is  BUDAT
    hope this helps u.,
    Thanks & Regards
    Kiran

  • How to fetch net due date details

    Hi sap gurus
    I am fetching data from fbl5n transaction.
    i want days in arrears by NET due date(VERZN) and net due date(FAEDT) fileds
    but the data is coming from structure RFPOS-FAEDT and RFPOS-VERGN Fields.
    i want to display those fields in my script layout.
    RFPOS is a structure so its not contain  any data so exactly which table i will get FAEDT and VERGN fields..
    how i will fetch those fields for my requirement.
    if any solution really helpful.
    i am using standard print program RFKORD10.
    and  standard form is F140_ACC_STAT_01. and copied form into zform.
    if any one can guide it will resolve my problem..
    with advance thanks..

    This is a standard SAP functionality. Usually a credit memo is referenced to an invoice and if you don't have a reference to an invoice SAP would consider that credit memo as due immediatly.
    If you have an invoice to be referenced to this credit memo enter the invoice number in the invoice reference field in FB75 > payment tab and then enter the payment term. If you don't have an invoice reference enter V  in the invoice reference field and then the payment term, system will calculate net due date based on payment term.

  • How we add Grace days to net due date

    Hi,
    How we add grace days (eg one week) to net due date? This is only for particular customers.
    Regards,
    Shaik

    Hi Azeen
    Try this way. I assume that you want to know how much is due from customers as on a particular future date, that should come between today and that date. For preparing the liquidity forecast for the month, I use the following method for estimating the recoveries from the Customers and payments to Vendors and it works quite well for me.
    Let's say for Customers you want to forecast the collections that would come in the month of Jan from today until 31 Jan'09. Use the FBL5N Report, using the 'Open Item Key Date' as a future date, in our example - 31 Jan'09. Change the layout of the report by including the feilds 'Net Due Date' and 'Arrears after Net Due Date'. Sort the report on the Document Date, this being the baseline date. Now in the 'Arrears after Net Due Date' you will find the overdue days, which would be equal to the difference between the Date of the Report (31 Jan'09) and the Net Due Date of the Open Item. Thereafter, use the filter for 'Arrears after net due date' and click on the icon for 'multiple values'. Exclude the range of days, by assigning the lower and the upper limits. Lower Limit will be in minus, for those invoices that would still not be due upto 31 Jan'09 and the upper limit will be 7, since you would be granting a grace period of one week and consider all those invoices as not due upto 31 Jan. Once the filter is set, the report will exclude the open items as per the filter and provide you with a fairly accurate estimate of collections for the period/month.
    Let me know if it works for you.
    Regards

  • Issue in Due date analysis report S_ALR_87012168

    Hi Friends,
    We have a strange issue regarding due date analysis report (S_ALR_87012168)...
    When i execute this report it displays different amounts in "Not Due" column under 0-30 bucket. In 0-30 bucket, under not due column it shows 10,000 and under total open items column it shows 15,000. How it is possible?
    Thanks to everyone
    Anifi

    Hi,
    This has been closed due to Local and Document currency prob...
    Thanks

Maybe you are looking for

  • Stripchart sweep/block mode not working in 2010

    These two modes on the strip chart control stopped working in my software with the 2010 upgrade.  Continuous mode still works.  I even loaded the NI example 'autoscaling.cws' that uses a strip chart control and modified it to default to sweep mode in

  • Is this true? sounds legit?

    Hi, ill try and sum this up quickly, our family business used to be run by my father and the IT was, over a decade ago, handled by a friend of his. That friend has since fallen out with the family but back around 2004 he supplied a copy of SBS2003 fo

  • FI-SL report

    While reporting SL use wants to display transaction currency. 1. SL currency in USD 2. Transaction currency is in EUR 3. Reproting currency is coming in USD User wants to disply report in EUR Suggestion appriciated

  • File (spotlight) comments

    I am knocking up a internal Perl script to describe individual files within a directory (OK, cgi-bin/). It seemed more natural to use the Spotlight Comments sections to help convey this information, but I am unable to figure out the best way to do th

  • P6 Bridge Authentication Settings

    Looking for insights on how to set up p6 bridge from Portfolio Manager v9 to P6 v8.1 for an evaluation system. Bridge configuration seems to require selection of an Authentication mode in order for proper setup, however guides do not detail authentic