How to calculate Payment not yet due based on payment terms
Dear All
i need to calculate the payments which are not yet due based on payment terms in the ageing report of payables.
FOR Ageing : i used this n this works but i want calculate the payment payment which is not yet due based on payment terms.
SELECT ail.amount amt, ail.corrected_inv_id inv_id,
aiv.vendor_id ven_id
FROM ap_invoice_lines_v ail, ap_invoices_all aiv
WHERE 1 = 1
AND ail.invoice_id = aiv.invoice_id
AND aiv.invoice_type_lookup_code IN ('DEBIT', 'CREDIT')
AND ail.corrected_inv_id IS NOT NULL) mem
WHERE 1 = 1
and inv.invoice_id=paid.invoice_id(+)
and aida.invoice_id=inv.invoice_id
AND to_char(to_date(aida.accounting_date) + due.due_days) BETWEEN to_date(:p_invdate) - 90 and to_date(:p_invdate) - 61
AND ven.vendor_number BETWEEN NVL (:p_supplier, '00000')
AND NVL (:p_supplier, '99999')
Regards
Shaizy
Edited by: user11298424 on Aug 7, 2012 7:53 AM
sorry Francis,
this will run:
REPORT zforum101 .
TABLES: faede, bsid, bsega, t052.
PARAMETERS : p_zterm LIKE t052-zterm DEFAULT '1400'.
PARAMETERS : bldat TYPE sy-datum DEFAULT '20060801'.
SELECT SINGLE * FROM t052
WHERE zterm = p_zterm.
CLEAR faede.
MOVE-CORRESPONDING t052 TO faede.
MOVE: t052-ztag1 TO faede-zbd1t,
t052-ztag2 TO faede-zbd2t,
t052-ztag3 TO faede-zbd3t.
MOVE bldat TO faede-bldat.
faede-koart = 'D'.
CALL FUNCTION 'DETERMINE_DUE_DATE'
EXPORTING
i_faede = faede
IMPORTING
e_faede = faede
EXCEPTIONS
OTHERS = 1.
bsega-netdt = faede-netdt.
WRITE bsega-netdt.
A.
pls reward useful answers
Message was edited by: Andreas Mann
Similar Messages
-
How to make "payment terms" not modifiable in sales order
Hello every 1,
please help, i want to know:
how to make "payment terms" not modifiable in a sales order , as we know it comes directly from CMR and client wants "PAYMENT TERMS" to be not modifiable.
Look forward for your response.
Thanks in Advance,
DeepakYou need to use SHD0 or userexit chnages, like always determine from customer master, if user changes, give message like not modifiable or ask abaper to make non modifable field
-
How to create payment terms in AP Supplier Interface
Hi Folks.
May I know How to create payment terms(for ex:45 days) through AP Supplier Interface.
Kindly suggest me the exact column name in interface.
Regards,
RajHi Raj,
To populate the terms information, you use the ap_invoices_interface.terms_name or ap_invoices_interface.terms_id fields. This assumes that the terms themselves are already created.
Currently there is no functionality to add new terms through the supplier interface.
Cheryl -
How to change Payment Terms in multiple orders at same time?
How to change Payment Terms in multiple orders at same time?
I have got 10,000 Order, I need to change the payment terms for all these Orders.
Can I Know the way out for this.
Regards,
Dantham Conpolwedson
Edited by: Dantham Conpolwedson on Mar 25, 2009 11:18 AMHi
There are as many options for that
You can go for
1)MASS t code
2) LSMW (by recording)
3)BDC (by recording)
and the most easiest way is by doing the MASS tcode
goto MASS and enter the object type as BUS2032
execute now select the sales order haeader data and execute and now enter the sales doc from and to range and execute now all the sales dox will be displayed
and from the menu click on select fields and select the terms of payment
now select the terms of payment row and enter the new values and click on carry out new changes
regards -
Interest calculated on items not yet due
Hi,
We have open item/document with posting date and baseline date of August 15, 2009. Payment terms attached is 30PD meaning open item is due on September 15, 2009. Interest Indicator attached to the is item interest with the following configuration:
Item Selection All cleared items
Interest determination - Ref date is 4 which is payment baseline date
Calender Type is G - 28, 31/365
Tolerance days 15 meaning even if the payment tems attached to the customer is 07FM and the customer paid on the 8th, interest will still not be computed. Computation of interest will happen in the customer paid beyond the 15th.
Calculation of interest is on debit items only
When i post the interest on August 31, interest was computed with the document i mentioned above. Taking into consideration our config for interest, interest should still not be computed since open items will be due on Sept. 15.
Or our configuration conflicting with the payment terms?
This only happen on our PD payment tems and not on FM.
Thank you.
RachelleTry updating the vault and see if Aperture keeps saying that.
Eduardo
Based on your advice, I created a vault, updated it, and the splash page message dissappeared on restart - just as you suggested it might. Thanks!
Am I right in believing the contents of the vault together with my separate backup of the referenced files themselves will enable me to recover my Aperture environment in the event I need to recover it following the loss of my 'live' system? That would be a very acceptable outcome. -
How to Create payment term for -Net Due 1st Day of Second Month Following
Hi,
We need to add a payment term for "Net Due 1st Day of Second Month Following Delivery". We need this to be in the system as soon as possible as we just were told of a change in terms for our client effective May 1st.
Kindly advice me how to select the dates in OBB8?
Thanks
SupriyaHi Supriya,
In OBB8, create a new payment term with the following settings -
Default for baseline date = No default
Payment terms/Term 1/Fixed date = 1
Payment terms/Term 1/Additional months = 2
This payment term will ask you for a baseline date on document entry. You can give the delivery date as the baseline date. If required, this date can be changed after posting the document also.
Hope this helps.
Regards,
Mike -
How to calculate average not through basic formula
Can any bodytell me how to calculate averge of 96 rows in the quey designer not by hard coding them.
Is there any formula for creating it through formula or through calculations .
And also how to calculate the maximum value and minimum value of the entire 96 rows which is picking from a Z table -ZDC_2100.
Iam having time blocks of 96 for 24 hrs each of 15Min.Hi,
You can achieve using a counter at baselevel and use exception aggregation at query level...
Also check the below links might be useful:
http://help.sap.com/saphelp_nw04/helpdata/en/75/21054da1392649948e5b94e4fc4bce/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
Hope this helps.......
Rgs,
I.Ravikanth -
How to define payment term - Net due 45 days after month end
Anyone have experience of payment terms such as "Net Due 45 days after Month End"?
I'm trying to define payment terms where the amount is due X days after month end.
Terms such as 10 days after month end are OK because I can set "Months Ahead" = 1 and "Day of Month" = 10
However, I can't exceed a value of 31 in the "Day on Month" field. I could assume that a month is 31 days and therefore set "Months Ahead" =1 and "Day of Month" = 14. However, this won't always be true (depending on the month) and it will impact aging buckets.
Anyone encountered this before? (These payment terms seem to common in France and Denmark)Hi Supriya,
In OBB8, create a new payment term with the following settings -
Default for baseline date = No default
Payment terms/Term 1/Fixed date = 1
Payment terms/Term 1/Additional months = 2
This payment term will ask you for a baseline date on document entry. You can give the delivery date as the baseline date. If required, this date can be changed after posting the document also.
Hope this helps.
Regards,
Mike -
Hi all,
I was wondering how you can create this special payment term:
"90 days after Bill of Lading, the calculation of the Net Due Date has to start 7 days after the invoice date".
90 days after Bill of Lading is no problem to create.
The start of the Net Due Date 7 days after the invoice date is a more tricky one.
The transaction code for Payment terms is OBB8.
In the Display View: "Terms of Payment": Details, you can find that the document date is the baseline date (and the start date).
Do someone know how you can change the document date into invoice date ? And if so, how can you add 7 days after the invoice date?
Thanks.
Kind regards,
PamelaHi,
thanks for your reply and possible solution.
Unfortunately, i can't change the payment terms to my requirement.
The problem is that I need a variable date (starting from the invoice date, which we don't know yet),
and SAP only allows a fixed date.
If you know how to proceed, let me know.
Thanks in advance,
Regards,
Pam -
Hi Gurus,
Need to configure new payment term as described below
if a supplier ships on 10 May, that payment will only be due on 10 July.
But also if they ship on 29 May, the payment will also still be 10 July.
This is my first time so plz guide how to configure this.
regards
VBHi Ashish,
You need to do the following to achieve this
OME2
Maintain a day limit of 29, if that is your cutoff, and then in the Payment Term, please provide 0% and fixed date as 10 and additional month as 2 ( You can enter as per your scenario)
With this, all transactions done till 29th of May will be 100% due by 10th of July.
Kindly verify in test systems, I have not got a chance to test.
Hope this helps.
Regards
Shailesh -
How to maintain payment term when incoming partial payment is made.
Hi SAP Experts
I have a customer invoice with payment term as follows:
after 60 days close day limit 10
fixed day : 10
payment term :
Term 1 Percentage 4% No of days 15
Term 2 Percentage 4% No of days 30
Term 3 Fixed date 10 additional months 2
after 60 days close day limit 20
fixed day : 20
payment term :
Term 1 Percentage 4% No of days 15
Term 2 Percentage 4% No of days 30
Term 3 Fixed date 20 additional months 2
after 60 days close day limit 31
fixed day : 31
payment term :
Term 1 Percentage 4% No of days 15
Term 2 Percentage 4% No of days 30
Term 3 Fixed date 31 additional months 2
Default for Baseline date calculation : Posting Date
When i enter a incoming partial payment, the due date is recalculated.
Therefore my due date for the following customer is always extended.
Can you advice me what I can do to do a partial payment but also maintain the due date?
ShakeerHi Shakeer,
Please see below points.
1. When you post the cutomer invoice based on the described payment term logic by you, system should logically split the Tranaction amount as described in Payment terms. So is that happening? Hope I am not missing anything. Aslo just validate whether you are creating the Payment terms in the right manner.
2. I am just thinking may be if you default the Baseline date to Doument data, would that help.
In the mean time I am trying to create the same scenario, to see the impact.
Regards
Paul -
Kindly advise how to enable payment terms and tax codes in f-22
1. how enable Payments terms field and Tax Code in f-22 because i have already configured payment terms in img.
2. i have configured Sales and Purchase Tax and while posting in f-22 and in f-43, i seleted the Calculate tax but in third screen am unable to see the Tax code field to select my individual tax codes liek v0 for 0% input tax or v1-for calculation of Excise payable, cess payable and vst payable or v2.
kindly advise how to enable
1. Payment terms field
2. Tax codes field
in f-22Hello,
first you should configure the tax codes and tax types. and payment mothod related to your company code.
you can set the configure on tax code using the T>Code : FTXP in calculation bases.
once you done the configuration of input/output tax you can give the tax indicator on related *GL master data* in sales a/c and purchase select the input tax or out put tax.
If your posting the document in F-22 or F-43 the system is not display the payment method you can go to field statues variant and select the required button in payment method and save. t.code is OBC4 .
you start the entry of document in third screen click on tax calculation button and select any one of this Vo,V1 or V2. after you can simulate the entry the system generate the entry of below:
vendor a/c dr
to vat 12.5% ; a/c cr
to service tax a/c cr
to ed.cess a/c cr
to hr ed.cess cr
if you have any doudts reply me.
regards,
Keerthi -
Re-calculate payment term condition
Hi all,
We wanted to re-calculate value date according to payment term condition in pricing procedure. We tried formula base (routine) in pricing procedure but in some cases program calculate duplicate values because of finding more than one payment term condition. After that, we tried user exits in sales document(MV45AFZ*) but it could not be solved.
Do you have an idea how we can solve this problem?
thanks.You can do it . Please follow the steps below:
1:Create one new condition type and assign the relevnt access sequence.
2:Add the condition type at the last in your pricing procedure and mark it as statistical.
3:create a condition record with 0 price, select the relevant paymnet terms, here you can also maintain fixed value date and Additional value dates. check the last 3 columns.
So if the line item has different payment terms, and the condition record is existing for this paymnet terms, then the fixed value date / additional value days maintained in the record will flow at the line item - billing tab - you can check.
Hope this helps
Regards
Sai -
How to fix payment term in purchase order
Hi: Everybody
can you tell me how to fix value of payment term when creating or change purchase order? that means this field value just copy from vendor master data. and users can not change this value.
I try to research screen field control in SPRO. however, may standard sap not provide this function.
thank you
HenryHi
This can be acheived using the Field selction control.
Check the field selction key for the PO document type.
SPRO-> Materials Management-> Purchasing-> Purchase Order-> Define Document Types.
Now maintain the filed selction key in
SPRO-> Materials Management-> Purchasing-> Purchase Order-> Define Screen Layout at Document Level
In the filed selction group Terms of delivery and payment, maintain the field selection option as display for the fields
Terms of payment
Terms of payt. (days, percent)
For the field selection key ME21N & ME22 also maintain the same
Thanks & Regards
Kishore -
How to retain payment terms even on repricing - Please
Dear All,
I add a code to retain payment terms and is working as expected.
but When Sales Order is re-priced..it is not working, I believe it is recalculating terms as well.
We have requirement that, when Terms are over written, even re-pricing should not change it (Should retain terms).
Please let me know, How can we achieve this..
Thank you
Anitha..
Edited by: Anitha Reddy Rapole on May 31, 2011 9:57 PMHave you checked for user exit interference? That's not 'normal' behavior...
Maybe you are looking for
-
HP Color LaserJet CM2320 MFP Series PCL 6 - Colour Priniting Issue
Hi, We have a HP Color LaserJet CM2320 MFP Series PCL 6 at work and it has started to print incorrect colours, when printing a document that should come out as grey and red it comes out as green for the grey and yellow for the red. Some of the cartr
-
How to create a string with numbers, separated by ",".
Hello! I have a start number and a end number. For example 101 and 110. Now I want to create a string containing all numbers between 101 and 110 separated by comma(","). (101,102,103 .......,110) Any smart suggestions?
-
How can I recreate the Clarity effect in Photoshop CS6?
Hi, I want to recreate the Clarity effect but in Photoshop CS6.. I know I have it in Lightroom and Camera Raw, but for academic purposes I need to create the same effect but using ONLY Pohotoshop CS6... Thanks, Juan Dent Message title was edited by:
-
Short Dump - EXSORT_NOT_ENOUGH_MEMORY in ACT_UPG
Hello Experts, I am in the process of Upgrading ECC6 EHP3 to EHP4. Upgrade is stalled in phase ACT_UPG phase for last almost 24 hours now. I posted a thread about that [EHP4 upgrade stucl in MAIN_SHDRUN/ACT_UPG; Now my phase got an error EXSORT_NOT_
-
Is it possible to set screen saver to iphoto library on another computer?
I have all my photos on an iMac; I have a mac mini connected to my flat screen tv which we use to watch movies (netflix, amazon video, itunes, etc). I would like to set my mac mini screen saver to the iPhoto library located on my iMac. Is this poss