I need stock report with batch num... anyone help??
item code,
name,
quantity,
batch num,
admission date
Hi Karthick,
Please try below and you can also modify according to your requirement.
SELECT T0.[ItemCode], T0.[ItemName], sum(T0.[Quantity]) Stock , T0.WhsCode , T0.[BatchNum], T0.[ExpDate], T0.[InDate]
FROM OIBT T0 WHERE T0.[WhsCode]= [%0] and T0.[Quantity] >0
GROUP BY T0.[ItemCode], T0.[ItemName], T0.[BatchNum], T0.[ExpDate], T0.WhsCode , T0.[InDate]
Hope this helps
Regards::::
Atul Chakraborty
Similar Messages
-
Stock Report with Batch Number
Hi ,
My Client requires stock report with Batch numbers .required report format is
Item Code,BatchNumber,OpenQty,OpenVal,PurchaseQty,PurchaseVal,SalesQty,SalesVal,ClosQty,CloseVal
I tried using query on wiki for stock report but that query is written in 2007 and Batch tables and OINM table is changes in 8.81.
http://wiki.sdn.sap.com/wiki/display/B1/SAPB1SQLH-INItemInventoryOpeningandClosingStockper+warehouse
can any one help with stock report- batches.
Thanks,
PreetiHI,
use below query as basis and mofiy the fields required. it shows linking in batch and transaction tables:
SELECT distinct T0.ItemCode,T0.ItemName ,T0.DocDate ,T0.DocType ,T0.DocNum,T0.LocCode ,t4.DistNumber as [BatchNumber], T1.Quantity ,T5.CalcPrice as [Price]
FROM [OITL] T0
INNER JOIN [ITL1] T1 ON T1.[LogEntry] = T0.[LogEntry]
INNER JOIN OBTN T4 on T1.MdAbsEntry=T4.AbsEntry
INNER JOIN [OITM] T2 ON T2.[ItemCode] = T0.[ItemCode]
Inner JOin OINM T5 on T0.ItemCode =T5.ItemCode and T0.LocCode = T5.Warehouse and T0.AppDocNum = T5.BASE_REF
Thanks,
Neetu -
Stock Report with batch number and its Charactristc values
Our material are batch managed and Char values are entered at the time of GR. We need to prepare stock report showing batches for the material, their stock and characteristics values.
Like to know what tables we should use to find the char values. I could not find value in table CAWNHi,
For characteristcis link and values use below tables:
Characteristics :
CABN Characteristics ( o.a. batch/vendor)
CABNT Characteristics description
CAWN Characteristics ( o.a. material)
CAWNT Characteristics description
AUSP Characteristic Values
Class types and objects :
TCLAO Several class types for object
TCLA Class types ( vb. lfa1 => v10 en 010)
TCLAT Class type text
TCLT Classifiable objects
TCLC Classification status
Links :
INOB Link between Internal Number and Object
KLAH Class header data
KSSK Allocation Table: Object (vb.matnr) to Class
KSML Characteristics for a class (internal number)
for batch stock 0 use tables ilken MCHB, MCHA etc,
hope this helps
Reg
Dheeraj -
I need a report with the following fields
Hi All,
I need a report with the following fields & G/L "Expenses" only.
1)G/L Code.
2) G/L Name.
3) G/L Balance
& Selection Criteria From Date, To Date , & Location(for me locations is PROFITCENTRE).
Please some body suggest me an SQL Querry to fetch this result.
Thanks in Advance,
S. MobinHi!
Individual G/L means i didn't understand
check this for only Expence Acc
Declare @FromDate Datetime
Declare @ToDate Datetime
Declare @Location nvarchar(20)
set @FromDate = (Select min(S0.RefDate) from jdt1 s0 where s0.Refdate >='[%0]')
set @ToDate = (Select max(S1.RefDate) from jdt1 s1 where s1.Refdate >='[%1]')
set @Location = (Select max(s2.ProfitCode) from jdt1 s2 where s2.ProfitCode = '[%2]')
select
J1.Account,
max(A0.AcctName) as Name,
j1.ProfitCode as Location,
sum(J1.debit-j1.credit) as Balance
From
JDT1 J1,OACT A0
Where
J1.Account=A0.AcctCode and
J1.RefDate >=@FromDate and
J1.RefDate<= @ToDate and
j1.ProfitCode=@Location and
A0.GroupMask = 5
Group By
J1.Account,j1.ProfitCode -
Please help to get onhand stock report with last purchase and billed date warehouse and item wise
please help to get onhand stock report with last purchase and billed date warehouse and item wise
Hi Rajeesh Ambadi...
Try This
SELECT distinct T0.ITEMCODE , t1.ItemName, T0.ONHAND as 'Total Qty',
T1.LASTPURDAT ,t1.LastPurPrc
FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD left join ibt1 t3 on t3.itemcode = t0.itemcode and t3.whscode = t0.whscode
WHERE
T0.ONHAND>0
AND T0.WhsCode ='[%0]'
Hope Helpful
Regards
Kennedy -
Sub:Stock report with sales unit of measurement - reg.,
Hi guru's
we have a requirement to have the stock report with sales unit of measure instead of base unit of measure can anybody guide me how to do this.
thanks in advance
tulja singh.From std. , I think your requirement can not satisfied.
Make customized report.
Take the help of ABAPER. -
I have an iphone 4, with ios 4.3.3. I want to update it but when I connect it to itunes it says that it is the latest version of the software. So I cannot update it, and I need it very bad. Can anyone help me?
What version of iTunes do you have installed? If you are trying to update to iOS 6 you need iTunes 10.7 or later.
-
My iMac 24 can no longer be paired with the keyboard; it doesn't recognise any keyboard at boot up, even the one it is paired with. Can anyone help, please?
Thank. SimonBrian - The batteries are fine and there has only every been one keyboard paired with it. We have tried my MacPro keyboard as well, and it will not even recognise that there is a discoverable keyboard nearby.
Thanks, Simon -
I am trying to move a picture that I brought over from iWeb and it is locked. I need to move it. Can anyone help?
It is probaly just "inline" ie part of the text.
click on it > Inspector > Wrap > Floating
Peter -
Why does my webcam not work with Skype - can anyone help?
Why does my webcam on Mac Book air not work with Skype - can anyone help?
Did you set the Skype Audio/Video preferences to use the camera?
-
TS3510 Can't receive emails or messages with FaceTime can anyone help please thanks
Can't receive emails or messages with FaceTime can anyone help please thanks
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
Cheers, Tom -
once again my iphone not working. i have a usb sign pointing to an itune icon on the screen. this is been on for over 24 hours. tried to restore but keeps coming up with era can anyone help please
What is the error that is occurring? We are not mind readers.
-
My ipod is stock in restore mode, can anyone help me I have tried everything
my ipod is stock in restore mode, can anyone help me to i have tried everything. Can someone also tell me what is the ios and where do you find find it to download for your ipod
followed someones instructions and it has worked ios 5 is now working on my iphone 4
-
I deleted one of the email accounts from my i5 because I don't like all the password popups since upgradingto ios 7.2, and now ALL calendar entries are gone! I need them!!! Can anyone help?
Well you need to add the email account back to get the calendar entries. Transfer them to another email provider. Then delete the account you don't want.
-
I have a new iphone 5s with ios 7 , I cannot pair with the bluetooth in my BMW with idrive , can anyone help . My old iphone 4 worked fine , however this was initially paired with older software , but still worked after the upgrade . I have tried & tried to pair again & that wont work either , suggesting it is the phones software . Can anyone help please
Hi there soulboycraney,
You may find the troubleshooting steps in the article below helpful.
iOS: Troubleshooting Bluetooth connections
http://support.apple.com/kb/TS4562
iOS: Troubleshooting car stereo connections
http://support.apple.com/kb/ts3581
-Griff W.
Maybe you are looking for
-
Hi, in KM it is possible to use short guids to point to resources. Unfortunately, to use guids in Links, one has to prepend the full path to the component com.sap.km.cm.docs, i.e. to point to guid "/guid/123" one has to write "http://server:port/irj/
-
Open sales order and back orders
hi , what is the difference between open sales order and back orders? thanks ganesh
-
How do I add an archive Mail folder
The help file on organizing mail tells me to go to the mailbox screen and hit Edit. There is no edit button on that screen. I want to add a folder to save or archive mail messages as a local file, not take up room on the server.
-
I converted an Outlook folder to PDF file, deleted the folder in outlook to clean up my outlook, now i want to convert my pdf file back to outlook files and folders? Any ideas?
-
ABAP Programming Error when saving the Process Order confirmation in COR6N
Hello, We have an issue related to Process Order confirmation using Tcode COR6N. When we enter all the inputs to confirm( Activity, yield and phase) and click on save it gives ABAP Programming Error (Exception condition "SEQ_NOT_FOUND" raised). Any i