Serial Number in Rollup Query

Hi All
I want to create Serial Number(running number like 1,2,3...)
in Rollup Query. But my problem is,I want to create running number all rows except for Toatl row.
EX:
select COMPANY,DEPT,SUM(SALARY) from emp
GROUP BY ROLLUP(COMPANY_NAME,DEPT)
Expected O/P :
SL.No     COMPANY     DEPT     SALARY
1     ABC     P     60000
2     ABC     A     40000
     ABC          100000
3     XYZ     P     30000
4     XYZ     A     40000
     XYZ          70000
               170000
How to do the above? Help me..
Regs
Kumar

SQL> create table emp (company,dept,salary)
  2  as
  3  select 'ABC', 'P', 60000 from dual union all
  4  select 'ABC', 'A', 20000 from dual union all
  5  select 'ABC', 'A', 20000 from dual union all
  6  select 'XYZ', 'P', 15000 from dual union all
  7  select 'XYZ', 'P', 15000 from dual union all
  8  select 'XYZ', 'A', 40000 from dual
  9  /
Table created.
SQL> select case grouping_id(company,dept)
  2         when 0 then row_number() over (order by grouping_id(company,dept),company,dept desc)
  3         end sl_no
  4       , company
  5       , dept
  6       , sum(salary)
  7    from emp
  8   group by rollup(company,dept)
  9   order by company
10       , dept desc nulls last
11  /
     SL_NO COM D SUM(SALARY)
         1 ABC P       60000
         2 ABC A       40000
           ABC        100000
         3 XYZ P       30000
         4 XYZ A       40000
           XYZ         70000
                      170000
7 rows selected.Regards,
Rob.

