REQUIRED SOLUTION FOR BELOW SCENARIO

Hi Friends, I have a requirement as below Source NUM1 123456789 TARGETNUM1,2,3,46,7,8,9.... I WANT TO LOAD FIRST FOUR RECORDS FROM SOUCE INTO SINGLE RECORDS IN TARGET AND SO ON.. PLEASE PROVDE SOLUTION FOR ABOVE SCENARIOTHANKS IN ADVANCE

Hi All, We are using Informatica 9.5.1 and Oracle 11g as by metadata DB. Initially our INFA_DOMAIN_REPO password was expired, so we couldn't connect to repository. Then we reset the same password and we restarted infa services also. But when we tried to connect repository we faced "Failed to connect repository" error. When i try to connect to Admin Consol, page was not displayed. When we check the node.log file it had a error message saying "2014-07-20 04:45:37,553 ERROR [Monitor Guaranteed Message Logger Thread] [CCM_10322] While logging messages to the Log Service, the following error occurred: [[DOM_10022] The master gateway node for the domain is not available. Electing another master gateway. Wait for the election of the master gateway node to  complete. If the problem persists, verify that the master gateway node is running.]. Fix the errors written to the node.log file. com.informatica.isp.domainservice.exceptions.ISPMasterNotAvailableException: [DOM_10022] The master gateway node for the domain is not available. Electing another master gateway. Wait for the election of the master gateway node to  complete. If the problem persists, verify that the master gateway node is running" We checked all the env variables and all looking fine.Node is also running. Please help to uderstand this issue ans the fix. Thanks in advance Regards,JP

