View is giving redundant data

Dear Friends,
I have created one view, the data base creation statement is like the below. My main intertion is get the SO no, Delivery No, shipment no in one row.
CREATE VIEW "ZSD_LIPS_VTTK"
    ("DELIVERY_NO","SHIPMENT_NO","MBL_NO","SHIPMENT_DT","ZZMBLISSUEDATE","SO_NUM")
  AS SELECT
     T1."VBELN",T2."TKNUM",T2."EXTI1",T1."WADAT_IST",T2."ZZMBLISSUEDATE",T4."VGBEL"
  FROM  "LIKP" T1,"VTTK" T2,"VTTP" T3,"LIPS" T4
  WHERE
     T2."TKNUM" = T3."TKNUM" AND
     T1."VBELN" = T3."VBELN" AND
     T4."VBELN" = T1."VBELN"
As SO is in the LIPS table, I am joining LIPS with LIKP. So I am getting redundant data for one perticular delivery no. you can see the below output......
DELIVERY_NO SHIPMENT_NO   MBL_NO    SHIPMENT_DT ZZMBLISSUEDATE  SO_NUM
0080000447      0000001162        526485552  20080908         20080915        0000003643
0080000447      0000001162        526485552  20080908         20080915        0000003643
0080000447      0000001162        526485552  20080908         20080915        0000003643
0080000447      0000001162        526485552  20080908         20080915        0000003643
Now tell me how could i generate this view so that, I can get one row
0080000447      0000001162        526485552  20080908         20080915        0000003643
Please guide me how to do that.
Rgds
Farhad

HI,
I have added  T4."POSNR" ='000010' to reduce the redundant data, but the reality is that sometimes the no 10 line item data can be deleted from the delivery. In this case i need to have the unique value of the desire fields.
Rgds
Farhad

