Entity not saved inside custom component embedded in standard view

Hi ,
I have embedded a custom component inside a standard component. The custom component has two views. The first view is assigned to the item overview page and the second view is assigned to the main window of the standard component.
I have enhanced the BOL model (using EEWB) and created a new entity with z structure.
There is a button in the first view which is used to navigate to the second view. The custom fields are filled up in the second view.
Even though I am able to fill up the custom fields in the second view, these fields are not getting saved when I save the main transaction.
However, If I fill up the fields from the first view ( ie the overview page ) , these are getting saved.
Please let me know if you have any solution. This would be very helpful.
Regards,
Jaydip

Hi Anubhav,
   I have created the Custom Component(zso_disclaimer)  with the BOL Object BTAdminH. I have used few fields which is available in the BTAdminH(ZZDISC_WAR_ID,ZZACC_EX_CONT,ZZACCEPT_WAR and ZZFLD00004G). I have used this custom component(zso_disclaimer) in the standard conponent BT115H_SLSO as Assignment block. when i enter the values in the fields and press enter the values get disappears. So i am not able to proceed further. Can anyone help me to solve this problem.
Thanks & Regards,
Ashok.

Similar Messages

  • Flex Print Job not working with custom component

    Hi All,
    I have to print pages with header, body and footer. So the thought process was to create a custom component fro header, footer and body. Header component is based on Box, Body is a renderer (which will have fix value of items - and will decide the number of possible pages) and footer is again based on Box.
    But when i created a simple Custom component like this for header
    <?xml version="1.0" encoding="utf-8"?>
      <mx:VBox  xmlns:fx=http://ns.adobe.com/mxml/2009
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <mx:HBox>      <mx:Label id="testLabel" text="Test Container"/>
    </mx:HBox> 
    </mx:VBox>
    Then when i try to add this to FlexPrintJob, and save it as 'xps' to see the print output, i get error message that this file is in use or damaged.
        var myPrintJob:FlexPrintJob = new FlexPrintJob();
      if(!myPrintJob.start()){
          return;
    var header:Header = new Header();
    header.width = myPrintJob.pageWidth;
    header.visible = false;
    FlexGlobals.topLevelApplication.addChild(panierPrintHeader);
    myPrintJob.addObject(header);
    myPrintJob.send();
    FlexGlobals.topLevelApplication.removeChild(panierPrintHeader);
     But this does not work and i get the above mentioned exception. Now when i not use the custom component and just have a label or HBox or anything on stage before the print functionality is invoked, it works fine. And this too haapens only if you have a mxml component, i tried by creating a new Label component using actionscript and then provide the same to the printJob, which did not work either. I need help on this, else i will have to take print functionality to server side(Java) which has some business implications, the reason why i am spending time on flex for printing. 
    Thanks and Regards,
    Jigar
    Looks like custom component print is not working fine with flex or i am doing something terribly wrong.
    Looking forward for help.

    Is there nobody in flex community who can help on this....
    Looks like a toothless class that adobe actionscript team has provided, which is not liked across much

  • Mxml elements inside custom component

    Hi all, i'm a flex newbie but i know AS3, i've encountered a problem during the development of a custom component: my custom component is a panel with some buttons, but i want that anyone can insert mxml elements (especially form elements) inside this panel in this way:
    ActionScript Code:
    <custom:myDialogBox >
       <mx:Form ...>
            <mx:TextInput ...>
    </custom:myDialogBox>
    So i created myDialogBox component:
    ActionScript Code:
    <mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Metadata>
                 [DefaultProperty("hboxFirstLine")]
            </mx:Metadata>
        <mx:Script>
            <![CDATA[
                import mx.containers.HBox;
                import mx.containers.Panel;
                import mx.controls.Button;
                import mx.controls.Text;
                import mx.core.UIComponent;
            ]]>
        </mx:Script>
        <mx:HBox id="hboxFirstLine" width="100%">
        </mx:HBox>
        <mx:HBox id="hboxSecondLine" width="100%" horizontalAlign="center">
                    <mx:Button label="Conferma" />
            <mx:Button label="Annulla" />
        </mx:HBox>
        <mx:ControlBar id="controllBar" horizontalAlign="right">       
            <mx:Label id="alertFooter" text="sFooter" />
            </mx:ControlBar>
    </mx:Panel>
    I expect that the form goes inside hboxFirstLine... but instead i get this error:
    Error: In initializer for 'hboxFirstLine': type mx.controls.Form is not assignable to target type mx.containers.HBox. 
    Any idea?

    hboxFirstLine has to be a Form, not an HBox.
    Also, if that is all the code of your component, you don't need import statements.
    HTH.

  • Find and item Search not working inside custom list in sharepoint 2013

    HI,
    In Sharepoint 2013 , i configured the Search. it is working in home page search Box and Find item search box  inside custom list as well But one particualr custom list  Find an item is not working. Any clue ?Thanks in Advance
    Thanks
    sanjay pradhan  

    Hi,
    According to your description, my understanding is “find an item” search box in a custom list not work in your environment.
    As search box and “find an item” search box in your home page are working, so the search service application is working.
    Do you have any customzation to the particular custom list ?
    If No, I suggest you can full crawl the data in Central Administration ->Manage Service Application->” Search Service Application”-> Manage Content Sources” to test if it works. 
    Also, please check if you have set "Allow items from this list to appear in search results" in list settings->Advanced Setting to true
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Data not saving in Custom Infotype

    Dear Experts,
    I have created a custom infotype, 9003, for this I creates a structure ps9003.
    And I have to create a primary key field in my infotype, so I added a field in PA9003 as key field.
    Now this key field was not coming in the infotype screen, so I added it using screen painter.
    But now when I save the data the data is not saved in this key filed.
    Please Suggest.
    Warm Regards,
    Upendra Agrawal

    Hi
    As of my knowledge the primary key for the PA infotypes will be MANDT+PAKEY structure.  What is the need of adding the primary key.
    - While creating the custom infotype using PM01 screen will be automatically generated for the fields declared in PS structure
    - Screen Generation will wipe out the custom written on the fields so this is to be carefully handled.
    - if you added the field check logic in PAI & PBO
    - Check are you passing the data back to the infotye structure

  • Data is not saving in customer subscreen of ME21N

    Hi Friends,
    I have implemented BADI ME_GUI_PO_CUST for adding a tab and subscreen in PO.
    I have also implemented BADI ME_PROCESS_PO_CUST for displaying screen elements.
    Everything is OK except it is not saving in the database through ME21N/ME22N.
    I have added append structure in EKKO, MEPOHEADER and added flag in MEPOHEADERX; tried many things in code but it is not saving.
    Please tell me if i am missing any step...
    Points will be awarded.

    Hi,
    I solved the probelm by mine. We have to create a Z table with the same structure like screen and also with EBELN.
    And save data in internal table TRANSPORT_TO_MODEL and read from internal table if entry saved in TRANSPORT_FROM_MODEL. (ME_GUI_PO_CUST)
    After that in ME_PROCESS_PO_CUST, implement in OPEN method, write code for selecting from Z table.
    Write code in POST method for saving in that Z table.
    Do not forget for all these excersies we have to use function module that will reside in same function group where the subscreen resides.
    Good i should give pat on my shoulder.
    Regards
    Krishnendu

  • Custom component Search and Result view using value node :pls help

    Hi Experts,
    I am creating a Custom component with Search and Result view using value nodes.
    This is the code I wrote in the Search button event handler method.
    The data which gets in lv_search I need to put in lv_col .
    Can somebody guide me for this.
    Points will be awarded .
    METHOD eh_onsearch.
      DATA : lv_current TYPE REF TO if_bol_bo_property_access,
             lv_search  TYPE zcrm_orgstruct_search,     "Search value node structure
             lv_result  TYPE zcrm_orgstruct_result,         "Result value node structure
             lv_col     TYPE REF TO if_bol_bo_col.
      lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
      CALL METHOD lv_current->get_properties
        IMPORTING
          es_attributes = lv_search.
      me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
      op_toresultview( ).
    ENDMETHOD.
    Regards,
    Lakshmi

    Hi Lakshmi,
    Could you please share with us how it was solved.
    "CALL METHOD lv_current->get_properties
    IMPORTING
    es_attributes = lv_search."
    Did you get any values in lv_search ?
    Because while using value nodes for search view (which inherits from advance search controller  class), the above method does not return any search values entered in the fields.
    Please let me know how did you solve it.
    Thanks & Regards
    Vidhya

  • ADF:LOV declarative component not working inside table component.

    Hi,
    I have created a custome LOV control,I am using this custom LOV control inside the table component,I am passing the below values as the parameter
    KeyValue="#{row.bindings.Value.inputValue}"
    LovModel="#{row.bindings.Value.listOfValuesModel}"
    Value- is the list of value attribute.
    When i click on the LOV search icon, the popup displays the Query model(it displays the list name at the top in the search page.so it is able to recognise the LOVmodel) but it is not able to retrive the list values.I am getting Query page with no values
    in the jspx page it is giving warning as "reference not found for row.bindings.Value.listOfValuesModel"
    Please can anyone help me on this?
    Thanks,
    Harish

    Hi Frank,
    below is my actual requirement and the solution i tried till now.
    I have a table and it has two columns let’s say “Columns” and “Values”. The first column i.e. “Columns” will be a dropdown and it will have predefined values, the other column “Values” will be a “List of value” control or similar kind of control in which the user can search and select multiple values from the popup list, and that list should dynamically bounded to the first column selected value.
    For Ex: if I select a value “Product” from the dropdown of the first column “Columns” , the control in the other column “Values” should bound to “product” list and I should be able to search and select multiple values from the pop up. And the popup should return the multiple selected values as a comma separated string to the textbox.
    In my requirement I have to use only VO’s to create the list and the control in the “Values” column should switch between these VO’s depending on the value selected in the first column.
    The solution we tried till now.
    I used a LOV switcher to achieve the above requirement. But we have a limitation in this approach as we could not do the multi select. Then we created a declarative LOV component in which we can select multiple values as a comma separated string from the popup.
    I retained the LOV switch model , instead of binding LOV switch model to the basic “Input List of Value” control in the JSPX page ,I used the LOV declarative component. Below is the code snippet which calls the declarative LOV component from JSPX page.
    <af:panelFormLayout id="pfl2">
    <af:selectOneChoice value="#{bindings.Columns.inputValue}"
    label="#{bindings.Columns.label}"
    required="#{bindings.Columns.hints.mandatory}"
    shortDesc="#{bindings.Columns.hints.tooltip}"
    id="soc3" autoSubmit="true">
    <f:selectItems value="#{bindings.Columns.items}" id="si5"/>
    </af:selectOneChoice>
    <mc:OraMultiSelect
    KeyValue="#{bindings.Value.inputValue}"
    LovModel="#{bindings.Value.listOfValuesModel}"
    id="oms2"/>
    </af:panelFormLayout>
    Where Value attribute is having LOVModel.
    The above code perfectly fine as I used it inside the “Form layout” and with the parameters passed as KeyValue="#{bindings.Value.inputValue}"
    LovModel="#{bindings.Value.listOfValuesModel}"
    The problem I am facing:
    The actual problem comes when I use this control inside the table which I required in my implementation.
    I called the declarative LOV control as shown below inside the table as I used to call the basic “Input List of value” control which works fine inside the table.
    . <af:column sortProperty="Value" sortable="false"
    headerText="#{bindings.OpPlanning1.hints.Value.label}"
    id="c1" width="133">
    <mc:OraMultiSelect KeyValue="#{row.bindings.Value.inputValue}"
    LovModel="#{row.bindings.Value.listOfValuesModel}"
    id="oms1"/>
    </af:column>
    Above code doesn’t works fine when I select value from the “Column” dropdown it displays the corresponding list model in the pop up but not able to retrieve the value of the list in the popup .
    If I pass the parameters as
    . <af:column sortProperty="Value" sortable="false"
    headerText="#{bindings.OpPlanning1.hints.Value.label}"
    id="c1" width="133">
    <mc:OraMultiSelect KeyValue="#{bindings.Value.inputValue}" --instead of ="#{row.bindings.Value.inputValue}"
    LovModel="#{bindings.Value.listOfValuesModel}"--}" --instead of ="#{row.bindings.Value.inputValue}"
    id="oms1"/>
    </af:column>
    It works fine for the first row.The subsequent rows refers the value selected in the first row dropdown.
    Thanks For the help,
    Harish
    Edited by: 886523 on Nov 3, 2011 8:04 AM

  • Entity not saving

    I have the following entities:
    public class SportsChoiceEntry : Entity<int>
    public SportsChoiceEntry()
    Histories = new List<SportsChoiceStatusHistory>();
    public virtual Sport Sport { get; set; }
    public int SportID { get; set; }
    public virtual List<SportsChoiceStatusHistory> Histories { get; set; }
    public class SportsChoiceStatusHistory : Entity<int>
    public int SportsChoiceID { get; set; }
    [ForeignKey("SportsChoiceID")]
    public virtual SportsChoiceEntry SportsChoiceEntry { get; set; }
    public class Sport : Entity<int>
    public virtual IList<SportsChoiceEntry> SportChoices { get; set; }
    And the following mappings:
    protected override void OnModelCreating(DbModelBuilder modelBuilder)
    modelBuilder.Entity<Sport>().ToTable("Sport", "Sports").Property(x => x.ID).HasColumnName("SportID");
    modelBuilder.Entity<SportsChoiceEntry>().ToTable("SportsChoice", "Sports").Property(x => x.ID).HasColumnName("SportsChoiceID");
    modelBuilder.Entity<SportsChoiceEntry>().HasRequired(t => t.Sport).WithMany(t => t.SportChoices).HasForeignKey(s => s.SportID);
    modelBuilder.Entity<SportsChoiceStatusHistory>().ToTable("SportsChoiceStatusHistory", "Sports").Property(x => x.ID).HasColumnName("SportsChoiceStatusHistoryID");
    modelBuilder.Entity<SportsChoiceStatusHistory>().HasRequired<SportsChoiceEntry>(s => s.SportsChoiceEntry).WithMany(sc => sc.Histories).HasForeignKey(s => s.SportsChoice2ID);
    modelBuilder.Entity<SportsChoiceStatusHistory>().HasOptional(h => h.SportsDocument);
    The problem is..... when I save and commit, it doesnt do anything in the database.

    I do not see any calls to SaveChanges? What is your connection string? 
    Please mark as answer, if this was it. Visit my SQL Server Compact blog http://erikej.blogspot.com

  • Classpath issues inside custom component

    Hi Forum,
    we have created our own component for a special database task.
    Within the the component implementation we have used XMLBeans 2.4.
    Now we run into a classloader issue because LC already contains a very old version of XML Beans (from 2004).
    Is there a way to have our own classloader that uses the new XML Beans version instead of the already existing one?
    We have planned to migrate several other components to be available inside Workbench and I'm afraid we will run into the same problem several times.
    Thank and best regards,
    Timo

    Timo,
    If you would like to override the classpath then I would suggest you to put your version of the XMLBeans jar file while making a component jar file and override the classpath in your service java class.
    See if that help.
    Thanks
    YogLC
    component.xml file defines service impl class as below
    <services>
    <service name="MY_Service">
    <!-- service implementation class definition -->
    <implementation-class>com.company.component.MYServiceImpl</implementation-class>
    package com.company.componen;
    public class MYServiceImpl{
         public void myServiemethod(){
              // first line in your service method
              ClassLoader originalClassloader = Thread.currentThread().getContextClassLoader();
              //--- your code here ---
              // finally make sureset the classloader back
              if (originalClassloader != null) {
                   Thread.currentThread().setContextClassLoader(originalClassloader);

  • How to handle custom component data on overviewset save button CRM UI

    Hi,
    I have added a custom component to a standard view which is enchanted.
    I can handle any data with my buttons on the component but after editing data
    i need the save the data when the save button on the overview(top) is pressed.
    I have redefined save button of overview but i cant get my data.
    My node name is Root. I think i couldnt bind it to overview.
    How can i do that?
    Thank you

    Probably it can be done by
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUITechnical-CreatingTableViewInWebUI
    i am trying
    Thank you

  • When i attach workflow to document library, the custom columns data is not saving.

    Hi, i had created SharePoint designer workflow (send Email) for Document Library.
    I had created Custom columns like.
    "Employee Name" of type Person or Group  
    "Resume Type"  of type Choice 
    When i attach my workflow to document library, the columns data is not saved.
    It is just uploading resume, and sends email to the user groups, but data is not saved for custom columns. !.e "Employee Name" and "Resume Type".
    Any help will be appreciated.

    In SharePoint Document Library, first the document will be uploaded and then the metadata will be updated. So, in your workflow settings, select start workflow when item is changed instead of item is created and then try. 

  • Error when calling a custom component in Web UI.

    Hello Experts ,
    We have  created a custom component for guided procedure in Web UI . When we link the custome component with the standard component for the home page ( WCC_SSV_HOME ) we found that custom controller for guided procedure works . We are navigating the guided procedure for search functioanlity and it works fine and shows the search result .
    But when we click on any of the searched objects say a Case , then links on that  Case is not working .
    For example , we are getting the below  error :
    Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - Define NavigationalLink BP for source view ZSOA.MainWindow
    Any inputs on this is higly apreciated.
    Regards
    Vinayak

    Hi Vinayak,
    I am assuming that the implementation of the navigation from the search result to the object details is not working.
    The error you mentioned pointed me that you do not have the navigation link. I don't know what is missing so I am giving you the full details please cross check what you missed.
    1> create and eventhandler e.g. EH_ONSINGLESELECTION
    2> create an outbound plug in your view - this plug is used for the navigation to the target of the hyperlink.
    3> create an outbound plug in the window.
    Define the navigation link whth the name according to the string you have put in the event handler in the search component e.g. SINGLESELECTION
    as source define the component usage for the search. as target define the component usage of header    -> this will handle the connection from search to the header.
    Hope this will help.
    Thanks,
    Vikash.

  • Navigating from Custom Component to Standard Compoent(IUICCON). Getting Exception "Define Component Usage 'Random Component Usage of Standard component'"

    Hi Everyone,
    We have a requirement to
    Navigate from Custom Component to the Standard Component(IUICCON – Contract
    management) on the basis of some conditions.
    We tried navigating with Manual
    as well Dynamic Navigation. The Navigation is happening properly and the Navigation is completed and we are on the Contract
    Management Screen(Standard component View).
    On the Contract Management
    screen (standard Component view), when we click on New Contract Button; it throws dump stating “Define
    Component Usage IUICOBJ”. After debugging we identified that the issue was with the Parent class/ component is getting changed, because of which the usage was not found.
    Appreciate your help.
    Thanks in Advance.
    Regards,
    Bhavikjp.

    Hi Bhavik,
    Check which is the active enhancement set at the runtime in the component_loading BADI.
    If it is anything other than your enhancement set,Set it to your enhancement set .
    Check if the parameter WCF_IGNORE_ENHANCEMT in Tcode SU01 is set to 'A' for the User.
    Regards JP.

  • Outlook view settings not saved

    I have one user who looses all View settings when restarting Outlook. Occasionally they will save, but it is very rare. Setting the Reading Pane to Off is one good example of a setting that does not save.
    The creation of new Views is also not saved. After restarting Outlook, the new View does not appear in Manage All Views.
    I have tried creating a new Outlook profile and I'm told that Office 2013 C2R has been re-installed since this problem started. 
    Outlook 2013 Click-To-Run via an Office 365 E3 subscription. Exchange Online mailbox. Windows 7 Pro 32-bit. 
    Any help would be appreciated. 

    Hi,
    Basically, Outlook view settings are stored in the default data file. If the data file is corrupt or recreated every time Outlook restarts, the view settings may be not saved.
    Does the user use Outlook with Cached Exchange mode enabled? If so, please go to
    C:\Users\%username%\Documents\Outlook Files and check if you have multiple .ost files in the folder.
    In addition, you may try to switch to turn off Cached Exchange mode and then test this issue again.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for

  • Vicious MPD widget not displaying the artist and song title

    EDIT: This thread can be closed now. It turns out Clementine doesn't support mpd and I'm now running ncmpcpp and the widget shows the artist and song title. I have trouble getting the mpd widget running in awesome wm, it will only display "N/A - N/A"

  • Footer displayed inaccurately in Dreamweaver CS4 php page

    Hi, I recently upgraded from Dreamweaver 8 to Dreamweaver CS4. Our organization site uses mostly php pages. When I attempt to open these pages in Dreamweaver CS4 the footer menu bar displays innacurately down through the center of the page and won't

  • Upgrade to 10.6 plus run Parallels for Windows 7

    I am running 10.5.8 on a MacBook Pro a 500 GB hard drive and 4 MB ram. I would like to: 1. upgrade to MAC 10.6 Snow Leopard 2. Run Windows 7 using Parallels I am fairly computer literate but I have no experience with virtual machines. Can anyone reco

  • Applet file writing without permission

    Is it possible for an applet to write a text or html document to be displayed in a browser without needing to grant it permissions?

  • System shud restrict stock posting of 04 inspection lot

    Dear ALL, Pain Area - whenevr Process order get release 03 inporcess inspection lot generates and after Process order get confrimed O4 inspection lot generates , Evry time we use to process 04 Inpsection lot and then stock posted from Quality to Unre