Similar Messages

  • Re: REQUIRED SOLUTION FOR BELOW SCENARIO

    Hi Janakiram, Do you have only one field NUM in source and target? Thanks,Deeshan.

    Hi Friends, I have a requirement as below Source NUM1 123456789 TARGETNUM1,2,3,46,7,8,9.... I WANT TO LOAD FIRST FOUR RECORDS FROM SOUCE INTO SINGLE RECORDS IN TARGET AND SO ON.. PLEASE PROVDE SOLUTION FOR ABOVE SCENARIOTHANKS IN ADVANCE

  • How can I get the solution for below scenario (SD Pricing)?

    Hi SD experts,
    Can anybody provide a solution to match below requirement scenario ? (Retail promotion or condition alone)
    For a Customer :
    1.Buy 1 Product A and 1 Product B --Discount 5%
    2.Buy 2 Product A and 3 Product B --Discount 10%
    Thanks&Regards,
    Don

    Hi,,
    you can go with two options here.
    1. you can either go with a manual condition type
    or
    2. you can have an enhancement in the sales order userexit where you can hard code tha materials and check for quantities and apply the discount which can also be  hard coded in the program it self.
    as a result the system will check the quantities and the corresponding discount will be applied.
    user Exit:  MV45AFZZ
    hope this will solve the problem.
    regards
    ravi.

  • Which type of collection is suitable for below scenario?

    which type of collection is suitable for below scenario?
    A) session.getAttibute("userPref",dad_re);
    possible values inside session are rad_eu,tcd_nid,aa,iod_po
    B)Need to compare with below set of values .
    dad_re
    rad_eu
    aad_vv
    bbd_rt
    ccd_ff
    If matched
    sysout("Matched values"+rad_eu)
    else
      sysout("Non matching with B"+tcd_ni)
    A - will contain only one value for each time and it is superset
    Which collection will use to store B?

    A HashSet.

  • How to define variable for below scenario in report

    Hi,
         iam designing a report in that report  if i enter the user selection was for Fiscal Year/Qtr = 2008/Q3, the data retrieved will be the Fiscal Year/Quarter selection and for the last 20 Launch Year/Quarters based on the Fiscal Year/Quarter i.e. from Launch Year/Qtr 2003/Q4 to 2008/Q3.
         how to acheive this in report. plz help me

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • Need solution for below requiernment

    Hi,
    Please tell me flow logic for below requiernment:
    1.     Read actual payroll period from T569V for ABKRS set in infotype 0001
    2.     Read actual payroll result from cluster RD using german standard functions
    3.     Loop through table RT and check for wagetype 9000
    4.     create a batch-input to infotype 0015 wagetype 9000
    ANZHL = 1
    ZEINH = piece
    BEGDA = actual month - 1 (e.g. actual month 06/2008 enter 01.05.2008)
    5.     allow option for direct or delayed start of batchinput
    My confusion is: 1) Why do we need to Read actual payroll period from T569V for ABKRS set in infotype 0001.
    2) To update IT 0015 , do we need to write a BDC or we can use FM HR_INFOTYPE_OPERATIONS.
    regards

    hi,
    1.this requirement may be cause of mid year go live in the past.
    2. BDC for IT 15 makes sense as it is easier to maintain a BDC  program.
    Regards
    Sameer.

  • Reg:Efficient solution for  a scenario

    Hi All,
    I have the following task.
    Required data from a legacy system(generate data only in the form of flat files)to SAP R3 as FB01 journals and the output file should be generated periodically(daily,weekly,fortnightly etc…)
    Solution Approaches:
    1)Write a BDC program to extract the data.
    2) Write a ABAP Progam to populate IDoc (if standard IDOc is available) or generate a Outbound proxy (If standard IDoc is not available) to push the data into SAP XI.
    Could anyone tell me which would be the the best and efficient approach for this task and need your recommendations.
    Thanks in Advance.
    B.Lavanya

    Hi Lavanya,
    I think LSMW is the best solution for your requirement.
    Reward points if it is helpful.
    Thanks
    Ram

  • How can I get the solution for below SD scenario?

    Hi,
    Can anybody provide a solution to match below requirement scenario ?
    1.Buy 1 Product A and 1 Product B and 1 Product C - Discount 5%
    2.Buy 2 Product A and 3 Product B and 3 Product C - Discount 10%
    I am trying configuration steps for bonus buy in the path:
    img>sales and distribution>basic function-->bonus buy
    maintain condition table
    maintain condition type
    maintain access sequence
    maintain pricing schema
    activate bonus buy determination
    But I can not activate bonus buy in SAP R3. How to solve this?
    I need to implement this functionality in SAP R/3.
    Regards,
    Renata

    Hi Reneta
    For your requirement , Bonus Buy concept should  be used. But the best way to meet your requirement is to go with a
    new subroutine and assign to the discount condition type in your pricing procedure.But if there are several combination's of materials which can vary the reduction of the price then in the subroutine only you have to write the subroutine with the help of ABAPer that if any vary comes then system should check the prices and vary the prices  also. So give your requirement to the ABAPer then he will fulfill your requirement.
    Regards
    Srinath

  • SAP - APO is it a feasible solution for my scenario

    I am in a decision making process of my industry scenario to map in SAP.
    My scenario is as below
    My sales regional heads input their requirement for 1 months in system as below
    Input is
    •     region(in SAP it is route destination)
    •     Qty
    •     Material number
    •     Selling price
    •     Period
    Once they enter the data system should collect all the data from each regional and run a statistical calculation taken fast history and generate a unconstrained sales plan/regional for 18 months.
    It will be passed to a optimizer where in we will put the following constraints
    •     Capacity of production line with respect to that material grade
    •     Selling price (from input data)
    •     Minimum allocation qty per region/Grade
    •     Customer grading ABC, A is good C is worst
    •     Inventory available in all region and production plant for that grade
    •     Net back that material can fetch
    •     One of the important sub assembly/intermediate material – availability for future months
    •     Grade change over loss in USD.
    With the above constraint system should generate a region plan giving details of which material (grade wise) and qty
    Second output is the production plan telling which grade how much to produce and when
    Is it possible to do the above in normal SAP PP or we need to go for SAP SCM?

    Dear SHIBU UP  / Anjali,
    Thanks a lot for your response...
    Please if possible send some good documents on these topics which will help me to configure the solution.
    Edited by: Rajesha Vittal on Jan 22, 2008 9:33 PM

  • Is JavaFX the right solution for this scenario...

    Hi,
    Is JavaFX the right choice for the following implementation choice I have to make? (see below for the requirement)
    Requirements:
    1. Provide a way to visualise within a web application an entity relationship type diagram (i.e. nodes with relationships between them). The backend database will hold the topology relationship. So to visualise this on a web application will need the ability to draw rectangles/lines/text etc.
    2. Provide a way to allow the use to trigger "add a new node", or "edit info in this node". For example a right hand context sensitive menu for example.
    3. Ideally will scale as the user resizes the browser window
    4. Would like the main functionality of the application to remain web based (is a Ruby on Rails application in fact), but have the visualization of the diagram render within the web application as transparently as possible.
    Options / Issues:
    * Issues I've struck with some investigation I've done is that whilst the <canvas> tag looks good for Mozilla/Firefox etc, it does not seem to have support on InternetExplorer. Hence cross-browser compatibility seems to be a real issue for the JavaScript type solutions from what I can see. This is why I thought JavaFX may be good?
    * Options therefore seem to me to be:
    - javascript (e.g. <canvas> tag) => cross-platform issue
    - JavaFX / Applet => (this is what I'm asking about)
    - Microsoft => costs $$ for development environment etc
    - AIR / Flex / Flex => ??? costs $$ again I think
    Regards
    Greg

    thanks - I'm still a little confused re their products and which would fit best so I've sent them some questions (below if you're interested)
    Hello,
    Could you please assist me in understanding which of your products would satisfy my needs. In fact (a) whether JGraph itself would and if not, or if it's not ideal, (b) which other product would.
    REQUIREMENTS:
    1. Provide a way to visualise within a web application a connectivity type diagram (i.e. nodes with relationships between them, a network connectively type of diagram).
    2. The server side (i.e. web application with database) will hold the topology relationship. HTTP type interfaces off the web application can be developed to provide the client side visualizing component with the topology data in the required format (assume this is XML)
    3. As well as just visualizing in the browser there would need to be a way for user to trigger a context sensitive "add a new node", or "edit info in this node". For example a right hand context sensitive menu for example.
    4. Ideally the diagram will scale as the user resizes the browser window
    5. Would like the main functionality of the application to remain web based , but have the visualization of the diagram render within the web application as transparently as possible. The the visualizing component would just take topology data and intelligently display this.
    6. DESIRABLE: Basic automated layout would be nice, or as a desirable (depending on cost) more sophisticated auto-mated layout.
    QUESTIONS:
    As well as your recommendation re which product would suite I had some specific questions which I would appreciate clarification on:
    Q1 - I assume if I have a web backend that can deliver topology inforrmation in an appropriate XML format via a HTTP REST type GET call that this could be used as a the source of data for a jGraph visualisation running within an Applet?
    Q2 - If running within an Applet, can jGraph cater for a right hand menu option off the nodes/links on the graph, that I could use to trigger other calls back to the backend? (e.g. to trigger an Add New Node call)
    Q3 - Following on from Q2 scenario, if I trigger an add new node scenario, if I wanted to visualise the form to type in the attributes for the new node, could this be handled within the applet by jGraph, or would this be a case of just adding your own Swing based dialogs to handle this?
    Q4 - Do the basic JGraph do any basic layout without having to go up to the layout Pro package (which I think costs if using it commercially).
    Q5 - If the answer to Q4 is No, how difficult would it be using the base JGraph library to do a basic layout? Is this doable/recommended? i.e. how would one "layout" the diagram if using only the base JGraph component? (noting from my requirements I'm really after a component I could send my topology information to in XML form and have it just visualise it for me)
    Q6 - Running the visualiation in an Applet in a browser, is the typical usage one where all changes to topology are made as calls to backend? i.e. or is there an approach where one would allow users to make changes to the topology within the applet and build up all the changes here on the client, and then at some point synch these back to the backend? (I'm assuming the keep it simple approach would be not to do this)
    Q7 - Is there a sample application/project with source code that implements a JGraph in applet/browser talking to web backend for data?
    Q8 - How does JGraphPro & mXGraph fit into the picture re solving my requirements in the most cost effective manner

  • Want a solution for a scenario-To Set Password expiration in OID from OIM

    Hi,
    I have one scenario. Please guide me in some details to achieve this.
    I have one password policy in OIM. When user's password expires in OIM, then his password should also expire in OID. We have OID as user's repository.
    For this I have one solution but dont know how to implement this in OIM.
    "OID has the LDAP attribute called “pwdMaxAge” map this attribute to the OIM resource object and reset this value to number of days (as per password policy) whenever you change the password in OIM. This will set the password expiration time in the OID without having the password policy in place. "
    Plesae suggest.
    Thanks in advance.

    Well here is what you can do:
    - For OIM the user's password will be governed with the Xellerate User password policy, which says that password must be changed every 28 days. So you are good in handling this in OIM.
    Now for OID side, you have two options - *1. User changes OID password directly* and *2. User changes OID password through update in OIM profile password*. Most probably tou would want the second case. If true then here is what you can do.
    - As user changes the OIM password. Create automatic trigger Change User Password which updates the password in the process form of OID.
    - This invokes the Password Updated task.
    - On SUCCESS of this task, call another task which goes to OID target and updates the attribute pwdMaxAge to Current date + 28
    Thanks
    Sunny

  • RSV 400 best solution for this scenario?

    Hi
    As shown in the diagram below, I have a central office and two branch offices, these offices are connected by a private routing service that has no connection to the Internet, the telecommunications operator in each office installs a router with a LAN and a WAN IP and configuration of these devices cannot be changed except the LAN IP. Only the central office network that is 192.168.0.0 have a router that has internet access. Remote offices have no access to the internet, what is needed is that remote offices can access the internet using ADSL router 192.168.0.254 at the central office.  There are a small devices in each remote office  that must connect to the internet and do not support any configuration except IP, mask and gateway, for example you cannot add a static route. Currently the pc’s at remote offices has IP communication with the server from the central office using a static route.
    Does the solution would be to put some VPN routers between each LAN and the operator’s routers (where RT yellow star appears in the diagram) and put the hosts of the two branch offices same IP range that the central office network?
    I had thought to use RSV400 routers, Is this the most appropriate equipment for what we want to do?
    Thank you very much for the help

    Originally Posted by kjhurni
    This is just my opinion, of course, but:
    If you don't want to have to migrate your NSS data and keep the same server names/IP/s and cluster load scripts, then I believe a Rolling Cluster Upgrade is a good way to go.
    If you look in my signature, there's a link to my OES2 guides. Somewhere there is one that I did for our Rolling Cluster Upgrade.
    If all you have is NSS and iPrint, then you only need to use the miggui (migration utility) for iPrint--or so I think (I do have to followup on this one as I vaguely recall I asked this a while back and there may have been a way to do this without migrating stuff again).
    But your NSS data will simply "re-mount" on the OES11 nodes and you'll be fine (so that's why I like the rolling cluster upgrades).
    Let me double-check on the OES2 -> OES11 cluster option with iPrint.
    --Kevin
    Thank you Kevin for your answer.
    Finally, I think Im going to proceed using transfer ID on my servers that Im only using NSS over NCS (I only have two machines with one NSS volume)
    because it seems that its a good option. I would like to keep old IPs from all the servers, cluster and resources if possible. So, testing this
    migration on my test environment it seems that it works fine:
    - I use miggui for transfer id between all the machines: physical -> physical and virtual -> virtual. eDirectory assumes new hostname, IP, etc.
    the only task "out of the box" is that I have to delete the cluster and regenerate (reconfigure NCS on the new servers) but its pretty easy. This way
    I have the two old ips from the older machines and all the ips from the cluster and the cluster resources also. I think that its the best plan.
    For the other two machines that has 4 nss volumes and iPrint I must think about a plan. But with those, Im going to proceed this way. I hope
    I have chosen a good plan!
    thank you so much all for your answers / advices

  • Looking for a proper analytical query/solution for below data

    I have data as shown below:
    mob_id     status_code     status_text     media_date
    39585     600     Online     04-Aug-09
    54988     600     Online     05-Aug-09
    39585     600     Online     05-Aug-09
    39585     600     Online     06-Aug-09
    39585     600     Online     07-Aug-09
    39585     600     Online     08-Aug-09
    39585     600     Online     09-Aug-09
    39585     600     Online     10-Aug-09
    39585     600     Online     11-Aug-09
    39585     600     Online     12-Aug-09
    39585     600     Online     13-Aug-09
    39585     600     Online     14-Aug-09
    39585     600     Online     15-Aug-09
    39585     600     Online     16-Aug-09
    39585     700     Deinstall     17-Aug-09
    54988     600     Online     06-Aug-09
    54988     600     Online     07-Aug-09
    54988     600     Online     08-Aug-09
    54988     600     Online     09-Aug-09
    54988     600     Online     10-Aug-09
    54988     600     Online     11-Aug-09
    54988     600     Online     12-Aug-09
    54988     600     Online     13-Aug-09
    54988     600     Online     14-Aug-09
    54988     600     Online     15-Aug-09
    54988     600     Online     16-Aug-09
    39585     600     Online     20-Aug-09
    39585     600     Online     21-Aug-09
    39585     600     Online     22-Aug-09
    39585     600     Online     23-Aug-09
    39585     600     Online     24-Aug-09
    39585     600     Online     25-Aug-09
    39585     700     Deinstall     26-Aug-09
    39585     600     Online     27-Aug-09
    39585     600     Online     28-Aug-09
    39585     600     Online     29-Aug-09
    39585     600     Online     30-Aug-09
    39585     600     Online     31-Aug-09
    39585     600     Online     01-Sep-09
    39585     700     Deinstall     02-Sep-09
    54988     600     Online     17-Aug-09
    54988     600     Online     18-Aug-09
    54988     600     Online     19-Aug-09
    54988     600     Online     20-Aug-09
    54988     600     Online     21-Aug-09
    54988     600     Online     22-Aug-09
    54988     600     Online     23-Aug-09
    54988     600     Online     24-Aug-09
    54988     600     Online     25-Aug-09
    54988     700     Deinstall     26-Aug-09
    69875     600     Online     20-Aug-09
    69875     600     Online     21-Aug-09
    69875     600     Online     22-Aug-09
    69875     600     Online     23-Aug-09
    69875     600     Online     24-Aug-09
    69875     600     Online     25-Aug-09
    69875     600     Online     26-Aug-09
    Using the above data I need to find out the below result set. Can any one help in this?
    occurrnace_seq     mob_id     start_media_date     end_media_date     no_of_days
    1     39585     04-Aug-09     17-Aug-09     13
    2     39585     20-Aug-09     26-Aug-09     6
    3     39585     27-Aug-09     02-Sep-09     6
    1     54988     05-Aug-09     26-Aug-09     21
    1     69875     20-Aug-09          null null
    Here start_media_date can be found with status_code=600 & end_media_date can be found with status_code=700.
    Please look that the mobility_id is starting multiple times.
    Any one can help me in producing this result using SQL or PL/SQL.
    Many thanks in advance.
    Thanks
    Guttiwas

    guttis wrote:
    Can I run this query on a 70 million records? Does it raise any performance problems. If you have any idea, just thorough some possible suggestions to protect such isses.Well, you can certailny run it on 70 million records. How long it will run depends on your hardware, Oracle and OS settings. Said that, there is a simpler solution:
    select  occurrenace_seq,
            mob_id,
            min(case grp when 'start-of-group' then media_date end) start_media_date,
            max(case grp when 'end-of-group' then media_date end) end_media_date,
            max(case grp when 'end-of-group' then media_date end) - min(case grp when 'start-of-group' then media_date end) no_of_days
      from  (
             select  t.*,
                     case
                       when status_text = 'Deinstall' then 'end-of-group'
                       when lag(status_text,1,'Deinstall') over(partition by mob_id order by media_date) = 'Deinstall' then 'start-of-group'
                     end grp,
                     sum(case status_text when 'Deinstall' then 1 else 0 end) over(partition by mob_id order by media_date) +
                     case lag(status_text,1,'Deinstall') over(partition by mob_id order by media_date) when 'Deinstall' then 1 else 0 end occurrenace_seq
               from  your_table t
      where grp in ('start-of-group','end-of-group')
      group by mob_id,
               occurrenace_seq
      order by mob_id,
               occurrenace_seq
    /With your sample:
    with t as (
               select 39585 mob_id,600 status_code,'Online' status_text, to_date('04-Aug-09','dd-mon-yy') media_date from dual union all
               select 54988,600,'Online',to_date('05-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('05-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('06-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('07-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('08-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('09-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('10-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('11-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('12-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('13-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('14-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('15-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('16-Aug-09','dd-mon-yy') from dual union all
               select 39585,700,'Deinstall', to_date('17-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('06-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('07-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('08-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('09-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('10-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('11-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('12-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('13-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('14-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('15-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('16-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('20-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('21-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('22-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('23-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('24-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('25-Aug-09','dd-mon-yy') from dual union all
               select 39585,700,'Deinstall', to_date('26-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('27-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('28-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('29-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('30-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('31-Aug-09','dd-mon-yy') from dual union all
               select 39585,600,'Online',to_date('01-Sep-09','dd-mon-yy') from dual union all
               select 39585,700,'Deinstall', to_date('02-Sep-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('17-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('18-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('19-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('20-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('21-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('22-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('23-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('24-Aug-09','dd-mon-yy') from dual union all
               select 54988,600,'Online',to_date('25-Aug-09','dd-mon-yy') from dual union all
               select 54988,700,'Deinstall', to_date('26-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('20-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('21-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('22-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('23-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('24-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('25-Aug-09','dd-mon-yy') from dual union all
               select 69875,600,'Online',to_date('26-Aug-09','dd-mon-yy') from dual
    select  occurrenace_seq,
            mob_id,
            min(case grp when 'start-of-group' then media_date end) start_media_date,
            max(case grp when 'end-of-group' then media_date end) end_media_date,
            max(case grp when 'end-of-group' then media_date end) - min(case grp when 'start-of-group' then media_date end) no_of_days
      from  (
             select  t.*,
                     case
                       when status_text = 'Deinstall' then 'end-of-group'
                       when lag(status_text,1,'Deinstall') over(partition by mob_id order by media_date) = 'Deinstall' then 'start-of-group'
                     end grp,
                     sum(case status_text when 'Deinstall' then 1 else 0 end) over(partition by mob_id order by media_date) +
                     case lag(status_text,1,'Deinstall') over(partition by mob_id order by media_date) when 'Deinstall' then 1 else 0 end occurrenace_seq
               from  t
      where grp in ('start-of-group','end-of-group')
      group by mob_id,
               occurrenace_seq
      order by mob_id,
               occurrenace_seq
    OCCURRENACE_SEQ     MOB_ID START_MED END_MEDIA NO_OF_DAYS
                  1      39585 04-AUG-09 17-AUG-09         13
                  2      39585 20-AUG-09 26-AUG-09          6
                  3      39585 27-AUG-09 02-SEP-09          6
                  1      54988 05-AUG-09 26-AUG-09         21
                  1      69875 20-AUG-09
    SQL> SY.

  • Need Solution for this Scenario......

    Hi All,
    I am giving the scenario:
    For Indian operation we have two set of books, one is for direct billing to the customers in India and the other is shipping to India and billing from Bangalore/Bombay or other branches. Though India operation is single, still for the operation purpose it should be considered as two entity/two Company. Similarly the service company under the group also has the same kind of operation structure.
    How this can be done in SAP........
    Thanks in Advance,
    Subah Jo

    Some of the container/app server vendors offer such tools. You should start by posting your question to the specific container/app server forum.

  • SDK solution for my scenario

    Hi,
    I have a business requirement where we need to generate pdfs on-demand and at time the app may get n number of request...As of now we were using the CR.NET and this resulted in whole bunch of warning related to jobs waiting for the license to get free as there is a limitation of 3 CPL per process....now we are looking at moving to a different SDK...My company has BOE XI 3.1 license but still not quite sure which SDK suites best for our requirement.....I have read a whole bunch of SAP whitepaper but not able to make a decision...
    Please help
    Thanks
    Kajal

    Have a look at this:
    [Choosing the Right Business Objects SDK for Your Needs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7]
    [Choose the Right SDK for the Right Task|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0070692-01a8-2a10-4797-ff0f5f73e1e1]
    and the following:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412?quicklink=index&overridelayout=true
    If none of the above helps, you may want to discuss your requirements with [support|http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300]
    or [consulting|http://www.sap.com/services/bysubject/businessobjectsconsulting/index.epx]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

Maybe you are looking for

  • I forgot my security questions and I just added a gift card. Is there anyway I can manage my account from my iPhone becuase I don't have a conputer?

    I forgot my security questions and I just added a gift card. Is there anyway I can manage my account from my iPhone becuase I don't have a conputer?

  • Premiere Pro CS6 Constantly Crashing

    I am having the worst time using Premiere Pro CS6.  The program is constantly crashing, saying it has encountered a serious error and has to close.  This is happening during the most basic operations like scrubbing the timeline or pressing play.  I a

  • OKB9 - Clarification

    Hi, In OKB9 for one cost element i defined valuation area is mandatory in account assignment detail. By double clicking on detail per business area/valuation level i given valuation area wise cost centers. In the initail screen we have field of cost

  • Creating Inspection Lots

    I need to create inspection lots using FM. I have the matnr and charg available. How to use this FM to create inspection lots? CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'   EXPORTING     qals_imp              =     rmqed_imp             = * IMPORTING

  • Macbook won't turn on unless plugged in

    After decades as a PC user, I finally made the leap to Apple three weeks ago, hoping to get rid of gremlins, bugs, crashes and the "blue screen of death." Unfortunately, it hasn't turned out that way. From Week 1, I experienced the random shutdown pr