Available Batch Quantity query in FIFO System

Hi All ,
I need a query which returns :
Available Batch, with Available Quantity warehouse wise in the FIFO System.
Thanks in Advance
Ashish Ranjan

Hi Ashish........
Try this......
SELECT Distinct T0.[ItemCode], T0.[BatchNum], T0.[WhsCode],T0.[Quantity], 
T0.[InDate], T0.[Located], T0.[ExpDate], T0.[PrdDate], T0.[Direction] FROM OIBT T0
Where T0.WhsCode='[%0]'
Order By T0.[InDate]
Regards,
Rahul

Similar Messages

  • STO: Rounding off Batch Quantity in Delivery Document?

    Hi All,
    I created Inter Company STO & the delivery is done in the background using TCode- VL10B. and the Batches are determined automaticaly. The issue is that in  few scenarios the batch Quantity are in decimal. Please suggest How to configure to rounding off batch quantity?
    Regards,
    C S Javali

    Dear Javali....
    Iam facing the problem while searching the batch on FIFO basis in VL10B and VL02N ....system is not searching the batch but saying "Batch determination not possible since there is no batch search procedure"
    Pls pls  tell me how to configure this...
    Thanks in advance
    Suraj

  • I need available batch quantities

    Hi,
    I need help to compose this query below:
    When there is a goods receipt (PO) the system should send a message to user about the items ready to release to fulfill open quantities. The problem comes from batch numbers as we use them at every item. I need available batch quantities that may cover open quantities of an order (pick & pack manager).
    Thanks for any help.

    Hi, I did the query with the tables you suggested to compile the list of buyers' orders that contain material not currently on stock. This is unfortunately unacceptably slow. Do you have any idea how to speed up this query a bit? 40 lines are checked in 43 seconds.
    Thanks
    USE [u2026]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE FUNCTION [dbo].[functionName] (@PDocNum int, @PItemCode as nvarchar(20))
    RETURNS varchar(50)
    AS
    BEGIN
         DECLARE @ResultVar  varchar(50)
         select top 1 @ResultVar =  BaseNum from IBT1 where ItemCode=@PItemCode and BaseNum =@PDocNum  and basetype = 17
         RETURN @ResultVar
    END
    select top 20 t1.DocNum, t0.ItemCode
    from RDR1 t0 left join ORDR t1 on t0.DocEntry = t1.DocEntry
    where  t0.LineStatus ='O' and dbo.functionName(t1.DocNum, t0.ItemCode) is null
    select top 20 t1.DocNum, t0.ItemCode
    from RDR1 t0 left join ORDR t1 on t0.DocEntry = t1.DocEntry
    where  t0.LineStatus ='O' and dbo.functionName(t1.DocNum, t0.ItemCode) is null

  • 105 lote esta processando - Erro 40 de sistema de PI - Batch Status Query

    Prezados,
    Nós temos um lote em GRC com os detalhes seguintes código de estado - 105 lote esta processando.
    Nós temos um lote em GRC com os detalhes seguintes:
    - Código de estado: 105 "lote esta processando"
    - Estado de lote: 04 "pedido enviou"
    - Estado de Error: 40 questão de estado de lote: Erro de sistema de PI"
    Reiniciando o lote por monitor de GRC resulta em um erro "Erro processo inicial Envie Lote (lote ID 000000000013825)"
    Algumas ideas ou sugestoes para proceder?
    Obrigado
    Marc de Ruijter
    Key words for thread search:
    - Error status 40 Batch status query: PI system error
    - Batch status 04 request sent
    - Status code 105 batch being processed

    Creio que estou com o mesmo problema,
    Estou com um lote com erro no status 5 mensagem "Consulta de status de lote: erro de sistema PI" e ao reiniciar o lote encontro a mensagem a abaixo:
    "Erro ao inicializar o processo Enviar lote (nº de lote 000000000000XXX)".
    Na sxi_monitor do PI não apresenta erro nenhum!! eu conferi a tabela citada na thread  e tinham vários registros e um deles referente ao meu lote. Apaguei apenas o referente ao meu lote porem ainda não reinicia.

  • Track the changes to the batch jobs in the PRD system.

    Hello Basis Guru's,
    Need your help in a Query. --> Is there any best practice that can be implemented to trace all the changes done to batch jobs in the past 3 months and going forward. Be it in its scheduling or its variant changes etc, i would like to track the changes to the batch jobs in the PRD system.
    Any pointers would be really helpful.
    Thanks in advance.
    Rgds,
    Sri

    Hello Raghu,
    Third party tools can only help you but not SAP. . A lot of us may think that for example if a Job 'X' runs daily then SAP considers this job as a single object.However actually SAP will treat each run of a job seperately infact as seperate jobs. If you would have noticed each job in SAP has a job id which is unique. So actually each run is unique. Now change logs can exist for only those objects that get changed. But change logs can not exist for objects that are newly created everytime !!
    If you would have noticed you can two jobs with the name A but running two different reports/variants whatver. This is because job name is not that important it is the job id.
    Every time a job runs a new entry gets stored in TBTCO,TBTCP etc.. tables. It is not that the existing entires are updated.However yes when a job is scheduled periodically there is some kind of a link that is created in the job series but it does not showo up in any of the tables!!
    As far as 3rd party tool is concerned I can name a tool like UC4. UC4 has its own database in which the job name will always be unique. For that you can easily find change logs. I think Chronicle (Redwood Scheduler) also supports this.
    Regards.
    Ruchit.

  • Ad Hoc Query - While executing - System could not read any data

    Hello Techies,
    When I am excuting my Ad hoc query - for one personnel number for which Infotype 28 subtype 0001 has been maintained
    But system is throwing this error -
    System could not read any data
    Message no. AQ_AD_HOC226
    Diagnosis
    There is no data available for the specified selections.
    System response
    The results list in the lower part of the screen still displays the last list to be created.
    Please let me know why does it happening ?
    Thanks
    Jaydeep

    It was an date selection issue - as while executing the Ad hoc query - the reporting date is today -
    changed to all

  • Inventory Tracking / Stock Posting cannot change batch quantity

    When stock taking, Item A in the system consist of :
    - Batch B-01 = 10 pcs
    - Batch B-02 = 10 pcs.
    Actual stock has:
    - Batch B-01 = 20 pcs.
    Anybody knows how to fix this batch quantity, through Inventory Tracking / Stock Posting ?
    Since I try it, it couldn't work. 
    Best regards,
    Surya

    Hi Surya,
    Check the following thread
    Batch Inventory tracking
    Inventory management via batch number
    *Close the thread if issue solved
    Regards
    Jambulingam.P

  • Batch Quantity Proposal during SL Transfer

    Hi
    In MIGO, when moving a material which is stored in batches from one storage location to another (mvt 311), is it possible to have the system propose the quantity to be moved, based on the batch number entered?
    The reason for this is that we are always moving full batches, and would like to avoid the step of looking up the quantity in each batch, before having to enter it in MIGO.
    Best Regards
    Nicolai

    Hi,
       System wont know the quantity to be moved and hence the system wont propose the quantity to be moved. It is the user who decides the quantity to be moved and he has to enter the quantity manually.
       If you are always transferring the full batch quantity, you may go for development if required. Check the stock quantity for the material and batch in the supplying storage location from MCHB table and propose the quantity by default when the movement type is 311. I would recommend to make the quantity field editable, even if you propose the default full quantity. Please note that the same batch can exists in different stock types / special stocks etc. These cases also should be taken care.
    Regards,
    AKPT

  • Frequency Analysis - batch automation Query

    Hi,
    I was wondering if its possible within adobe audition to automate a process of performing frequency analysis on a batch of audio files and saving the frequency analysis windows in individual bmp files?
    There is a file batch utility which I am aware of for processing groups of files. However with the frequency analysis window - the only way of saving this window is by Alt-PrintScreen and manually saving file to another bitmap package.
    Is anyone aware of a way/system/tools of achieving this ?
    Thanks for any suggestions
    - Darragh

    ok, thanks for the tip.
    Date: Wed, 22 Jul 2009 17:54:18 -0600
    From: [email protected]
    To: [email protected]
    Subject: Frequency Analysis - batch automation Query
    There's no way of doing this within Audition, but I think that there are external batch process programs that might let you do this using Audition - if you see what I mean. I don't personally do things like that, but maybe somebody who does could recommend one? Alternatively, and probably rather a better bet, re-ask the question on the AudioMasters forum. You are more likely to get a meaningful response, quite frankly.
    >

  • BAPI to export features of Exceptions and Jump query from BW system to othe

    Is there any BAPI is available to export features of Exceptions and Jump query from BW system to other SAP or Non SAP system, whereas won't  need to re-define Exceptions and Jump Query. I mean directly export features of Exceptions and Jump query from BW system to other system.
    Thanks,
    Rohan

    Thanks for quick response.
    I am working on Hyperion, they are using essbase, and Integration connector to connet BW directly and takes data from BW System.They have features to define Exceptions(Traffic Light) and Jump query in the Hyperion side. But now they want to import directly features of Exceptions(Traffic light) and Jump query from BW System(using BAPI) instead of defining Exceptions and Jump Query in the Hyperion side.
    Please help me on this.
    Thanks,
    Rohan

  • Mozilla quits when I login to Yahoo Mail. I read on a forum that I need to delete npYstate.dll from Yahoo/Shared directory. This .dll is not available in that folder on my system. Strange???

    I read in one of the forums that I need to delete the npYstate.dll file from the Yahoo/Shared directory but this file is not available in this directory on my system. Mozilla still continues to quit when I log in to Yahoo mail.......
    == URL of affected sites ==
    http://www.mail.yahoo.com

    Yup, it just copies all the information on that page to your Windows clipboard, for you to paste anywhere (email, text file, etc.).
    http://en.wikipedia.org/wiki/Clipboard_%28software%29

  • ADHOC Query in Production System

    Can I create a ADHOC query in Production system?Coz I can able to do that.
    Thanks
    Sriram

    This is the practice:
    1. The project team will build all the reports defined in the project plan, test and transport to production. These queries usually will be set not to be changed.
    2. SUper users will be granted authorization to create their own queries, modify their own queries and delete their own queries. For this the auth object S_RS_COMP1 is used.
    3. All the other users will be granted to access reports.
    Ravi Thothadri

  • AF:AUTOSUGGESTBEHAVIOR available in  AF:QUERY

    hi, the question is : when will AF:AUTOSUGGESTBEHAVIOR be available with AF:QUERY. Guess there is a Bug 12769579 (enhancement request) already raised for this.
    want to understand when would this be implemented and released with what version of ADF/JDeveloper.

    Hi Ashish, Actually what i am querying is: does af:query support af:Autosuggestbehavior (which may be on ViewController side and not necessarily on Model side), if not when would it be available.
    Hi Vinay, 2 questions for you. Please suggest.
    1) I just got this url "http://support.oracle.com" for Bug 12769579. where do i check if this bug is released and in what version.
    2) how do i close this thread? i am a newbie to this forum.
    Thanks.

  • How to find who has deleted the query in Production system

    I Experts,
    I have an issue. Someone has deleted one query in Production system.
    How can i find who has deleted the query??
    I searched the ans for the same i the below threads :-
    Query deleted in production
    How to find out who has deleted the production Query
    But it didn't help me as i couldn't understand how to use the transaction SLG1.. Can Someone please explain me how can i find out who has deleted the Query..
    Regards,
    Pavan Raj

    Hello,
    Please, remember the date on which date the query has seen last time  in the production server. You can use the last date in the From date and To date would be current  date and execute the SLG1 tcode. It would list you all the logs in the Object text you can search for BEX Query designer and sub object text column you can check for delete logs options.
    Double click on the object will list you the query and name. From the user column you can find who has deleted the query.
    Might be this can help you for analysis.
    Thanks
    Geeta Sharma

  • Comfortable in the usage and options available in the query designer/WAD.

    Dear  Friends
    can any body send me docs regarding Comfortable in the usage and options available in the query designer/WAD.
    Thanks & Regards
    Ramana

    Hi Friend,
    For WAD :
    [http://help.sap.com/saphelp_nw04/helpdata/en/a9/71563c3f65b318e10000000a114084/content.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/281a3c9c004866e10000000a11402f/content.htm]
    For Query Designer :
    [http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/ba95531a-0e01-0010-5e9b-891fc040a66c]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/605f1751-a701-2a10-b791-9da5ba4f2a64]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0a81de5-a701-2a10-76bd-d8ec848cd326]
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/505e9d7e-0601-0010-3fa7-b40010bbdec5]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Scroll down to Business Intelligence-> Bi suite Business Explorer-> Query Designer
    Hope this helps.
    Regards
    Hemant Khemani