Similar Messages

  • Serial Number in SAP Query !!!

    Hi Gurus
    How can we add Serial Number in SAP Query? There is a field named Counter which gives Total number of count. But i need numbers to be displayed with each line item.

    OK,
    So you need to create a Number Range Object (tr SNRO), this create a object like ZNUM.
    then, each time you need insert a new record to table only call this FM:
    CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING
          nr_range_nr             = '01'
          object                  = 'ZNUM'
        IMPORTING
          number                  = itab-field
        EXCEPTIONS
          interval_not_found      = 1
          number_range_not_intern = 2
          object_not_found        = 3
          quantity_is_0           = 4
          quantity_is_not_1       = 5
          interval_overflow       = 6
          buffer_overflow         = 7
          OTHERS                  = 8.
    at this point, ITAB-FIELD contains the next number in the range ZNUM.
    I hope this help,
    X.S.

  • Serial Number In Abap Query

    How can we add <b>Serial Number</b> in SAP Query? There is a field named Counter which gives Total number of count. But i need numbers to be displayed.
    Any body can help me?

    OK,
    So you need to create a Number Range Object (tr SNRO), this create a object like ZNUM.
    then, each time you need insert a new record to table only call this FM:
    CALL FUNCTION 'NUMBER_GET_NEXT'
        EXPORTING
          nr_range_nr             = '01'
          object                  = 'ZNUM'
        IMPORTING
          number                  = itab-field
        EXCEPTIONS
          interval_not_found      = 1
          number_range_not_intern = 2
          object_not_found        = 3
          quantity_is_0           = 4
          quantity_is_not_1       = 5
          interval_overflow       = 6
          buffer_overflow         = 7
          OTHERS                  = 8.
    at this point, ITAB-FIELD contains the next number in the range ZNUM.
    I hope this help,
    X.S.

  • Serial number query

    Hi,
    Currently I'm in my trainingperiod and I'm busy with a query to search on serialnumbers to find the needed info with it. Currently I have the next code:
    SELECT DISTINCT T1.IntrSerial, T1.ItemCode, T1.ItemName, T1.WhsCode, T1.CardName, T3.CardName
    FROM OSRI T1, INV1 T2, OINV T3, SRI1 T4, OCRD T5
    WHERE T1.ItemCode = T2.ItemCode
    AND T1.CardName = T5.CardName
    AND T1.IntrSerial IN
    (SELECT IntrSerial
    FROM OSRI T1
    WHERE T1.IntrSerial = 'm54275f00075' )
    'm54275f00075' = a serial number so that's something you don't have to add. I added that line for my own help so I don't have to type a serialnumber each time. To search I use this line: WHERE T1.IntrSerial = '[%0]' FOR BROWSE
    Now the problem is that he's giving me many customers when I search on a serial, while this isn't possible. There can only be 1 customer who bought the product with that serial and not like 200. So my question is how do I get the right customer who bought the product that contains the serial I'm searching for?
    Any help is appreciated.
    Thank you in advance!
    Friendly greetings,
    Martijn

    Hi Martin,
    I would structure the query a bit differently. You don't need to (or I don't understand why you) link the OINV and INV1 tables. Also the information from OCRD are stored in the OSRI table so that link is not needed, but I left it there so you can see my join.
    SELECT T1.IntrSerial, T1.ItemCode, T1.ItemName, T1.WhsCode, T1.CardCode, T2.CardName
    FROM OSRI T1
    LEFT OUTER JOIN OCRD T2 ON T1.CardCode = T2.CardCode
    WHERE T1.IntrSerial = 'm54275f00075'
    Hope it helps,
    Adele

  • Query for Serial number

    Hello all,
    I want a query for show all the record along with serial number.Here i mentioned a sample table along with data.
    COMPCODE
    ITEMCODE
    ACTIVITY
    DESIGNATION
    QTY
    105
    001
    A13
    D7
    50
    105
    001
    A22
    D7
    44
    105
    001
    A34
    7
    54
    105
    001
    A45
    D7
    34
    105
    001
    A45
    D8
    54
    105
    001
    A52
    D13
    32
    105
    001
    A52
    D14
    3
    105
    001
    A61
    D2
    43
    105
    002
    A12
    D1
    43
    105
    002
    A25
    D1
    53
    105
    002
    A35
    D5
    42
    105
    002
    A35
    D4
    45
    105
    002
    A35
    D3
    65
    105
    002
    A44
    D2
    423
    105
    002
    A55
    D3
    43
    105
    002
    A62
    D4
    65
    These is the sample table along with data.My requirement is I want show the serial number based on the itemcode and activity.
    The final result should be  like this
    COMPCODE
    ITEMCODE
    SLNO
    ACTIVITY
    DESIGNATION
    QTY
    105
    001
    1
    A13
    D7
    50
    105
    001
    2
    A22
    D7
    44
    105
    001
    3
    A34
    D7
    54
    105
    001
    4
    A45
    D7
    34
    105
    001
    4
    A45
    D8
    54
    105
    001
    5
    A52
    D13
    32
    105
    001
    5
    A52
    D14
    3
    105
    001
    6
    A61
    D2
    43
    105
    002
    1
    A12
    D1
    43
    105
    002
    2
    A25
    D1
    53
    105
    002
    3
    A35
    D5
    42
    105
    002
    3
    A35
    D4
    45
    105
    002
    3
    A35
    D3
    65
    105
    002
    4
    A44
    D2
    423
    105
    002
    5
    A55
    D3
    43
    105
    002
    6
    A62
    D4
    65
    I tried write a query  used with row_number() function  but i didn't get the exact output.kindly help me for getting this type of output

    I see, try dense_rank instead:
    SQL> with your_view_resultset as (
      2  select 105 compcode, 001 itemcode, 'A13' activity, 'D7' designation, 50 qty from dual union
      3  select 105, 001, 'A22', 'D7', 44 from dual union
      4  select 105, 001, 'A34', '7', 54 from dual union
      5  select 105, 001, 'A45', 'D7', 34 from dual union
      6  select 105, 001, 'A45', 'D8', 54 from dual union
      7  select 105, 001, 'A52', 'D13', 32 from dual union
      8  select 105, 001, 'A52', 'D14', 3 from dual union
      9  select 105, 001, 'A61', 'D2', 43 from dual union
    10  select 105, 002, 'A12', 'D1', 43 from dual union
    11  select 105, 002, 'A25', 'D1', 53 from dual union
    12  select 105, 002, 'A35', 'D5', 42 from dual union
    13  select 105, 002, 'A35', 'D4', 45 from dual union
    14  select 105, 002, 'A35', 'D3', 65 from dual union
    15  select 105, 002, 'A44', 'D2', 423 from dual union
    16  select 105, 002, 'A55', 'D3', 43 from dual union
    17  select 105, 002, 'A62', 'D4', 65 from dual
    18  )
    19  --
    20  --
    21  --
    22  select t.*
    23  ,      dense_rank() over (partition by t.itemcode order by t.itemcode, t.activity) slno
    24  from   your_view_resultset t
    25  order by t.itemcode, t.activity;
      COMPCODE   ITEMCODE ACT DES        QTY       SLNO
           105          1 A13 D7          50          1
           105          1 A22 D7          44          2
           105          1 A34 7           54          3
           105          1 A45 D7          34          4
           105          1 A45 D8          54          4
           105          1 A52 D13         32          5
           105          1 A52 D14          3          5
           105          1 A61 D2          43          6
           105          2 A12 D1          43          1
           105          2 A25 D1          53          2
           105          2 A35 D3          65          3
           105          2 A35 D4          45          3
           105          2 A35 D5          42          3
           105          2 A44 D2         423          4
           105          2 A55 D3          43          5
           105          2 A62 D4          65          6
    16 rows selected.

  • Query against serial number

    dear all,
       we are useing serial number profile. i want to create one query which will includes
    material number,
    document number,
    movement type, with special indicator,
    serial number applied.
    qty
    can anybody suggest me suitable table from which i can grab serial number ( in MIGO) field ?

    Hi
    Have a look on these tables.
    SER00 General Header Table for Serial Number Management
    SER01 Document Header for Serial Numbers for Delivery
    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
    SERI Serial Numbers
    check in table AFPO field ANZSN with respect to AUFNR
    Thanks
    S.Murali
    Edited by: S.Murali on Sep 14, 2009 1:31 PM

  • Query about perishable item and serial number entry in RMS

    hi ,
    can some one help me to explore the below mentioned option RMS
    1. how can we mark an item as an perishable item in rms
    2. where to enter the serial number for an item in RMS.
    regards,
    deepak

    hi erik,
    yeah you are right its an unique number which is assigned to the product by the supplier which is not an barcode or PLU. when i tried to find the same i found vpn and LOV like upc , isbn and oracle retail number etc while i am in the process of creating an item.
    i would like to know after we create an oracle retail number or the retailer's own sku number if we want to add multiple ean code and unique serial code how can we execute the same in RMS.
    eg 1: a brand of a shampoo will have its common sku number but at the same time it can have multiple ean code/bar codes.
    eg 2: mobile phones with common sku number can have IMEI and other codes .
    regards,
    deepak

  • Serial number status query

    Dear Experts,
    in my company, due to a SAP external system process it happens quite often that the same material/serial number should be sold, returned and sold again the same day(within several minutes). The external system isn't able to send (IDoc) the required postings in the right order. All sales are collected in only one IDoc -  so we try to post the goods issue twice, before its return gets posted. This is not possible, due to the serial number's status ECUS.
    Is there a way how I can define a serial number profile that doesn't change the status at all? or can I define a new status, which has no check function?
    Or do you have any other good idea how I can solve this problem? ("do not work with serial numbers" is no option, I already asked that )
    Any help is appreciated!
    Thanks a lot
    Kurt D. Hess

    Dear Experts,
    in my company, due to a SAP external system process it happens quite often that the same material/serial number should be sold, returned and sold again the same day(within several minutes). The external system isn't able to send (IDoc) the required postings in the right order. All sales are collected in only one IDoc -  so we try to post the goods issue twice, before its return gets posted. This is not possible, due to the serial number's status ECUS.
    Is there a way how I can define a serial number profile that doesn't change the status at all? or can I define a new status, which has no check function?
    Or do you have any other good idea how I can solve this problem? ("do not work with serial numbers" is no option, I already asked that )
    Any help is appreciated!
    Thanks a lot
    Kurt D. Hess

  • PSE 7 Activation query. Serial number is invalid

    Trying to activate an old PSE 7 version on a new PC and serial number is coming up as invalid. Can you assist please

    Got the exact same response from the tech guy on the chat.  It's terrible support in my opinion.
    I have the exact same problem as you and they sent me to this forum to resolve it.  C'mon Adode!!!
    Photoshop Elements 7 works fine on Windows 8.1 as I am running the trial version it just wont accept my serial number which is valid

  • Remotely query serial number?

    Is there any way to remotely determine the serial number of a Linksys managed switch, such as an SRW208?
    I performed an snmpwalk of one, but didn't find anything in it that looked like the serial number.
    Thanks

    I'm looking for the same thing i've got about 40 out in the field and I can't get the serial number remotely either.
    -Kawa-

  • How do you find the serial number from subscription?

    I recently bought the one year subscription Adobe Acrobat Pro. I tried to download the app onto my laptop, and it asks for a serial number that I was never provided with. I have spoken to customer service and they said it should just install since I have paid and have an account. I really just want to use it cause I need it for school. But I am having trouble installing this program. It just sucks.

    Hi Ergo496,
    Kindly post this query in Acrobat forums:Acrobat
    Regards,
    Florence

  • Old school with CS2.  Haven't used in a while and am unable to use the program as it says my serial number is invalid. Customer service tells me the server for CS2 has been shut down.  Then they sent me here for help.  Does anyone have any advice?

    I don't have a clue what I am doing with this.  Here is my discussion with Customer Service:
    Naresh: Hello! Welcome to Adobe Customer Service.
    Naresh: Hi Mary.
    Naresh: I understand you have been getting invalid serial number, am I right?
    Mary Vance: Hi
    Mary Vance: yes
    Naresh: Please provide me with the serial number, Mary.
    Mary Vance: I provided my serial number here
    Naresh: Thank you for the serial number.
    Naresh: Please allow me 2-3 minutes while I check your serial number.
    Mary Vance: no problem
    Naresh: Thank you.
    Naresh: Thank you for being online.
    Naresh: I would like to inform you that the server for CS2 products have been shut down by adobe since then you are not able to install the product.
    Naresh: However, I will provide you the link to download CS2 application. Please visit the following link.
    Mary Vance: will this allow me to reinstall Photoshop?
    Naresh: Yes, Mary.
    Mary Vance: ok...what is that link?
    Naresh: Please clcik here to download.
    Mary Vance: thank you....trying it now
    Naresh: You are welcome.
    Naresh: I will also provide you the link for further information regarding the installation of CS2 products.
    Mary Vance: the download doesn't have anything regarding installation
    Naresh: Please click for the information.
    Naresh: I am sorry for providing wrong link.
    Naresh: Please click here to download.
    Naresh: The 3rd link is for the download of CS2 Photoshop.
    Naresh: Were you able to view the download link, Mary?
    Mary Vance: what file in that download is supposed to help me?
    Mary Vance: the first and 3rd link were the same
    Mary Vance: when trying to load from my software, I get the message saying my serial number is not valid. All I need is a serial number that works. Is that going to be possible?
    Naresh: Mary, Adobe has disabled the activation server for CS2 applications, including Acrobat 7 and Audition 3, because of a technical issue.
    Naresh: So you will have to download the software from the above link.
    Naresh: May I know in what OS you are trying to install the software?
    Mary Vance: the link sends me to a CS2 help package
    Mary Vance: windows 7
    Naresh: I am sorry you will not be able to install the CS2 application on Windows 7 since it does not support CS2 version.
    Mary Vance: I have had on here for a few years...why all of a sudden would it not work? Illustrator is fine.
    Naresh: Okay.
    Naresh: You can try downloading the software.
    Mary Vance: was the original link that you sent me suppose to allow me to download Photoshop?
    Mary Vance: I did try and got the message that the serial number is invalid. Is there any way to get around this or should I throw it away?
    Naresh: May I know whether you uninstalled the product.
    Naresh: ?
    Mary Vance: I did uninstall Photoshop only. Then I tried reinstalling Photoshop only and got the message about the serial number.
    Naresh: I check and see that it seems to be a technical issue, I request you to please post your query to the forums so that you will get the resolution from our expertise and I'll provide you the link to visit the forums.
    Naresh: Please click here to visit the forums.
    Mary Vance: I guess I will try that.
    Naresh: Yes, please.
    Naresh: Is there anything else I can help you with?
    Mary Vance: I don't see where you helped me with this yet, so I guess not!
    Naresh: I am sorry for the inconvenience.
    Naresh: Thank you for contacting Adobe.  We are available 7 days a week, 24 hours a day. Goodbye!
    Any help would be appreciated.

    CS2 is very old and reached its "end of life" a while back.  So probably won't run on modern operating systems.  If you can still run it, you'll need to uninstall what you have and re-install with the download link below to activate it.
    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    Nancy O.

  • Serial number problem upgrading from Tryout and 5.1 to 5.5 CS Standard

    Hi
    Long one...!
    I bought a new iMac and CS5.5 Design Standard. Installed it. Didn't have my education serial at the time so ran as trial. All good.
    Received serial from Adobe. Put it in and Indesign was OK with it and upgraded to 5.5, but others stayed as Tryouts. Reinstalled, same problem.
    Contacted Adobe who said the serial was for Windows. After much messing around they issued another serial. Put it in. It changed when I put the disk in to try and reload. (Last four digit box changes itself to XXX). Other two packages went from Tryout to 5.1.
    Uninstalled whole package and reinstalled using the code Adobe Support gave me. Indesign back as 5.5 but other two still only 5.1
    Why might this be?
    You don't have to read the following but it may help.
    Thank you for answers or suggestions. At wits' end here!
    Sam
    Thank you for choosing Adobe. A representative will be with you shortly. Your estimated wait time is 0 minute(s) and 2 second(s) or longer as there are 1 customer(s) in line ahead of you.
    You are now chatting with Arun Kumar.
    sam: Hello
    Arun Kumar: Hello! Welcome to Adobe Customer Service.
    Arun Kumar: Hi! Sam.
    sam: My copy of CS design standard says my serial number isn't correct
    Arun Kumar: May I please have your email address registered with Adobe while I review your request?
    sam: .......................
    Arun Kumar: Thank you for the information.
    Arun Kumar: I understand that you need assistance regarding serial number. Is that correct?
    sam: You emailed me the serial after I sent in supporting evidence of eligibility and i pasted it into the startup. The startup seems to have gone but the prgarm still says trial version
    Arun Kumar: Okay, sure I will help you with this.
    Arun Kumar: May I have the serial number?
    sam: "Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- .....................
    sam: I pasted it into the box
    Arun Kumar: Okay.
    Arun Kumar: I checked with the serial number and it's correct.
    Arun Kumar: Are you using the correct dvd?
    sam: The suite installed and the nag screen's gone but the product still says it's a trial version
    sam: I used the dvd provided
    Arun Kumar: May I know which software trail version is installed on your machine?
    Arun Kumar: Are we still connected?
    sam: Sorry
    sam: Creative Suite Design Standard 5.5
    sam: Ai and PS say it's a tryout on the startup screen
    Arun Kumar: In this case, I suggest you to uninstall the trail version and install the Design Standard CS 5.5 with the help of DVD.
    sam: The dvd was where I installed what I have from
    sam: I deleted and reinstalled PS as I thought there was another problem with it
    Arun Kumar: May I know which software was there before you installing the software form DVD?
    sam: Brand new iMac
    Arun Kumar: Sam, you install it in trial version, there you will get option of help, click on help and register the serial number.
    Arun Kumar: Your product will get converted to full version.
    sam: I'm new to Macs. How do I uninstall it?
    Arun Kumar: Don't uninstall it.
    sam: OK. Can you give me a refernce for this case for itf it doesn't work?
    Arun Kumar: With the help of DVD run the software and choose  the trial version.
    sam: Choose the trial version???
    Arun Kumar: You will get two options when you will install it with DVD one is run the trail version and another is enter the serial number.
    Arun Kumar: Did you got this two option when you installed the software?
    sam: I was going to do it later! Shall I do it now?
    sam: If you don't mind waiting...
    Arun Kumar: Installation will take time and we can't wait for so much time.
    Arun Kumar: I will provide you all the steps.
    sam: OK
    Arun Kumar: If you still get any problem, you can contact us back. We are available 24/7
    Arun Kumar: When you will install the software, you will get two option.
    Arun Kumar: 1) install on trail version.
    Arun Kumar: 2) enter the serial number.
    Arun Kumar: By both way you can activate the product.
    Thank you for choosing Adobe. A representative will be with you shortly. Your estimated wait time is 0 minute(s) and 3 second(s) or longer as there are 1 customer(s) in line ahead of you.
    You are now chatting with 'Pritam'
    Pritam: Hello. Welcome to Adobe Technical Support.
    Pritam: I have received your query. Please allow me a moment to verify your account and to review the details of your request.
    Pritam: Could you please provide your email address?
    sam: [email protected]
    Pritam: Hello SAm
    Pritam: *Sam
    Pritam: AS I understand you are having an issue with the activation of the product,am I correct?
    sam: Hi Pritam
    sam: I've had two long discussions with your chatroom people. Very willing but still no success activating two of the products. The ID product has changed to 5.5 but AI and PS don't accept the serial code I was given. Please would someone let me know what to do? The trial is running out and I need the software!
    sam: I mean Live Chat
    Pritam: Thank you fro confirming the issue.
    Pritam: *for
    Pritam: I will try my level best to help you out with the issue.
    Pritam: May I have the serial number of the product?
    sam: 1408-1108-9876-3887-8290-4164
    Pritam: Sam ,may I know are you trying to activate the product in Windows or MAC?
    sam: A new iMac
    sam: You're welcome to remote view the machine if it helps
    Pritam: Sam, this is why you are having an error in activating.
    Pritam: The serial number which you have provided is for Windows and you are trying to activate the product in MAC ,because of this you are not able to activate the product.
    sam: It's the one you sent me this morning
    sam: I sent in my education user support case stuff yesterday and included tproduct code from the packaging
    sam: Can you give me a Mac serial?
    Pritam: Please allow me a moment.
    Pritam: Thank you fro staying online.
    sam: No problem
    Pritam: As we are from the technical team ,we don't have the resource for the changing serial number to MAC.
    Pritam: In this case I will transfer the chat to our customer service team,they will help you out with the issue.
    Pritam: May I transfer the chat?
    sam: Thanks... this is from the email today: Your Adobe ID:............ Your Case Number:............ With this response, we believe your issue is resolved and have therefore closed your case 0207655150. If your support case has not been completed to your satisfaction or you should you need to contact us on this issue again, please reference your case number. You can reopen your case up to 14 days after it has been closed. Hello, Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- ........................
    Please wait while I transfer the chat to the appropriate group.
    You are now chatting with Daniel Pedapenki.
    Daniel Pedapenki: Hello! Welcome to Adobe Customer Service.
    Daniel Pedapenki: Hi Sam.
    Daniel Pedapenki: May I please have your email address registered with Adobe while I review your request?
    sam: Hi Daniel
    sam: ...............
    Daniel Pedapenki: Thank you for the email address.\
    sam: Email to me today:
    sam: sam: Thanks... this is from the email today: Your Adobe ID:............... Your Case Number:................... With this response, we believe your issue is resolved and have therefore closed your case 0207655150. If your support case has not been completed to your satisfaction or you should you need to contact us on this issue again, please reference your case number. You can reopen your case up to 14 days after it has been closed. Hello, Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- .....................
    Daniel Pedapenki: Thank you for the information.
    Daniel Pedapenki: Please elaborate the issue which you are facing now.
    sam: The activation screens won't accept the number as the product
    Daniel Pedapenki: Thank you for the information.
    Daniel Pedapenki: Sam, I see that the serial number is for the product Design Standard CS 5.5 Win platform and it is not activated till now, may I know the exact error message please?
    sam: AI and PS startup screens say they're CS5 tryout
    sam: The Indesign package seems happy with the code and says it's 5.5. Off the same CD
    Daniel Pedapenki: Thank you for waiting. One moment please.
    Daniel Pedapenki: Okay Sam.
    sam: Hi
    Daniel Pedapenki: Please allow me a moment to search for the information.
    Daniel Pedapenki: Thank you for your patience.
    sam: Thanks for your help
    Daniel Pedapenki: Sam, on the installation window, is it mentioned as Design Standard CS5.5 and Design Premium CS5.5?
    sam: Just looking now
    Daniel Pedapenki: Alright!
    Daniel Pedapenki: Just to confirm, are you trying to install the program on Mac  machine?
    sam: Yes. The programs work as trials fine
    Daniel Pedapenki: Thank you for the information.|
    Daniel Pedapenki: Sam, since you are using the Windows version serial number, to install the program on Mac machine, you are getting this issue.
    sam: One of the three packages seems OK
    sam: I'm opening the installer now
    Daniel Pedapenki: Sorry for the wait. Please do stay online.
    sam: It just goes through to the Enter Serial Number... Provide a serial number...Install this product as a trial... etc
    Daniel Pedapenki: Sam, please confirm, me if you have installed the product in Win or Mac?
    sam: THE SERIAL NUMBER IS NOT VALID FOR THIS PRODUCT... INSTALL THIS PRODUCT AS A TRIAL
    sam: Mac
    Daniel Pedapenki: Sam, as the serial number of the product is for Win platform, you can use the product in Mac platform.
    sam: Do you mean 'cannot'?
    Daniel Pedapenki: *cannot
    Daniel Pedapenki: Yes, you are correct.
    sam: The three programs are running fine but two as tryout only. I only have this one disk to load from, supplies by Apple with the new machine
    sam: The box says 'For sale only with a new Mac'
    Daniel Pedapenki: Sam, you have to install the product in Win platform as the serial number issued for you is for Win.
    sam: Not going to do that. Please give me a working serial number
    sam: I haven't got a disk for Windows installation anyway
    Daniel Pedapenki: I'll be right with you.
    sam: Thanks
    sam: I have only a couple of weeks to register this! And I need it for my coursework!
    Daniel Pedapenki: You are welcome.
    Daniel Pedapenki: Sam, the coupon code and the part number which you have provided to use for the edu serial number is for Win platform, in this case, we have provided you the serial number for the Win platform.
    Daniel Pedapenki: You can check in your mails for this information,.
    sam: Can you confirm back to me the product code?
    sam: I can photograph the box and email you showing the stickers etc
    sam: The part number on the back of the package is 91047958, yes?
    Daniel Pedapenki: Product name: CS5.5 Design Standard.
    Daniel Pedapenki: Part number (PN): 91047958
    Daniel Pedapenki: Coupon code: dsgnm3-1........
    Daniel Pedapenki: Design Standard CS 5.5---  ................
    sam: There's also a sticker saying PN: 65147483
    sam: Lot code 12056
    sam: I don't know where in my emails I said it was for Windows?
    sam: Also, why has Indesign activated properly?
    Daniel Pedapenki: Thank you for waiting. One moment please.
    Daniel Pedapenki: Sam, the serial number is for the Win platform, in this case, you can use this serial number in the Win platform.
    sam: I did not buy the software to use in Windows. I am moving completely to Apple
    sam: As I asked above:
    sam: sam: I don't know where in my emails I said it was for Windows? sam: Also, why has Indesign activated properly?
    sam: Why did the Education activation people give me the wrong number?
    sam: Two possible solutions now are that you give me the correct serial number, or send me another disk which will activate properly on OS X
    Daniel Pedapenki: I'll be right with you.
    sam: I'm feeling like I have done something wrong here... and it's not a good feeling
    Daniel Pedapenki: Please allow me a moment to search for the information.
    Daniel Pedapenki: Thank you for your patience.
    Daniel Pedapenki: Sam, in this case, I'll provide you the new serial number for Mac version.
    sam: OK
    Thank you for choosing Adobe. A representative will be with you shortly. Your estimated wait time is 0 minute(s) and 3 second(s) or longer as there are 1 customer(s) in line ahead of you.
    You are now chatting with 'Pritam'
    Pritam: Hello. Welcome to Adobe Technical Support.
    Pritam: I have received your query. Please allow me a moment to verify your account and to review the details of your request.
    Pritam: Could you please provide your email address?
    sam: [email protected]
    Pritam: Hello SAm
    Pritam: *Sam
    Pritam: AS I understand you are having an issue with the activation of the product,am I correct?
    sam: Hi Pritam
    sam: I've had two long discussions with your chatroom people. Very willing but still no success activating two of the products. The ID product has changed to 5.5 but AI and PS don't accept the serial code I was given. Please would someone let me know what to do? The trial is running out and I need the software!
    sam: I mean Live Chat
    Pritam: Thank you fro confirming the issue.
    Pritam: *for
    Pritam: I will try my level best to help you out with the issue.
    Pritam: May I have the serial number of the product?
    sam: 1408-1108-9876-3887-8290-4164
    Pritam: Sam ,may I know are you trying to activate the product in Windows or MAC?
    sam: A new iMac
    sam: You're welcome to remote view the machine if it helps
    Pritam: Sam, this is why you are having an error in activating.
    Pritam: The serial number which you have provided is for Windows and you are trying to activate the product in MAC ,because of this you are not able to activate the product.
    sam: It's the one you sent me this morning
    sam: I sent in my education user support case stuff yesterday and included tproduct code from the packaging
    sam: Can you give me a Mac serial?
    Pritam: Please allow me a moment.
    Pritam: Thank you fro staying online.
    sam: No problem
    Pritam: As we are from the technical team ,we don't have the resource for the changing serial number to MAC.
    Pritam: In this case I will transfer the chat to our customer service team,they will help you out with the issue.
    Pritam: May I transfer the chat?
    sam: Thanks... this is from the email today: Your Adobe ID:............... this response, we believe your issue is resolved and have therefore closed your case 0207655150. If your support case has not been completed to your satisfaction or you should you need to contact us on this issue again, please reference your case number. You can reopen your case up to 14 days after it has been closed. Hello, Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- 1.............
    You are now chatting with Daniel Pedapenki.
    Daniel Pedapenki: Hello! Welcome to Adobe Customer Service.
    Daniel Pedapenki: Hi Sam.
    Daniel Pedapenki: May I please have your email address registered with Adobe while I review your request?
    sam: Hi Daniel
    sam: .................
    Daniel Pedapenki: Thank you for the email address.\
    sam: Email to me today:
    sam: sam: Thanks... this is from the email today: Your Adobe .............0 With this response, we believe your issue is resolved and have therefore closed your case .. If your support case has not been completed to your satisfaction or you should you need to contact us on this issue again, please reference your case number. You can reopen your case up to 14 days after it has been closed. Hello, Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- ...............4164
    Daniel Pedapenki: Thank you for the information.
    Daniel Pedapenki: Please elaborate the issue which you are facing now.
    sam: The activation screens won't accept the number as the product
    Daniel Pedapenki: Thank you for the information.
    Daniel Pedapenki: Sam, I see that the serial number is for the product Design Standard CS 5.5 Win platform and it is not activated till now, may I know the exact error message please?
    sam: AI and PS startup screens say they're CS5 tryout
    sam: The Indesign package seems happy with the code and says it's 5.5. Off the same CD
    Daniel Pedapenki: Thank you for waiting. One moment please.
    Daniel Pedapenki: Okay Sam.
    sam: Hi
    Daniel Pedapenki: Please allow me a moment to search for the information.
    Daniel Pedapenki: Thank you for your patience.
    sam: Thanks for your help
    Daniel Pedapenki: Sam, on the installation window, is it mentioned as Design Standard CS5.5 and Design Premium CS5.5?
    sam: Just looking now
    Daniel Pedapenki: Alright!
    Daniel Pedapenki: Just to confirm, are you trying to install the program on Mac  machine?
    sam: Yes. The programs work as trials fine
    Daniel Pedapenki: Thank you for the information.|
    Daniel Pedapenki: Sam, since you are using the Windows version serial number, to install the program on Mac machine, you are getting this issue.
    sam: One of the three packages seems OK
    sam: I'm opening the installer now
    Daniel Pedapenki: Sorry for the wait. Please do stay online.
    sam: It just goes through to the Enter Serial Number... Provide a serial number...Install this product as a trial... etc
    Daniel Pedapenki: Sam, please confirm, me if you have installed the product in Win or Mac?
    sam: THE SERIAL NUMBER IS NOT VALID FOR THIS PRODUCT... INSTALL THIS PRODUCT AS A TRIAL
    sam: Mac
    Daniel Pedapenki: Sam, as the serial number of the product is for Win platform, you can use the product in Mac platform.
    sam: Do you mean 'cannot'?
    Daniel Pedapenki: *cannot
    Daniel Pedapenki: Yes, you are correct.
    sam: The three programs are running fine but two as tryout only. I only have this one disk to load from, supplies by Apple with the new machine
    sam: The box says 'For sale only with a new Mac'
    Daniel Pedapenki: Sam, you have to install the product in Win platform as the serial number issued for you is for Win.
    sam: Not going to do that. Please give me a working serial number
    sam: I haven't got a disk for Windows installation anyway
    Daniel Pedapenki: I'll be right with you.
    sam: Thanks
    sam: I have only a couple of weeks to register this! And I need it for my coursework!
    Daniel Pedapenki: You are welcome.
    Daniel Pedapenki: Sam, the coupon code and the part number which you have provided to use for the edu serial number is for Win platform, in this case, we have provided you the serial number for the Win platform.
    Daniel Pedapenki: You can check in your mails for this information,.
    sam: Can you confirm back to me the product code?
    sam: I can photograph the box and email you showing the stickers etc
    sam: The part number on the back of the package is 91047958, yes?
    Daniel Pedapenki: Product name: CS5.5 Design Standard.
    Daniel Pedapenki: Part number (PN): 91047958
    Daniel Pedapenki: Coupon code: dsgnm3-1.........
    Daniel Pedapenki: Design Standard CS 5.5---   ...........
    sam: There's also a sticker saying PN: 65147483
    sam: Lot code 12056
    sam: I don't know where in my emails I said it was for Windows?
    sam: Also, why has Indesign activated properly?
    Daniel Pedapenki: Thank you for waiting. One moment please.
    Daniel Pedapenki: Sam, the serial number is for the Win platform, in this case, you can use this serial number in the Win platform.
    sam: I did not buy the software to use in Windows. I am moving completely to Apple
    sam: As I asked above:
    sam: sam: I don't know where in my emails I said it was for Windows? sam: Also, why has Indesign activated properly?
    sam: Why did the Education activation people give me the wrong number?
    sam: Two possible solutions now are that you give me the correct serial number, or send me another disk which will activate properly on OS X
    Daniel Pedapenki: I'll be right with you.
    sam: I'm feeling like I have done something wrong here... and it's not a good feeling
    Daniel Pedapenki: Please allow me a moment to search for the information.
    Daniel Pedapenki: Thank you for your patience.
    Daniel Pedapenki: Sam, in this case, I'll provide you the new serial number for Mac version.
    sam: OK
    Daniel Pedapenki: Sam, please be online for 2 minutes.
    sam: OK
    Daniel Pedapenki: Thank you.
    Daniel Pedapenki: Sam, the new serial number is .........6201.
    Daniel Pedapenki: Is there anything else I can help you with?
    sam: Can I just try that serial
    Daniel Pedapenki: I'm sure you can activate the product with out any issue.
    Daniel Pedapenki: Please feel free to contact us if you need more assistance.
    Daniel Pedapenki: Do you have any further questions for me today?
    sam: No thanks
    Daniel Pedapenki: Thank you for contacting Adobe.  We are available 7 days a week, 24 hours a day. Goodbye!
    Thank you for chatting with us. Please click the "Close" button on the top right of the chat window to tell us how we did today.
    You are not currently connected to a chat representative.
    Thank you for choosing Adobe. A representative will be with you shortly. Your estimated wait time is 0 minute(s) and 3 second(s) or longer as there are 1 customer(s) in line ahead of you.
    You are now chatting with 'Pritam'
    Pritam: Hello. Welcome to Adobe Technical Support.
    Pritam: I have received your query. Please allow me a moment to verify your account and to review the details of your request.
    Pritam: Could you please provide your email address?
    .......Pritam: Hello SAm
    Pritam: *Sam
    Pritam: AS I understand you are having an issue with the activation of the product,am I correct?
    sam: Hi Pritam
    sam: I've had two long discussions with your chatroom people. Very willing but still no success activating two of the products. The ID product has changed to 5.5 but AI and PS don't accept the serial code I was given. Please would someone let me know what to do? The trial is running out and I need the software!
    sam: I mean Live Chat
    Pritam: Thank you fro confirming the issue.
    Pritam: *for
    Pritam: I will try my level best to help you out with the issue.
    Pritam: May I have the serial number of the product?
    sam: .-4164
    Pritam: Sam ,may I know are you trying to activate the product in Windows or MAC?
    sam: A new iMac
    sam: You're welcome to remote view the machine if it helps
    Pritam: Sam, this is why you are having an error in activating.
    Pritam: The serial number which you have provided is for Windows and you are trying to activate the product in MAC ,because of this you are not able to activate the product.
    sam: It's the one you sent me this morning
    sam: I sent in my education user support case stuff yesterday and included tproduct code from the packaging
    sam: Can you give me a Mac serial?
    Pritam: Please allow me a moment.
    Pritam: Thank you fro staying online.
    sam: No problem
    Pritam: As we are from the technical team ,we don't have the resource for the changing serial number to MAC.
    Pritam: In this case I will transfer the chat to our customer service team,they will help you out with the issue.
    Pritam: May I transfer the chat?
    sam: Thanks... this is from the email today: Your Adobe ID:. Your Case Number:0207655150 With this response, we believe your issue is resolved and have therefore closed your case 0207655150. If your support case has not been completed to your satisfaction or you should you need to contact us on this issue again, please reference your case number. You can reopen your case up to 14 days after it has been closed. Hello, Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- 1.-4164
    Please wait while I transfer the chat to the appropriate group.
    You are now chatting with Daniel Pedapenki.
    Daniel Pedapenki: Hello! Welcome to Adobe Customer Service.
    Daniel Pedapenki: Hi Sam.
    Daniel Pedapenki: May I please have your email address registered with Adobe while I review your request?
    sam: Hi Daniel
    sam: [email protected]
    Daniel Pedapenki: Thank you for the email address.\
    sam: Email to me today:
    sam: sam: Thanks... this is from the email today: Your Adobe ID:..........Your Case Number:......... With this response, we believe your issue is resolved and have therefore closed your case 0207655150. If your support case has not been completed to your satisfaction or you should you need to contact us on this issue again, please reference your case number. You can reopen your case up to 14 days after it has been closed. Hello, Thank you for your proof of academic status. Here is your serial number for Design Standard CS 5.5--- .-4164
    Daniel Pedapenki: Thank you for the information.
    Daniel Pedapenki: Please elaborate the issue which you are facing now.
    sam: The activation screens won't accept the number as the product
    Daniel Pedapenki: Thank you for the information.
    Daniel Pedapenki: Sam, I see that the serial number is for the product Design Standard CS 5.5 Win platform and it is not activated till now, may I know the exact error message please?
    sam: AI and PS startup screens say they're CS5 tryout
    sam: The Indesign package seems happy with the code and says it's 5.5. Off the same CD
    Daniel Pedapenki: Thank you for waiting. One moment please.
    Daniel Pedapenki: Okay Sam.
    sam: Hi
    Daniel Pedapenki: Please allow me a moment to search for the information.
    Daniel Pedapenki: Thank you for your patience.
    sam: Thanks for your help
    Daniel Pedapenki: Sam, on the installation window, is it mentioned as Design Standard CS5.5 and Design Premium CS5.5?
    sam: Just looking now
    Daniel Pedapenki: Alright!
    Daniel Pedapenki: Just to confirm, are you trying to install the program on Mac  machine?
    sam: Yes. The programs work as trials fine
    Daniel Pedapenki: Thank you for the information.|
    Daniel Pedapenki: Sam, since you are using the Windows version serial number, to install the program on Mac machine, you are getting this issue.
    sam: One of the three packages seems OK
    sam: I'm opening the installer now
    Daniel Pedapenki: Sorry for the wait. Please do stay online.
    sam: It just goes through to the Enter Serial Number... Provide a serial number...Install this product as a trial... etc
    Daniel Pedapenki: Sam, please confirm, me if you have installed the product in Win or Mac?
    sam: THE SERIAL NUMBER IS NOT VALID FOR THIS PRODUCT... INSTALL THIS PRODUCT AS A TRIAL
    sam: Mac
    Daniel Pedapenki: Sam, as the serial number of the product is for Win platform, you can use the product in Mac platform.
    sam: Do you mean 'cannot'?
    Daniel Pedapenki: *cannot
    Daniel Pedapenki: Yes, you are correct.
    sam: The three programs are running fine but two as tryout only. I only have this one disk to load from, supplies by Apple with the new machine
    sam: The box says 'For sale only with a new Mac'
    Daniel Pedapenki: Sam, you have to install the product in Win platform as the serial number issued for you is for Win.
    sam: Not going to do that. Please give me a working serial number
    sam: I haven't got a disk for Windows installation anyway
    Daniel Pedapenki: I'll be right with you.
    sam: Thanks
    sam: I have only a couple of weeks to register this! And I need it for my coursework!
    Daniel Pedapenki: You are welcome.
    Daniel Pedapenki: Sam, the coupon code and the part number which you have provided to use for the edu serial number is for Win platform, in this case, we have provided you the serial number for the Win platform.
    Daniel Pedapenki: You can check in your mails for this information,.
    sam: Can you confirm back to me the product code?
    sam: I can photograph the box and email you showing the stickers etc
    sam: The part number on the back of the package is 91047958, yes?
    Daniel Pedapenki: Product name: CS5.5 Design Standard.
    Daniel Pedapenki: Part number (PN): 91047958
    Daniel Pedapenki: Coupon code: dsgnm3-1630-0679-7505-5758
    Daniel Pedapenki: Design Standard CS 5.5---   1.4164
    sam: There's also a sticker saying PN: 65147483
    sam: Lot code 12056
    sam: I don't know where in my emails I said it was for Windows?
    sam: Also, why has Indesign activated properly?
    Daniel Pedapenki: Thank you for waiting. One moment please.
    Daniel Pedapenki: Sam, the serial number is for the Win platform, in this case, you can use this serial number in the Win platform.
    sam: I did not buy the software to use in Windows. I am moving completely to Apple
    sam: As I asked above:
    sam: sam: I don't know where in my emails I said it was for Windows? sam: Also, why has Indesign activated properly?
    sam: Why did the Education activation people give me the wrong number?
    sam: Two possible solutions now are that you give me the correct serial number, or send me another disk which will activate properly on OS X
    Daniel Pedapenki: I'll be right with you.
    sam: I'm feeling like I have done something wrong here... and it's not a good feeling
    Daniel Pedapenki: Please allow me a moment to search for the information.
    Daniel Pedapenki: Thank you for your patience.
    Daniel Pedapenki: Sam, in this case, I'll provide you the new serial number for Mac version.
    sam: OK
    Daniel Pedapenki: Sam, please be online for 2 minutes.
    sam: OK
    Daniel Pedapenki: Thank you.
    Daniel Pedapenki: Sam, the new serial number is 1......-6201.
    Daniel Pedapenki: Is there anything else I can help you with?
    sam: Can I just try that serial
    Daniel Pedapenki: I'm sure you can activate the product with out any issue.
    Daniel Pedapenki: Please feel free to contact us if you need more assistance.
    Daniel Pedapenki: Do you have any further questions for me today?
    sam: No thanks
    Daniel Pedapenki: Thank you for contacting Adobe.  We are available 7 days a week, 24 hours a day. Goodbye!
    Thank you for chatting with us. Please click the "Close" button on the top right of the chat window to tell us how we did today.
    You are not currently connected to a chat representative.
    When I inserted the disk it came up with the serial loaded as ...............7313-xxx
    Deleted all and reinstalled, IT! changed my code as above to ...............6201 and all seemed promising….... etc.!

    Have you bothered to do any research at all? Not every app was upgrade to 5.5. Those that weren’t will next be upgraded to CS6.
    Bob

  • IB:How to update a serial Number which has Inventory Material Transactions?

    Dear friends
    first of all thanks for your time and valuable solutions
    Install base: How to update a serial Number which has Inventory Material Transactions
    problem description:
    Install base > quick search
    Here is Installbase record, when I query from quick search
    Rec#     Item          Item Instance           Serial Number          Status
    1     300-7000-01      3000000           1000XXX-0538JQ0003 Return for Adv Exchange
    2     300-7000-01     8000000               1000XXX-0538JQ0003-     Return for Adv Exchange
    3     300-7000-01     5000000               1000XXX-0538JQ0003-A     Return for Adv Exchange
    looking above data, first and third records are the legitimate serial numbers(correct according to the client specs), second record is not legitimate since it has a dash as suffix, we found there are many illegitimate serial Numbers exists, needs to be updated with the right serial Numbers which I analyzed in excel after pulling data from mtl_material_transactions , oe_order_lines_all , mtl_serial_numbers , mtl_system_items_b
    basically these are all RMAs
    I need to update the second record as 1094SUZ-0538JQ0003-B as per the guidelines, while updating I need to keep all the existing contracts, Warranty, what ever material transations it has, need to be same.
    we have a package updating the serial numbers using IB API (csi_Item_Instance_Pub.update_item_instance) but it is updating only the records which has no serial numbers present for that instance, if there is a serial number already exists it is not working.
    user define error msg "Serial Number 1094SUZ-0538JQ0003- has Inventory Material Transactions. This serial number cannot be used to update an existing Item Instance", but I need to update this anyway!! or am I missing something here, please advice me
    below post looks like similar issue, talks about hard update, I have no clue, by doing that the updated serial number will have same transations, contracts, dates....attached to it like the previous serial number
    IB UPDATE_ITEM_INSTANCE ERROR - doesn't allow ACTIVE_START_DATE to change
    would be great If you guys help me out, really appreciated!!
    unfortunately I couldn't find any solutoin in metalink for the existing serial number update
    code for updating the serial number using IB API
              x_msg_count := 0;
    x_msg_data := '';
    p_instance_rec.instance_id := rec.child_instance_id;
    p_instance_rec.serial_number := rec.child_serial_number;
    p_instance_rec.object_version_number := rec.child_object_number;
    p_txn_rec.transaction_id := Fnd_Api.g_miss_num;
    p_txn_rec.transaction_date := SYSDATE;
    p_txn_rec.source_transaction_date := SYSDATE;
    p_txn_rec.transaction_type_id := 1;
    csi_Item_Instance_Pub.update_item_instance
    p_api_version => 1.0,
    p_commit => Fnd_Api.g_false,
    p_init_msg_list => Fnd_Api.g_false,
    p_validation_level => 1,
    p_instance_rec => p_instance_rec,
    p_ext_attrib_values_tbl => p_ext_attrib_values_tbl,
    p_party_tbl => p_party_tbl,
    p_account_tbl => p_account_tbl,
    p_pricing_attrib_tbl => p_pricing_attrib_tbl,
    p_org_assignments_tbl => p_org_assignments_tbl,
    p_asset_assignment_tbl => p_asset_assignment_tbl,
    p_txn_rec => p_txn_rec,
    x_instance_id_lst => x_instance_id_lst,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data
    Thanks
    Suri

    Suri
    Used this. May not be perfect but should get you there. Only if the table is registered (all the seeded tables should be registered) this will work.
    select distinct a.table_name,b.column_name from fnd_tables a, fnd_columns b
    where a.table_id=b.table_id
    and upper(b.column_name) like '%SERIAL%'
    Also this is very old one but if you need history for this change add the history insert logic as well..
    DECLARE
    l_return_err VARCHAR2 (80);
    PROCEDURE debug (p_message IN VARCHAR2)
    IS
    BEGIN
    dbms_output.put_line (SUBSTR (p_message, 1, 255));
    END debug;
    BEGIN
    debug('======================================================================');
    debug('Switching from serial number XDT07406. to XDT07406 ');
    debug('======================================================================');
    UPDATE fa_additions_b
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in fa_additions_b updated :'||sql%rowcount);
    UPDATE fa_mass_additions
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
    UPDATE rcv_serial_transactions
    SET serial_num = 'XDT07406'
    WHERE serial_num = 'XDT07406.';
    debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
    UPDATE mtl_serial_numbers
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
    UPDATE mtl_unit_transactions
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
    UPDATE csi_item_instances_h
    SET new_serial_number = 'XDT07406'
    WHERE new_serial_number = 'XDT07406.';
    debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
    UPDATE csi_t_txn_line_details
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
    UPDATE csi_item_instances
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in csi_item_instances updated :'||sql%rowcount);
    UPDATE wsh_delivery_details
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in wsh_delivery_details updated :'||sql%rowcount);
    debug('======================================================================');
    debug('Switching from serial number jct20591 to JCT20591 ');
    debug('======================================================================');
    UPDATE fa_additions_b
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in fa_additions_b updated :'||sql%rowcount);
    UPDATE fa_mass_additions
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
    UPDATE rcv_serial_transactions
    SET serial_num = 'JCT20591'
    WHERE serial_num = 'jct20591';
    debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
    UPDATE mtl_serial_numbers
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
    UPDATE mtl_unit_transactions
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
    UPDATE csi_item_instances_h
    SET new_serial_number = 'JCT20591'
    WHERE new_serial_number = 'jct20591';
    debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
    UPDATE csi_t_txn_line_details
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
    UPDATE csi_item_instances
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in csi_item_instances updated :'||sql%rowcount);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_return_err :='Updating in one of the script has this error:'|| substrb(sqlerrm, 1, 55);
    debug('Value of l_return_err='||l_return_err);
    END;
    Thanks
    Nagamohan

  • Finding goods receipt document and serial number of a material

    Hello,
    The issue is that I look for an easier way of finding serial numbers which are entered while posting goods receipt of the goods. Then the material is put away into a storage bin. Each sales order position has a project element which is assigned to a sales order position (not to a serial number). When warehouse employee needs to pick the goods in the outbound delivery, he has to type in serial numbers. In MB51, it is possible to search for the GR material document but it can be quite difficult to find it too.
    Does anyone have an idea how to find the GR document of a sales order position? Do I need to build up a query with tables containing information about GR, outbound delivery and project element ?
    Thanks a lot.
    Esra

    hi
    good
    yes you can use this table
    EQUI->
    Material Number->MATNR
    Plant ->WERK
    Storage Location->LAGER
    Manufacturer Serial Number ->SERGE
    Thanks
    mrutyun^

