Creation of Recurring Inspection Lots with Serial numbers

Hello,
We have the following scenario at our client :
<i>MIGO_GR</i> is used to create GR for materials with Serial number requirement. The serial numbers can be generated automatically or manually entered on the screen. At this point of time, the Shelf Life expiry date & Next Inspection date are calculated based upon the Production date. The Batch gets created with Next Inspection date, Inspection Lots are created and the Serial numbers are assigned by the system. The stock moves into QI.
The stock is moved from Quality restricted to Unrestricted stock via <i>QA11</i>. The serial numbers are handled by the system or can be managed on screen.
Transaction <i>QA07</i> (Deadline Monitoring of Batches) is used to create Recurring Inspection. QA07 gives error message IO304 that "<b>Only 0 serial numbers entered instead of 1</b>". The problem is that system doesn't pick up the corresponding serial numbers.
OSS # <u>497845</u> mentions that Transaction QA07 can not handle serial number. The serial numbers are very critical to the business process.
Has anyone come across this situation before ? Please suggest solution or workaround. I tried using BAdI "<b>INSPECTIONLOT_UPDATE</b>" & was able to create Inspection Lots with serial number assignment, also manipulated Batch to change the Next Inspection date. The problem is Material Movement (322) Document does NOT get created.
Also tried implementing BAdI as per OSS # <u>608830</u> but doesn't give desired results.
Any help is greatly appreciated.
Best Regards,
Homiar Kalwachwala.

Hello all,
Just wanted to bring this on top to be noticed.
Would appreciate any help, suggestions...
Regards,
Homiar.

