SAP has a table that maintains Stock on Hand for each day
SAP has a table that maintains Stock on Hand for each day
do u know which table is that
as i need to find data on stock on hand
HI Arunraj
if there is any specific time of the day that you want to extract the data, you can copy the data from the order series key figure (assuming that you want to extract the data from the order series keyfigure) to a time series key figure and extract the data from the time series key figure into a cube, etc.
I mention a specific time of the day because the stock situation is likely to change multiple times of the day due to stock movements on account of various reasons. Hence if you can establish a rule or a cut-off time of the stock situation, you can use the above route.
Hope this helps.
Thanks, Sandeep
Similar Messages
-
Table that maintain address type corresponding to value in PA0006
Hi,
I am looking for a table that maintains different address type with description. Can anyone help me?
SunnyHi Sunny
The field in PA0006 is ANSSA which is for address type. But the back end table for values T591A.
If you create any record in PA0006 with the address type 05 mailing address, then you can view the same in pa0006 table under the field ANSSA.
But Here the Adress type is nothing but your subtype.
Regards
Suresh -
I need a query that selects the amount of records for each day in a table.
I need a query that selects the amount of records for each
day in a table.
Eg the result would be:
date 1 14
date 2 3
etc
Any ideas?sorted:
SELECT count([commentID]),convert(varchar, dateAdded, 112)
FROM COMMENTSgroup by convert(varchar, dateAdded,
112) -
Select last value for each day from table
Hi!
I have a table that stores several measures for each day. I need two queries against this table and I am not quite sure how to write them.
The table stores these lines (sample data)
*DateCol1 Value Database*
27.09.2009 12:00:00 100 DB1
27.09.2009 20:00:00 150 DB1
27.09.2009 12:00:00 1000 DB2
27.09.2009 20:00:00 1100 DB2
28.09.2009 12:00:00 200 DB1
28.09.2009 20:00:00 220 DB1
28.09.2009 12:00:00 1500 DB2
28.09.2009 20:00:00 2000 DB2Explanation of data in the sample table:
We measure the size of the data files belonging to each database one or more times each day. The value column shows the size of the database files for each database at a given time (European format for date in DateCol1).
What I need:
Query 1:
The query should return the latest measurement for each day and database. Like this:
*DateCol1 Value Database*
27.09.2009 150 DB1
27.09.2009 1100 DB2
28.09.2009 220 DB1
28.09.2009 2000 DB2Query 2:
The query should return the average measurement for each day and database. Like this:
*DateCol1 Value Database*
27.09.2009 125 DB1
27.09.2009 1050 DB2
28.09.2009 210 DB1
28.09.2009 1750 DB2Could someone please help me to write these two queries?
Please let me know if you need further information.
Edited by: user7066552 on Sep 29, 2009 10:17 AM
Edited by: user7066552 on Sep 29, 2009 10:17 AMFor first query you can use analytic function and solve it.
with t
as
select to_date('27.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss') dt, 100 val, 'DB1' db from dual union all
select to_date('27.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 150, 'DB1' from dual union all
select to_date('27.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss'), 1000, 'DB2' from dual union all
select to_date('27.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 1100, 'DB2' from dual union all
select to_date('28.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss'), 200, 'DB1' from dual union all
select to_date('28.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 220, 'DB1' from dual union all
select to_date('28.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss'), 1500, 'DB2' from dual union all
select to_date('28.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 2000, 'DB2' from dual
select dt, val, db
from (
select row_number() over(partition by trunc(dt), db order by dt) rno,
count(*) over(partition by trunc(dt), db) cnt,
t.*
from t)
where rno = cntFor second you can just group by
with t
as
select to_date('27.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss') dt, 100 val, 'DB1' db from dual union all
select to_date('27.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 150, 'DB1' from dual union all
select to_date('27.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss'), 1000, 'DB2' from dual union all
select to_date('27.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 1100, 'DB2' from dual union all
select to_date('28.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss'), 200, 'DB1' from dual union all
select to_date('28.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 220, 'DB1' from dual union all
select to_date('28.09.2009 12:00:00', 'dd.mm.yyyy hh24:mi:ss'), 1500, 'DB2' from dual union all
select to_date('28.09.2009 20:00:00', 'dd.mm.yyyy hh24:mi:ss'), 2000, 'DB2' from dual
select trunc(dt) dt, avg(val) val, db
from t
group by trunc(dt), db
order by trunc(dt) -
Opening stock of a material for each day for a month
Hi ,
Is it possible to get a opening stock of a material for each day for a month . For Example for the month of Feb From 01/02/2014 to 28/02/2014 i want to see the opening stock for each day .
Thanks .
Message was edited by: Jürgen LIf you give 01.02.2014 to 28.02.2014 in MB5B report, then you will got the opening stock for 01.02.2014 and closing stock for 28.02.2014...
the MB5B report designed like that
It will give you the opening stock for from date and closing stock for end date...
If you want to see the opening stock per each day, then you have to give the date each date in MB5B report...
Like as for opening for 02.02.2014, you have to enter the from date as 02.02.2014..
You can make your own report from copy the existing program RM07MLBD and you can add you additional code...
Make the program output will be for each day... -
Want to create an add-in/webpart that can enable comments for each day in TimeSheet
Hi,
Want to create an add-in/webpart that can enable comments for each day in timesheet.
I need help how can I achieve that programmatically.
Regards,
MeharHi,
I already developed this kind of customization. The system offered the possibility to clic on a cell (Project Center, or My Task, or Timesheet), to input a value to store in a custom field, or in a database.
After clicking, a Popup with different textbox, etc...is displayed: it is possible to put values, comments, or whatever.
The benefits is that with this method, you don't have to redevelop the complete timesheet grid, which would be really complex.
Instead of that, you develop a part of javascript code, which displays a popup containing asp.net code. From the aspx page, you can make what you want: modifying the value of an task/assignment customfield for exemple.
To start, you can search for the Project Server 2010 SDK, Customize Project Center: it would be a good start point.
In case of big difficulty, ask again here, and we could get in touch to give more explanations.
Hope it helps,
Sylvain -
Table that store primary key info of each SAP table
Hi,
I am wondering if anyone can tell me which table in SAP that stores primary key for each SAP tables. I would appreciate if anyone can help me with this.
SunnyHi,
Try this function module.
DDIF_FIELDINFO_GET
Description: Interface to Read Text on Tables or Types
You can try with table DD03L.
If you find my answer sutiable please give me sutiable points.
Regards,
Irfan Hussain -
Table that contains the change date for every cost element
Hi everyone!
Can anyone please help me find a table which contains the change date for every cost element?
Thanks,JessIf you basically want to find out if anyone changed the cost element, you need to use transaction KA05 and enter the cost element and controlling area.
This would actually bring you whatever field was changed and on double clicking give you the actual change and the date on which the change was made.
Problem is this change date is actually the creation date of a change document which is in the table CDHDR.Its not like the change date is on any master tables.
Hope this helps
Deepa -
Which table include duration&data records number for each nodes in PC?
Hi Experts,
Now I am on Process Chains maintenance work, I need daily record a very huge infopackage process chain's each nodes more then 50 infopackage, record something like duration ,data records nubmer for each infopackage. I need check this one by one in process chain, and my question is do you know this infomation record in which table in BW system? if i know it I will write a program to get it in one time.
Thanks in advance!Hi,
You can find the information about the process[as you said nodes] in his tables ,
RSPCPROCESSLOG - Stores complete information about the finished process
RSPCPROCESSINSTANCE - Stores the meta data for the successor process..it also has the runtime
RSPCVARIANT and RSPCVARIANTATTR - the succesor process reacts to the event
Process chain related tables are start with RSPC*.
under Settings ® Maintain Process Types (table RSPROCESSTYPES).
Pls chk this link;
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
Other tables used for Process chains:
http://wiki.sdn.sap.com/wiki/display/BI/ProcessChainTables
Thanks
Hemav
Edited by: hemav on Aug 4, 2010 7:38 AM -
Inserting existing records to table and getting new identity ID for each row
I have an issue that I inherited where I need to insert some data to 12 tables related by FK for about 40 records to an existing database through TSQL, SSIS is not an option..
Essentially the situation is that many weeks ago someone deleted a bunch of data and I cant do a restore of the database as new data has been entered so I need to "reconstruct" the data and reinsert it back. I cant just reinsert the data with the
same Primary keys as they are autogenerated. I restored a backup of the database taken prior to the deletion and have got all of my data I need loaded to temp tables. Now the issue I am running across is how to insert my "Main" table data row by
row and get the new identity and then update the corresponding row to the source temp table so that it can be used for the next 11 tables that need that Foreign Key.How do I loop through the 40 records I am attempting to insert into the "Parent" table though?
You don't. That is, you don't loop.
You do:
MERGE target t
USING source s ON 1 = 0
WHEN NOT MATCH BY TARGET THEN
INSERT (col1, col2, ...)
VALUES(col1, col2, ...)
OUTPUT (t.JobId, s.JobId) INTO @idmap(newid, oldid)
UPDATE source
SET newjobdid = i.newid
FROM source s
JOIN @idmap i ON s.jobid = i.jobid
Erland Sommarskog, SQL Server MVP, [email protected] -
My Windows 8.1 update has been showing "Preparing to install..." for 3 days now. When I click "Stop installation" it says I need to provide administrator permission and doesn't have any way for me to provide this. My account is the administrator
account for my laptop.
I have already seen a similar thread that said to open a command prompt with admin privileges and type "slmgr -skms", but the solution did NOT work. Basically, it said the usage was incorrect and popped up 5 windows of information that I didn't
know how to interpret (yes, I tried to provide the options it wanted, but they were incorrect).
Any advice would be appreciated!Ah! This did the trick! Thanks!
In case anyone else has this problem, on Windows 8.1 I had to open up the Control Panel, then type "troubleshooter" in the search box. I clicked "Troubleshooting" and then found "Fix problems with Windows Update" under the System and Security section. -
BAPI for stock in transit for each plant
Hi,
i am looking a for a bapi which will return stock in transit for that plant.
Regards,
MukundHi,
Try FM
CHECK_S078
CHECK_S084
Hope it helps..
Lokesh
Pls. reward appropriate points
Message was edited by: Lokesh Aggarwal -
so i bough an ipod touch 5th gen from a friend i went to the settings and tried to factory reset it the ipod...so i hit erase ipod then it went dark..then showed the apple sign and a line under it...but thats it it has had that on the screen for 2 days it wont connect to itunes and i did the rebot thing with the power and home button and it still wont do anything i need help please
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
How to make a distribution list that includes all email addresses for each contact?
Is it possible to create a distribution list that allows you to select all possible email addresses for each contact within a group? I am running into the problem that I can only select one email address for each contact, but need multiple. How can this email list be generated using the Contacts app and Mail?
You can't with the way it currently works.
I've never tried, but you might try multiple groups, each with a different email selected.
I think I created an Applescript that would grab every address of every selected person and address an email. It is probably buried in the bowels of these forums. -
After ordering 2 cases from Otterbox directly, and having to send both of them back, I called a Verizon store and had them compare the Otterbox Defender case for the Droid Maxx to the actual phone. They were surprised to note that the hole for the camera on the case (to the left of the speaker) was on the opposite side of the camera on the phone (to the right of the speaker). And, there is no hole for the camera's sensor on the Otterbox case.
Then return it to an Apple Store and complain and if neccessary get your money back
Maybe you are looking for
-
How can I use the Apple remote to view photos on my macbook?
When I try to use the remote, it launches iTunes and will only control iTunes. I would like to use the remote to do other things on my computer!
-
Dark ipod screen seeks bright light
My daughter "washed" our ipod touch and the screen went dark. I dried it out and it works but the screen view is very dark. Is there a solution to bring back the light?
-
Upgraded to Aperture 3.1, taking forever to sync MobileMe galleries
Just upgraded to Aperture 3.1 a couple days ago. After the images in my library were updated, Aperture was taken over by attempts to sync and retrieve MobileMe gallery images. All my MobileMe albums try to update over a DSL line and it's just crawlin
-
How to enable source routing on outgoing packets?
Hi all Perhaps some of you can help me with this. I recently read http://enclaveforensics.com/Blog/files/ - 8d9-5.html about loose source routing, and would like to do the experiment myself in an isolated network dedicated for testing purposes. I kno
-
Re-downloa​ding previously purchased apps
Is there a way to find a list of all previously purchased/downloaded apps to re-download them on the new BB10? I had quite a few apps that I had downloaded and although I'm sure i can find most of them by 'searching', I'm wondering if there's a quick