How is GR amount calculated
Hi Gurus ,
Please have a look at the scenario below and kindly explain how the GR amount is calculated
Suppose PO price = 1 per unit
PO qty = 100
Now the following docs are posted in the sequence mentioned below :
1) Invoice is posted with qty 1 , price 10 (this invoice is wrongly posted)
2) One more invoice with qty 10 and price 10 (now the actual correct invoice is posted )
3) First invoice with qty 1 is reversed ( so that total invoiced qty becomes 10 and total invioce price = 10 )
4) Now a GR is posted with quanity 10 .
What would be the amount of the GR . I have checked and found that its 18.18 (for total 10 quantity ) . How is this amount getting calculated ? I have also found that the GR amount for the 11th qty is 1 which is understandable based on the invoice and the PO price.
Regards,
Saurav
thanks Allen for your reply .. these are really helpful..
But the scenario of invoice reversal has not been explained there. In my case , in my 3rd step i am cancelling the invoice posted wrongly (the first invoice) but it seems that while posting GR , system does not consider the reversed invoice value and calculates the GR amount based on the first two invoices ...
that is after the first 2 invoices , my total qty invoiced = 11
total invoice price = 20
Price of one = 20/11 = 1.818
GR amount for 10 = 18.18
why the system is not considering invoice reversal while calculating GR amount ?
Similar Messages
-
How is exempt amount calculated for involuntary deductions?
How is the exempt amount calculated for involuntary deductions?
For child support CHILD_SUPP_CALCULATION_FORMULA fast formula can be used for getting the exempt amount?
What about other involuntary deductions like alimony, creditor debt, bankruptcy?
Can anyone please guide me to any documents concerning this.
Regards,
Manish.When you define the deduction using the Deduction template, the formula are automatically get defined.
Ex in your case Creditor debt is an involuntary deduction and it should be paid using the third party payment, the priority of this deduction will be 1 and you also might need to define external organization to pay this amount.
You can refer the payroll user guide which might provide you few details of the involuntary deduction -
How the Tax amount calculated in AR for this scenario (11i)
Dear All,
I have some doubts with the Tax amount in the AR Trx. Please look into below scenario.
Step1: Create SO and AR Trx
In OM side:
1. I created a SO 001 and there is a item A only. The item's Unit Selling Price is *100$*, Quantity is *1*. Then the SO flown to AR.
In AR side:
1. AR Trx 001 is created for the SO and Tax rate is 17%. Hence the AR Trx Total Amount = Line Amount + Tax Amount = 100 + (100 0.17) = 117*.
Step2: The item has been return from customer.
In OM Side:
2. I added the same item with the Unit Selling Price *200$* and Quantity -1. Then the new SO line flown to AR.
In AR side:
2. Credit Memo is create for the return line of SO.
My doubt is:
What's the tax amount for the Credit Memo? It is 200 * 0.17 or the original trx tax amount (100 * 0.17)?
Thanks & Best Regards!
JeromeJerome,
The tax calculated on the Credit memo is always based on the Credit memo amount. So it will be on $200.
However there are few things you need to consider here. If you are creating a RMA in OM and if overapplication is not enabled for the AR Transaction type, the RMA will fail during Autoinvoice since you cannot credit more than the Invoice amount.
One thing I am not sure though is whether you can actually create a RMA with a price different than that of the Original Order.
Hope that helps.
Thanks,
Anil -
PO with Total Price amount calculated is incorrect at the time of printing.
Hi Experts,
I have one PO with Total Price amount calculated is incorrect at the time of printing.
When my user took the first print out the PO shows the incorrect Total amount.
After 10 mins my user taken the printout again,that time it shows the Toatal Price value is correct amount.
How i can analysis this type of BUG..!!!
I am thinking it might be BUG...???
Please advice with you valuable inputs.
Best Regards,
RKHi,
Are you using the standard programm and print form or are you using your own?. Most of the printing issues happens because of own programms. Try with the standard and then you will be able to see why is this happening.
Best Regards,
Arminda Jack -
Hi,
Can some one help me to explain how the tax amount is calculated.
I have a tax procedure assigned to my country. I created a input tax code.
Now i used this tax code while creating a PO i entered the tax code.
How the system determine the base amount for BASB condition type to calculate tax?? Will it take from the PO ??
regards
raghu ram
Edited by: Raghu Ram Thatavarthy on Jun 23, 2009 12:17 PMHi
In the Tax codes, you would have attached the percentage to the account keys, which has the condition types attached to it. In the PO pricing procedure, the basis for calculation of the Tax would be available ie on what value tax needs to be calculated against the condition type. Account key can be seen against the Condition types. and from the tax codes percentages are taken and taxes derived.
Regards,
Lakshmanan Krishnan -
How to use the Calculated attibute in view object
Hi,
I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
After the page gets loaded, there is a search section in the same page at the top.
Here i will have to build the whereclause to the same query and retrieve the values.
i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
SELECT /*+ first_rows(10) */
BatchCntl.FILE_CNTL_ID,
CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
THEN
CASE eeh.TRAN_CODE
WHEN '21' THEN 'C'
WHEN '22' THEN 'C'
WHEN '31' THEN 'C'
WHEN '32' THEN 'C'
WHEN '26' THEN 'D'
WHEN '27' THEN 'D'
WHEN '36' THEN 'D'
WHEN '37' THEN 'D'
ELSE eeh.TRAN_CODE
END
ELSE
CASE Entry.TRAN_CODE
WHEN '21' THEN 'C'
WHEN '22' THEN 'C'
WHEN '31' THEN 'C'
WHEN '32' THEN 'C'
WHEN '26' THEN 'D'
WHEN '27' THEN 'D'
WHEN '36' THEN 'D'
WHEN '37' THEN 'D'
ELSE Entry.TRAN_CODE
END
END AS TRANCODE,
FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
WHERE (BatchCntl.BATCH_TYPE = 'E')
AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
and Entry.fi_rt = eeh.fi_rt (+)
and Entry.entry_id = eeh.entry_id (+)
AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
regards
Raj.Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
public void doSomething(int i, String s) {
}and you exposed this AM custom method using the AM editor.
BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
package com.yourcompany.someapp.services.common;
import oracle.jbo.ApplicationModule;
public interface MyService extends ApplicationModule {
public void doSomething(int i, String s);
}To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
import com.yourcompany.someapp.services.common.MyService;
MyService mySvc = (MyService)yourAM;
mySvc.doSomething(1,"foo"); -
How can i pass calculated value to internal table
Hi
i have to pass calculated value into internal table
below field are coming from database view and i' m passing view data into iznew1
fields of iznew1
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
VGABE LIKE EKBE-VGABE,
EBELP LIKE EKBE-EBELP,
BELNR LIKE EKBE-BELNR,
MATNR LIKE EKPO-MATNR,
TXZ01 LIKE EKPO-TXZ01,
PS_PSP_PNR LIKE EKKN-PS_PSP_PNR,
KOSTL LIKE EKKN-KOSTL,
NAME1 LIKE LFA1-NAME1,
NAME2 LIKE LFA1-NAME2,
WERKS LIKE EKPO-WERKS,
NETWR LIKE EKPO-NETWR,
KNUMV LIKE EKKO-KNUMV,
GJAHR LIKE EKBE-GJAHR,
and now i want to pass
one field ED1 which i has calculated separatly and i want to pass this value into iznew1
but error is coming that iznew1 is a table with out header line has no component like ED1.
so how can i pass calculated value to internal table iznew1,When you declare your internal table , make an addtion occurs 0
eg . data : begin of iznew occurs 0 ,
fields ...
add the field here ed1.
end of iznew.
now when you are calculating the value of ed1,
you can pass the corresponding value of ed1 and modify table iznew.
eg
loop at iznew.
iznew-ed1 = ed1.
modify iznew.
endloop. -
CFM /TR - how system calculate amount based on rate FX 60A
Hi all,
i need to know how system calculates amount based on rate entered upon creating a contract (t-code TX01).
steps input:-
1. header - comp code, product type, trans type
2. partner
3. purchase curr & amount (eg. IDR 8,345,545,500)
4. sale currency only (amount system will auto calculate) USD
5. rate field = 11.553
6. spot rate will auto pick up from rate
7. value date
8. contract date
upon TBB1 no error. posting log as follows:-
FX1000+ : 40 8,345,545,500 IDR bank GL acc
50 8,345,545,500 IDR clearing acc
FX2000- : 40 722370.42 USD clearing acc
50 722370.42 USD bank GL acc
but upon TPM18 error occurred as follows:
DBT_C009 - GL not maintain in acc symbol 5.3.4
DBT_E039 - no posting spec assigned to update type
DBT_B018 : 40 0 USD, 431,977,511 IDR gain/loss
50 0 USD, 431,977,511 IDR clearing acc
so, after maintained DBT_C009 as follows still error for DBT_E039:
40 0 USD, 38 IDR clearing acc
50 0 USD, 38 IDR P&L gl acc
what i don't understand is how system calculate and get DBT_C009 & DBTE039.
what is the function of TPM18?
thanks.Hello Prarnod,
I have done the first node only for actuals that come from the integration to the internal order.
I have tried setting up 2 and 3 even though the 3rd one does not make any sense to me
Thanks,
Paul -
How to do the calculations with currency fields in table control?
Hi everybody,
Can anyone tell me how to do the calculations (arithmetical) with the currency fields which have been assigned for a table control fields? Actually they should be fetched from the database table and need to do some calculations and after that the same should get updated at the database level.
Here, i am getting the short dump after doing the calculations and trying to display at the table control field itself.....
Can anyone help me in this issue........
Thank you very much.....in advance,
Somu.Hi,
Thanks to your replies all,
But, even though the sign check box is checked in the SAP domain WRTV7, in my program it is not showing the negative sign at all...
I am keep trying for all the options...
But still it is not working out...
My requirement is after fetching the data from the database i need to do calculations and save back same to the customized table field, for which the domain i have checked the sign and have done it also...
I'd be highly thankful to you, if you can help me out...
Thank you,
Somu. -
What is tuxedo9.1/bin/sql and how to restrict amount of memory it uses?
Hi,
We have AIX 5.3 server running Oracle 10.2 database and Tuxedo, a few days ago the database crashed as
there was no free memory (this was configmed by AIX log).
According to our monitoring (Open View) memory was consumed by two 'sql' processes
(where 'sql' is process name): within one hour each process went from 24,000 to 800,000 memory pages.
I searched the box and found executable named 'sq' in tuxedo9.1/bin:
ls -l tuxedo9.1/bin/sql-r-xr-xr-x 1 abcPadm abcP 73128 Oct 24 2008 tuxedo9.1/bin/sql
Would you be able to tell me what is this 'sql' executable and how to restrict amount
of memory it consumes (other than through ulimit)?
Thanks
SevHi Sev,
As Ian says, the SQL support in Tuxedo where Tuxedo actually provided a relational database resource manager has long been deprecated and certainly hasn't been supported in over 10 years. The Tuxedo sql program in the Tuxedo bin directory is an interactive SQL utility. I seriously doubt that it is the same executable that caused your memory problem. If it is the same executable, there isn't really much Oracle is going to be able to do for you as that component hasn't been supported for years. You would really need to change the application to use a standard supported SQL utility and relational database.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
How do I create calculations in Adobe Pro 9?
I have a table with "quan" and "unit price" and a "total cost" column. I created a text field in the "total cost" field and then went to the calculate tab, selected "value is the" and chose "product" and then selected the 2 items that I wanted to total, "quan" and "unit price". When I close "form editing" and test it out, it doesn't work. I have found many videos that show how to create calculations and I follow them exactly as they say and it still doesn't work. What am I missing?
Thanks!Is you use the first option, "The field is the product of the following fields:" you should see a result. Just make sure the fields you want multiplied or selected.
The following links show how to create calculations in various ways.
How to use basic calculations in PDF forms
How to do (not so simple) form calculations -
How can i make calculation in two file using two parameter
how can i make calculation in two file using two parameter
Solved!
Go to Solution.i am having two differnt file, both file having no and time , i want to make programme that when, number and tiome is same in both file give that index onle in , i am going to attached the file
Attachments:
iisc11-jan2010extract.txt 1253 KB
sp3.xlsx 12 KB -
How is delivery date calculated
How can anyone please explain how delivery date is calculated using forward and backward scheduling
I want to have it broken down into the following steps
for eg for delivery date calculation following dates are used
Material Availabilty Date
Material Staging Date
Pick/pack time
Transportation PLanning date
Loading date
Goods issue date
Transit Date
Delivery Date
Can some one please give me an example and explain wht these dates are
for eg customer needs delivery date on 11/20/2008
how would the system cacluate whether it can meet the delivery date using backward scheduling
and if it doesnt meet how does the system do the forward scheduling
also i am not clear with the following dates
material avaialibilty date
material staging date
transportation date
can some one please explain me all this in detail
Also i have another question at the sales order creation when is shipping point and route determined
coz based on the ATP check only material avaialabilty date is determined and if we have a bacjground job running every 1 hours for atp then immediately when we create a sales order is a route and shipping point determined (just before we save the sales order)
Let me be more clear
Suppose customer representative recevies a order on the phone
he enters sold to party, ship to party ,PO number,delivery date and material number and then hits enter
so at tht time the shipping point and route is determined ?
also when an atp check runs and if the delivery date is not met then the system will propose a new delivery date but if we have a different route configured say for eg overnight so we can meet the delivery date and we want to change this route to overnight what must we do?
should we change the shipping condition in the header?
I am not very sure about the process can you please also explain me this in detail?
ThanksHi there,
When a sales order is logged & the user enters the requested delivery date, system 1st does the backward scheduling date. Pla note that the factory calender mentioned in the shipping point & route plays a crutial role in defining the working days & confirmed delivery date.
For eg: Customer has raised an order on 11/15 & requests delivery on 11/20/2008.
the following times are important in delivery scheduling.
Transit time: maintained in route
Loading time maintained in the shipping point
Transportation planing time maintained in the transportation planning point.
pick pack time maintained in the shipping point.
Material availability time maintained in MM02 --> MRP screens. This is the time that the material can be manufactured (for inhouse producted items) or external processing time (for externallly procured materials like TAS items).
From the requested delivery date 11/20 system does the backward scheduling & determines the following dates:
Goods issue date, loading date, pick pack date, transportation planning date & material availability date.
Time between:
goods issue date - reqested delivery date: transit time
Goods issue date - loading date: loading time
transportation planning date - pick pack date: picking pack time
Material availability date - transportation date: transportation planning time.
Consider that the factory calender has all days of the week as working dates (to make it simple to explain). Also transit time is 3 days, loading time is 1 day,pick pack time is 1 day, material availability time is 3 days.
From 11/20 ussing backward scheduling system determines the following dates:
Goods issue date: 11/17
Loading date: 11/16
Pick pack date: 11/15
System will check if material is available on the 11/15 to start pick / pack. If it is available then system will confirm the reqested delivery date. Else it will check when the material is available. For eg basing on the MRP settings mnaterial is available only on 11/18. So from 18th system does forward scheduling & redetermines all the dates. So pick / pack date is 11/18. Loading date is 11/19, goods issue date is 11/20 & possible delivery date is 11/23. So system will confirm the delivery date on 11/23. This is when complete delivery is required. If partial delivery is allowed, then system will check how much quantity is available on 11/15. Accordingly it will give 2 delivery dates.
In the above example include teh factory calender which will have 5 day week with Fri & Sat as holidays. Accordingly dates will change.
Here replenishment lead time also plays an imp role. Pls refer http://help.sap.com/erp2005_ehp_03/helpdata/EN/6b/2785347860ea35e10000009b38f83b/frameset.htm for further information
Regards,
Sivanand -
How to populate the calculated value into screen field.
I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
The Calling screen: SAPLIQS0
Screen Number: 7790
Screen Area :USER0001
Called Screen: SAPLXQQM
Screen Number: 0101
I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
How to populate the calculated values in Custom screen?
Where we wrote the code to populate the calculated values in custom screen?
You have any idea please guide me
Thanks & Regards,
SamantulaAs your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)
-
How to convert amount which is in text to numeric..
Hi all,
Can anyone tell me how to convert amount which is in text to numeric..
i am having the value as ' three hundred '
it has to be converted to numeric as 300.
ofcourse its surprising ...but required
Any help will be greatful.
rgds,
rajhi Ravi,
Check out <b>PSSV_TEXT_INTO_FIELD_CURRENCY</b> FM
Regards,
Santosh
Maybe you are looking for
-
Calling Customer code in java application
Hi, in my java application running on WAS 6.40 I want to call some customer code. Basically I create a data structure (DOM XML tree) and want to pass this to customer code to be able to modify it as needed. My idea would be to define an interface whi
-
How to check perl version?
Hi all, I need to apply Opatch and I need to check perl version. Wats the script to check perl version??
-
When I try to select some pictures in iPhoto and send them via email, it asks for the recipients, but then can't seem to cooperate with Mail. It asked for a password for my pop account, which I don't remember. For my gmail account it did not ask fo
-
here are my most recent crash reports: Date Submitted bp-da1998e7-6252-40a4-8638-6809a2150324 3/24/15 6:29 PM 619A9D8B-AD87-4301-B257-DDB17193476F 3/24/15 6:07 PM AED1E921-0AF6-4424-A50F-EFA694A5746B 3/24/15 5:42 PM bp-d502dd39-9eac-4b8e-a02e-8ffbb21
-
Why are two different Z10's on such different update schedules?
My wife and I both have Z10's. I've had 2 or 3 Software Release updates in the time that she's had none. The only difference between the two Z10's is that I bought mine from Blackberry store, while hers was bought through her service provider (Wind M