Similar Messages

  • Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?

    Hi, Im not a frequent forum poster, as most of my questions can be found already answered on them!
    This is a question Ive had for a long time and it amazes me that no-one else seems to ask it. I check at each OS upgrade but its never there...
    Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?
    I was able to do this years ago in MS Outlook, and utilized it all the time when I needed to push things back, now I have to open the event and select an new date in the drop-down calendar for each & every event I want to move to a new month at the end of the month.
    If its definitely not possible, how to you ask apple to consider including it - it doesnt seem like a particularly difficult task.
    Thankyou
    Andrew.

    Andrew,
    Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?
    No, but you can use cut/paste. Cut (⌘X) the event, then click on the week where you want to move the event, and Paste (⌘V).
    If you have a suggestion for Apple to change that method use: Apple - Mac OS X - Feedback.

  • Discoverer Viewer not showing correct data when scheduled

    Hi All,
    I have a bit of an ongoing issue and cannot find an answer through Oracle.
    We have an issue that when a cross-tab workbook is run manually in Desktop this returns correct data, when scheduled in desktop it returns correct data in desktop, but when opening the scheduled workbook in viewer, incorrect and irrelevant data is returned
    Here is a little information on the field that is not returning correct data;
    The field is based on a calculation, the calculation (lets call BOB) contains PL/SQL function concatenated with an NVL calculation, this other calculation is a DECODE. I have been playing with changing the content of the BOB calculation, by removing the PL/SQL function and the DECODE calc from BOB and scheduling the report, the data is returned in viewer, in fact i've attempted one without the other and this still does not return the correct data.
    This version of discoverer that is not returning data is V 10.1.2.50.05. I've tested this on a later environment with Discoverer V 10.1.55.26 and the data is returning correctly through the sceduled report in viewer.
    My questions;
    1. Has anyone ever come across something similar to this in version 10.1.2.50.05
    2. Is there any detail available regarding what upgrading to 10.1.55.26 offers?
    3. Know any workaround for using PL/SQL calculations in a scheduled workbook? I am aware that not aggregable items will not be returned in v11 when scheduling workbooks.
    Many thanks in advance for any help.
    Simon

    Bumping this thread
    Thanks
    Si

  • View is not retuning data when creating XML message through workflow

    Hi All,
    This is a very critical problem for me. I am trying to send an XML message (outbound) through XML gateway. This is done from a custom workflow. The message creation is done from the standard procedure ecx_document.sendDirect. The data for the XML file is taken from two views (whcih are created in a custom schema and have synonym in apps). One view for header and another one for line information (I am creating an XML for a purchase order).
    The problem is when the workflow try the first time to create a message, the views are not returning data. So message creation fails. Now, if we restart the workflow after some time, it will work and the message is created. What could be the reason for this sort of a behaviour ?
    I am using business events to trigger the workflow. The data in the table/view will be updated by standard POAPPRV workflow activities. The custom workflow is subscribed to a business event raised from POAPPRV workflow, at a certain point. So this will execute when this event is raised from POAPPRV wf. The subscription has a phase value of 99.
    Any help on this regard will be much appreciated, as this is a critical issue.
    Thanks in advance,
    Arun
    PS : One more thing : this is happening mostly in the production instance where the number of messages is very high (freqency).

    Hello,
    With the BAPI_EQUI_CREATE you can only create PM equipments not IS-U devices that why there is no IS Tab .
    You have to use the dialog transactions IQ01, IQ04 or the MM transaction, where you can create devices through a movement.
    There is objecttype DEVICE (SWO1) with the following methods:
    -> Device.CreateFromData (Create Equipment Master Record)
    -> Device.Create (Create Equipment Master Record)
    -> Device.CreateISU (Create IS-U: Modification for IS-U)
    Please check whether you can use method Device.CreateISU for your requirement.
    Regards
    Olivia

  • List View does not retain date formats from Excel

    i am using List View control to isplay data. When i scroll the horizontal bar inlist view, the date format changes to numbers. is there were to stop this happening.
    regards
    Chandra

    Hi Chandra,
    Are you getting the values from any live connection or is it static data from the excel file?
    You can also try to goto properties of component and in the appearence tab,select the format of the values as "DATE".
    Incase you are getting the values from the live connection, you can select a different cell which would reference to the data coming from the connection and use it into the components.
    e.g.: if values are coming in cell"A1" then goto some empty cell as B1 and type in"=A1" and use this new cell into the component.
    Let me know if this works.
    Thanks,
    Amit.

  • Unable to view enhanced field in Data Source

    Hi All,
    We recently upgraded our R/3 system from 4.7 to ECC 6.0. Now when we are enhancing the data source, the field is visible in the Extract Structure. But we are unable to view it in the data source. We checked out in RSA2 the enhanced field attribute is specified as 'Field in OLTP and BW Hidden by SAP'. We have written code to modifiy the ROOSFIELD table to make the enahnced field visible. But this is the problem with all the data sources. Whenever, we have to enahnce, we have to go thru this process to make the enhanced field visible.
    Is it like that we missied out any patch in ECC 6.0 while upgrade? If any person faced similar situation, please help us.

    Hi Ravi,
    I think you are missing a step here. As soon as you enhance your datasource with new fields, by default, those 2 check boxes are checked ( Hidden and Field in User exit only). You go to RSA6, edit your datasource and here, you can uncheck these added fields so that you can use them. You do not need to write any code to change the fields settings in ROOSFIELD table. Do the step I mentioned above after enhancing and you should be good. Hope it helps.
    Thanks and Regards
    Subray Hegde

  • Album view in order of date added. Is it possible?

    album view in order of date added. Is it possible?
    In v10 I got used to ordering my music library with the newest additions on top, date added with the album view if it didn't take up more space.
    Now it's just the songs and I really don't like this. Album view is interesting but usless in alphebetical order which seems to be the default.
    I was told by another person here to use a smart playlist but the method they suggested was not clear.
    Can someone please explain how to do this or if there is a better alternative for someone who liked the old song view>date added>with album art?
    -thanks

    Welcome to the Apple Discussions. By "nr" are you referring to the shipping invoice that comes with the book? If so the answer is no. To order a book the library containing the book needs to be used.
    If someone had a copy of the library that created the book initially they could order a book on their own Apple account without you knowing about it. *+BUT they would have to have a copy of the iPhoto LIbrary to do so.+*
    So unless you think someone had access to your computer which housed the library a second copy of the book could not have been ordered.
    OT

  • Imported ical from outlook and the date across the top of the weekly view all show the date i imported..

    imported ical from outlook and the date across the top of the weekly view all show the date i imported..

    I'm confused, what does iCal have to do with this, it seems as though you went from Outlook to Entourage, is that correct?

  • HT1657 Can i get a refund for a rental i didn't view before the expiration date?

    Can i get a refund for a rental i didn't view before the expiration date?
    I wasn't able to tranfer the movie to the ipad, and couldn't view it on my pc.

    All purchases are considered final, but you can try contacting iTunes support and see if they will give you a refund or credit : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How do I get the reminders, in list view, to display in date order?

    How do I get the reminders, in list view, to display in date order? I can't seem to get them to display in date order on either my ipad or iphone.
    Yes i know I can look at date view, but i don't like that view. I excepted the list view to display all reminders in date order.
    Thanks!

    You need to create a stringwriter, wrap it in a printwriter, then print to the printwriter, then convert the stringwriter to a string.
    Here's an example:
    StringWriter sw = new java.io.StringWriter();
    PrintWriter pw = new java.io.PrintWriter(sw);
    e.printStackTrace(pw);
    String strError = sw.toString();
    I hope this works. I didn't test the above code. I don't think I'm leaving anything out, but it's been a while since I've done it. Either way, it should get you on the right track to get what you need.
    Hope that helps.
    Michael

  • Is there any transaction to view the customer master data ...

    is there any transaction to view the customer master data ...i me all the datats so that ui can prepare a report......

    Hi Sunaina Kumar,
    From Funtioanl Point of view
    XD02 or Xd03 - Chane / Display Customer Centrally ( With Company Code Data)
    VD02 or VD03 - Change / Display Customer - Sale and Distribution( With out Company Code Data.
    From Technical Point of View:
    SE11 or SE16
    Table Name : KNA1 or KNB!
    From here you can view all the customer data.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Viewer slow while retrieving data while changing value from a page item

    Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
    Any tips would be highly appreciated. Thanks.

    The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
    In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
    As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail.

  • Is thre any view to check the date & time of switch ovr frm prim to standby

    Hi All,
    Is there any view to check the date and time of switch over from primary to standby.
    Thanks,

    784786 wrote:
    Which parameter of v$database can give us the switchover date and time. Please let me know?
    SQL> desc v$database
    Name                            Null?    Type
    DBID                                  NUMBER
    NAME                                  VARCHAR2(9)
    CREATED                             DATE
    RESETLOGS_CHANGE#                        NUMBER
    RESETLOGS_TIME                         DATE
    PRIOR_RESETLOGS_CHANGE#                   NUMBER
    PRIOR_RESETLOGS_TIME                        DATE
    LOG_MODE                             VARCHAR2(12)
    CHECKPOINT_CHANGE#                        NUMBER
    ARCHIVE_CHANGE#                        NUMBER
    CONTROLFILE_TYPE                        VARCHAR2(7)
    CONTROLFILE_CREATED                        DATE
    CONTROLFILE_SEQUENCE#                        NUMBER
    CONTROLFILE_CHANGE#                        NUMBER
    CONTROLFILE_TIME                        DATE
    OPEN_RESETLOGS                         VARCHAR2(11)
    VERSION_TIME                             DATE
    OPEN_MODE                             VARCHAR2(20)
    PROTECTION_MODE                        VARCHAR2(20)
    PROTECTION_LEVEL                        VARCHAR2(20)
    REMOTE_ARCHIVE                         VARCHAR2(8)
    ACTIVATION#                             NUMBER
    SWITCHOVER#                             NUMBER
    DATABASE_ROLE                             VARCHAR2(16)
    ARCHIVELOG_CHANGE#                        NUMBER
    ARCHIVELOG_COMPRESSION                    VARCHAR2(8)
    SWITCHOVER_STATUS                        VARCHAR2(20)
    DATAGUARD_BROKER                        VARCHAR2(8)
    GUARD_STATUS                             VARCHAR2(7)
    SUPPLEMENTAL_LOG_DATA_MIN                   VARCHAR2(8)
    SUPPLEMENTAL_LOG_DATA_PK                   VARCHAR2(3)
    SUPPLEMENTAL_LOG_DATA_UI                   VARCHAR2(3)
    FORCE_LOGGING                             VARCHAR2(3)
    PLATFORM_ID                             NUMBER
    PLATFORM_NAME                             VARCHAR2(101)
    RECOVERY_TARGET_INCARNATION#                   NUMBER
    LAST_OPEN_INCARNATION#                    NUMBER
    CURRENT_SCN                             NUMBER
    FLASHBACK_ON                             VARCHAR2(18)
    SUPPLEMENTAL_LOG_DATA_FK                   VARCHAR2(3)
    SUPPLEMENTAL_LOG_DATA_ALL                   VARCHAR2(3)
    DB_UNIQUE_NAME                         VARCHAR2(30)
    STANDBY_BECAME_PRIMARY_SCN                   NUMBER
    FS_FAILOVER_STATUS                        VARCHAR2(22)
    FS_FAILOVER_CURRENT_TARGET                   VARCHAR2(30)
    FS_FAILOVER_THRESHOLD                        NUMBER
    FS_FAILOVER_OBSERVER_PRESENT                   VARCHAR2(7)
    FS_FAILOVER_OBSERVER_HOST                   VARCHAR2(512)
    CONTROLFILE_CONVERTED                        VARCHAR2(3)
    PRIMARY_DB_UNIQUE_NAME                    VARCHAR2(30)
    SUPPLEMENTAL_LOG_DATA_PL                   VARCHAR2(3)
    MIN_REQUIRED_CAPTURE_CHANGE#                   NUMBERAre you admitting that after reviewing the content of this VIEW, that you see nothing that might contain the detail you desire?
    The switch over is also logged to alert_SID.log on both Primary & Standby

  • Pls. identify some seeded views used as Existing Data Source in DBI Reports

    Hi!
    Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
    Thanks.

    Jon632 wrote:
    Hi!
    Can someone please identify some seeded views used as Existing Data Source in DBI Reports. I only need some idea how they are defined.
    Thanks.
    You can find the list of seeded views in eTRM website -- http://etrm.oracle.com/pls/etrm
    Are there seeded tables/views of DBI dimension objects in Oracle EBS?
    Thanks,
    Hussein

  • Crystal Reports Viewer seems to have data - but it is not showing

    I am developing on a Windows 7 box and publishing a VS2010 web application to a Windows 2008 server.
    On the server I have installed CRforVS_redist_install_64bit_13_0
    Reports are stored in a folder on that server.
    When I run the application on my local machine the report displays okay via the Crystal Reports Viewer on a .aspx page.
    When I run the application on the server, if I view the source of the page that contains the Crystal Report Viewer - it seems to have fetched the report okay. But it is not showing on the screen. I was thinking this might be because it can't find the 'style.css' file but on both the development machine and server all the various folders and files in and under crystalreportviews13 are present in aspnet_client/system_web/4_0_30319/
    When I view the source of the pages that display the report - they seem to be identical both when viewed on my development box and when accessing the app directily on the server. But, on the .aspx page displayed by the server, the page is blank in the browser. Yet, as I say, when you view source all the data is there.
    What am I doing wrong? Thanks for any help.
    Edit: In both cases if you View Source the page is showing this:
    <link rel="stylesheet" type="text/css" href="../aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/images/style.css" />
    On my development box this makes sense. The web site in question is below 'Default Web Site' - i.e. it is at the same level in the folder hierearchy as the aspnet_client folder.
    But on the server, the site is a subweb below a web site that is level with Default Web Site. So I figure the files are not being found. How can you tell the Crystal Reports Viewer that the files it wants (like style.css) are not where it thinks they are going to be?
    So the app is looking for a file at the same level.
    But on the server there
    Edited by: Steve Rowson on Jun 1, 2011 5:31 PM

    Post to the SDK forum

Maybe you are looking for