Table that provide Tax value & Freight Value
Hi,
I wanted to know that in which table does contain the details of the Tax and Freight value paid against the purchase order.
regards
Umakanth.
Hi
If the tax value has been maintained directly in the PO document as part of pricing condition, then check in table KONV.
from EKKO table, you can get condition number EKKO-KNUMV, pass this in KONV, You will get conditios and values.
hope it helps.
regards
Srinivas
Similar Messages
-
Two tables that provide detail information about data source?
what are the tables that provide information about the datasource?
How to prevent duplicate records in at the data target level?ROOSOURCE for the details of the datasource...
How to avoid duplicate? --> Dont load same data twice..If delta is supported by the datasource then do a psuedo delta, or delete pervious request with same selections when you do a full load...
Plz elaborate on your question.. -
Create a new column in a table that compares the value of one column with its previous value
The DDL:
DECLARE
@T TABLE
IDNO
int,
name
varchar(40),
[Date]
datetime2,
Price1
float,
Price2
float
DECLARE
@K TABLE
IDNO
int,
name
varchar(40),
[Date]
datetime2,
Price1
float,
Price2
float
INSERT
INTO @T
VALUES(22,'C_V_Harris','2014-01-02 10:23:49.0000000',
23.335,
23.347)
INSERT
INTO @T
VALUES(21,'C_V_Harris','2014-01-02 10:05:13.0000000',
23.357,
23.369)
INSERT
INTO @T
VALUES(20,'C_V_Harris','2014-01-02 09:56:15.0000000',
23.364,
23.377)
INSERT
INTO @T
VALUES(19,'C_V_Harris','2014-01-02 09:45:26.0000000',
23.351,
23.367)
INSERT
INTO @T
VALUES(18,'C_V_Harris','2014-01-02 09:43:20.0000000',
23.380,
23.396)
INSERT
INTO @T
VALUES(17,'C_V_Harris','2014-01-02 09:34:28.0000000',
23.455,
23.468)
INSERT
INTO @T
VALUES(16,'C_V_Harris','2014-01-02 09:30:37.0000000',
23.474,
23.486)
INSERT
INTO @T
VALUES(15,'C_V_Harris','2014-01-02 09:18:12.0000000',
23.419,
23.431)
INSERT
INTO @T
VALUES(14,'C_V_Harris','2014-01-02 09:16:06.0000000',
23.360,
23.374)
INSERT
INTO @K
SELECT
ROW_NUMBER()
OVER (ORDER
by IDNO)
AS RN,*
FROM
@T
SELECT
* FROM
@K
--not working:
SELECT
a.RN,a.Price2
FROM
@K a
INNER
JOIN @K
b
ON
a.RN=b.RN-1
WHERE
a.Price2>b.Price2
I need to create a view with a column (say 'Comp' below) that compares the value of each row in Price2 with the previous Price2 row, and it is greater then +1, the
same 0, and less -1.
The processed table should be:
IDNO
name
Date
Price1
Price2
Comp
22
C_V_Harris
1/2/2014 10:23:49
23.335
23.347
0
21
C_V_Harris
1/2/2014 10:05:13
23.357
23.369
1
20
C_V_Harris
1/2/2014 9:56:15
23.364
23.377
1
19
C_V_Harris
1/2/2014 9:45:26
23.351
23.367
-1
18
C_V_Harris
1/2/2014 9:43:20
23.38
23.396
1
17
C_V_Harris
1/2/2014 9:34:28
23.455
23.468
1
16
C_V_Harris
1/2/2014 9:30:37
23.474
23.486
1
15
C_V_Harris
1/2/2014 9:18:12
23.419
23.431
-1
14
C_V_Harris
1/2/2014 9:16:06
23.36
23.374
-1
How can I structure the statement to get (the most recent - order by date ) result for Comp?Satheesh Variath, I just had to make some corrections from your script to get the correct answer:
CREATE
VIEW vw_Comp
AS
SELECT
TOP 1 t.IDNO,t.name,t.[Date],t.Price1,t.Price2,
CASE
WHEN t.Price2
> LAG(Price2,1)
OVER (PARTITION
BY name
ORDER BY IDNO)
THEN 1
WHEN t.Price2
< LAG(Price2,1)
OVER (PARTITION
BY name
ORDER BY IDNo)
THEN -1
ELSE 0
END
AS Comp
FROM
@T t
ORDER
BY DATE
DESC
The adjustments: the selection of the most recent comparison (Top 1) and the use of the function LAG (instead of LEAD) to get the previous value of the column. -
PO structures or tables that hold the values at Routine level
hi
can any one tell me what are all the MM structures or tables that holds value of mode of transport (OIC_MOT) and Order acknowledgment requirement (KZABS) values at VOFM routine level.
if we caunt find these values at the routine level through structures, is there any other method to get those values at the routine level
vamsihi Mav,
it's normal to have + and - records in infocube, the way infocube work is always ADD/INSERT records, any changes to data will be - first then insert new value, e.g
Data come from transaction
Date Customer Order Qty
12.12.2005 A 100
Data go to infocube
Date Customer Order Qty
12.12.2005 A 100
Then transaction change :
Date Customer Order Qty
12.12.2005 A 50
so in infocube will have 3 records :
12.12.2005 A 100
12.12.2005 A -100
12.12.2005 A 50
-- total = 50 (correct)
so its' normal to have - in infocube
you can eliminate these records by do infocube compression.
hope this helps. -
Update a column in each row in my table that have similar values in another column
Hi All,
I have a table in my DB.
This table has values like this:
Name
Key
a
1
a
2
a
3
a
2
b
4
b
5
b
5
I need to change the name to a different name for keys that are different. For same keys, the name must be same.
Here I need to rename the 'a' to different name, but make sure that the 'a' that have 2 as the key have same name .
Similarly, i've to rename the 'b' to different name , but make sure that the 'b' that have 5 as the key have the same name.
How can I achieve this in sql? I dont know how to use cursor and complex queries, as i'm new to SQL.
Please help
Thanks,
Vid
Vidya SuryanarayanaOk. The output should be like this:
Note here, that the names with same keys have same names.
name
key
a1
1
a2
2
a3
3
a2
2
b1
4
b2
5
b2
5
Thanks,
Vid
Vidya Suryanarayana -
UIX LOV: How to Design an LOV that provides lookup value to multiple field
Hi,
I've have an input form which has following fields.
1) Task Name1: (input lookup field. invokes LookupTask.uix)
2) Task Name2: (input lookup field. invokes LookupTask.uix)
3) Task Name3: (input lookup field. invokes LookupTask.uix)
4) TaskId1 (hidden form field. tied to field Task Name1)
5) TaskId2 (hidden form field. tied to field Task Name2)
6) TaskId3 (hidden form field. tied to field Task Name3)
the way I intend to have the LOV work is as follows:
The three Task Name input fields are populated by using the same LOV page LookupTask.uix. The user will select a task name from the LOV page.
When the user invokes the LoV against the TaskName1 field, and selects a value from the LoV and closes it, then it should transfer the task name from the LoV to the Task Name1 field and the corresponding task id to TaskId1 hidden field on the input page. If the LoV was invoked from the TaskName2 field, then the lookup values should be transferred to the TaskName2 and TaskId2 fields correspondingly.
I am able to make it work if there is just one pair of field, i.e. TaskName1 and TaskId1. I'm not able to make it work with multiple fields served by the LOV window.
any suggestions on making this work will be greatly appreciated.
thanks
Lalit AgarwalLalit -
Have you tried setting the onLovSelect attribute on the lovInput to a javascript callback function that populates the hidden form fields?
Matt Lee
UIX Team -
Tables that provide information on infoproviders
HI ,
I need a table in BW/BI system which must have details of the infoproviders
1) How often they are loaded ?
2) whether been used in reports?
It is OK if the information is spread across multiple tables
ThanksHi
For Infoobjects
InfoObject
RSDIOBJ Directory of all InfoObjects
RSDIOBJT Texts of InfoObjects
RSDIOBJ Directory of all InfoObjects
RSDIOBJT Texts of InfoObjects
RSDATRNAV Navigation Attributes
RSDATRNAVT Navigation Attributes
RSDBCHATR Master Data Attributes
RSDCHABAS Basic Characteristics (for Characteristics,Time Characteristics, and Units)
RSDCHA
Characteristics Catalog
RSDDPA
Data Package Characteristic
RSDIOBJCMP
Dependencies of InfoObjects
RSKYF
Key Figures
RSDTIM
Time Characteristics
RSDUNI
Units
For InfoCube
RSDCUBE Directory of InfoCubes
RSDCUBET Texts on InfoCubes
RSDCUBEIOBJ Objects per InfoCube (where-used list)
RSDDIME Directory of Dimensions
RSDDIMET Texts on Dimensions
RSDDIMEIOBJ InfoObjects for each Dimension (Where-Used List)
RSDCUBEMULTI InfoCubes involved in a MultiCube
RSDICMULTIIOBJ MultiProvider: Selection/Identification of InfoObjects
RSDICHAPRO Characteristic Properties Specific to an InfoCube
RSDIKYFPRO Flag Properties Specific to an InfoCube
RSDICVALIOBJ InfoObjects of the Stock Validity Table for the InfoCube
ODS Object
RSDODSO Directory of all ODS Objects
RSDODSOT Texts of all ODS Objects
RSDODSOIOBJ InfoObjects of ODS Objects ODSOATRNAV Navigation Attributes for ODS Object
RSDODSOTABL Directory of all ODS Object Tables
Hope this helps
Regard
Shilpa -
Conditions in Purchase Order - No scroll bar/Sales Tax value not in mmr
Hello,
I am stuck in a weird problem where I have created a Condition Calculation Schema, assigned it to Schema group and assigned that schema to vendor, but when i open my condition in the PO, it does not give me scroll bar i.e. I have calculation Schema with around 10+ conditions, but when I try to put all the conditions in PO at one time, the scroll bar doesnot come up and without it, I cannot view all my conditions in the PO. Its saving the conditions though as seen in report, but cannot display it in PO without the scroll bar. Any ideas?
Another assignment is that sales tax value and % should not increase the mmr value at time of GR, but when I do GR its adding the sales tax value to mmr value, my requirement is just Gross price be added to mmr, not sales tax value/%. I tried the Statistical checks in Calculation Schema, but to no vail, at GR the sales tax value is being added to the mmr record. Any ideas?
Lots of points awarded for answer/answers.
Any clue will help
Thank you/Afshad
Edited by: Afshad Irani on Jan 14, 2009 10:27 AM
Edited by: Afshad Irani on Jan 14, 2009 2:32 PM
Edited by: Afshad Irani on Jan 15, 2009 6:19 AMQ Another assignment is that sales tax value and % should not increase the mmr value at time of GR.
Ans:
Dear Afshad,
Reference to your question, you need to do few settings in your Condition Type and Pricing Schema, if you need Sales Tax value & % not to include in your Material value.
1 - In SPRO, Check that in your condition type, Control data 2 tab, Accruals check box should not be selected.
2 - In your Calculation Schema, against your condition types for Sales Tax % and Sales Tax Value, select the check box for Manual & Statistics.
3 - Also in your Calculation Schema, you should not select any account key in AccKey (Account Key) and in Accruals colomns.
If any one of these setting is not defined, the valuation price for your material will be increased due to the fact that your settings for Condition type and Calculation Schema is allowing the same to hit the value of your material directly.
Hope it works for you.
Regards
Jibran -
Table that shows variants?
Dear GURUS
I need to know if there is a table that holds the variants which are used in reports.
Best Regards
SP> VARID
> VARIT
> VARI <- this is the table that holds variant values,
> but unfortunately they are stored in a cluster and
> hence not easy to read.
Could you please open a little bit. about the table VARI / i need to finds variant's values. how to read that table?
thanks -
Table name required to find tax value in each PO items
Hi Guys,
Need table name where the Tax percentage or amount is maintained for each po line items.
I tried in KOMG but it a structure and i cannot able to fetch the values.
Let me know if more details are required for better requirement identification
Regards
palanihi
TAX TABLES
for excise check table J_1IEXCHDR for header
J_1IEXCDTL for item excise
The Table name used to find the Tax Values are
KOMV: Pricing Communications-Condition Record
KONV: Conditions (Transaction Data)
From the above tables you can refer the fields below.
KAWRT
KBETR
Fetch the corresponding records based on the field
KNTYP
regards
kunal -
Table that stores Analysis authorization values
Hi all,
We generated analysis authorizations for users on Profit centers. In RSECADMIN for each user we see an automatic authorization object being assigned with a name like RSR_000234 so on. We can see the values (profit centers) for this object when we double click on it. I would like to create a list of all users and the assigned profit centers. Can you please tell me if a table is available to get this list.
Thanks,
Ram.Chetan,
We are loading authorizations values to 0PROFIT_CTR from ECC and flatfile into the Authorization DSO's and generating authorizations to assing the profit centers to users. I would like to see the profit centers assigned to a user. For example suppose if a user is assigned a particular region. I would like to see all the values of the profit centers assigned to the user from a table rather than going to the hierarchy and getting the list for each region.
The tables that you specified give the userid and the technical name of the authorization(RSR_000234..) but I would like to see the actual values in the authorization.
Hope I am clear. Thank you for your assistance.
Ram. -
Updating a table with a query that return multiple values
Hi,
I'm trying to update a table which contain these fields : ItemID, InventoryID, total amounts
with a query that return these values itemId, inventoryid and total amounts for each items
Mind you, not all the rows in the table need to be updated. only a few.
This what i wrote but doesn't work since the query return multiple values so i can't assign it to journalAmounts.
UPDATE [bmssa].[etshortagetemp]
SET JournalAmounts = (SELECT sum(b.BomQty) FROM [bmssa].[Bom] b
JOIN [bmssa].[SalesLine] sl ON sl.ItemBomId = b.BomId
JOIN [bmssa].[SalesTable] st ON st.SalesId = sl.SalesId
WHERE st.SalesType = 0 AND (st.SalesStatus IN (0,1,8,12,13)) AND st.DataAreaId = 'sdi'
GROUP BY b.itemid, b.inventdimid)
Any advise how to do this task?Remember that link to the documentation posted above that explains exactly how to do this. When you read it which part exactly were you having trouble with?
-
BAPI OR RFC THAT RETURNS THE VALUE TABLE CONTENTS THAT IS SPECIFIED IN DOM
HI ALL,
i have requirement of BAPI or RFC that returns the value table contants(text table) in CRM..
for ex:
if i pass the dataelement or domain or checktable as input parameter,could i get the contents of its text table associated with it....
please if there is way help me on this..
thanks and regards,
goutham,Check these FM
RFC_READ_TABLE
RFC_GET_TABLE_ENTRIES -
Tax value stored table in purchase order
Hi ,
i want to extract tax values of tax code from the Purchase order .
So plz tell me the tables where i can extract the tax values for a particular Purchase order at item level.
Regards
Kishorehi
TAX TABLES
for excise check table J_1IEXCHDR for header
J_1IEXCDTL for item excise
The Table name used to find the Tax Values are
KOMV: Pricing Communications-Condition Record
KONV: Conditions (Transaction Data)
From the above tables you can refer the fields below.
KAWRT
KBETR
Fetch the corresponding records based on the field
KNTYP
regards
kunal -
Hi Experts,
Please give the name of table where PO Tax, condition value is store.
Regards
RajeshHi,
You can get the details in these tables
Table T007S--- Tax codes
Table KOMV -- Condition type & condition value
rgds
Chidanand
Maybe you are looking for
-
Error while installing "The product keycode you entered is not valid"
Get this message while installing CR Server XI English, even though I am entering the Product Activation Number printed on the label attached to the CD sleeve! Any ideas?
-
I am unable to update Creative Cloud to version 1.6.0.393. I am running Windows 7 Professional SP1 and have tried installing in administrator profile. The message returned when attempting to start the update is: Administrator privileges are required
-
Using Cinema display with Win 8 Ultrabook?
Hello, can I use a Cinema HD display with a Lenovo U410 Ultrabook? It has 4 USB ports and 1 HDMI. Running Windows 8. Thanks.
-
hi, i have one doubt, in fi/co in mobile (like bsnl, airtel) will use co-pa for these clients or not?
-
Talk to text micro not on new phone
I have the Iphone 5s and gave my wife the 4s and I do not have the small microphone on the text to talk to text! Where do I get this?