Table for Inventory Status for Serialized materials
Hello,
Can anyone please provide the table name for finding out inventory status (i.e. unrestricted, Quality Inspection, Blocked) for serial numbers. I am trying to find out, in which inventory status does a particular serial# belonging to a particular material# is in?
Hello Azz:
Regarding the serial number status, you have to check the combination of three different tables:
EQUI - Equipment master data. In this table make note of the field 'Object number' (OBJNR), which is the primary key for:
JEST - Individual Object Status. This table contains the technical expression of the status in field 'Object status' (STAT), which is the primary key for:
TJ02 - System status. In this table you can find the texts for the system status in the fields TXT04 and TXT30.
Then, here you have some other tables which you might also need:
EQBS - Serial Number Stock Segment.
SER01 - Document Header for Serial Numbers for Delivery.
SER02 - Document Header for Serial Nos for Maint.Contract (SD Order).
SER03 - Document Header for Serial Numbers for Goods Movements.
SER04 - Document Header for Serial Numbers for Inspection Lot.
SER05 - Document Header for Serial Numbers for PP Order.
SER06 - Document Header for Serial Numbers for Handling Unit-Content.
SER07 - Document Header for Serial Numbers in Physical Inventory.
SER08 - Document Header for Purchase Order Item Serial Numbers.
I hope this helps!
Esther.
Similar Messages
-
Report for Inventory Status for Serialized Materials
I am trying to generate a report which would display the material #, all serial #s related to that material and the stock type for each of these serial#s. I currently following this approach, I will fetch all the material number from MARC for a particular plant, then for each MATNR, will check for EQUNR and SERNR in table EQUI. Then for each EQUNR will then check stock type in table EQBS. I believe each EQUNR is associated with one and only one SERNR (AM I CORRECT?). I will then display the MATNR, SERNR and LBBSA on the report. Can somebody tell me if the approach is correct? Just wanted your opinion.
Also I have another issue. Whenever I try to find the stock type for a particular EQUNR in table EQBS, it gives a message saying that no data exists for this EQUNR in this table. I wanted to know what could be the possible reasons for this. I am currently investigating on the following reasons, 1. I think the material is flagged for deletion so that all the EQUNRs and SERNRs associated with that material will be deleted. However, I dont know how to see all the material associated with a particular EQUNR? Another reason I think is that that EQUNR, or that SERNR does not have any quantity in SAP so no stock type. I could be wrong, but still searching. Can you think of something which could cause this problem (i.e. the message saying that no data exists for this EQUNR in table EQBS?)
Thank you for your help.Hello Azz,
Have you tried transaction code IQ09 report? I this this will meet your requirement to some extent.
Regards
Arif Mansuri -
Table for system status for an order
Hi Gurus,
we are displaying a report in which list of orders we are displaying in that system status also we need to dispaly for that the logic we have used is take OBJNR from AUFK by passing AUFNR and get all the active status for that AUFNR by passing AUFNR in to JEST by setting the inactive status is equal to space and then by comparing those system status with table TJ02 and we are taking the system status codes from that table. But my requirement is to display the user status in the order how we will get in order screen? In JCDS table am getting the entries based on date and time but unwanted status also it is showing. tell me is there any way to get the exact order how we will get in the order screen.
Thanks in advance.
Regards
SatishHi,
Its client requirement. we need to show list of orders in a alv report for a particular selection. There for each and every order we are displaying the system status but it is not coming in proper sequence as compared with the order screen system status.
Please do the needful.
Regards
satish -
Inventory status for a date in the PAST with BATCHES with VALUE
Hi,
How can I get a status REPORT of all inventory as on a date in the PAST with BATCH numbers and VALUE?
The following ready reports do not solve my problem:
1. Inventory Status: This gives CURRENT date inventory QUANTITY only.
2. Inventory in Warehouse Report: This gives CURRENT date only, no BATCHES.
3. Inventory Audit Report: Doe not give BATCH numbers and ignores qty without transactions.
4. Inventory Valuation Report: Meant for "what-if" only.
5. Inventory Posting List: Does NOT give BATCH numbers
6. Batch Number Transactions Report: Doe NOT give VALUE.
I suppose an SQL will be required for this requirement?
Thanks,
Ajay AudichHi Rozario,
Thanks for the pointer. Could you or anyone of the gurus out there have a code for doing this which will achieve this?
Thanks,
Ajay
Edited by: Rui Pereira on Dec 9, 2008 5:08 PM -
Query for Inventory Activity for whse & dates
I am using the query below to report Inventory Activity by Whse for a selected date range. Can anyone please advise on how to add a column for Inventory Unit of Measure (OITM.InvntryUom) to this query? This would make the report more useful. Even more useful would be to also integrate batch numbers into this same query. Would this be possible also?
The columns returned by this query currently are: Whse, ItemCode, ItemName, OpeningBalance, InQty, OutQty, and EndingBal.
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Whse nvarchar(10)
Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
Set @Whse = (Select Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]')
Select
@Whse as 'Warehouse',
a.Itemcode,
max(a.Dscription) as [Item Name],
sum(a.[Opening Balance]) as [Opening Balance],
sum(a.[IN]) as [IN],
sum(a.OUT) as OUT,
((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing
from(
Select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,
(sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance],
0 as [IN],
0 as OUT
From dbo.OINM N1
Where
N1.DocDate < @FromDate
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,
0 as [Opening Balance],
sum(N1.inqty) as [IN],
0 as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
N1.Inqty >0
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,
0 as [Opening Balance],
0 as [IN],
sum(N1.outqty) as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
N1.OutQty > 0
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
where
a.ItemCode=I1.ItemCode
Group By
a.Itemcode
Having sum(a.[Opening Balance]) + sum(a.[IN]) + sum(a.OUT) > 0
Order By a.ItemcodeTry this one:
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Whse nvarchar(10)
Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
Set @Whse = (Select Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]')
Select
@Whse as 'Warehouse',
a.Itemcode,
max(a.Dscription) as ItemName,
sum(a.OpeningBalance) as OpeningBalance,
sum(a.INq) as 'IN',
sum(a.OUT) as OUT,
((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing
,(Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
from(
Select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,
(sum(N1.inqty)-sum(n1.outqty)) as OpeningBalance,
0 as INq,
0 as OUT
From dbo.OINM N1
Where
N1.DocDate < @FromDate
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,
0 as OpeningBalance,
sum(N1.inqty) ,
0 as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
N1.Inqty >0
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription
Union All
select
N1.Warehouse,
N1.Itemcode,
N1.Dscription,
0 as OpeningBalance,
0 ,
sum(N1.outqty) as OUT
From dbo.OINM N1
Where
N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
N1.OutQty > 0
and N1.Warehouse = @Whse
Group By
N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
where
a.ItemCode=I1.ItemCode
Group By
a.Itemcode
Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0
Order By a.Itemcode -
Inserting Revision for Inventory Items for just one org
Hi,
When I inserted inventory items using API , I got a rev 000 by default. I need to add another revision (001) for all items for one of the organizations. Can you please tell me how to insert revision.
I am using Oracle 11i
Thanks
AaliRevision is controlled at the org level. So all you need to insert records in the mtl_item_revisions_interface and launch the "Import Items" program.
See http://techoracleapps.blogspot.com/2010/03/item-revision.html for sample code.
Hope this helps,
Sandeep Gandhi -
Which table contains the status for WBS elemnts
Hi Experts ,
Could some one provide information regarding :-
While we check WBS element in t-code :CJ03 for every WBS there are some status fields indicating REL / PLN etc.
At the table level i m unable to find this status field.
Aldready Checked in master data table PRPS and PROJ also PRHI but it doesnot exsist in any of them.
Is this populated though some other functonality or its stored in some database table : corresponding to WBS elements
Any help is beneficial
P.S : The answer to the above was not found in any exsusting thread here . So before Locking the thread please do provide the reason and tehn lock
Thanks
Kyliewell thanks for your reply ,
But , the field PSPNR of PROJ when applied to POSID of PRPS it provides the detail about one WBS Element only
whereas there can be multiple WBS element for a single project definition .
On the other hand , if the third party system needs to WBS elemnts master data then its required to send all the available created WBS elements .
As per my analysis there cannot be a WBS creation in Project System without a Project Definition.
So even if we donot check teh exsistence of teh project definition associated with WBS then also the data should be fine. What do you suggest on this ?
Since i dont find an appropriate field to provide Project Definition number in table PRPS or which field in PRPS can relate to PROJ ?
Because a project can have multipleWBS elements assigned (can you approve this ?)
Eg :
In CJ03 : Project Definition = M.9995 on checking the WBS assigned follwing are the WBS elements
WBS :- M.9995.1
M.9995.2
Now which field in PRPS can enlist me all theWBS for a projcet : Suppose the Project :M.9995then i need all the WBS associated at the table level . I m asking this question since i dont think there is such a field . As PRPS-PoSID = PROJ-PSPID only this relation exsists.
Please verify the above understanding , it will be very beneficial as a knowledge of PS . Could somebody suggest on the above assumption
Thnaks
Kylietisha
Edited by: kylietisha on Sep 19, 2010 7:18 AM -
Opening stock for inventory cube for april 2011
Hi all,
I have loaded the issues and reciepts (material movements from 2li_03_bx) and it is working fine.
How to obtain the opening balance for 04.2011
I can see there is on key figure 0valstkvalue which is non cumulative key figure which stores the last value.
if use the key figure and use an offset based upon the calendar year month i will obtain the closing balance of 03.2011 which is the opening balance of 04.2011.
but then last month 03.2011 only contains issues and receipts and it doesnt contain the opening balance
i will given an example
opening balance 04.2011 ( to be obtained)
issues : 120
receipts : 130
closing without opening is 10
month of 03.2011
issues : 150
receipts : 200
closing is 50 without opening
if i use the ovalstk value key figure i am getting only 50 as closing balance which is wrong as per the user
can you pls advise how to get the correct opening balance for 04.2011
thanksHi murali,
My earlier month thats is 03.2011
will contain only
issues and reciepts isnt it . and it doesnt contain opening balance isnt it???
so only issues - receipts will give the closing balance
for eg 03.2011
issues = 100
receipts = 120
closing balance = 20 but the users data is 40 is the closing balance since opening balance is 20 for 03.2011
Can you pls let me know how to handle it geting closing balance 20 plus adding the opening balance of 03.2011 too
which gives 40 as closing balance for 03.2011
thanks -
Looking for a Status for Bug 12586745 - CREATE BOOKMARK LINK IGNORES REPORT
Back in May we had opened an SR with Oracle, and
they assigned our SR to Bug 12586745 - CREATE BOOKMARK LINK IGNORES REPORT PROMPTS
Where can I find more information on this BUG and possible solutions to it
Please let me know where can I fidn this information
Thank ouI don't understand what you want. Do you want a link that will download a Dashboard to Excel? Why do you want to replace the "Create Bookmark..." link? What's that got to do with your requirement?
-
Inventory Ageing for Batch item
Hi,
Please let me know if any one has query for inventory ageing for Batch management item.
regards
Suresh SUse following query:
SELECT T0.WhsCode, T0.ItemCode, T0.ItemName, T0.BatchNum, T0.CreateDate,
DateDiff(dd, T0.CreateDate, GetDate()) As Days, T0.Quantity,
case when (datediff(dd, createdate, getdate())<=30) then 'Upto 30 Days'
when (datediff(dd, createdate, getdate())>30 and datediff(dd, createdate, getdate())<=60) then '31 to 60 Days'
when (datediff(dd, createdate, getdate())>60 and datediff(dd, createdate, getdate())<=90) then '61 to 90 Days'
else 'More than 90 Days'
end as days
FROM OIBT T0
WHERE T0.Quantity > 0
ORDER BY T0.WhsCode, T0.ItemCode, T0.CreateDate
Edited by: Rahul Jain on Jan 30, 2009 10:28 AM -
Gurua,
I need see the history of physical inventory status for all bins.Is it possible?Hi,
You can use table LINK to check. Enter SE16 an populate your LINK table.
Thanks
Silas
Edited by: Silas Ngcobo on Mar 3, 2011 12:28 PM -
Automatic trigger of the information for the approval for maintenance
Hai all,
I am maintaining one equipment which needs the approval for the maintenance based on the hierarchy (From bottom level to the top level). Also it is required the information about the status of the equipment whenever it is going for approval at each level.Once the concerned person is approved at his level, the mail should trigger to the next level person sothat he would come to know the updated status of the equipment to enable further approval.
1.Is it possible to map in PM as a sign of approval for maintenance in equipment master or by any method ?
2.Is it possible to trigger the mail automatically once the concerned incharge approved his part ?
Plz reply,
Regards,
Suresh babu.hi suresh,
Plz find the mentioned user status for order approval , admin,financial approval before release....se wether it mite help you.....
The same was posted for one of the previous thread...
1.statno status text lowrange higer range
1 PFA Pendi Apprv 1 3
2 ADMA Adm apprv 2 3
3 FINA Finan apprv 3 3
now ur object type;- is order
for PFA:- Select this is intial status
for ADMA;- Select business transaction ;-release mentione forbidden button,create authorization key1 and give it here for this status
for FINA:- Select business transaction:- releasemention allowed buttoncreate authorization key2 and give it here for this status
2. Assign this key in authorisation profile and this is mentioned in role and for this role user is assigned.Take basis help from here
3. Now it will work in this way ;-
a.)when ur order is created ur intial user status is PFA,
b.)after saving , it goes to admin dept , for admin approval,user has to change the user status manually-here system checks wether the user is authorised to perform this function via key.this user cannot release the order
c).then order is checked financally and user status is changed manually to FINA,and once order gets this status order can be released by this useras mentioned in business transaction
Automatic Mail is possible through work flow...
regards
pushpa -
Error in posting Inventory documents for a serialized material
hi.,
Can someone update me the reason for:
1. Error in posting inventory documents for a serialized material
What are the steps to be followed during the
1. Creation of Serialized material
2. Creating a Purchase document for a serialized material
3. Generating a G/R for a serialized material.
4. Generating an inventory document for a serialized material.
Any update is much appreciated.
Tx.
MaheshHello Mahesh,
Let me try to answer your queries.
<b>1. Generally, how does the flow of Cycle counting go w.r.t to the Indicators A.B.C and D which has been configured in OMCO.
Would that be as per the Consumption/usage of the materials?</b>
The following link will help to understand the cycle count process
http://help.sap.com/saphelp_46c/helpdata/en/4d/2b8e3d43ad11d189410000e829fbbd/frameset.htm
<b>2. How are the indicators of A,B,C,D to be set up for the other materials in the particular plant which have not been fixed as CC.</b>
If you run the MIBC (Set ABC indicator) report, it will automatically set the ABC indicator based on your selection parameter.
<b>3. How does the system take up the inventory count for materials that have not been flagged as CC Fixed.</b>
Cycle counting inventory will be carried out only for the material with ABC indicator for cycle count, if you exclude the material from MIBC report or manual ABC setting then that material will not be considered under cycle count when you execute MICN report to create cycle count inventory doc.
<b>4. How does the sytem take up the inventory count for materials for materials which have been flagged as Fixed.</b>
Material with CC fix indicator means when MIBC report will not change CC indicator for that material with fix indicator, so when you run MICN report at that time system will take last inventory date from MARD table for that material and calculate the next due date based on ABC indicator in material.
Hope this helps.
Regards
Arif Mansuri
Frankly speaking I also dont know the process for rewarding the points, I put only one question so far but with no reply, so never got a chance to assign rewards.
But there is a way always, this link will help you..
https://www.sdn.sap.com/irj/sdn/crphelp#posted -
How to get available quantity in Inventory levels for all materials
Hi..All
I am Abap Developer and i have a Requirement that to Print a report that Displays " Inventory levels (available quantity) for all materials"
1) What tables can i use to retrive the data to get the Inventory levels (available quantity) for all materials.
2).What are the fields can used in that tables that use ful for end user.
Thank you,
Madhu .
Edited by: madhubabu rao on Oct 15, 2008 9:10 AMHi,
I'm not sure what you mean when you are speaking about inventory levels and available quantity.
I mean that you may have stock of 100 pcs of a certain material but from an open PrdOrd can come a reservation for this component (e.g. 20 pcs) that reduces this the available quantity (to 80 pcs).
If you want only the stock levels, you don't have to write any ABAP code, since MB52 report is designed for this purpose.
If you want to know the available stock (considering requirements (PIR, DepReq, SO), and stock-like MRP elements (PldOrd, PurReq, PrdOrd, PO, etc)) you should check report MD04 and examine how it works, which tables it uses (ST01).
http://iorboaz.blogspot.com/2005/04/get-md04-data.html
Regards,
Csaba
Edited by: Csaba Szommer on Oct 15, 2008 9:34 AM
Edited by: Csaba Szommer on Oct 15, 2008 9:34 AM -
What is table field name for order status report of rate per unit and bal
hi i want to make FS for order status report i almost get all table and field but i don't get only two field rate per unit and balance value table field didn't get please help me searching in field and table
i want to develop my status reportHi,
Check tables VBAK and VBAP wherein you will get all header and item details.
VBUK and VBUP for header and line item statuses.
KONV would give you rates/pricing details for each condition type determines in the sales order.
VBAK-KNUMV = KONV-KNUMV is how you relate both of them.
Hope that helps.
Regards,
Amit
Maybe you are looking for
-
Hello, I am trying to incorporate the busines package "Collaboration By WebEx". Through the Iview "WebEx Meetings" (com.sapportals.pct.col.webexmeetings.default) when I try "Schedule Meeting" link, I get below error. Error in executing a process for
-
Please help me , my iPad is writing by itself , changing applications , I can't control it . What I'm supposed to do ???? Thanks
-
Qualified list item based on two columns
- fact table inludes following columns key1 key2 measure1 In segment designer, update counts: the query must counts two columns "key1 and key2" that key1 and key2 together must be distinct.
-
Placing variables from db table in div vs form input fields
Hello, Because of all the help I've received on this forum, I'm getting comfortable with reading data from db tables and writing back to them. Recently I've needed to create an "update" of a form (no refresh) where 1 - the data are read in from a ta
-
ASA5510 VPN authenticate AD group members
Hi Forum, is there a way to configure an AAA server for Active Directory so that just users that are a member of one certain Active Directory security group get authenticated? I don't really know what attributes to map or if this is even possible. I