Reports with Batch

Hi Experts
We are Implementaing PP - PI for for a pharma company. Since the all the Process oriented, clientt is expecting all the reports with the batch number. For Information, we have configured such that, the batch number can be given as an input at  the time when the order is getting created.
Kindly let me know the standard PP - PI / costing reports with the batch number
Thanks in advance
Palaniappan

Menu Area SAP1  holds the most reporting transaction codes:
In SAP easy access screen execute SAP1
Logistics General >> Logistics Basic Data >> Batch Management, has some reports. Others, you can find in respective modules like material management etc. lot of them have batch related reports.

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,
    Preeti

    HI,
    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 ageing report with batch Management active

    Hi Experts,
    My client wants a Stock ageing report and batch management is active
    According to my client, Inventory ageing report should show stock quantities and stock value as follows,
    1. Below one year
    2. Between one and two years
    3. Above two years
    What are the table and fields to be considered for this report.
    Thanks
    NDS

    What steps do you mean? taking an ABAP course and doing it yourself, or stepping to an ABAPer and let him know what he shall do?
    you asked for a stock report, not for a movement report.
    If I go into my warehouse and looking at all the stuff sitting there and want a report that should tell me how old this stuff is, then i am not intrested if there was a goods receipt movement.
    However I would like to know the last movement date. In this case you have to look into table S032 or into the movements MSEG (with MKPF as header table)

  • Inventory Audit Report with Batch Number

    Hi all.
    I am trying to build a query that similar to the inventory audit report but with batch number. I want to know which batch number of each item is being charged out in deliveries or goods issue and which batch of item is being received. I am using SAP B1 2007A. Following is the query that I used to generate the inventory report (warehouse, itemcode, description, price, opening balance, receipt, issue, closing)  but I don't know where to get the batch number information for it.
    Declare @StrtDate Datetime
    Declare @EDate Datetime
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Group nvarchar(10)
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >= @StrtDate)
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <= @EDate)
    Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse = 'QA01')
    Select
    @Whse as 'Warehouse',
    a.Itemcode,
    max(a.Dscription) as 'Description',MAX(a.Price) as 'Price',
    sum(a.OpeningBalance) as 'OpeningBalance',
    sum(a.[IN]) as Receipt,
    sum(a.OUT) as Issue,
    (sum(a.OpeningBalance) + sum(a.[IN]) - Sum(a.OUT)) as Closing,
    MAX(a.Price) * (sum(a.OpeningBalance) + sum(a.[IN]) - Sum(a.OUT)) as ClosingValue
    from(
    Select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,N1.Price,
    (sum(N1.inqty)-sum(n1.outqty)) as 'OpeningBalance',
    0 as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate and N1.Warehouse = @Whse and N1.ItemCode Between '1C2K50NBAC' AND '7S2N40ADAM'
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,N1.price,
    0 as 'OpeningBalance',
    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,N1.price
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,N1.price,
    0 as 'OpeningBalance',
    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,N1.price) a, dbo.OITM I1
    where a.ItemCode=I1.ItemCode
    Group By a.Itemcode
    Order By a.Itemcode
    I wish to create the report like Inventory audit report merge with the batch number transactions report.
    Thanks.

    Dear Shobah, it can be possible by some custom report. Try some complementary bi solution for better analysis with SAPB1.

  • Inventory report with Batch details

    Hi,
    Is there a report that has inventory on hand with batch detail in B1 2007?
    Thanks,
    Olga

    Dear Rahul,
    I have generated a batchwise stock summary report as on any date on SAP B1 8.82.
    If required the transaction details can also be generated from this.
    Please mail me @ [email protected] if you need this report.
    Thanks,
    Nabyendu

  • 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 CAWN

    Hi,
    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

  • Sales report with Batch number & expiry dates

    Hello friends,
    would any one please help me to frame this query to achieve the above ..
    my query is as bellow, but I want to add the batch number & expiry dates along with the other information.....
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[NumAtCard], T1.[ItemCode], T1.[Dscription], T1.[Quantity] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode] >=[%0] AND  T1.[ItemCode] <=[%1] AND  T0.[DocDate] >=[%2] AND  T0.[DocDate] <=[%3]
    So which table to join to get the batch & expiry...
    Rgds
    Suman

    HI
    Batch table is OIBT, IBT1,OBTN
    SELECT distinct T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[NumAtCard], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T4.[ExpDate] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry inner join
    IBT1 T2 on T1.ItemCode = t2.ItemCode and T0.objtype=T2.basetype and T2.baseentry=T1.Docentry inner join
    oitm T3 on T1.Itemcode=T3.Itemcode inner join OIBT T4 on T1.Itemcode=T4.Itemcode  WHERE T1.[ItemCode] >=[%0] AND  T1.[ItemCode] <=[%1] AND  T0.[DocDate] >=[%2] AND  T0.[DocDate] <=[%3]
    group by T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[NumAtCard], T1.[ItemCode], T1.[Dscription], T1.[Quantity],T4.[ExpDate]
    Thanks
    Mohammad Imran

  • 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

  • Production Report with batch number

    Dear Experts,
    I don't know how to include the batch number for the finished goods in the following query ,
    SELECT T0.[DocNum] as Prod#, T0.[ItemCode],T0.[CmpltQty], T1.[ItemCode], T1.[IssuedQty], T2.[BatchNum],T0.[Comments] as Remark FROM OWOR T0  INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry left join  IBT1 T2 on  T2.[BsDocEntry] = t0.docentry and T1.[LineNum] = T2.[BsDocLine] WHERE T2.[BsDocType]  = '202' and   T2.[BaseType] = '60' and T0.[Status] IN ('r','l') and T0.[CmpltQty] <> '0' and T0.[DocNum]=[%0%] GROUP BY T0.[DocNum], T0.[ItemCode],T0.[CmpltQty], T1.[ItemCode], T1.[IssuedQty], T2.[BatchNum],T0.[CardCode],T0.[OriginNum],T0.[Comments] order by T0.[DocNum]
    Help me Please.

    Dear sir,
    The query is working
    SELECT T0.[DocNum] as Prod#,T0.[OriginNum] as SalesOrd#,T0.[DueDate],T0.[PlannedQty] as PlanQty,case when (T3.[BaseType] = '59' and  T3.[Direction] = '0' and T0.[ItemCode] = T3.[ItemCode] ) then  'Received' end as Direction,T0.[ItemCode], T3.[Quantity], T3.[BatchNum], case when (T2.[BaseType] = '60' and T2.[Direction] = '1' and T1.[ItemCode] = T2.[ItemCode] ) then 'issued' end Direction, T2.[Quantity], T2.[ItemCode], T2.[BatchNum] FROM OWOR T0  INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry left  join IBT1 T2 on T2.[BsDocEntry]  = t0.docentry and T2.[BsDocLine]  =  T1.[LineNum] left  join IBT1 T3 on T3.[BsDocEntry]  = t0.docentry and T0.[ItemCode] = T3.[ItemCode] WHERE T2.[BsDocType]  = '202' and  (T0.[Status] = 'R' OR T0.[Status] = 'L' )
    Thankyou for the same

  • Running reports via command-line with /batch option

    Hi,
    I have created a batch file which runs, and exports the results of 7 different discoverer reports with /batch option.
    Contents of batch file:
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    Sample of a cmd file the bacth file runs:....
    /connect user/password@oraprd /apps_responsibility "BIS Super User"
    /open "H:\Projects\DRP Import Modelling\Dev\Intransit Extract.dis"
    /sheet 1 /export xls "H:\Projects\DRP Import Modelling\automation\Intransit Input.xls" /batch
    The batch file runs ok and processes each report in sequence, and creates the excel export one after the other.
    However, I need to process the 7 reports in parallel, so changed the batch file to process in own thread :
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    The reports kick off at the same time and I can see 7 dis4usr.exe processes running via task manager
    Problem:
    The first reports runs and exports ok.
    All the others dis4usr.exe processing stops with the following error pop-up:
    ! Could not open file. OK
    Question:
    Can you only process reports sequentially via command line mode with /batch option?
    If not...what am I missing...its driving me insane :)
    All asistance is greatly appreciated. Thanks

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Report with customer info for an Sales Order with batch details

    Hi
    Can any one please tell me the SAP REPORT with contains data of customers were shipped a specific product (material number) by batch number.  report with the name and address of the customer, the sales order number and the number of products that were shipped.
    Thanks
    Nick

    Hi nick,
    See if anybody has worked on SIS (sales information system) in your team.
    He can help you out to create one info structure , by selecting desired characteristics, key figure with respective update rules. though its require lot of configuration but you can make it without abap development.
    (I couldn"t make it in time to provide you detailed configuration but below given path will take you to the configuration area )
    IMG - LG -Logistick information system -logistick data werhouse- data basis- field catalogue.
    IMG - LG -Logistick information system -logistick data werhouse- data basis -
    infostructure.
    IMG - LG -Logistick information system -logistick data werhouse- data basis - updating - update defination & update rules.
    ( MC18, MC21, MC24,& MC30)this transaction help to create field catelogue, info system, update rule & generation log respectively.
    karnesh

  • How to lock a user with a report in batch?

    Hi experts,
    is it possible to lock a range of users with a report which runs in batch? I decide to modify the report EWULKUSR, because I can't run this report in batch. But maybe there is any other report?
    Any idea?
    Thanks and best regards
    Max

    Hi Sim,
    I mean, locking the user in the system.
    Thanks for your answer.
    Best regards,
    Max

  • Batch Scheduling of reports with parameters

    I've been searching the doc and have come up empty so far on this -- how do I take a Discoverer workbook/sheet that accepts a customer account parameter and set it up as a scheduled report?
    The trick here is that I want to schedule 100s of these things so that reports are generated for a large number of customer accounts, but not all customer accounts (there are many thousands of customer accounts).

    Hi,
    Yah! this looks good. Other way would be to use the Schedule command line parameter itself. For example you can have a form application taking the user parameter for individual user plus they can enter the schedule parameters also or you can hardcode them . Then you send this request to Report server which run the jobs at schedule time.
    FYI, in report 9i there is a new feature called event triggers also. You can run a report with any event trigger from the database. This may be useful for the solution you have suggested, suppose you wish to run the report as soon as user updates data in database, this even t triggers can be used.
    Hope this helps!
    Thanks,
    Rohit

  • Issue with BATCH SPLIT with Inbound Delivery

    Hi,
    We are in an SAP upgrade project from 4.7 to ECC 6.0, we would require to develop an Interface Program to perform BATCH SPLIT for an Inbound Delivery, I tried with BAPI BAPI_INB_DELIVERY_CHANGE but it seems to be work only to change the existing line items, by requirement is to create new BATCH SPLIT for a given inbound delivery, can anyone help me in finding the appropriate BAPIs, thanks in advance.
    Regards
    Bala

    Hi Bala,
    Have you tried BAPI_INB_DELIVERY_CONFIRM_DEC? If you check the documentation of this BAPI, at the bottom of it there's a statement:
    If you report back batch splits that were created in the ERP system, you cannot fill the hierarchy fields HIERARITEM and USEHIERITM.
    If you created split items in the WM system and have reported back, these two hierarchy fields must contain information.
    BR
    Raf

  • GL Trial Balance Report with Effective Dates as Parameters

    We have a requirement to show the GL Trial Balance report with Effective dates as Parameters.
    Current Analysis:
    The Journals get updated with corresponding CCID in GL_BALANCES table when the Journal is posted. GL_BALANCE is SOB specific, if the SOB has month as period then the balances in GL_BALANCES would get updated against the month(period).
    To overcome the period problem, we explored the option of using a View based on GL_JE_HEADERS and GL_JE_LINES for 'Posted' Journal Batches of a SOB. We are checking whether the GL_JE_HEADERS.default_effective_date lies between the :p_from_date and :p_to_date which is sent to the Report as a parameter. The above idea does not return expected data when the custom Trial Balance Report is run.
    Following is the Query being used:
    SELECT cc.segment4 ACCOUNT, bal.code_combination_id,
    bal.begin_balance_dr
    + SUM (NVL (gljel.accounted_dr, 0)) opening_bal_dr,
    bal.begin_balance_cr
    + SUM (NVL (gljel.accounted_cr, 0)) opening_bal_cr,
    ffv.description,
    (SELECT SUM (NVL (gljel.accounted_dr, 0))
    FROM gl_je_headers gljeh,
    gl_je_lines gljel,
    gl_code_combinations gcc
    WHERE gljeh.default_effective_date BETWEEN :p_from_date
    AND :p_to_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.code_combination_id = gcc.code_combination_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND gljeh.actual_flag = 'A'
    --AND gljel.code_combination_id =
    -- bal.code_combination_id
    AND gcc.segment4 = cc.segment4
    GROUP BY gcc.segment4) c_dr,
    (SELECT SUM (NVL (gljel.accounted_cr, 0))
    FROM gl_je_headers gljeh,
    gl_je_lines gljel,
    gl_code_combinations gcc
    WHERE gljeh.default_effective_date BETWEEN :p_from_date
    AND :p_to_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.code_combination_id = gcc.code_combination_id
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND gljeh.actual_flag = 'A'
    AND gcc.segment4 = cc.segment4
    GROUP BY gcc.segment4) c_cr
    FROM gl_period_statuses per,
    gl_code_combinations cc,
    gl_balances bal,
    gl_je_headers gljeh,
    gl_je_lines gljel,
    fnd_flex_values_vl ffv,
    fnd_flex_value_sets ffvs
    WHERE cc.chart_of_accounts_id = :p_chart_of_accts_id
    AND bal.currency_code = :p_currency
    AND bal.actual_flag = 'A'
    AND bal.period_name = per.period_name
    AND cc.template_id IS NULL
    AND cc.code_combination_id = bal.code_combination_id
    AND per.set_of_books_id = :p_set_of_books_id
    AND per.application_id = 101
    AND :p_from_date BETWEEN per.start_date AND per.end_date
    AND gljeh.period_name = per.period_name
    AND gljeh.default_effective_date <= :p_from_date
    AND gljeh.je_header_id = gljel.je_header_id
    AND gljel.period_name = gljeh.period_name
    AND gljel.set_of_books_id = :p_set_of_books_id
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'JSWEL_ACCOUNT'
    AND gljeh.status = 'P'
    AND gljel.status = 'P'
    AND cc.summary_flag = ffv.summary_flag
    AND cc.segment4 = ffv.flex_value
    AND gljeh.actual_flag = 'A'
    AND gljel.code_combination_id = bal.code_combination_id
    GROUP BY bal.begin_balance_dr,
    bal.begin_balance_cr,
    cc.segment4,
    ffv.description,
    bal.code_combination_id
    Kindly suggest if I am missing anything. I am sure that the great guns here can help me out.
    Thanks
    Sumit

    suggest to create customize TB report.

Maybe you are looking for

  • Follow Up...Vocal Mixing Approach

    I've been kicking around possibilities in a different thread with some very helpful people http://discussions.apple.com/thread.jspa?threadID=2386425&tstart=0 Now, I'd like to implement what AT THIS POINT, I think may be my best way to approach the is

  • Artist List View in iTunes 11

    Is there a way to set "Artist List" view as the default view for all playlists? There has to be a default setting somewhere so that you don't have to go through every single playlist and manually change it, right? Thanks!

  • Automatic creation of Thumbnail in EasyDMS

    Hi Experts, When I'm checking in an document with the EasyDMS Browser and apply, the DMS creates an thumbnail which is only shown in WebUI and SAP GUI but not in EasyDMS Browser. But when I check in an document via WebUI or SAP GUI this thumbnail is

  • Cover Flow Won't Let Me Work Out!

    So I have the 4th gen Nano, and when the cases come out that allow me to clip it to my belt, I won't be able to have it horizontally because cover flow will kick in. This is a problem! Apple, fix this please! If I orientate the Nano vertically, I can

  • Pivot with Month and Year

    Hi all Thanks in Advance I need help in Pivoting Data SELECT ID,MONTH,COUNT FROM TABLE_PIVOT ORDER BY ID,MONTH ID     MONTH          COUNT 10     10/01/2009     60 10     11/01/2009     80 10     12/01/2009     78 10     01/01/2010     81 10     02/0