Similar Messages

  • QM - Manual Inspection lot with serial no.

    I want to manage manual inspection lot for material & serial no.
    I defined the material as serial no. but no serial field excite.
    Thanks
    Shlomit

    Hi ,
    As serial numbers are used for inventory maintenance therefore when you create manual inspection lot there is no field for serial number maintenance.
    But the results you can manitain with serial numbers.
    Cheers,
    Tushar

  • Transfer inspection lot with serial number

    Hi !
    I'm using tx QAC2 but my material does have a serial profile and it gives me an error "You cannot make a transfer posting without a serial number" ...
    I have tried changing the serial number profile to optional or none without succes.
    Does anybody knows how can i make this work ???
    Thx !

    Dear,
    First extend the material for the respective plant you want to transfer . In that maintain sane serial no. profile & same inspection type in QM . This will definetly solve your problem .  Revert back for your queries...
    Regards,
    Atul

  • Restrict Equipment Master (with serial numbers) creation

    Hello All,
    I am faced with an issue where the client will be using Serial Numbers for 2 sets of materials. I have assigned a Serial Number profile to these materials in Material Master.
    I am able to create equipment master data for these materials with serial numbers without any issue.
    However, I am also able to create equipment master data (with serial numbers) for materials to which I have not assigned a Serial Number profile.
    Is there a way to restrict the creation of equipment master data (with serial numbers)  to only those material that have a Serial Number profile assigned in material master data...?
    Thanks
    Jensi

    Thanks for the reply Amuthan.
    Unlike what you wrote in the reply, the system does allow me to create/save a equipment number for those serial numbers that I assign to materials that do not have a serial number profile.
    Is there any validation, any check or something of that sort that I can activate so that the system will prevent assignment of serial numbers (and in turn creation of equipment master data) for those materials which do not have a serial number profile assigned in the material master data?
    Thanks
    Jensi

  • Creation of sub item with serial numbers in outbound delivery

    Hi All,
    We need to create a sub item for an Outbound Delivery main item in change mode with serial numbers for sub item.
    Process flow:
    1. Sales order item created with main item
    2. Outbound Delivery created with main item
    3. Outbound Delivery interfaced to external logistics sytem
    4. External logistics system pick the main item and a sub item (packaging) from warehosue and ship to customer
    5. External logistics sytems send delivery pick confirmation interface with main item details and serial numbers for sub item
    Now we have to create a sub item with serial numbers in the delivery referencing the same main item.
    NB: Delivey can have multiple similar main items but there is only material number in SAP for sub item. Hence the requirement to identify relevant sub item serial numbers to each delivery main item.
    Can you kindly tell me in what possible ways we can create sub item with serial numbers for a deliveyr main item in change mode.
    Thanks in advance
    Best  Regards
    Veer

    Hi,
    Does anybody have an answer?
    Thanks in advance.

  • DIAPI posting Delivery Document with Serial Numbers SP1

    Release 2005A, SP1 PL4 seems to have broken code that worked with SP00.  When trying to create a Delivery Document that contains Serial Numbers, an error is generated: Error -1, General Error.  When adding a delievery document which does not contain serial numbers, the document adds successfully.
    The following code loops through a recordset to create documents, add expenses and add serial numbers when appropriate.  Is this a new 'feature' or can we make a coding change to eliminate this error?
    Sample code:
        Try
          oSalesOrder = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
          RecSet = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet2 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet3 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet4 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet5 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          RecSet6 = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
          '-- Select Documents to process and loop through recordset
          lsSQL = "SELECT DocEntry FROM DeliveryTable WHERE ProcessResult IS NULL Group by DocEntry"
          RecSet.DoQuery(lsSQL)
          While Not RecSet.EoF
            oSalesOrder.GetByKey(RecSet.Fields.Item(0).Value)
            If bDocuments(piCompany).DelDraft = False Then
              oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
            Else
              oDelivery = oCompany(piCompany).GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
            End If
            oDelivery.CardCode = oSalesOrder.CardCode
            oDelivery.Comments = "Based On Sales Order " & oSalesOrder.DocNum & "."
            oDelivery.DocDate = Today
            oDelivery.ContactPersonCode = oSalesOrder.ContactPersonCode
            oDelivery.DocCurrency = oSalesOrder.DocCurrency
            oDelivery.DocDueDate = Today
            If bDocuments(piCompany).DelDraft = True Then
              oDelivery.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes
            End If
            '-- Handle Expenses for Document
            Dim ExpenseLoop As Integer
            Dim ExpenseCount As Integer = 0
            For ExpenseLoop = oSalesOrder.Expenses.Count - 1 To 0 Step -1
            ExpenseCount += 1
              '-- Create new Expense if needed
              If ExpenseCount > oDelivery.Expenses.Count Then
                oDelivery.Expenses.Add()
              End If
              oSalesOrder.Expenses.SetCurrentLine(ExpenseLoop)
              '-- Copy all non-readonly properties
              If oSalesOrder.Expenses.LineTotal > 0 Then
                oDelivery.Expenses.BaseDocEntry = oSalesOrder.Expenses.BaseDocEntry
                oDelivery.Expenses.BaseDocLine = oSalesOrder.Expenses.BaseDocLine
                oDelivery.Expenses.BaseDocType = oSalesOrder.Expenses.BaseDocType
                oDelivery.Expenses.DeductibleTaxSum = oSalesOrder.Expenses.DeductibleTaxSum
                oDelivery.Expenses.DistributionMethod = oSalesOrder.Expenses.DistributionMethod
                oDelivery.Expenses.ExpenseCode = oSalesOrder.Expenses.ExpenseCode
                oDelivery.Expenses.LineTotal = oSalesOrder.Expenses.LineTotal
                oDelivery.Expenses.Remarks = oSalesOrder.Expenses.Remarks
                oDelivery.Expenses.TaxCode = oSalesOrder.Expenses.TaxCode
                oDelivery.Expenses.VatGroup = oSalesOrder.Expenses.VatGroup
              End If
            Next ExpenseLoop
            Dim i As Integer = 0
            Dim liMinRef As Integer = -1
            For x = 0 To oSalesOrder.Lines.Count - 1
              lsSQL = "SELECT ISNULL(MIN(CAST(LineRef as int)),999999) as MinLineRef FROM DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND CAST(LineRef as int) > " & liMinRef
              RecSet5.DoQuery(lsSQL)
              If Not RecSet5.EoF Then
                '-- It's possible that the DeliveryTable has less records then the RDR1 table - if that's the case
                '-- we may be at the end, so set the liMinRef field to something out of range
                liMinRef = RecSet5.Fields.Item(0).Value
              End If
              '-- get line items for each document
              lsSQL = "Select * from DeliveryTable WHERE DocEntry = " & RecSet.Fields.Item(0).Value & " AND LineRef = " & x & " AND ProcessResult IS Null"
              RecSet2.DoQuery(lsSQL)
              RecSet2.MoveFirst()
              While Not RecSet2.EoF
                '-- We need to walk through the SO to find the item that we are receiving based on the LineNum
                Dim liCurrentLine As Integer = x
                Dim lbFound As Boolean = False
                While liCurrentLine <= (oSalesOrder.Lines.Count - 1)
                  '-- We need to get the PO Line number (x is NOT the LineRef)
                  oSalesOrder.Lines.SetCurrentLine(liCurrentLine)
                  If oSalesOrder.Lines.LineNum = liMinRef Then
                    lbFound = True
                    Exit While
                  End If
                  liCurrentLine += 1
                End While
                If lbFound Then
                  i += 1
                  If i > oDelivery.Lines.Count Then
                    oDelivery.Lines.Add()
                  End If
                  oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
                  oDelivery.Lines.Quantity = RecSet2.Fields.Item(6).Value
                  oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
                  oDelivery.Lines.LineTotal = oSalesOrder.Lines.LineTotal * (oDelivery.Lines.Quantity / oSalesOrder.Lines.Quantity)
                  oDelivery.Lines.UserFields.Fields.Item("U_WhseLoc").Value = RecSet2.Fields.Item(8).Value
                  oDelivery.Lines.AccountCode = oSalesOrder.Lines.AccountCode
                  oDelivery.Lines.Address = oSalesOrder.Lines.Address
                  oDelivery.Lines.Currency = oSalesOrder.Lines.Currency
                  oDelivery.Lines.ItemCode = oSalesOrder.Lines.ItemCode
                  oDelivery.Lines.BaseLine = liMinRef
                  oDelivery.Lines.ItemDescription = oSalesOrder.Lines.ItemDescription
                  oDelivery.Lines.WarehouseCode = oSalesOrder.Lines.WarehouseCode
                  lsUserID = RecSet2.Fields.Item("UserID").Value
                  '-- manage serial numbers
                  j = -1
                  lsSQL = "Select * from DeliverySerial WHERE DocEntry = " & oDelivery.Lines.BaseEntry & " AND LineRef = " & liMinRef
                  lsSQL += " AND WIPLineRef = " & RecSet2.Fields.Item("WIPLineRef").Value
                  RecSet3.DoQuery(lsSQL)
                  While Not RecSet3.EoF
                    '-- get the next SystemSerialNumber for the Inventory Item
                    lsSQL = "EXEC " & gsDB(piCompany) & "xspGetSysSerial " & sparm(oDelivery.Lines.ItemCode) & ", " & sparm(RecSet3.Fields.Item("LotNo").Value)
                    lsSQL += ", " & sparm(RecSet3.Fields.Item("ManSerNo").Value) & ", " & sparm(RecSet3.Fields.Item("IntSerNo").Value)
                    lsSQL += ", " & RecSet3.Fields.Item("QTY").Value & ", " & sparm(oDelivery.Lines.WarehouseCode) & ", " & sparm(RecSet2.Fields.Item(8).Value)
                    RecSet4.DoQuery(lsSQL)
                      j += 1
                      If j + 1 > oDelivery.Lines.SerialNumbers.Count Then
                        oDelivery.Lines.SerialNumbers.Add()
                      End If
                      oDelivery.Lines.SerialNumbers.SetCurrentLine(j)
                      oDelivery.Lines.SerialNumbers.BatchID = RecSet3.Fields.Item("LotNo").Value
                      oDelivery.Lines.SerialNumbers.ManufacturerSerialNumber = RecSet3.Fields.Item("ManSerNo").Value
                      oDelivery.Lines.SerialNumbers.InternalSerialNumber = RecSet3.Fields.Item("IntSerNo").Value
                      oDelivery.Lines.SerialNumbers.SystemSerialNumber = RecSet4.Fields.Item(0).Value
                      oDelivery.Lines.SerialNumbers.BaseLineNumber = oDelivery.Lines.BaseLine
                    RecSet3.MoveNext()
                  End While
                  '-- 'end manage serial numbers
                End If
                RecSet2.MoveNext()
              End While
            Next x
            '-- now add object to SAP
            If 0 <> oDelivery.Add() Then
              Dim liError As Long
              Dim lsError As String
              Call oCompany(piCompany).GetLastError(liError, lsError)
              '-- write error code to table - Delivery document creation was unsuccessful
              lsSQL = "Update DeliveryTable SET ProcessResult = " & liError & ", ProcessDate = GetDate() WHERE DocEntry = " & oSalesOrder.DocEntry & " AND ProcessResult Is Null"
              RecSet2.DoQuery(lsSQL)
              lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, liError, lsError, piCompany)
            Else
              lsuWriteEvent("AR Delivery", bDocuments(piCompany).DelDraft, oSalesOrder.DocEntry, 0, "Success", piCompany)
            End If
            RecSet.MoveNext()
          End While
        Catch
          LogErrorMessage(Err.Description)
        Finally
          If Not RecSet Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet)
          End If
          If Not RecSet2 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet2)
          End If
          If Not RecSet3 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet3)
          End If
          If Not RecSet4 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet4)
          End If
          If Not RecSet5 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet5)
          End If
          If Not RecSet6 Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(RecSet6)
          End If
          If Not oSalesOrder Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oSalesOrder)
          End If
          If Not oDelivery Is Nothing Then
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oDelivery)
          End If
          GC.WaitForPendingFinalizers()
        End Try

    We have narrowed down the issue to this:
    If you are just adding a delivery document with serial numbers, the DIAPI works OK.  If you are adding a delivery document which is based upon a sales order and add the 3 lines that reference it:
    oDelivery.Lines.BaseEntry = oSalesOrder.DocEntry
    oDelivery.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oDelivery.Lines.BaseLine = liMinRef
    then you receive a error of -1, General error.  This is functionality that did work in 2004 and 2005 SP00.  I believe this is a bug.

  • Inspection lot with stock tab for sale return from customer.

    Dear,
    In our organization there are two scenarios,
    1)     Make to order- Strategy group -20
    2)     Make to stock- Strategy group -10
    I have maintained 05 inspection types in QM view for sale return inspection from customer.
    1) In make to order scenario Inspection lot created with inspection stock tab which is OK.
    2) But in make stock scenario no inspection lot is generated.
        Remember I donu2019t want inspection lot without inspection stock tab as per insp. type-06
    So please suggest me, what can I do for getting inspection lot with stock tab for make to stock scenario.
    Regards
    Shabbir Kureshi

    Hi
    QCC0>Quality inspection>Inspection lot creation>Inspection for shipping>Assign Inspection Lot Origin to Delivery Type-->aganist delivery type Enter 05 inspection lot origine
    Also in OMJJ check whether QM in active for mnt type 651
    Regards
    Sujit

  • Want to do mass processing for inspection lots with status SPRQ

    Hello,
    My company using early lot creation for 04 inspection type. We have thousands of inspection lots with status "UD   ICCO SPRQ PRII PRSI STUP". Now due to SPRQ status, system is not closing process orders associated with thousands of inspection lots.
    Is there any transaction where I can do mass processing of inspection lots to change the status "SPCO" from "SPRQ"?
    Thanks
    Bhavesh

    Dear Bhavesh
    You may have to modify the standard program to do so. Modify this program RQEVAI30.
    This can help you
    Regards
    gajesh

  • Need help in query to display lot and serial numbers for a Wip Job Component

    Hi ALL,
    I have a requirement as below.
    I need to display lot and serial numbers for a Wip Job Component, i have a xml report in that for each wip job component i need to check whether it is a lot control item or serial control item based on that i need to display some data. so can you please help me to get the query to indentify the lot and serial number for a wip job component.
    Thanks

    Thank you for replying Gordon.  I did not remember I had asked this before.  I no longer have access to the other account. 
    What I need on the query is that I want  a list of items with the on order quantity and when we are expecting this order to be received.  The receiving date is based on the PO delivery date.  The trick here is that  I need to Master sku to show the delivery date of the component sku.  In my scenario all components have the same delivery date for the Master sku.  If there are mulitple delivery dates because each warehouse is getting them on a different date then I want to get the delivery date for that warehouse.
    Let me know if this is possible and if yes please guide towards a query for it.
    Thank you.

  • DTW General Entry (Goods Receipt) with Serial numbers

    Hi all,
    I want to import 540 items with serial numbers using the General Entry templates. Some items have as many as 200 serial numbers. Total number of serial numbers for 540 items are about 24,000.
    In the Serial Numbers template, will I have to cover 24,000 rows? Is it possible to auto-create the serial numbers with DTW?
    In which field should I put the serial numbers - Internal or System?
    Thanks,
    Ajay Audich

    Hi Ajay Audich,
    You may check this thread first:
    Re: Upload inventory transfer trnsaction with DTW
    Thanks,
    Gordon

  • Goods Receipt with serial numbers

    Hello everyone
    I'm having problems when i try to add a goods receipt with serial numbers
    Code:
            OReceipt = oCompany.GetBusinessObject(BoObjectTypes.oInventoryGenEntry)
            OReceipt.Series = 18
            OReceipt.DocDate = Date.Now
            OReceipt.TaxDate = Date.Now
            OReceipt.Lines.ItemCode = "MP.PP.241"
            OReceipt.Lines.Quantity = 1
            OReceipt.Lines.SerialNumbers.InternalSerialNumber = "SN-01"
            OReceipt.Lines.SerialNumbers.ManufacturerSerialNumber = "SN-01"
            OReceipt.Lines.AccountCode = "_SYS00000000109"
            OReceipt.Lines.WarehouseCode = "MPfabrik"
            OReceipt.Comments = ".NET"
            res = OReceipt.Add()
    Any help will be greatly appreciated!

    Hi Nestor
    All forums on SCN contain a description of what the forums is for. This forum's  Overview page:
    Looking at the overview, I suspect you want to post your query elsewhere? Perhaps one of  Microsoft's forums?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Inspection lot with 01 origin for stock transfer (Intra company STO)?

    Hi Sap Gurus,
    As per standard SAP configuration for 101 movement type, 08 is the inspection type used for stock transfers (Intra company STO). But, there is a requirement from business to use 01 for Intra STO. Is it possible to get an inspection lot with 01 origin while GR to the delivery created for Intra STO ( Stock transfer B/n plants from same company code)?.
    Thanks in advance
    Venkat V

    Hi All,
    Thanks for your replies..
    Its STO Purchase order between two plants under same company code. System triggers movement type 101 with movement indicator B - Goods movement for Purchase order and Receipt indicator X - Stock transport order. Here system expects inspection lot origin 08 as per standard SAP configuration(OMJJ).
    I just wanted to check, is it possible to get inspection lot from 01 origin for this type of stock transfers. If anyone who worked on this area, please share your inputs. 
    Thanks in advance
    Venkat V

  • Physical Inventory with serial numbers

    Hi friends,
    we are trying to post physical inventory with materials having serial numbers.
    However during post the system gives 2 errors.
    1)
    Stock data of serial number 2 not suitable for movement
    Message no. IO231
    "The current stock information for the serial number 2 contradicts the stock information of the movement to be posted... "
    2)
    Serial number 2 cannot be used here
    Message no. IO201
    "You have entered a serial number already present in the system..."
    Let me try to explain the situation.
    For example we have two storage locations.
    A material, say SERIAL, have some stocks in one storage location, say 0001, with serial numbers.
    Assume that in the system serial number 2 of the material SERIAL is in the storage location 0001.
    However, when physically counted, this serial number 2 shows up in the storage location 0002.
    Therefore we would like to enter count for the storage location 0002 to post the serial number 2.
    Doing so, we get the errors above.
    Is there any solution to that problem? Thanks in advance.
    Best regards,
    Yusuf

    Thank you Lakshman,
    yes the stock transfer between storage locations or removal first from storage location 0001 with pyhsical inverntory can be done in the system. However I wonder is there any better way to do this, without making any abap development.
    I would like to make a count for the storage location 0002 as in our case (or this can be a customer consigment either in another case). Here I expect the serial number 2 will be removed from storage location 0001 and will be placed in sorage location 0002 at the same time. Do you know any way of doing this?
    Best regards,
    Yusuf

  • Inspection Lot with Zero stock posting qty

    Dear QM Consultants,
    We have come across following scenario,
    1.     Repetitive manufacturing
    2.     Material has inspection type 04 and Z04. Preferred inspection type is not ticked. Z04 inspection type has been assigned to inspection lot 04.
    3.     Production GR done by 131 movement
    4.     Inspection lot generated with reference to 131 movement type. Lot for inspection type 04 is created.
    5.     Inspection lot qty in QA32 it shows correctly as that of GR qty.
    6.     But when we click on UD, in stock posting tab, qty to be posted it shows as ZERO. So no qty is available for stock posting.
    Has anybody came across such scenario? Is this any bug? Any SAP note for this?
    Best Regards,
    Anand Rao

    Dear Sujit, Thanks for so prompt reply,
    Basically this is a complex case,
    1.     See we have set Posting Proposal in Usage Decision as u2018To unrestricted useu2019 in selected sets for usage decision. That means we need not every time go to stock posting tab. The moment we select ACC UD code it automatically posts the stock to unrestricted use.
    2.     Now, what has happed, by 131 movement declaration, backflush happened with 261 movement for child parts.
    3.     Inspection lots with inspection type 04 were created. (Here we did not note whether the stock was posted in quality inspection or in unrestricted use)
    4.     Now the requirement is to cancel 131 movement document. Kindly note UD were not given up to this moment.
    5.     Now through MFBF, user did document specific reversal. As a result of which and as per my knowledge 132 movement should happen and 262 should also happen. At the same time inspection lot status should be set to LTCA. But in actual case 132 movement happened and 262 did not. Surprisingly inspection lot did not set to LTCA status. It remained in REL mode only.
    6.     After this document specific reversal, user gave UD to these inspection lots without noticing where the stock was lying.(in unrestricted or in quality inspection). So the lot status set to UD   ICCO SPCO STUP after giving usage decision.
    7.     Now while doing reverse engineering that why 262 movement did not happen, we came to know that no 321 movement happened for the inspection lots which were generated with reference 131 movement document
    8.     Also, qty to be posted it shows ZERO as explained in my earlier post.
    9.     When we display 132 movement document through MIGO, in where tab it shows stock type as Quality inspection. That means stock was lifted from QI for 132 movement.
    In short  it cannot be predicted where the stock was actually posted whether in QI or in unrestricted use. But yes the post to inspection stock tick has been ticked in material master.
    Can you help further in this regard?
    Best Regards
    Anand Rao

  • Group By reports with Serial Numbers

    hi,
    i am creating group by reports with serial numbers. i use the
    following code to generate the serial numbers using a formula
    column:
    function SNOFormula return Number is
    SNO NUMBER(5);
    begin
    SNO := :SNO + 1;
    RETURN(SNO);
    end;
    I am able to acheive the required output with the above code in
    the case of Normal Tablular reports. But in the case of Group by
    reports, the output goes as follows:
    for example:
    sno,groupno,empno
    1,g1,e1
    e2
    e3
    4,g2,e5
    e6
    Any way out?. pls help.
    Regards,
    Prabhu S

    create a summary column in the group . set the function to
    count. set the source to the group name. set the reset at value
    as report. create a field in the lay our editor left of the
    group field. set the source as the summary column. you will see
    the numbering.
    Ex :
    Query : Select * From Emp;
    Group Field : Deptno
    Summary Field : CS_Count
    Properties of Cs_Count - Function => Count
    Source => DEPTNO
    Reset At => Report
    Now create a field in the lay out editor left side of deptno
    field lets say "SEQ", set the source to Cs_Count.
    It will disply the serial number of the groups.

