Due Date Calculation on A/R Invoice
The Due date calculation on an Invoice for a customer with a payment condition of 30 days is wrong on the system:
Invoice DocDate: 11.05.17
Invoice DueDate: 11.07.01
On the BP Master Data is set a payment condition of 30 days. So it should be a due date of June, not July. This is a invoice that comes from a Sales Order with Approval Procedure.
Our version is 2007 A SP:00 PL:49.
Thanks in Advance...
Hello,
Perfect Notification
For Payment Terms for Business Partner----
IF (@transaction_type = 'A' Or @transaction_type = 'U') AND @object_type = '17'
BEGIN
Declare @GroupNum as Nvarchar(20)
Declare @OCRDGroupNum as Nvarchar(20)
Declare @PaymentTermCode as Nvarchar(20)
Declare @PaymentTermName as Nvarchar(20)
Set @PaymentTermCode = (Select GroupNum from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
Set @PaymentTermName = (Select PymntGroup from OCTG where GroupNum = @PaymentTermCode )
Set @GroupNum = (select GroupNum from ORDR where DocEntry =@list_of_cols_val_tab_del)
Set @OCRDGroupNum =(Select GroupNum from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
If @GroupNum != @OCRDGroupNum
begin
SET @error = 10
SET @error_message = N'Payment Terms Should be ' + ' ' + @PaymentTermName + ' ' +' For this Business Partner'
end
END
End----
It will Definatillly Help You.
Thanks
Manvendra Singh Niranjan
Similar Messages
-
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
AlbertoDear 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 -
Due date calculation for the credit memo with invoice reference.
Hi,
When we create the credit memo with reference to invoice, the due date for the credit memo is getting copied from Invoice. In this case if the invoice is due on 31.12.2008 and the credit memo is created on 10.09.2009, then the credit memo due date is appearing as 31.12.2008. It should be 10.09.2009 as per the setting in VOFA billing type customisation in "Credit Memo w/vldt".
I would like to know how to customise the below requirement.
If the reference invoice is due after the credit memo creation, the the credit memo should due as per the invoice date.
If the invoice due is past & then the credit memo due date should be Immediate i.e. Due Immediately.
Thanks in advance for help.
Regards,
NithinI doubt there is such option. From the past projects I do remember that we made a change in the form to print the document date as 'Due Date' for credit memos. Credit memos were paid at once when they were processed and I think that payment term was copied from the original invoice, which made their due date far in future.
-
How to generate 3 payment due dates& 3 posting against single invoice?
Hello Experts,
Kindly provides some inputs on below requirement.
For example :- In the Utility Bill,
Consumption months: June, July, August
Meter Reading taken in August
Billing Months: September, October, November
Bill generated in August
Consumer receives the bill on September month
Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
Issues-:
1.How to generate three posting against single invoice?
2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
1st due date = posting date + 15 days
2nd due date = 1st due date + 30 days
3rd due date = 2nd due date + 30 days
Requirement description:-
The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
Looking forward for valuable suggestions
Thanks in advance
Regards,
Vaseem
Moderator note - question reposted - OP notified of violation Issue on quarterly bill
Edited by: William Eastman on Jun 3, 2010 3:25 PM
Edited by: William Eastman on Jun 3, 2010 5:01 PMHello Experts,
Kindly provides some inputs on below requirement.
For example :- In the Utility Bill,
Consumption months: June, July, August
Meter Reading taken in August
Billing Months: September, October, November
Bill generated in August
Consumer receives the bill on September month
Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
Issues-:
1.How to generate three posting against single invoice?
2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
1st due date = posting date + 15 days
2nd due date = 1st due date + 30 days
3rd due date = 2nd due date + 30 days
Requirement description:-
The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
Looking forward for valuable suggestions
Thanks in advance
Regards,
Vaseem
Moderator note - question reposted - OP notified of violation Issue on quarterly bill
Edited by: William Eastman on Jun 3, 2010 3:25 PM
Edited by: William Eastman on Jun 3, 2010 5:01 PM -
How to set the payment Due date calculation as per working days.
how to make changes in the vendor Payment terms so that while calculating the Payment due date as per Payment terms, system calculates it based on Working Days & not the Calender days ?
Help is much appriciated.
Thank you,
AmitHi,
This is the standard settings by SAP, normally we couldn't change it to working day.
Good luck
Tao -
Recurring document - FBD1 with incorrect due-date calculation for AP
Hi Gurus,
in our ECC 6.0 system we are creating with F.14 FI-documents (SAPF120) based on recurring documents (created with FBD1) for various purposes (e.g. Recurring entries for IC-business).
Therefore it's important that the system provides in the final processing of the recurring documents the correct net-due-date in the AP-document based on the document date and the payment term included in the AP-masterdata (LFB1-ZTERM).
Problem:
The processed FI-document contains the correct payment term but the calculated net-due-date with regards to the document date (BKPF-BLDAT) isn't correct. A Dummy-Update of the FI-document with FB02 on field BSEG-ZTERM provides finally the correct net due date but this a not recommended solution.
Any ideas how to solve that issue???
Thanks for replies.
BR, BerndHi Vishnu,
the defined payment term is
fix day: 15
additional month: 1.
Default for baseline date is posting date
Therefore the expectation is that net due date is calculated for posting date
e.g. : 01.02.2012 to 15.03.2012.
The line item after processing in FI-document shows :
Posting Date : 01.02.2012
Bline Date: 01.02.2012
Days/percent: 35
Net due date: 07.03.2012 (dd.mm.yyyy)
That's wrong according to my understanding of the payment term definition.
BR, Bernd -
Due date calculation in the credit memo
Hello,
I need to have the same due date in the credit memo as in original invoice...
Is there any setting for this?
Thanks and best regards
LI doubt there is such option. From the past projects I do remember that we made a change in the form to print the document date as 'Due Date' for credit memos. Credit memos were paid at once when they were processed and I think that payment term was copied from the original invoice, which made their due date far in future.
-
in vendor invoice, how system calculate the net due date, I enter document date is July.1.2010, payment term is Z001, system automatically update the field cash discount days 1, INVFO-ZBD1T, but this from structure. may I know which table we can use? thanks
Hi,
The system calculates the Net due date based on the 'Payment Term' settings. The details of the payment terms are stored in table T052.
The system calculates the date based on the 'Baseline date' and the number of days term period.
If you can list the settings of your payment term Z001 from t-code OBB8, I can explain you with an example.
Regards,
Mike -
Letter of Credit in Payment Due Date Calculation
Dear All,
I meet a case as following:
Sales Order A with 80% Letter of Credit
(L/C) payment (set in header condition) and 20% downpayment, with Payment Terms: L/C payment due
date is before a special date.
Question 1: If downpayment has cleared, whether user can see that a
record of downpayment paid in a Sales Order under SAP standard design?
Question 2: whether SAP standard desgin/configuration can set L/C
payment due date by a payment term? note: L/C is flexible depends on
different Sales Order?
Thanks for all your helps!Did you find a solution to this?
Is it possible to separate down-payment from rest of sales order - so Letter of Credit is only for the sales value minus down- payment?
SO value 1 Mio USD
Down-payment .2 Mio USD
LOC value >> .8 Mio USD?
Cheers
Hein -
Dear Gurus,
Is there any std report is available which calculates due date for payments considering payment terma maintained in the purchase order . It should calculate due date from the date of GRN.
Rgds,
SaurabhHi Saurabh,
Check the following reports -
S_ALR_87012078 - Due Date Analysis for Open Items
S_ALR_87012084 - Open Items - Vendor Due Date Forecast
Regards,
Mike -
Default due date , payment method when posting invoice with Special G/L
Hi Gurus,
I have a question is when I am posting an invocie to a vendor (FB60), Due On date, payment method are automatically calculated based on the defaulted baseline date and the payment term in the vendor master. But when I am posting the invocie to the same vendor with Special G/L indicator, Due On date, payment method are not automatically calculated and system are expecting me to enter this date manually. Is there a way we can default this Due On date, payment thod based on payment term like it happens when posting to other invoices without Sp GL indicator ?
Thanks
Edited by: Ngoc Hoang on Nov 29, 2011 8:30 AMDear Ngog,
In general, special G/L transactions are used to map special processes
to be stated separately in the balance sheet.So if you use special GL
indicator, the fields relevant to payment terms (including baseline
date) are not displayed. This is not controlled by field status.
To make the fields You need ready for input for posting
with special G/L indicator, the following Customizing setting is
necessary:
Financial Accounting -> Accounts Receivable and Accounts Payable
->Business Transactions -> Outgoing Payments -> Automatic Outgoing
Payment-> Payment Method/Bank Selection -> Configure payment program ->
All company codes -> double-click on corresponding company code -> under
Vendor -> 'Sp. G/L transactions to be paid' you should enter the special
G/L indicator A,B, etc.
As explained in SAP note 4683, the only standard possibility to get the
field payment terms on creating a posting with a special G/L indicator
is by setting in the payment program configuration (trans. FBKP) for
'All company codes' for customers/vendors 'Sp. G/L transaction to be
paid'.
Mauri -
Urgent due date calculation in vendor ageing(plz solve)
hi everybody there
i have to calculate the due on date
which is calculated as
dueon = BLINE Date (BSIK-ZFBDT) + No of Days(BSIK-ZBD1T)
for this i am using fm
RP_CALC_DATE_IN_INTERVAL
but it is not working .
could u suggest that what is going wrong with this
fm.
i am calling this fm in following code but it is not working , it is going to dump.
could any one suggest me how to use the above fm in my following code so that i will be able to calculate due on date based on above formula.
my code is as follows
*& Report Z_VENDOR AGEING *
*& in this repoet I am calculating the vendor ageing
which is depending on formula
AGEING = Current Date(or any date entered by user) Bline Date(BSIK-ZFBDT) *
REPORT z_vendor NO STANDARD PAGE HEADING
LINE-SIZE 200
LINE-COUNT 65(3).
TABLES : bsik.
DATA : BEGIN OF t_out OCCURS 0,
bukrs LIKE bsik-bukrs,
saknr LIKE bsik-saknr,
bldat LIKE bsik-bldat,
wrbtr LIKE bsik-wrbtr,
lifnr LIKE bsik-lifnr,
zfbdt like bsik-zfbdt,
zbd1t like bsik-zbd1t,
ageing type i,
END OF t_out.
parameters : p_date1 type d.
SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,
s_saknr FOR bsik-saknr,
s_lifnr FOR bsik-lifnr.
SELECT bukrs saknr bldat wrbtr lifnr zfbdt
FROM bsik
INTO TABLE t_out
WHERE saknr IN s_saknr
AND bukrs IN s_bukrs
AND lifnr IN s_lifnr.
Loop at t_out.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_date1
i_datum_von = t_out-zfbdt
I_KZ_EXCL_VON = '0'
I_KZ_INCL_BIS = '0'
I_KZ_ULT_BIS = ' '
I_KZ_ULT_VON = ' '
I_STGMETH = '0'
I_SZBMETH = '1'
IMPORTING
E_TAGE = t_out-ageing
EXCEPTIONS
DAYS_METHOD_NOT_DEFINED = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Modify t_out.
Clear t_out.
Endloop.
LOOP AT t_out.
WRITE : / t_out-saknr,
t_out-lifnr,
t_out-wrbtr,
t_out-zfbdt,
t_out-ageing.
ENDLOOP.hi sanjeev,
chnage ur code.
note the bolded part.
TABLES : bsik.
DATA : BEGIN OF t_out OCCURS 0,
bukrs LIKE bsik-bukrs,
saknr LIKE bsik-saknr,
bldat LIKE bsik-bldat,
wrbtr LIKE bsik-wrbtr,
lifnr LIKE bsik-lifnr,
zfbdt LIKE bsik-zfbdt,
zbd1t LIKE bsik-zbd1t,
ageing TYPE i,
END OF t_out.
PARAMETERS : p_date1 TYPE d.
SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,
s_saknr FOR bsik-saknr,
s_lifnr FOR bsik-lifnr.
SELECT bukrs saknr bldat wrbtr lifnr zfbdt <b>zbd1t</b>
FROM bsik
INTO <b>corresponding fields of table</b> t_out
WHERE saknr IN s_saknr
AND bukrs IN s_bukrs
AND lifnr IN s_lifnr.
if sy-subrc <> 0.
message 'no data' type 'S'.
endif.
LOOP AT t_out.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_date1
i_datum_von = t_out-zfbdt
I_KZ_EXCL_VON = '0'
I_KZ_INCL_BIS = '0'
I_KZ_ULT_BIS = ' '
I_KZ_ULT_VON = ' '
I_STGMETH = '0'
I_SZBMETH = '1'
IMPORTING
e_tage = t_out-ageing
EXCEPTIONS
days_method_not_defined = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
<b>
data : dueon like t_out-zfbdt.
dueon = t_out-zfbdt + t_out-zbd1t.
write dueon.</b>
MODIFY t_out.
CLEAR t_out.
ENDLOOP.
rgds
anver.
if hlped mark points
LOOP AT t_out.
WRITE : / t_out-saknr,
t_out-lifnr,
t_out-wrbtr,
t_out-zfbdt,
t_out-ageing. -
Due date calculation from GR Date / Service entry sheet date
Dear Friends,
GRN Date--01.05.2009
Payment terms--- Within 45 days due net
Transaction code---FBL1N
System should not output these records before 14.06.2009 in FBL1N.
It should ouput on or after 14.06.2009.
Regards
R Panda
Edited by: Rutabhadra Panda on Jun 2, 2009 9:18 AMHi
Try with payment terms option
SPRO- SAP IMG- Material Management - Purchasing - Vendor Master - Define terms of payment
regards,
Raman -
FINT interest calculation on cust overdue items from net due date required
Hi.
I am running FINT option i am running interest calculation from net due date onwards whereas the system is calculating the interest from Next date of due date.
For example: Customer invoice is raised on 01.01.2011 and Net due date is 01.01.2011. I gave the option in the interest calculation - SPRO - FINANCIAL ACCOUNTING(NEW) - ACCOUNTS RECEIVABLE AND ACCOUNTS PAYABLE - BUSINESS TRANSACTIONS - INTEREST CALCULATION - PREPARE ITEM INTEREST CALCULATION, Ref date as as 1 - Value date (Baseline date from Net Payment).
Still the system is calculating the interest from 02.01.2011 instead of from 01.01.2011.
Can anyone help me in this regard.
Regards,
PadmavathiHi,
We can calculate interest on items cleared with in the calculation period.
When you are calculating interest on open items, system will check open items as on the Calculation Date.
But if you want to calculate Interest on items cleared with in the calculation period., you have to check Calculate Interest on Cleared Items also.
For Instance: If you are calculating Interest on 31st July for the period of 01.07.2009 to 31.07.2009, in this case
some open items are already cleared with in this calculation period, even though you have to calcuate interest for those cleared items for that many days. System will calculate interest for that many days.
Try with this option, still if you need any help please let me know.
Thanks
Chandra -
Invoice payment due date to friday if it falls on Weekend
Hi All,
I have an interesting requirements in payment terms due date calculation. Say we assign a payment term to customer and Invoice is done. If the due date falls in the weekend ..say 2 july 2014 which is a Saturday. Can we set the system so due date is set to 1Jul 2014 which is a Friday. Underlying business need is when a due date fall on the weekend it doesn't go to Monday but bring forward to Friday. One can argue that Friday is not 30 days but 29 days so this not right.
ThanksHi Dick,
Please check below links.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70ccb4af-f7d0-2c10-a0b6-ae3f2738dda2?QuickLink=index&…
Payment Terms Setup Help
Due Date Configuration
Hope this helps
Regards::::
Atul Chakraborty
Maybe you are looking for
-
How can I get my ipad Pages app to keep video when converting to epub file?
I am trying to create a epub file to be opened in Ibook using Pages on the IPad. I have inserted a video and when I go to export to Ibooks it gives me a warning that video has been converted into an image. I have created this same video on a deskto
-
Do iphone pics mix with other photos in iPhoto?
do iphone photos mix with other photos when i upload to iphoto?
-
I can't get rid of firmware for WRT54RS flashed on WRT54GL router
Today I tried (unsuccesfull) to reset my router back to factory default. Unfortunately I found that the IP address did not reset to factory default. But I still can ping the device. So I checked the firmware by logging into the device. B.t.w the admi
-
Create view that shows resource work in hours per month for top level tasks on the project
I'm relatively new to project so hopefully this is easy. The management for the organization I am working at now wants me to break out every resource on the projects hours by top level tasks per month. Resource usage gets very close but I can't figu
-
Can't understand how Finder handles photos!
I would like to understand how finder handles photos because I switched from windows recently and can't understand some things. First example, renaming lots of photos (without using iPhoto). I already have a automator action for renaming files, but i