Generating n:m relationships, empty lookup items

Hi all,
i have two tables linked via an intersection table, a typical n:m thing. I'd like to generate a form displaying this relationship, like there's the data of the one table in the first block, and all records of the second table - that match the current record in the first block - in the second block. It works as I get all corresponding records of the intersection table, but the fields of the data table, which is defined as lookup to the intersection table, remain empty.
Any idea of what the clue may be?
Any help appreciated.
Thanks
Phil

BalusC wrote:
You're here at a Sun JSF forum, not at a JBoss RichFaces forum. It seems logical to me that you will have more luck at the right forum :) Here it is: [http://www.jboss.com/index.html?module=bb&op=viewforum&f=261]
I have posted there too with no response. Anyway, I thought this forum was about JSF in general and not just about Sun's RI as it already has a few MyFaces and Richfaces related queries. ;)

Similar Messages

  • Order by lookup item!!1

    Hi,
    I have a base table block with a lookup table,
    I want my results be ordered by one item of the lookup table!!!
    when I set the order by sequence and set order properties, no sort is done
    in the result query, the sort is done in the lov of the lookup item!!!
    Ho w can I do this please ???
    Thanks for help

    Do you know that in the "Query Data Source Name" block property you can list tables. Then you can specify you "base table" in the "DML Data Target Name" property. Here how it works. Let's assume you have a block based ot table T1 (id, data, fk_lookup). Then you have a lookup table T2(id, description). fk_lookup is foreign key to T2.id and you want to sort by T2.description. Then
    Query Data Source Name = T1, T2
    Where Clause = <your where clause based on T1> plus T1.fk_lookup = T2.id
    Order By = T2.description
    DML Data Target Name = T1
    For each column in the block you should specify the "Column Name" in table_name.column_name format. You should make sure that you have specified a column which is a primary key so the forms will now how to address the dmls and how to lock the base table.

  • Order by lookup item

    Hi,
    I have a base table block with a lookup table,
    I want my results be ordered by one item of the lookup table!!!
    when I set the order by sequence and set order properties, no sort is done
    in the result query, the sort is done in the lov of the lookup item!!!
    Ho w can I do this please ???
    Thanks for help

    Look at:
    http://www.arrowsent.com/oratip/frames.htm
    Tip #14: Ordering by a lookup column linked by a non-intellegent key. (Type: Forms 4.5)

  • View the generated sql for fetching a repository item

    Hi guys.
    I am interested in viewing the sql that ATG framework generates to fetch a primary repository item. I would like to use this generated sql, directly on the database and avoid me the pain of having to join multiple tables to get one repository item, basically looking to avoid having to write complex sql queries to fetch information for a repository item as ATG application would view it.
    I know there is a switch somewhere to turn it on, but an example would be great. Thanks!

    Turn on the logging debug on for the repository.
    Peace
    Shaik

  • Empty line item added in incomplete sales orders after upgrade

    Hi,
    We are upgraded from 4.7 to 6.0 version of R/3. After the upgrade in sales orders which were incomplete in 4.7, a empty line item have got added in those sales order. While opening those order in VA02, first line item is completely empty and due to that it doesnot allow me to do anything on that order. Also, on checking the tables such as VBAP, VBKD an empty line item is there.
    Kindly Advice.
    Thanks in Advance.

    Hi Kishore,
    I have already checked SAP notes but got nothing related to it.

  • Empty line item added in incomplete orders after upgrade

    Hi,
    We are upgraded from 4.7 to 6.0 version of R/3. After the upgrade in sales orders which were incomplete in 4.7, a empty line item have got added in those sales order. While opening those order in VA02, first line item is completely empty and due to that it doesnot allow me to do anything on that order. Also, on checking the tables such as VBAP, VBKD an empty line item is there.
    Kindly Advice.
    Thanks in Advance.

    Hi Kishore,
    I have already checked SAP notes but got nothing related to it.

  • Generating n:m relationships

    Hi all,
    i have two tables linked via an intersection table, a typical n:m thing. I'd like to generate a form displaying this relationship, like there's the data of the one table in the first block, and all records of the second table - that match the current record in the first block - in the second block. It works as I get all corresponding records of the intersection table, but the fields of the data table, which is defined as lookup to the intersection table, remain empty.
    Any idea of what the clue may be?
    Any help appreciated.
    Thanks
    Phil

    Hi all,
    i have two tables linked via an intersection table, a typical n:m thing. I'd like to generate a form displaying this relationship, like there's the data of the one table in the first block, and all records of the second table - that match the current record in the first block - in the second block. It works as I get all corresponding records of the intersection table, but the fields of the data table, which is defined as lookup to the intersection table, remain empty.
    Any idea of what the clue may be?
    Any help appreciated.
    Thanks
    Phil

  • Is it possible to hide empty list items in a web app?

    Hi,
    as you can see on the here included image, below "Ihr Profil", there are 10 items provided by a webapp which are customized in the details.htm page as an unordered list.
    In this case there are only 6 items filled out, the rest is empty, but the empty items do appear. Is it possible to tell the details page, not to display those empty items?
    Thanks a lot for your interest and help

    There are ways to do this with jQuery, but an easier way would be to use CSS.
    ul li:empty {
       display: none;
    Though this will not work in IE8/7, if that is a deal breaker you will need to use jQuery: http://jsfiddle.net/F7ZWV/
    $("ul li").each(function() {
                                                      var $this = $(this);
              if($this.text() == ""){
                 $this.remove();

  • Need urgent help to generate SPL Data Sources for Line Items

    Hi All,
    I am trying to extract the Special Purpose Ledger Data from R/3 into BW. To do this, I am following the steps to generate the Data Sources for Totals table and Lien Items Table.
    Using Transaction BW01 and BW03 on the R/3 side, I am able to generate the Totals Record-DataSource   successfully.
    But I am not able to generate the Line Items-DataSource. I am using the same procedure.
    Can someone please help me or point me in the right direction. Are there any other settings I need to make to generate the Line Items-DataSource. Interestingly, I am able to generate the Line Items-DataSource  for some other old ledgers in the System like ZZ and ZX. But I need the Line Items-DataSource  from a ledger called ZP for which I am having trouble.
    I would greatly appreciate if someone can get back to me ASAP.

    During BW01, The Generate extract structure is fine for both Total and Line Item Table.The issue is when we run tcode bw03 where you assign the datasource to a ledger.
    Here, I can assign only for the Total Records data source and NOT for the Line Items-DataSource.
    I hope I could explain the issue. Looking forward for some advice.

  • Why does Flash generate invalid class names for library items?

    I imported a bunch of bitmaps (PNGs).  The library symbol names all included the full file name and its extension.  When I check "export for actionscript" it generates a class name based on the symbol name, and it includes the ".png", even though that's invalid in a class name.
    When I select multiple bitmaps and choose properties and export for actionscript, it has a note saying that classnames will be automatically generated for all items, but it does the same thing... including the ".png" in all the class names.  Is this a problem?  Wouldn't it save time if Flash would automatically strip the file extension from the instance name of bitmap library symbols when generating class names?

    Thank you Nipun.  That is exactly the behavior I would expect, and I can confirm that in the trial of Flash CC it generates valid class names by removing the file extension.  For example, a file named "3ball.test.png" will receive an auto-generated class name of "_3ball_test", so it really does ensure the class name is valid (meeting AS3 class name syntax)
    kglad, what I'm saying is that an image file name like "ball.png" is not a valid "class name", because it contains a period, which is reserved as a package delimiter.  I know the runtime can handle it as a valid "fully-qualified class name", but it's misleading because it's actually creating a class named "png" in package "ball", BUT it's understood that the auto-generated name is not supposed to be specifying any package, hence the misleading specification.  The class would have to be instantiated like this: "import ball.png; var bd:BitmapData = new png();" or "import ball.*; var bd:BitmapData = new png();"  You would also then have to import every single class individually and always use their fully qualified names, because you'd technically have a bunch of classes all named "png" inside a hundred different packages.  It's just not acceptable.
    The other problem that occurred in CS6 is if you loaded a bunch of files whose names started with numbers, then when you select them all, choose properties, and use the batch properties window to export them for actionscript, I noticed that such images would be auto-assigned generic names like "Class4" as it would realize the default auto-generated class name would be invalid.  This problem has been fixed beautifully in Flash CC.
    Nipun, it would actually be very helpful to have a little more control over the class naming conventions.  For example, if I wanted all my BitmapData classes to exist in an "images" folder or package, it would be helpful if in the batch properties window I could specify a package name for all the auto-generated class names.  When importing hundreds of images, it's very tedius to have to edit them individually and I don't always have time to write a JSFL script.  There's room in that window to add a text field for a package name.  Thanks!

  • List which should show as empty until items are searched

    Hey,
    I've inserted an App Part of a list using a custom view. This view shows only the title of the items. My goal is to have the list shown as empty (=basically only showing the search box of the App Part) until the user searches the list.
    I'd like to achieve this with OOTB features if it's just possible. The search box for the list is activated from its properties (Display search box).
    I wonder if this could be achieved somehow with list view filtering, such as "Show the items when column [Title] [contains] [searchboxvalue]".
    I'm aware of the Filter web parts, but their straight provided requirement to match exactly the item's title is something I'm trying to avoid with the list's own search box.

    Hi,
    We can use CSS+jQuery to achieve it, please add the following code into a content editor web part.
    <style>
    table.ms-listviewtable{
    display:none;
    </style>
    <script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    setTimeout(function () {
    $("img[id^='inplaceSearchDiv_WPQ']").click(function () {
    if ($(this).attr("title") == "Search") {
    $("table.ms-listviewtable").show();
    if ($(this).attr("title") == "Clear search") {
    $("table.ms-listviewtable").hide();
    }, 5000);
    </script>
    The issue shouldn't in the referencing of jQuery. I entered alert boxes to different parts of the code followingly:
    $(function () {
    alert("first");
    setTimeout(function () {
    alert("second");
    $("img[id^='inplaceSearchDiv_WPQ']").click(function () {
    alert("third");
    if ($(this).attr("title") == "Search") {
    alert("fourth");
    $("table.ms-listviewtable").show();
    if ($(this).attr("title") == "Clear search") {
    alert("fifth");
    $("table.ms-listviewtable").hide();
    }, 5000);
    The alert first was popped up right after refreshing the page. The
    second came 5 seconds later (Timeout function). The alert third popped up once clicking the actual search symbol (magnifying lens
    or the x-symbol for clearing the search). fourth
    and fifth never were alerted.
    I'd like ask about two parts of this code:
    Should the $("img[id^='inplaceSearchDiv_WPQ']")
    be in the code as it is, or should it be e.g. WPQ2 to match the web part's ID?
    About the if
    ($(this).attr("title")
    ==
    "Search") part:
    Should the title be the column name of the list which we are searching for?

  • The result list for activities is empty but items are coming but invisible.

    Hi ,
    The result list for activities is empty / blank - nothing shown at all. but the line items are coming but all are invisible.
    please guide me to find the root cause of this issue.
    Thanks,
    Prem.

    Hi Rene,
    When I am click on 'Search' , the view area is created but records are not being displayed. I checked in the background and data is being fetched.
    Moreover, When I am copying one line item(which is viewed blank after the search being performed but has data)  and after saving press 'previous' all the records are being displayed.
    Do you have any idea on this? Can you share your ID , I can mail you the screenshot .
    Thanks,
    Prem
    Edited by: prem kumar on Jun 7, 2010 1:17 PM

  • Copying Graphs and Pie Charts generated in Analysis View to Email item using Excel VBA Macro Code

    Hi
    I am currently working on an exce VBA macro code that would help me take snapshots of the Graphs and Pie charts generated in QC for a particular application and copy the same to an email item using excel VBA macro code.
    I was able to write the code to create an email item. But I have no clue of how i can take snapshot of the graphs in Analysis View using excel VBA
    Any help would be highly appreciated.
    Thanks in Advance
    Regards
    Amit

    useramit,
    You are in the consumer end products forum.  You will also want to ask your question over at the Enterprise Business Community.
    Click the plus sign (+) next to Discussion Boards to drop down all the options for servers, networking and any other professionally related problems.
    http://h30499.www3.hp.com/

  • How do I empty this item in trash?

    I copied a movie  to documents/other. I now want to delete the movie. I sent it to trash. When I go to empty trash I get a rejection stating the movie
    "is in use".  How do I remove this movie from my computer?

    seafms,
    As den.thed said, something still has the item open.  You should close any applications that you may have opened the movie with such as iMovie, Quicktime Player, or even QuickLook.
    Also, if you have a Finder window open that is displaying the Trash contents, and you have the filename selected, then a FInder preview of the file or it's "info" can lock the file as well.  So, close Findder windows also and then try again.
    If all else fails, reboot your mac, and then empty the trash first before opening any applications.

  • Item Relationship for Obsolete Items

    This is a question for EBS R12.1.3 - OM/Inventory setups
    We have a process where once an item is determined to be phased-out, we set up an  item relationship for an active item that will be replacing the product we no longer want to produce.  My issue is that once we consume all of the phased-out product, we uncheck the "Customer Orders Enable" flag on the item master so that it can no longer be ordered.  The problem is that if the item isn't orderable, we can't pull the item up on the OE form to see it's replacement.  This leaves our customer service blind to the product they should be selling.
    Does anyone have a recommendation for OM or Inventory setups that would allow us to see the Item Relationship on the OE Form, but not allow orders to be placed for the obsolete item?  Not sure if it matters, but we do use the OM materialized views with Item Orderablility feature.

    I created an SR with Oracle.  They stated that this is not possible and is being considered as an enhancement request.
    Bug 6612972: INACTIVE ITEM NOT SHOWN IN LOV WHEN ORDERING SUPERCEDED ITEMS
    Bug 14013746: ITEM SUBSTITUTE DOESN'T WORK FOR OBSOLETE ITEM

Maybe you are looking for