Maybe you are looking for

  • My mac connects to the Internet fine, but Sarfari, chrome, and Firefox will not work. Nor will programs that connect to the internet

    This problem has been going on for a few days. my computer connects to the internet fine and runs fine, but none of my Internet browsers will work. I have deleted all my history, cache, cookies etc. For all browsers. I have also made sure that i have

  • TS3276 Duplicate messages in mail

    I get messages left in my drafts folder, but they also show in my sent folder. How can I keep from getting these duplicates?  Or what am I doing that causes them?  Doesn't happen for everything.  Also happens in 10.7

  • Previewing graphics files in Finder

    Hi. I'm not sure what happened, but in the "Icon" view of Finder, I can no longer see thumbnail previews of graphics files. I can see them fine in traditional view (not sure what you call that; the 3rd option) and in "iPod" view (the 4th option), alt

  • Set Transfer order Priority in T-Code LT0R.

    I need to set Tfr order priority, to customer specific value. I am using 4,7 version.. Please help me out to find the appropriate user exit, for the same. Thanks . Vickey.

  • Bug in Software Update?

    Running Mountain Lion OS X 10.8.5 (12F45), and App Store Version 1.2.2 (129.16).  The "App Store" app shows an available update in the Dock Icon (i.e. a 1 inside a red circle), but there is actually no applicable update to be downloaded.  Running "so