Regarding Entity Details Screen

When i Right click on any CA Entry passed , i can view the Journal entry in the entity details screen . however my concerns is there is a remarks column on extreme right . In what cases does it show derived ? And what is the meaning of derieved in the entity details screen in remarks ? When does CA entry show 0.00 in grey ?

derived means the value was not entered/input. It was calculated.

Similar Messages

  • Error after creating a new item in 'Case Worker'-- 'Agent Dashboard'-- 'Task Details' screen

    In 'Case Worker'-->'Agent Dashboard'--> 'Task Details' screen, I have created a item named 'YEARS' using 'Create Item' in 'Personalize Page' screen. It is not going to tasks page and giving error as "
    oracle.apps.fnd.framework.OAException: No entities found, entityMaps not defined for attachment item (YEARS)." How can I remove this field now..

    Please see the suggested solutions in the following docs.
    Entity Maps Not Defined For Attachment Error When Selecting A Deliverable (Doc ID 358385.1)
    Corrupt Personalization - No Entities Found Entitymaps Not Defined For Attachment Item (Doc ID 1085011.1)
    R12:Supplier Page Unexpected Error: 'No Entities Found EntityMaps not Defined for Attachment Item' (Doc ID 1361320.1
    Geography Hierarchy No Entities Found, EntityMaps Not Defined For Attachment Item (Doc ID 831088.1)
    Depot Repair Bulk Receiving Error: "No entities found, entityMaps not defined for attachment item" (Doc ID 1357977.1)
    Thanks,
    Hussein

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • How to display user define value in list screen from detail screen

    Hello Experts
    I am working on task in which i have to display the user define value on list screen. like i have one list list screen which have one button for add..once i click on add which navigate to detail screen and detail screen has two fields one for ID AND other for name and detail screen has one button for save once i put value for id and name and click on save button which will navigate to previous list screen and those values which should be display on list screen.
    Regards:
    Sumit

    Hi Sumit,
    To navigate to the Master page on button click , you need some thing like,
    oSplitApp.toMaster("masterpage_id");
    to understand the navigation for Master/Detail page , have a look at,
    http://help.sap.com/saphelp_uiaddon10/helpdata/en/df/adb6b7247e4826b0fcde472b029840/content.htm
    Also to pass value from Detail page to Master page, you can use a Global variable to store your values on click of the Save button. For eg. You may have a global JS file which both Master and Detail page can access like App.Js, Application.JS etc.
    After navigating to the Master page, you can read the Global variables and show it on your Master page.

  • Adding new fields in Item details screen in VA01 tcode

    Hi all,
    My requirement is to add custom fields in 'Additional Data B' tab of VA01 transaction.
    That is, after entering the material and quantity, if i double click tat material, it goes to item details screen. In taht, 'Additional data B' tab is there with no fields.
    Now i want to add fields in that.. Is it possible?
    Is there any exit for adding custom fields under that tab?
    Pls tell me the procedure..
    Regards,
    Shanthi

    The process for Additional Data B, whether header or item level, is simple... 
    First, add the data elements to VBAK (header) or VBAP (item), in a customizing append.  The accepted practice is to name your fields beginning ZZ, with the appropriate or custom data element/domain.
    Then on Additional Data B screens, already named in this thread, create whatever is needed.  For instance, you might want to add a subscreen that contains a group of fields with the DDIC-specific captions.
    If you simply need a field, you can place the field (like VBAK-ZZMYFIELD).   SAP will then manage updates to the database for you....no need to do anything to see that the data gets copied into the tables.
    In one instance, I saw a pushbutton added that resulted in calls to screens with table controls, etc., essentially an entire subsystem called by pressing that button....

  • Field label of a CUF in SC item basic detail screen

    Hello all
    We're on SRM 5.0 with SRM Server 4.0 SP08.
    I added a customer field (CUF) in SC item by adding and activating an append structure in INCL_EEW_PD_ITEM_CSF_SC and in INCL_EEW_PD_ITEM_CSF. I also implemented BAdI BBP_CUF_BADI_2 in order to set this CUF to visible / read only.
    When adding an item to my SC and navigating to the item basic details screen, the CUF is showing up properly EXCEPT that its label on the left hand side corresponds to the technical field name in my append structure... and it shows up in capital letters as well.
    Is there any possibility to influence the labeling of CUF's ? I mean without the need of a modification?
    Any useful hints appreciated!
    Renaud

    Hi
    As Disha told, <u>Using <b>SE11</b> transaction, you need to make changes to Custom Data Element (Short/Medium/Lon Description) you are using in the Append Structure of the INCL (Includes) and make the changes there to reflect on the Shopping cart screen.</u>
    Let me know incase you need any other details.
    Regards
    - Atul

  • Problem with primary key violation in master-detail screens

    Hi,
    I found a problem/bug in master-detail screens in which the PK of the detail table consist of the PK of the master table and an additional column. E.g. a manually entered sequence 'in parent'.
    I will use the following simple scenario to explain the problem (it's easy to reproduce):
    PROJECT table
    # id (PK)
    * name
    PROJECT REQUIREMENTS table
    # prj_id (PK)
    # sequence_id (PK)
    * description
    Just create the BC EO, VO and AM and set both display properties of the prj_id attribute of the project requirements VO to hidden.
    Create a new screen in the application structure file in which you can select a project (table-form layout) and display the details (table layout) on the same page.
    With this basic setup you can generate the app to enter, update and delete projects and their requirements.
    The problem occurs if you have a project with a least 1 requirements stored in the database and you try to enter a second requirement with an existing sequence_id within the project. This is an use case in which a end-user enters wrong data.
    So assume we have in the database:
    prj_id sequence_id description
    ====== =========== ===========
    1 1 req1
    and the end-user enters (prj_id is entered automatically as it's not displayed):
    1 1 req2 >> user should have enterd sequence_id 2...
    Step 1. If you try to save an error will be displayed:
    JBO-25013: Too many objects match the primary key oracle.jbo.Key[227300 1 ].
    And the sequnece_id is emptied automatically.
    Step 2. So the end-user re-enters the sequence_id but fills in 2 now and saves.
    Another error is displayed: JBO-27014 sequence_id in AppModule is required
    How strange? Everything is filled in already.
    Step 3. If you just hit save again (without changing anything) you got a transaction completed successfully.
    I checked the logfiles and noticed an exception during after executing step 2.
    oracle.jbo.AttrValException: JBO-27014: Attribute SequenceId in AppModule.ProjectRequirementsView2 is required     at oracle.jbo.AttrValException.<init>(AttrValException.java)     at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java)     at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2051)     at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1373)     at mypackage1.ProjectRequirementsImpl.validateEntity(JwTekeningnummerImpl.java:273)     at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1508)     at oracle.jbo.server.EntityImpl.validateChildren(EntityImpl.java:1232)     at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1339)     at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1508)     at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3965)     at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:967)     at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:1683)     at oracle.jheadstart.view.adfuix.JhsInitModelListener.validateInputValues(JhsInitModelListener.java:193)     at oracle.jheadstart.view.adfuix.JhsInitModelListener._doModelUpdate(JhsInitModelListener.java:166)     at oracle.jheadstart.view.adfuix.JhsInitModelListener.eventStarted(JhsInitModelListener.java:92)     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:325)     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106)     at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140)     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)     at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622)     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)     at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)     at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:765)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java)     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    This also explains why I got a error message within the application at step 2, but not an expected error message!
    From the logfile I can see something is going wrong in the oracle.jbo.server.EntityImpl.validateEntity method.
    To get more insight what was goning on I overridden the validateEntity method in my VO Impl class:
    protected void validateEntity()
    System.out.println("MARCEL>> sequenceId=" + getSequenceId());
    System.out.println("MARCEL>> description=" + getDescription());
    super.validateEntity();
    In step 1 the validateEntity is not called.
    In step 2 the sequeceId = null (and description = reg2)
    I expected the sequeceId to be 2 now as I entered this. Furthermore if I look at the (JhsActionServlet) request parameters in the log, I can see that the value of the sequenceId was 2. I guess something is going wrong at this point in converting the request parametes to the EO.
    In step 3 the sequeceId = 2 (as expected)
    Note that I'm using the evaluation copy version of JHeadstart 10.1.2.
    If this was patched in any later build, could you please tell which changes I have to make to the JHS sources to solve this problem.
    Regards,
    Marcel

    Marcel,
    I cannot reproduce this in version 10.1.2.2. We did not "fix" this, although changes in the runtime might have fixed this "silently". I suggest you upgrade to 10.1.2.2 and see whether you still get the error.
    Steven Davelaar,
    JHeadstart Team.

  • Operation number not holding in Operation details screen for WM6.2

    Hi Experts,
    I have added custom statuses to operation object in WM6.2. When I am editing the operation,Operation number is displaying in operation details screen header.But when trying to execute custom statuses, the operation number is not holding in Operation tile view header as in the below screen snap.
    Thanks in advance.Kindly suggest.
    Thanks & Regards,
    Sravanthi Polu

    Hi sravanthi,
    Just make sure that when you are editing operation object for custom statuses change you are editing same object that you are seeing in operation details screen.
    I think this problem is due to different/stale operation object that is being edited for when you are calling Operation Edit Transaction for change status for (custom statuses).
    I recommend to check your Target for Button , Action and Edit Transaction for this (is it same operation object that is being seen on detail screen/being edited for).
    Regards,
    AK

  • Close frame attachments in shopping cart details screen

    Hi,
    i'm working in SRM rel 5.0 and i have this requirement.
    In detail screen of shopping cart document i need to see texts screen but not attachments screen.
    I see that this operation is managed by BBP_PDH_TEXT service and there is gs_ui_control_flags structure that have HIDE_ATT_SCREEN field, set to blank.
    I try, in debug, to change this value with 'X' and result is that no attachments screen is showed.
    How can i set this field? Perhaps in attribute of my service using SICF transaction?
    Thank's in advance.
    Best regards
    Maurizio Ortolani

    Hi,
       We had  a similar reqt.However we finally modified the ITS template in service BBP_PDH_TEXT for that.however this will disable the attachement feature for all the documents(SC,Bi etc..) as this is a common template being used across.
    The  commented statements are:
    `BBPGroupBoxBegin(LABEL_ATT_HEADER.label)`
    if ( (GV_MODE == "E") || (GV_MODE == "C") || (GV_INTERNAL_ATTACH_MODE == "X") )`
            <table><tr><td class="instruction" tabindex="0">`#LBL_ATT_INSTRUCTION`</td></tr></table>
            `BBPVSpace()`
            `TABLE(class="format")`
            `TR()`
            `TD(class="label")`<label for="`GS_SCR_TEXT-FILENAME.name`">`#LBL_ATT_DESCRIPTION`</label>
            `TD(class="data", nowrap="X")`<input `if (GV_ATT_EDIT_MODE != "")`disabled readonly `end`type="text" id="`GS_SCR_TEXT-FILENAME.name`" name="`GS_SCR_TEXT-FILENAME.name`" value="`GS_SCR_TEXT-FILENAME.value`" maxlength="64" size="30">
            `TR()``Lines()`
            `if (GV_CONFIG_DEACTIVATE_APPLET != "")`
                `TR()`
                `TD(class="label")` <label for="`GS_SCR_TEXT_FILEPATH.name`">`#LBL_ATT_PATH`</label>
                `TD(class="data", nowrap="X")`<input `if (GV_ATT_EDIT_MODE != "")`disabled readonly `end`type="FILE" id="`GS_SCR_TEXT-FILEPATH.name`" title="`#HELP_ATT_PATHINPUT`" name="`GS_SCR_TEXT-FILEPATH.name`" maxlength="255" size="30">
                `TR()``Lines()`
            `end`
            `if (GS_UI_CONTROL_FLAGS-SHOW_ATT_CATEGORY_SELECTION.value != "")`
                `TR()`
                `TD(class="label")`<label for="`GS_SCR_TEXT-FILENAME.name`">`#LBL_ATT_CATEGORY_SELECTION`</label>
                `TD(class="data", nowrap="X")`
                <input type="hidden" name="`GV_CATEGORY_SELECTED.name`" VALUE=" ">
                `if (GV_DISABLE_CATEGORY_SELECTION == "")`
                    `BBPCheckbox (GV_CATEGORY_SELECTED.name,"","X")`
                `else`
                    `BBPCheckbox (GV_CATEGORY_SELECTED.name,"","")`
                `end`
                `TR()``Lines()`
            `end`
            `endTABLE()`
            `BBPVSpace()`
            `BBPButtonBegin()`
                `if (GV_CONFIG_DEACTIVATE_APPLET != "")`
                    `if (GV_ATT_EDIT_MODE == "")`
                        `BBPButton("TEXT_ATT_ADD", BUTTON_ATT_ADD.label)`
                    `else`
                        `BBPDisabledButton(BUTTON_ATT_ADD.label)`
                    `end`
                `else`
                    `if (GV_ATT_EDIT_MODE == "")`
                    `BBPButton("", BUTTON_ATT_APPLET_ADD.label,"launchAppletCreate()", "")`  
                    `else`
                        `BBPDisabledButton(BUTTON_ATT_APPLET_ADD.label)`
                    `end`
                `end`
            `BBPButtonEnd()`
            `BBPVSpace()`
            `BBPVSpace()`
            `BBPVSpace()`
        `end`
    <table><tr><td class="instruction" tabindex="0">`#MSG_ATT_NO_ATTACHMENTS`</td></tr></table> 
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Metadata property as Details Property in Details Screen

    Hi,
    is there any way (java class) to display a metadata property as a details property in a details screen (I think the default details area is overview_description).
    Thanks in advance.
    Regards
    Ray

    Hi,
    you can create a class that extends AbstractResourceDetailsProperties and renders a metadata property, similiar to the standard ModifiedDetailsProperty, for example, that renders the Modified Property.
    For example if I have a property named Customer I would create a class called CustomerDetailsProperty something like this:
    public class CustomerDetailsProperty extends AbstractResourceDetailsProperties {
         public CustomerDetailsProperty() {
         public boolean isPropertyAvailable(IResource resource) {
              com.sapportals.wcm.repository.IProperty tempProperty = null;
              try {
                   if (getPropertyName() != null)
                        tempProperty = resource.getProperty(getPropertyName());
              } catch (ResourceException rEx) {
                   log.errorT("Could not check property availability for resource < "
                             + resource
                             + " > "
                             + LoggingFormatter.extractCallstack(rEx));
                   return false;
              return tempProperty != null;
         public Component renderDetailsProperty(IResource resource) {
              try {
                   com.sapportals.wcm.repository.IProperty customerProp = null;
                   com.sapportals.wcm.repository.IProperty tempProperty = null;
                   if (getPropertyName() != null) {
                        tempProperty = resource.getProperty(getPropertyName());
                        customerProp =     resource.getProperty(PropertyName.getPN("http://sapportals.com/xmlns/cm", "Customer"));
                   if (tempProperty != null) {
                        String header =     getPropertyLabel(tempProperty, resource.getContext());
                        GridLayout grid = new GridLayout();
                        grid.addComponent(1, 1,     renderShortDateProperty(tempProperty, resource));
                        if (customerProp != null) {
                             Component customer = PropertyRenderUtil.renderProperty(customerProp , resource,     0);
                             Link userLink = null;
                             if (customer instanceof Link) {
                                  userLink = (Link) customer;
                                  userLink.setLinkDesign(LinkDesign.RESULT);
                                  grid.addComponent(2, 1, userLink);
                                  grid.getCell(2, 1).setWidth(";padding-bottom:3px;");
                             } else {
                                  grid.addComponent(2, 1, customer);
                                  grid.getCell(2, 1).setWidth(";padding-bottom:3px;");
                        return render(header, grid);
                   } else {
                        return null;
              } catch (WcmException wcmEx) {
                   log.errorT(
                        "Could not render lock property for resource < "
                             + resource
                             + " > "
                             + LoggingFormatter.extractCallstack(wcmEx));
              return null;
         public IResourceDetailsProperty getNewInstance(int priority) {
              CustomerDetailsProperty detailsProperty = new CustomerDetailsProperty();
              detailsProperty.setPriority(priority);
              return detailsProperty;
         public IPropertyName getPropertyName() {
              try {
                   return PropertyName.getPN("http://sapportals.com/xmlns/cm", "Customer");
              } catch (ResourceException e) {
                   e.printStackTrace();
                   return null;
         static Class _mthclass$(String x0) {
              try {
                   return Class.forName(x0);
              } catch (ClassNotFoundException x1) {
                   throw new NoClassDefFoundError(x1.getMessage());
         private static Location log =
              Location.getLocation((com.mycompny.CustomerDetailsProperty.class).getName());
    Best regards,
    Avishai Zamir

  • Enhance PO details screen

    We have a need to enhance the PO detail screen (supress buttons and add new columns). As I understand this is a webdynpro based screen. So do we need to use POWL for that?
    Thanks.
    Anuradha.

    Hi Anuradha,
    You can customize PO Screen by implementing Enhancement SPOT (/SCF/UIMDL_APPCUST).
    This will allow you to remove buttons as well as add columns.
    Hope this helps!
    Regards
    Shekhar

  • Item test in BOM item detail screen

    Hi All,
    I need to fetch tem text (POTX1) field  in BOM item detail screen. But I have not found in any table.
    Can you tell me me how to get it?

    Dear Chetan,
    1) Just check the table STPO
    2) in this table u can find field "POTX1"
    Added
    just Go to Settings & click on Field for selections
    then click on field "POTX1" and press enter
    Hope the above answers ur query
    Regards
    kumar
    Edited by: kumar kumar on Sep 26, 2009 10:29 AM

  • Post-generating 3-level master-detail-detail screens

    Hi all,
    for a consulting project, I had to create several three-level master-detail screens using JHeadstart. For the JHS demo app, this would mean for example that a location page contained a list of departments at the location and underneath it a list of employees working at the currently selected department.
    From what I have learned so far using JHS, this is not supported by the wizards and should be done by post-generation changes. This forum has a few topics mentioning the problem and possible solutions, but most of the time just fragments of the complete solution/approach. As I had to create several of these 3-level detail screens, I tried to uniformly document them, providing the 7-step guide as outlined below. I only started working with JHS recently, so please let me know where I take a long way round or where my approach is not appropriate at all :o)
    NOTE1: Terminology-wise, for the example given above, I will call the departments the 2nd level detail and employees the 3rd level detail, while locations are the first level masters. I hope this is not too confusing ;o)
    NOTE2: the example code is not guaranteed to work with the JHSdemo. I just changed the names of variables and classes from my own application to the familiar entities of the demo.
    STEP 1: Generate plain MD screens for the first and second level entities (table-form) using the JHS application generator and make sure all generated features you want in your page are OK. Afterwards, switch off the UIX generation in your application structure file. If you want multiple entities at the third detail level,
    STEP 2: Add the functional contents of the generated 3rd level detail UIX page to the main master UIX page, right underneath the 2nd level detail-table but still inside the <header> entity of this 2nd level detail. (I'm not too sure whether this really matters, but at least the indentation looks nice). What I call "functional contents" is the <header> entity containing the 3rd level detail table.
    STEP 3: Edit the java file of the 3rd level view object, adding a variable storing the identifier (primary key) of the currently selected 2nd level detail row. If you haven't used the java file before, generate it by doubleclicking the view object and checking the generate view object box in the Java screen.
    private String $selectedDeptID;
    public void setSelectedDeptID(String id) {
    $selectedDeptID = id;
    STEP 4: Edit the java file of your application module (in the model layer) and add a method for updating the view objects search queries like the example below:
    public void updateEmployeeView(String deptID) {
    // fetch the view object instance
    EmployeeViewImpl view = (EmployeeViewImpl)this.getEmployeeView1();
    // register the currently selected departments ID
    view.setSelectedDeptID(deptID);
    // re-execute the view objects query
    view.executeQuery();
    // reset the selected ID
    view.setSelectedDeptID(null);
    STEP 5: Create a java class for handling the event when a user selects a different 2nd level detail row.
    package view;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpSession;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.bc4j.DCJboDataControl;
    import oracle.adf.model.binding.DCDataControl;
    import oracle.adf.model.binding.DCUtil;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.event.EventResult;
    import oracle.cabo.servlet.event.PageEvent;
    import oracle.cabo.servlet.ui.data.PageEventFlattenedDataSet;
    import oracle.cabo.ui.data.DataObject;
    import oracle.cabo.ui.data.DataSet;
    import oracle.cabo.ui.beans.table.SelectionUtils;
    import oracle.jbo.ApplicationModule;
    * USER-DEFINED EVENT-HANDLING CLASS
    * this class is triggered after the user selects another row in the Department
    * table/form in the Locations.uix screen. It derives the ID (pk) of the
    * selected row and launches the AppModule method to update the view objects
    * select queries with the selected DeptID.
    public class RowSelector
    * private variable holding the name of the DataControl module for this
    * Application Module
    private static final String DATACONTROLNAME = "AppModule" + "DataControl";
    * private variable holding the name of the table/form object in the uix page
    * from which we want to derive the selected row data.
    private static final String TABLEFORMNAME = "DepartmentsView2";
    * private variable holding the name of the form field holding the database
    * ID (pk) of a row in the ${TABLEFORMNAME} table/form
    private static final String IDFIELDNAME = "Dept_ID";
    * This method fetches the ID of the user-selected row in the DepartmentsView2
    * table/form in the Locations.uix form.
    * Afterwards, it fires the ApplicationModule method for updating the view objects
    public static EventResult doSelectionEvent(BajaContext bc, Page page, PageEvent event)
    try {
    // create a new FlattenedDataSet for the table name
    DataSet tableInputs = new PageEventFlattenedDataSet(event, TABLEFORMNAME);
    // fetch the UI table index from the DataSet (NOT the pk from the db)
    int index = SelectionUtils.getSelectedIndex(tableInputs);
    // fetch the DataObject representing all the input elements on the current table row.
    DataObject row = tableInputs.getItem(index);
    // fetch the value of the input field holding the ID (pk) of the selected department row
    Object value = row.selectValue(null, IDFIELDNAME);
    if (value != null) {
    // tell the AppModule to update the appropriate view object(s)
    getAppModuleImpl(bc.getServletRequest()).updateEmployeeView(value);
    // quick and dirty exception handling. not too many exceptions possible due to
    // hard-coded field/table/module names. anyway, taking no action at all is not
    // that bad an option for a demo ;o)
    } catch (Exception e)
    e.printStackTrace();
    return null;
    * method for fetching the active Application Module
    public static AppModuleImpl getAppModuleImpl(HttpServletRequest request)
    BindingContext ctx = DCUtil.getBindingContext(request);
    DCDataControl dc = ctx.findDataControl(DATACONTROLNAME);
    AppModuleImpl service = (AppModuleImpl)dc.getDataProvider();
    return service;
    STEP 6: Override the executeQueryForCollection method in your view object java file to make sure it uses the selected 2nd level detail rows ID for the bound variable specifying the 3rd level select query. Otherwise, the select query for the 3rd level detail set appears to use the ID of the first 2nd level detail row selected for the currently selected 1st level master. In the example below, no other bound variables are used in the view object, otherwise, the indexing might have to be adjusted.
    protected void executeQueryForCollection(Object qc, Object params[], int noUserParams) {
    if ($selectedDeptID != null) params[0] = $uur;
    super.executeQueryForCollection(qc, params, noUserParams);
    STEP 7: In the Locations.uix page, set a primaryClientAction for the radio select input in the 2nd level detail screen. This action should fire an event (fe 'userChoseDepartment') and refresh the 3rd level detail tables using the partial refresh options in the primaryClientAction dialog window. Afterwards, add an event handler to the bottom of your Locations.uix page, linking the event specified before to the doSelectionEvent in the RowSelector class.
    So, that's how it worked for me. I hope it does the same for you and please do post any comments or remarks if problems arise or simplifications are possible. The more remarks or bugs appear in the above code, the more the JHS team is hinted to enable auto-generated 3rd level detail screens :-D
    Cheers,
    benjamin

    Benjamin,
    Thank you for sharing your expreinces with us!
    A few remarks:
    1. With JHeadstart 10.1.2.1 you can generate unlimited master-detail levels in the same page when using UIX and table-layout for the detail groups This feature is implemented usin g UIX table detail disclosure: when you click on the "show" link in a row in of the level 2 detail table, you will see in the detail disclosure area the level 3 detail table.
    There is a screen shot of this feature in the JHeadstart Developers Guide for 10.1.2.1, chapter 3, section "Creating Table Pages". You can now download the dev guide from the JHeadstart Product Center:
    http://www.oracle.com/technology/consulting/9iservices/jheadstart.html
    2. You have a lot of steps related to synchronizing the level 3 ViewObject with the level 2 ViewObject. You can leave all this work to ADF Business Components, by adding the l;evel 3 ViewObject as a nested usage to the level 2 ViewObject in your application module data model.
    Ths would save you the work you aredoing in steps 3 to 6.
    Steven Davelaar,
    JHeadstart Team.

  • Reload Detail screen everytime user searches

    Hello
    I have created a custom app using the master - detail template.
    I want to change the standard functionality to reload the detail screen every time a user does a search, even if the search returns the current loaded entity in the detail screen as the first record.
    i.e. I want to reload the detail screen after every server hit (no matter what entity is returned first)
    At the moment I can see that the event onRouteMatched is not fired if the detail entity is not changing.
    I can see that the master view calls the method showDetail
    var bReplace = jQuery.device.is.phone ? false : true;
      this.getRouter().navTo("detail", {
        from: "master",
      entity: oItem.getBindingContext().getPath().substr(1),
      tab: this.sTab
    }, bReplace);
    This method than causes the onRouteMatched method to be called in the detail view ONLY if the entity is changing in the detail screen.
    Is there a clean way to cause the detail screen to refresh even if the entity is the same??
    Thanks
    Andrew

    Hi Maksim
    Thanks for responding, I did go down the route of firing a Route Matched event if the entity is not changing.
    For reference see below:
    Master.conroller.js
    showDetail : function(oItem) {
         if (this.getRouter().oHashChanger.getHash() === oItem.getBindingContext().getPath().substr(1)){
              this.getRouter().fireRouteMatched({
                   name: "detail",
                   arguments: {
                        from: "master",
                        entity: oItem.getBindingContext().getPath().substr(1),
                        tab: this.sTab
         else{
              // If we're on a phone device, include nav in history
              var bReplace = jQuery.device.is.phone ? false : true;
              this.getRouter().navTo("detail", {
                   from: "master",
                   entity: oItem.getBindingContext().getPath().substr(1),
                   tab: this.sTab
              }, bReplace);  
    Thanks
    Andrew

  • Legal Entity Details in place of Operating Unit Detail in PO_STANDARD_XSLFO

    Hi all,
    I want to replace the Operting Unit name and Address, which is coming on first page of PO output for Communication, by Legal Entity name and Address.
    In the XSLFO template above the Operating unit Details they had given the Legal Entity Name and Address(It is Commented).... What i did, i commented the Operating Unit Details and uncommented the Legal Entity details.....
    but after doing this i am not getting legal Entity details in PO Output.. Its giving Blank on that place.....
    anyone has any idea.. why it is not printing LE details......
    Regards
    Ravi

    Hi Tim,
    I am not adding any extra field from myside.....
    LE fields are present in template..... but they are commented there...
    Operating Unit Fields are also present there.... But they are uncommented.....
    It looks by seeeing the code of Template that we can use LE deatails in place of Operating unit details...
    I just did reverse... Uncommented the LE deatails and Commented the Operating unit details...
    Regards
    Ravi

Maybe you are looking for

  • Please can anyone help me. Spinning wheel on any operation after Mavericks Install.

    I would really appreciate anybody's help as I am desperate. Thank you in advance. After 3 days I have finally got a system running again on my macbook pro mid 2012 but not a without major problem. I am constantly getting the spinning colour wheel and

  • Ideal adc

    Hi all,     I'm trying to find some ideal ADC to run the simulation.  I want to add jitter to the sample signal. However, the analog to digital.vi cannot use sample signal.  It's helpful to tell me what should I do. Best Regards, Laffer

  • Is html5 dnd really supported in WebView?

    Hi, While testing dnd support in WebView, I faced a strange behavior regarding the transferable data retrieved. The data is always "*undefined*" in WebView, and is correct under other browsers... Any idea? Workaround? Thanks. Simply load the followin

  • Slideshow music - playlist only??

    My Dad has iPhoto 5. He can't add a single track to a slideshow the way I can in iPhoto 08. He says when he clicks the music icon in the slideshow, only the playlists show up - not the individual tracks in the library. Surely he doesn't need to make

  • Controlling the desableing of command buttons

    I have been having a great deal of trouble trying to work out how to control the command button such that if the rowset is null then the button is disabled. The trick is that the rowset is not defined by the view where the command button is located.