Maybe you are looking for

  • Printing from an iMac to a printer connected to a router

    I have a HP LaserJet 2100 connected to my router (via Parallel Port), and shared across my windows home network. The printer is easily located within the 'windows' section of 'add printer', and the correct driver is selected. When I try to print anyt

  • JSlider randomly missing tick labels

    Hello everyone, I am having a problem with JSliders. I have an application that has several JSliders throughout. They are vertical, min=100 and max=1000, with major ticks every 100, and minor ticks every 25, and the ticks and labels are painted. I ha

  • Is it possible to serialize a user created object with an oracle.sql.BLOB?

    Is this possible? Cause I'm getting a WSDL Exception that the oracle.sql.BLOB is not a java bean. So how do I make it a java bean? What data type should I use?

  • Building an app that interacts with a pc game

    Hi I am wanting to build an app for a racing sim game. I have no experience or knowledge of how to even start something like this. So I would like to ask if it is possible to use adobe software to build an app that can take a stream from a game and d

  • Varchar2(8) field with 7 characters gives length = 8

    table1 uoe varchar2(8) has a 7-character string in it 'bnorton' when inserted into (insert into...select from) table2 uoe varchar2(8) it becomes an 8 character string. 1. I can't tell what the extra character is. 2. temporarily goes away if I rebuild