Display Details View - Date_out

Hello Experts,
In one of our SNP Planning book I have entered some quantity in Keyfugure Distribution Receipt (planned).
When i take the Display details, i am getting order with DATE_OUT field as first working day of the month. But i want to shift it to middle of the month. Please let me know how to acheive this.
My Planning bucket profile is monthly.
Thanks in advance.
Best Regards,
Srinivas

Hi Srinivasa
I think you are looking at the "Period Type", look on the "Lot Size" tab then click on the "Quantity and Date determination" sub-tab. There should be two fields halfway down in the "Scheduling" area. The first says "Use period factor" and the second says "Period Factor". You have two choices:
1) Uncheck the "Use period factor", this will then use 0.5 by default
2) If this is checked you can also enter 0.50 in the "Period Factor", this tells the system to place the receipt in the middle of your bucket, in your case "M" being a monthly period bucket.

Similar Messages

  • Not able to display bar chart in details view

    Hi every one,
    I created Tiles and when click on Tile it is going to SplitContainer. in SplitContainer container i have two HTML views. I am trying to dispaly bar chat in Detail view. but its not displaying. Can you please help me?
    Here is my code.
    Here is my details view.
    <template data-controller-name="view.LrDetail">
      <div id="page" data-sap-ui-type="sap.m.Page" data-title="Leave Request" data-show-nav-button="true" data-nav-button-press="back">
      <div data-sap-ui-aggregation="content">
      <div data-sap-ui-type="sap.m.ObjectHeader"
      data-title-active="true"
      data-title-press="showRequestor"
      data-title="{lr>requestor}"
      data-number="{lr>days}"
      data-number-unit="days">
      <div data-sap-ui-aggregation="attributes">
      <div data-sap-ui-type="sap.m.ObjectAttribute" data-text="{path:'lr>type', formatter:'util.Formatter.lrType'}">
      </div>
      </div>
      <div data-sap-ui-aggregation="firstStatus">
      <div data-sap-ui-type="sap.m.ObjectStatus" data-text="{path:'lr>agoDays', formatter:'util.Formatter.agoDays'}">
      </div>
      </div>
      </div>
      <div id="reports" data-sap-ui-type="sap.viz.ui5.Bar">
      </div>
      </div>
      </div>
    </template>
    and here is my details controller
    onBeforeRendering: function()
      var oModel = new sap.ui.model.json.JSONModel({
      businessData : [
      {Country :"Canada",revenue:410.87,profit:-141.25, population:34789000},
      {Country :"China",revenue:338.29,profit:133.82, population:1339724852},
      {Country :"France",revenue:487.66,profit:348.76, population:65350000},
      {Country :"Germany",revenue:470.23,profit:217.29, population:81799600},
      {Country :"India",revenue:170.93,profit:117.00, population:1210193422},
      {Country :"United States",revenue:905.08,profit:609.16, population:313490000}
      sap.ui.getCore().setModel(oModel, "MyJSONModel");
      var dataset = new sap.viz.ui5.data.FlattenedDataset({
                dimensions : [ {
                  axis : 1,
                  name : 'Country',
                  value : "{Country}"
                measures : [ {
                  name : 'population',
                  value : '{population}'
                }] ,data : {
                  path : "/businessData"
      var chart = this.getView().byId("reports");
      chart.setDataset(dataset);
      chart.setModel(oModel);
    here is my output screenshot.
    Can you please help me where i am doing wrong.

    Hi Sakthivel Elango,
    My code is working in Normal view and displaying Chart. the same code put into detail view chat is not displaying. Inside HTML code i am posting please check the code.
    <div id="LrDetail--reports" data-sap-ui="LrDetail--reports" class="sapVizChart" style="width: 640px; height: 480px;">
       <div id="UIComp_0" style="position: relative; overflow: visible; font-size: 10px; box-sizing: border-box; left: 0px; top: 0px; width: 640px; height: 480px; display: none;">
          <div id="UIComp_1" class="UIComp_1-2ebc44e6-2f93-46d1-964e-e823b0afe432 v-viz v-bar" style="position: relative; overflow: hidden; font-size: 10px; box-sizing: border-box; display: block; width: 640px; height: 480px; -webkit-user-select: none; left: 0px; top: 0px;">
             <canvas style="width: 0px; height: 0px;"></canvas>
             <svg class="v-m-root" width="640" height="480" style="left: 0px; top: 0px; direction: ltr; position: absolute; box-sizing: border-box;">
                <defs></defs>
                <g class="v-m-title"></g>
                <g class="v-m-legends">
                   <g class="v-m-legend"></g>
                </g>
                <g class="v-m-main">
                   <g class="v-m-background"></g>
                   <g class="v-m-xAxis"></g>
                   <g class="v-m-yAxis"></g>
                   <g class="v-m-plot"></g>
                </g>
             </svg>
          </div>
       </div>
    </div>
    in this svg tags there is no bars.

  • How can I display pdf file details on 64-bit Windows 7 detail view?

    I'd like to display some pdf file details in order to classify them by author, title, subject... This option was simply possible for pdf file on windows xp (just by selecting the desired details on detail view when exploring folders) but it seems to be impossible for windows 7 (It's possible for other file like *.jpg, mp3...). Is there a program or a plugin to solve this problem? Thank you very much.

    It would appear, very annoyingly, that Acrobat is still lagging in the x64 department! It will, at the moment, only run as an x86 sub.....

  • I need to display a web app search form, inside the detail view of another web app. Does anyone know

    I can't seem to get a web app search form to work inside another web app detail page. Does anyone know if this is possible?
    I can display a list of web app items; and the search form works on a standard page; but when I try to load it within another web app's detail page, I get an error: "page not found". This happens regarless of whether I put {module_searchresuts} on the same page as the form, or if I redirect results to another page.
    Does anyone have any suggestions?

    Heya.. You currently can not do that within the detail view but it is possible to redirect the results to another page.
    Simply replace this red portion:
    action="/Default.aspx?SiteSearchID=50&PageID={module_oid}"
    with:
    ID=/results-page.html
    ...results-page.html being the page you want instead.

  • No TITLEs displayed in Detail view in Windows Explorer

    The following pertains to Windows 7 Professional 64-bit vs. Windows XP Professional 32-bit.
    In Windows Explorer, when viewing the file list in 'detail' view, you can also add the 'title' attribute for display by right-clicking the attribute bar above the file list.  However, in Windows 7, no titles are displayed for PDF files that have this
    information which were displayed under WinXP.  Also, if the file properties are displayed, the PDF tab is gone.
    I cannot find any info on how to re-enable this feature.  If XP-style PDF title attributes have been removed or disabled in Windows 7 Explorer, it is a MAJOR omission for our corporation.  We have a massive collection of corporate
    and 3rd party PDF documents where interdocument links will not work if the filename is changed.  The TITLE attribute in detail view is used to display the document title, not the filename.  If any other view is used, e.g. icon view, the bubble
    popup displays the title in WinXP, but this again doesn't work in Win7.  Without the title attribute working as it does in XP, we may have to forego moving from XP to Windows 7 on our desktops (we're skipping Vista, of course), and find an alternate
    desktop OS (Linux?) that still supports this feature.
    For example, every IBM software/hardware PDF manual has a cryptic filename which does not reflect anything about the title of the manual.  These filenames support inter-manual links, so renaming the PDF manuals to reflect the title is absolutely
    not an option.  However, the PDF attributes of the file do contain the title, and these were visible under both Properties (the PDF tab), and the TITLE column in Detail view under WinXP.  However, both of these features are gone in Windows 7,
    and to say it's a PITA is a gross understatement.
    We want (need) this feature back in Windows 7.  I'd call it a show-stopper in moving to Windows 7 if this isn't fixed, and soon!
    Btw, Microsoft, we have over 45,000 desktops currently running WinXP, plus 100's of Win2003/Win2008 servers in our corp.  Are you listening?

    Here's what seems to be going on.
    As part of the Adobe Reader download, Adobe provides a shell extension called pdfshell.dll.  On 32-bit Windows XP, you'll find it in the C:\Program Files\Common Files\Adobe\Acrobat\ActiveX folder.  On 64-bit Windows 7, you'll find it in the C:\Program
    Files (x86)\Common Files\Adobe\Acrobat\ActiveX folder.  But, on either system, it's a 32-bit shell extension.  On 64-bit Windows 7, Windows Explorer will only run as a 64-bit program.  According to numerous web forum posters, this was a change
    between the last "beta" and the "RC" version of 64-bit Windows 7.  There is a 32-bit version of Windows Explorer in the C:\Windows\SysWOW64 folder, but if you try to run it you get another instance of 64-bit Explorer.  The (first)
    problem is that 64-bit Windows Explorer won't load a 32-bit shell extension.
    You can see the 32-bit pdfshell.dll "working" on 64-bit Windows 7 in the File Open dialog of any 32-bit application (such as Adobe Reader).  To see this, first open an Explorer window and navigate to a folder that has some PDF files like your
    IBM manual.  Right click on the file and choose Properties.  Look at the tabs in the dialog and note that there is no PDF tab.  Now, OK out of the Properties dialog and double-click on the same file to open it in Adobe Reader.  Now press
    Ctrl-O or choose File Open to get the File Open dialog.  Navigate to the same folder, right click on the same file and choose Properties.  Look at the tabs and see that you now have the PDF tab that was missing in Explorer.  In that tab, you
    can see the Title that pdfshell.dll has pulled from the file.  This works because 32-bit Adobe Reader has loaded a 32-bit common file dialog which *will* load a 32-bit shell extension.
    But you're not out of the woods yet.  The common file dialog has many of the features of Explorer, and you can select Details view and right-click on the column headers to choose to show a Title column.  This will show Titles for several document
    types, but not for PDF files.  This isn't a 64-bit versus 32-bit issues, it's a Windows XP versus Vista and later issue.  What Adobe implemented in pdfshell.dll is an ActiveX interface called IColumnProvider, and Microsoft dropped support for this
    interface in Windows Vista (replacing it with something called the Property System).  You can glance at http://msdn.microsoft.com/en-us/library/bb776831%28VS.85%29.aspx and just read the first line after the page header:  "[This feature is supported
    only under Windows XP or earlier. ]".  So, the PDF Title column feature didn't go away with 64-bit Windows 7, it went away with 32-bit Windows Vista.
    The best solution to this problem would be for Adobe to update pdfshell.dll to provide the Property System interface that Vista and Windows 7 require.  See http://msdn.microsoft.com/en-us/library/bb776859%28v=VS.85%29.aspx if you care for the details. 
    Then Adobe should release 32-bit and 64-bit versions of pdfshell.dll implementing the new interface, and we'd get both the PDF tab and Explorer columns like Title for PDF files in 32-bit and 64-bit versions of Windows 7 (and Vista).
    Alternatively, some enterprising developer could presumably write a shim that would present the Property System interface on its upper side (callable by Explorer) and the IColumnProvider interface on its lower side (capable of calling existing versions of
    pdfshell.dll).  It would need to deal with interfacing between 64-bit Explorer and a 32-bit pdfshell.dll ... I assume that this is possible somehow, but I don't know.
    A kludge that might be (barely?) usable would be to use Windows XP Mode to run a 32-bit Windows XP Explorer and use that to navigate using the PDF Titles and possibly launch them.  Perhaps you could come up with a way to make Windows XP Mode's Explorer
    launch Adobe Reader in the host 64-bit Windows 7 OS.
    A third-party solution might be xplorer^2 (http://www.zabkat.com/index.htm) which claims to support the interface that Microsoft dropped in Vista (http://www.zabkat.com/blog/07Feb10-column-handlers-revived.htm).  I know nothing about this program, I
    just found it while Googling for "column handler".  It says that it has a 21 day trial, is available in 32-bit and 64-bit versions and costs $29.95 (presumably US dollars).  There is a "lite" version that is free for non-commercial
    use ... all of this info is just repeated from their web pages, I have no connection to the company and only know what I read ... I haven't tried it.
    It's worth noting that life isn't perfect with pdfshell.dll and 32-bit Windows XP either, depending on your PDF files.  Some documents don't have Titles (depending, partly, on what software produced them).  Some have Titles long enough that they
    won't display in an Explorer column (though they show up truncated on the status line and un-truncated in a tooltip).  I have a file called "GEARaspi Security Information.pdf" (http://www.gearsoftware.com/support/GEARAspi%20Security%20Information.pdf)
    that has no Title, created by OpenOffice.org 2.4 according to its PDF tab.  I have another called "319124.pdf" (http://www.intel.com/assets/pdf/whitepaper/319124.pdf) which has the rather wordy title "Intel®  Extreme Memory Profile
    (Intel® XMP) supporting Intel® X48 Express Chipset with DDR3 White Paper".  Despite having a Title, no Title is displayed in a Title column in Windows Explorer in 32-bit Windows XP, though a truncated version appears in the status bar and
    the tooltip gets the whole thing, wrapping to two lines to do it.  Intel's file was produced with Acrobat PDFMaker 7.0 for Word according to its PDF tab.
    This post is based on what I could figure out, I hope it's helpful (if discouraging ... you won't fix this with a registry hack).

  • Displaying a Master with two detail view objects

    Hi,
    I have a situation where I need to relate a Master view object to two Detail view objects. Currently I am doing the lookup manually (using viewcriteria!) but I would much rather have the framework handle this. Does anyone know of a way to A: Link two details to one master and B: Display them on the same page.
    I am using Jdeveloper 9.0.3.3 (1205) and currently have a straight BC4J/JSP application with no struts or UIX.
    Thank you in advance for any help you can provide

    If I understand you correctly. You should just have to create two separate viewLinks. Add the datasource tags for the master and the two views via the viewlinks. Then use a rowKey to get the correct master.
    Hope that helps!

  • How to set the display ratio of master and detail view

    Currently, I use SplitApp that contain the master and detail view. And I would like to show the master view on the left half and detail view on the right half. Is there any proper way to adjust this?
    Thank you in advance.

    You can set the width ratio by adding css. Check this,
    http://jsbin.com/dakir/1

  • Issue in search detail view

    Hi,
    I have a issue in search screen.
    I developed a search screen with parameter. Based on the result, I am viewing the details of a selected record in a separate screen. The below steps I followed
    Step : 1
         Search the record based on input parameter.
    Step : 2
         Select a record and view it in another jspx.
    Step : 3
         Updating a column through database (Back end).
    Step : 4
         Return back from detail view page to search page.
    Step : 5
         Selecting the same record (Which I choosed in Step 2) and viewing it in detail page.     Now the update value is not reflecting in the screen.
    In step 2, findByQuery(String poId) is executing and I can see that query in the log file. But in Step 5 I am not able to see the query in the log file (Since the method itself is not called), its displaying the result from the cache.
    Please any one provide solution and where to change and what to change. Excuse me if i asked anything wrongly.
    Thanks & Regards
    Vimalan Balan.

    Hi Frank,
    Thanks and its working.
    I called refreshNeeded (Similar to SRDemo) method in backing bean of view button action in Search Page.
    Thanks & Regards
    Vimalan Balan

  • Detail view with bind variable. TreeTable not showing all detail result.

    I’m having trouble with treeTable using detail view with bind variables and where clause defined in VO definition.
    Both, master and detail view objects, base on the same entity and have the same condition in where clause. The view objects also have bind variables, which are set in prepareRowSetForQuery() method.
    Again, these are two different views, that get different result, based on value of one of the bind variable.
    When I show results in two different tables on jsf page, where master table has "RowSelection" set on "single", all results are displayed in detail table.
    But when I use treeTable, only the first result of the detail is shown.

    I tested it in applicationModule and it works, but i think that's the same as two tables on a jsf page.
    This is the order in which overridden methods are called in ADF BC or two tables on jsf page
    when clicking on row in master table.
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;  -> print of the object2[] parameter in executeQueryForCollection
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313 -> viewLink parameter value
    getEstimatedRowCount_Detail
    count: 2
    getEstimatedRowCount_Detail
    count: 2 And when i click on "expand node" in tree table:
    getEstimatedRowCount_Root
    count: 2
    PrepareRowSetForQuery_Detail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035321
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035313
    PrepareRowSetForQueryDetail
    executeQueryForCollection_Detail user param: 2
       Object 2: class [Ljava.lang.Object;
         List 0: Bind_ChildId -> viewLink parameter
         List 1: 400035321
    getEstimatedRowCount_Root
    count: 2
    getEstimatedRowCount_Root
    count: 2Values of user parameters are OK. Is there another method that i should override?
    I also noticed, that if detail view doesn't have user bind variables, the tree works fine and is shown even in ADF BC (aplication module).
    I guess we loose a tree, when using bind variables in detail view object.
    Is there a way around it?

  • Update a detail-detail View

    I've created a JTree with the root nodes being the Master(Oracle Table Owners). The second level nodes are detail view(Oracle Tables owned by a Owner). Here's the problem: In a separate panel I've created a table that will ideally display the columns for a selected table name. Upon initial load of the application, the columns are populated. Once I try to drill down to a table, the table columns VO is blank and never to return. I tested the AM and all the relationships are setup correctly.
    Do i need to explicitly tell the VO to refresh, seems odd?
    Where should I start to discover where my problem is occurring?
    Thanks for your help.

    bump
    noone, anyone? pleaseeee

  • Disable row highlighting in details view in file explorer

    Cannot extract files from archive to existing folder using drag and drop operation.
    screenshot here http ://imgur. com/lmERkkw (it doesn't let me attach images or links until "verify my account", but no such option I am offered)
    or a simply file drag and drop copy http ://imgur .com/CHgmu5R
    In file explorer navigate to a folder containing enough files that there is no space between the last file and the bottom window edge.
    In another file explorer window, open a ZIP archive with explorer.
    Select all files and try to drag and drop these files over the first window. An operation that you would routinely perform and expect no issues, you might say.
    This however will fail because sometime after XP a "brilliant" mind at Microsoft decided that 1) items in details view should be highlighted when the mouse is over and 2) not being satisfied with the damage (1) is doing, the entire row is highlighted
    when the mouse is over, so when a drag and drop operation comes to this target, it is not interpreted as a drop to empty space but a drop to a target file.
    In XP, if I really wanted to drop an object into a file, I would EXPLICITELY drop it onto the FILENAME. If I wanted to drop into the containing/displayed folder, I would just drop it into an empty space.
    But in recent windows, this has changed and there is no space left to drop the drag-and-drop operation.
    I am ***baffled*** at me as a small user having to sum all this up. Don't windows developers use windows themselves??!?!?!?!
    I read on the net that for windows 7 there was a workaround for this called "folder options X". it seems that it does not work in win10.
    If someone cares to collect this feedback and send it to developers, this is just ONE of MANY features slashed from XP file explorer and XP desktop and XP taskbar and XP start menu (everything being offered by explorer.exe). Find a whole list here:
    http :// xpwasmyidea.blogspot .com
    Left tree folder jumping bug is back. Single-click expanding in left panel folder tree only worked in XP. etc....

    thank you Raafje.
    It works well!
    But I have still an issue with colored content of table cells. Some cells in my report contains HTML-colored content(a kind of intra-cell progress bar). Any hover color (I tried same color row and background-color:transparent) overwrite the color of cell's content and it looks no so nice. Each cell may have different colors so I can not define one standard for hover for all cases.
    Is there a way to deactivate this hover completely?
    Thank you!

  • Work around for SVG's in detail view?

    Using an SVG in a custom field within a web app. The file displays correctly in the list view, but converts to a linked .svg file in the detail view. Any ideas on how to work around this?

    Thanks for your reply Liam! I am playing with Liquid and trying to build my first webapp using it. The tag name has a space in it so I am using:
    {{this.["logo white"]}}/* links to an svg */ 
    Adding "_path" right after "white", after the "]", or any of the "}" is not generating anything. I did how ever get this to work:
    <pre><img src="{tag_logo white_value}" /></pre>
    I would really like to learn to do it with Liquid though, is there something I am missing? Thanks for your help!
    I also got this to work after removing the space from the field name:
    <pre><img src="{{logo_value}}" /></pre>

  • Next/previous button into detail view???

    Hi all,
    I have a tableview and it feeds the plist data into a detail view.... I would like to have two buttons in the detail view, one to move forward through the array from the last tableview and one to move backwards through the array. The data would be displayed in the detail view.
    here is the kind of plist I have....
    <array>
    <dict>
    <key>name</key>
    <string>Category A</string>
    <key>ItemChild</key>
    <array>
    <string>aaaa</string>
    <string>bbbb</string>
    <string>cccc</string>
    <string>dddd</string>
    </array>
    </dict>
    <dict>
    <key>name</key>
    <string>Category B</string>
    <key>ItemChild</key>
    <array>
    <string>aaaa</string>
    <string>bbbb</string>
    <string>cccc</string>
    <string>dddd</string>
    </array>
    </dict>
    <dict>
    <key>name</key>
    <string>Category C</string>
    <key>ItemChild</key>
    <array>
    <string>aaaa</string>
    <string>bbbb</string>
    <string>cccc</string>
    <string>dddd</string>
    </array>
    </dict>
    </array>
    </plist>
    To try to pass the array and position in array through to the detail view I have put this code into my second view controller....
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    NSString *myLabel = [self.dataList1 objectAtIndex:indexPath.row];
    FinalViewController *dvController = [[FinalViewController alloc] initWithNibName:@"FinalViewController" bundle:nil];
    dvController.myLabel = myLabel;
    dvController.title = [self.dataList1 objectAtIndex:indexPath.row];
    dvController.currentRow = indexPath.row;
    dvController.dataList1 = self.dataList1;
    [self.navigationController pushViewController:dvController animated:YES];
    [dvController release];
    dvController = nil;
    in my detail view.h I have added
    NSArray *dataList1;
    int currentRow;
    @property (nonatomic, retain) NSArray *dataList1;
    @property (nonatomic, assign) int currentRow;
    -(IBAction) getNext;
    and in my detail view.m I have put...
    - (IBAction) getNext{
    if (self.currentRow>=0) {
    currentRow = currentRow-1;
    NSString *data1 = [dataList1 objectAtIndex:currentRow];
    theLabel.text = data1;
    however the second view controller doesn't seem to be passing the array or the position in the array through??? However I am kind of new to this and not to sure how to pass that information through.???
    any help would be great,
    thanks

    Hi,
    According to your post, my understanding is that you wanted to use the next and previous control in announcements list webpart.
    You can refer to the following thread, Ashish Patel had written a details explanation about it.
    http://sharepoint.stackexchange.com/questions/25680/announcements-webpart-customization
    what’s more, we can use the JQuery to query the announcement list, then built a html structure to work with some plugins such as the following.
    http://jquery.malsup.com/cycle/int2.html
    http://www.gmarwaha.com/jquery/jcarousellite/#demo
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • Problem occured when create a tree table for master-detail view objects using SQL queries?

    I am programming a tree table for master-detail view objects using SQL queries and these 2 view objects are not simple singel tables queries, and 2 complex SQL are prepared for master and view objects. see below:
    1. Master View object (key attribute is SourceBlock and some varaible bindings are used for this view object.)
    SELECT  cntr_list.SOURCE_BLOCK,                   
            sum(                   
             case when cntr_list.cntr_size_q = '20'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr20 ,                   
            sum(                   
             case when cntr_list.cntr_size_q = '40'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr40 ,                   
             sum(                   
             case when cntr_list.cntr_size_q = '45'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr45                    
    FROM (       
        SELECT yb1.BLOCK_M as SOURCE_BLOCK,       
               scn.CNTR_SIZE_Q,        
               count(scn.CNTR_SIZE_Q) AS cntr_qty        
        FROM  SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2       
        WHERE       
        scm.cmr_n = scn.cmr_n             
        AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')                 
        OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))                 
        AND scm.shift_mode_c = :ShiftModeCode                           
        AND scm.end_terminal_c = :TerminalCode      
        AND scm.start_terminal_c = yb1.terminal_c                  
        AND scm.start_block_n = yb1.block_n                  
        AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n                  
        AND scm.end_terminal_c = yb2.terminal_c                  
        AND scm.end_block_n = yb2.block_n                  
        AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n           
        AND scn.status_c not in (1, 11)             
        AND scn.shift_type_c = 'V'             
        AND scn.source_c = 'S'       
        GROUP BY yb1.BLOCK_M, scn.CNTR_SIZE_Q       
    ) cntr_list       
    GROUP BY cntr_list.SOURCE_BLOCK
    2. Detail View object (key attributes are SourceBlock and EndBlock and same varaible bindings are used for this view object.)
    SELECT  cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK,                
            sum(                     
             case when cntr_list.cntr_size_q = '20'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr20 ,                     
            sum(                     
             case when cntr_list.cntr_size_q = '40'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr40 ,                     
             sum(                     
             case when cntr_list.cntr_size_q = '45'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr45                      
    FROM (         
        SELECT yb1.BLOCK_M as SOURCE_BLOCK,     
               yb2.BLOCK_M as END_BLOCK,  
               scn.CNTR_SIZE_Q,          
               count(scn.CNTR_SIZE_Q) AS cntr_qty          
        FROM  SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2         
        WHERE         
        scm.cmr_n = scn.cmr_n               
        AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')                   
        OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))                   
        AND scm.shift_mode_c = :ShiftModeCode                             
        AND scm.end_terminal_c = :TerminalCode        
        AND scm.start_terminal_c = yb1.terminal_c                    
        AND scm.start_block_n = yb1.block_n                    
        AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n                    
        AND scm.end_terminal_c = yb2.terminal_c                    
        AND scm.end_block_n = yb2.block_n                    
        AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n             
        AND scn.status_c not in (1, 11)               
        AND scn.shift_type_c = 'V'               
        AND scn.source_c = 'S'         
        GROUP BY yb1.BLOCK_M, yb2.BLOCK_M, scn.CNTR_SIZE_Q         
    ) cntr_list         
    GROUP BY cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK
    3. I create a view link to create master-detail relationship for these 2 view objects.
    masterview.SourceBlock (1)->detailview.SourceBlock (*).
    4. I create a tree table using these 2 view objects with master-detail relationship.
    When I set default value for variable bindings of these 2 view objects and the matching records exist, tree table can work well. I can expand the master row to display detail row in UI.
    But I need to pass in dymamic parameter value for variable bindings of these 2 view objects, tree table cannnot work again. when I expand the master row and no detail row are displayed in UI.
    I am sure that I pass in correct parameter value for master/detail view objects and matching records exist.
    Managed Bean:
            DCIteratorBinding dc = (DCIteratorBinding)evaluteEL("#{bindings.MasterView1Iterator}");
            ViewObject vo = dc.getViewObject();
            System.out.println("Before MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
            System.out.println("Before MasterView1Iterator ShiftModeCode="+ vo.ensureVariableManager().getVariableValue("ShiftModeCode"));
            vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
            vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
            vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
            vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
            vo.executeQuery();
            System.out.println("MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
            DCIteratorBinding dc1 = (DCIteratorBinding)evaluteEL("#{bindings.DetailView1Iterator}");
            ViewObject vo1 = dc1.getViewObject();
            System.out.println("Before DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
            System.out.println("Before DetailView1Iterator ShiftModeCode="+ vo1.ensureVariableManager().getVariableValue("ShiftModeCode"));
            vo1.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
            vo1.ensureVariableManager().setVariableValue("DateTo", dateTo);
            vo1.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
            vo1.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
            vo1.executeQuery();
            System.out.println("after DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
    5.  What's wrong in my implementation?  I don't have no problem to implement such a tree table if using simple master-detail tables view object, but now I have to use such 2 view objects using complex SQL for my requirement and variable bindings are necessary for detail view object although I also think a bit strange by myself.

    Hi Frank,
    Thank you and it can work.
    public void setLowHighSalaryRangeForDetailEmployeesAccessorViewObject(Number lowSalary,
                                                                              Number highSalary) {
            Row r = getCurrentRow();
            if (r != null) {
                RowSet rs = (RowSet)r.getAttribute("EmpView");
                if (rs != null) {
                    ViewObject accessorVO = rs.getViewObject();
                    accessorVO.setNamedWhereClauseParam("LowSalary", lowSalary);
                    accessorVO.setNamedWhereClauseParam("HighSalary", highSalary);
                executeQuery();
    but I have a quesiton in this way. in code snippet, it is first getting current row of current master VO to determine if update variables value of detail VO. in my case, current row is possibly null after executeQuery() of master VO and  I have to change current row manually like below.
    any idea?
                DCIteratorBinding dc = (DCIteratorBinding)ADFUtil.evaluateEL("#{bindings.SSForecastSourceBlockView1Iterator}");
                ViewObject vo = dc.getViewObject();           
                vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
                vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
                vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
                vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
                vo.executeQuery();
                vo.setCurrentRowAtRangeIndex(0);
                ((SSForecastSourceBlockViewImpl)vo).synchornizeAccessorVOVariableValues();

  • How to hide display details in sap gui and create ad-hoc request in UWL?

    Hi,
    how to hide display "details in sap gui" and "create ad-hoc request" in UWL?
    Please telme the step-by-step procedure to hide "details in sap gui" and "create ad-hoc request".
    Thanks,
    Rashmi

    Hi,
    Thanks for the information. It was very helpfull.
    Can you please tellme where can we fine UWL iView? I tried to find this out in two ways.
    1) Portal Content -> Content Provided by SAP -> End User Content -> Standard Portal Users -> Views -> com.sap.coll.iviews -> Universal Worklist (finally i got this iView). Here i dint find any property called "List of UWL Actions to exclude". In the link which you had given, its written that we can modify the iView and add the name of the actions under the Actions to exclude from the UWL property.
    Which iView do we need to modify and where can i find that property?
    2) I downloaded the xml file and then tried to find this property "List of UWL Actions to exclude" or " Actions to exclude from the UW". But i couldnt find both the properties in xml file.
    Thanks,
    Rashmi

Maybe you are looking for

  • SSRS Parameter value from another parameter

    Hello Everybody, I have a parameter that I need to get it value from another parameter. The first parameter @rdt is a date - 11/01/2012 The second parameter @mm is the year and month = 2012 I tried putting in a select inside the query but it did not

  • Need help getting my music from itunes to my iphone 5s

    Please help!! I have backed up my phone and I just want my music to stay on my phone but i have to keep downloading it. what do I do to keep it there without having that cloud with the arrow next to it.

  • Mountain Lion freezes for few seconds when closing tabs

    Hi all, When closing tabs on Google Chrome, usually after "heavy" navigation (HD flash video or several pdfs opened for examples), Moutain Lion sometimes freezes for less than 10 seconds and then back to normal. The trackpad is still responsive but I

  • Thunderbird hangs when moving messages to sent and other folders

    Now and then (sometimes once a week - sometimes multiple times per day) Thunderbird looses the ability to move messages to folders. Typical symptoms are: Send a message - message sends fine - then it hangs forever with the dialog box saying that it i

  • Developing Report for Oracle Apps 11i

    Hi, I am developing Reports for Oracle 11.5.8 and using Reports 6i Are there any good documents that can guide me to develop reports exclusively for Oracle Applications I am customizing one of the report, did a very minor modification and when I run