Maybe you are looking for

  • Pl/sql Web service deployment error

    While deploying the GetEployee webservice as given in the Jdeveloper tutorial, i got the following error. Kindly those who worked on this may reply ---- Deployment started. ---- Dec 6, 2006 5:04:26 PM Target platform is Standalone OC4J 10g 10.1.3 (Ap

  • Error with GUI download

    Hi, whenever I use GUI_DOWNLOD (cl_gui_frontend_services=>gui_download) I get a popup (title "SapGuI file save options") with the message "The file ... might be overwritten by a download. Do you want to allow this?". I have to confirm and then the do

  • Inbound Invoice IDOC mapping Required fields

    Hi All, Please let me know what need to be mapped for the @begin , @segment , TABNAM , SNDPOR, SNDPRT etc like this elements in the IDOC structure. In my scenarion i get Invoices in  XML file so that i can pick that and process it into SAP R/3 by doi

  • Error in importing javax.servlet.ServletConfig;

    Hi I am fairly new to servlets technology while importing package javax.servlet.ServletConfig; i got error Create class "ServletConfig" in package javax.servlet I'm using eclipse IDE

  • SAP and Adobe Form - Scripting Issues

    Hello experts, before i start with the the issue, I would like to describe some functions which we have developed in our adobe form (not interactive Form!). We are displaying XHTML Text coming from SAP , in order to load the XTHML into the controls w