Dynamic Layouts

Hi,
This morning, dynamic Layouts on Activities do not work (ie does not change the layout depending on your choice in the 1st field).
Last Friday, I just changed a misspell on a field, and added two fiels in one if the layouts.
Has pleeeeease anybody got an idea of where the problem might come from??
Thank you so much for your assistance!
Edited by: Agnes on Sep 8, 2008 10:59 AM

Thank you so much!
I also have an open SR.
Your msg was heplful as we now have a way to get the fiels available : you SAVE it, then you get back to it and fill the fields afterwards.
I will let you know when I have a reply to the SR.
Thanks again.
Agnes

Similar Messages

  • Dynamic layout elements determination logic for output of Pro-Forma Invoice

    This is my requirement below. Please give the suggestion    
    Business requires output to be generated in name of the client, with client logo and scenario specific data elements. To do this in Standard SAP will require to define hundreds and hundreds of layouts. By making most of the client/scenario elements on the layout we can greatly reduce the number of required layouts and reduce implementatuion effort and lead-time.
         The goal is to define a generic table that will hold most of the dynamic layout elements for different document types and countries, including logo, sender address etc.
          For this we will create Z-versions of the output types BA00 ( Order Confirmation, ZPRI (Pro-Forma Invoice) and RD00 (ZD00 Invoice).The layout text blocks will be permanently fixed.The print Program user-exit should call the Z-table that holds the dynamic layout elements and retrieve these elements and merge them with the matching layout text block.
    Message was edited by: janardhan b

    Hi Janardhan,
       Even I have faced the similar situation.but what we have done is instead of calling the dynamic text elements..Why don't we call the text elements based on the required condition ,Then u dont have to maintain all the text elements required in the table.In the table we can only have the doumnent type,client name,logo name and address.
    In the print program if u r using script layout then call the required text elements (write_text) based on the client name and document type that is fetched from the Z-table,Otherwise if u r going for smartforms then with in the layout give the condition under the conditions node of the window or the text.

  • Link to Dynamic Layout Record - Task

    Hi All,
    I have added a link from our activity report in to the task record. We use the dynamic layout quite a bit with the task record, however when drill down into the record from the report, Siebel displays the standard layout instead of the actual layout.
    This nullifies the need since the screen should look totally different.
    Anyone come across this and have a solution?
    Thanks in advance.

    you don't have to worry about all that.
    just open up any activity that is read-only and copy-paste the code. Then in the Fx of the field that has values XXX or YYY, write the web-link code as the concatenation of strings and whenever you encounter the Activity ID, replace it with the fx of Activity ID and again concatenat it with the remainder of the string.
    there are many questions in this forum regarding the same issue and i bet you will get your solution here only.

  • User exit for dynamic layout determination

    Hello,
      I would to know user exit name for dynamic layout determination for output type of Invoice and Order confirmation.
    My user exit should get fired when user press the print preview button in VF03/VA03.
    Regards,
    Vimal Nair

    Hi
    I dont' think you need a user exit, but you should manage that directly in print program.
    Infact you can choose which output type has to be or not to be loaded in a document by an user exit.
    But only in print program you can know if the user has choosen print or print preview.
    So check in TNAPR which print program are used for orders or invoice and change them or, if they are std program, you can copy them before changing them.
    After calling the sapscript (fm OPEN_FORM) or smartform you can know if user press printpreview by reading the structure of export (like ITCPP for example).
    Max
    Message was edited by: max bianchi

  • Dynamic Layouts For Call

    Hi
    Call Functionality (Account Call/ Contact Call) uses Activity object.We have dynamic layouts for Appointment and task ? Can we create dynamic layouts for Call ( For new Call / Auto Call)

    Dynamic layouts are supported for Tasks and Appointments.

  • Webdynpro Dynamic layout manipulation: error attaching elements to Group

    Hi Experts,
    I am trying to create dynamic layout during run time. Itu2019s working partially, but as soon as I add new u201CGroup elementu201D or new u201CTransparent elementu201D I am getting a null error. If I just use buttons, input field or text dynamically layout create it works fine. I want to group this fields in a groups or transparent container so that I can manipulate layout place containers where I need. As soon as I add other element (inputfield/button/text) to transparent element it errors. I have attached code below for more detail. Does anyone have similar issue? Lot of demo and example code show how to create elements (inputfield/button/text) none show how attach those element back to u201DGroupu201D or u201CTransparentu201D element.
    I am creating dynamic elements in u201CViewu201D method u201CWDDOMODIFYVIEWu201D. Any idea or clue much appreciated. Thanks in advance.
    Kind Regards,
    Trim
    method WDDOMODIFYVIEW .
      DATA lr_container  TYPE REF TO cl_wd_uielement_container.
      DATA lr_trans_cont TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
      DATA lr_input      TYPE REF TO cl_wd_input_field.
      DATA lr_table      TYPE REF TO cl_wd_table.
      DATA lo_nd_sflight TYPE REF TO if_wd_context_node.
      DATA lr_button     TYPE REF TO cl_wd_button.
      DATA lr_o_group     TYPE REF TO cl_wd_group.
      data: lr_text TYPE REF TO CL_WD_TEXT_VIEW.
      constants : gc_trs_cont type string value 'Trscont',
                  gc_text1 type string value 'ePDA goals and activity of the team',
                  gc_text2 type string value 'Complete all box and submit to manager'.
      DATA lo_el_context TYPE ref to if_wd_context_element.
    navigate from <CONTEXT> to <SFLIGHT> via lead selection
      lo_nd_sflight = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
      IF first_time = abap_true.
        lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
        DATA lr_grid_data TYPE REF TO cl_wd_grid_data.
        DATA lr_flow_data TYPE REF TO cl_wd_flow_data.
        DATA lr_matrix    TYPE REF TO cl_wd_matrix_head_data.
        DATA lr_matrix_l    TYPE REF TO cl_wd_matrix_layout.
        DATA lr_matrix2    TYPE REF TO cl_wd_matrix_data.
       CALL METHOD CL_WD_TRANSPARENT_CONTAINER=>NEW_TRANSPARENT_CONTAINER
         EXPORTING
           ID      = '/0CUST/123'
           VIEW    = view
           WIDTH   = '100%'
         RECEIVING
           CONTROL = lr_trans_cont.
       lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_trans_cont ).
       lr_container->set_layout_data( lr_matrix ).
        data: lr_o_caption type ref to cl_wd_caption.
        CALL METHOD CL_WD_GROUP=>NEW_GROUP
          EXPORTING
            ID      = 'GRP1'
            design  = '03'
          RECEIVING
            CONTROL = lr_o_group.
       lr_o_caption = cl_wd_caption=>new_caption( text = 'Group1' ).
       lr_o_group->set_header( the_header = lr_o_caption ).
       cl_wd_flow_data=>new_flow_data( element = lr_o_group ).
       cl_wd_flow_layout=>new_flow_layout( container = lr_o_group ).
        lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_o_group ).
        lr_o_group->set_layout_data( lr_matrix ).
        CALL METHOD lr_container->add_child
          EXPORTING
            index     = 1
            the_child = lr_o_group.
        CALL METHOD cl_wd_button=>new_button
          EXPORTING
            enabled   = 'X'
            id        = 'B1'
            on_action = 'GET_FLIGHT'
            text      = 'Get Flight Data'
          RECEIVING
            control   = lr_button.
        lr_matrix2 = cl_wd_matrix_data=>new_matrix_data( lr_button ).
        lr_button->set_layout_data( lr_matrix2 ).
        CALL METHOD lr_o_group->add_child
          EXPORTING
           index     = 1
            the_child = lr_button.
        CALL METHOD cl_wd_input_field=>new_input_field
          EXPORTING
            bind_value = 'SFLIGHT.CARRID'
            id         = 'INPUT1'
          RECEIVING
            control    = lr_input.
        lr_matrix2 = cl_wd_matrix_data=>new_matrix_data( lr_input ).
       lr_input->set_layout_data( lr_matrix2 ).
        CALL METHOD lr_o_group->add_child
          EXPORTING
           index     = 2
            the_child = lr_input.
    endmethod.
    Edited by: Trim Chakrapani on Nov 15, 2011 5:01 PM

    Hi
    I suggest you  create a transparent container at design time and then use the below code in wddomodify to get a reference to the transparent container.
      DATA: lv_container TYPE string,
                  lo_container TYPE REF TO cl_wd_transparent_container.
            lv_container = 'TransparentContainer'.
            lo_container ?= view->get_element( lv_container ).
            lo_container->add_child( lo_button ).
    Hope this helps.

  • Dynamic Layout on Edit Customer page

        Hi, I need to customize Edit Customer page so that when the value of Line Of Business is "A", some fields should hide and some others should show, and when the value of Line Of Business is "B", those hidden fields should appear and some fields should hide.
    I've seen some documentation about customization, but I couldn't do what I need so far. The documents always say to use the Oracle Composer (Administration > Customize Customers Page), then click on "Select" on the left-upper corner, then click on the desired component and "Edit Component". There, I should be able to write some groovy expression on Expression Builder to indicate whether to hide or show the component, based on another field's value.
    My problem is that the options in the menu is always inaccessible! I have a print, but I don't know if I can attach it here neiter how to attach it....
    Does anybody have any idea of how to accomplish this? Is there any other way to do this type of customization?
    Any help would be appreciated...

    In Rel8, app composer introduces dynamic layout. This feature allows an object to have many create and detail layouts.
    These layouts can be dynamically shown based on role, record type, or advanced expressions. Record type and Advanced Expression run against the record.
    Think of it as the state of the record i.e. Record Type = 'Hot' Show Layout 1, Record Type = 'Cold' Show Layout

  • Appointment vs Task Dynamic Layout

    Hello,
    I have an dynamic layout on the Activity Type field.
    Is it possible to check in the default value if the Activity is an Appointment or an Task?
    I tried different formulas but it is always false.
    IIf(FieldValue('<Activity>')='Task',LookupValue("TODO_TYPE", "Value1"),LookupValue("TODO_TYPE", "Value2"))
    Maybe someone have an idea and could help.
    Thanks,
    Kind Regards,

    You have the capability to create dynamic layouts by type, using existing Activity Dynamic Layout Management. There are two options, one each for Appointments and Tasks. The driving picklist is the Type field for both activity types. That requires you to add appointment types and task types to the same picklist. If you are willing to do that, then you can create dynamic layouts.
    Our problem was that we did not want to make users pick between Appointment Types and Task Types. The requirement was to have only the appropriate values show depending on the type. So we default the Type value and created two new picklists, one each to store Appointment Type and Task Type.
    The net result is that we can show users appropriate types based on the activity type, but we only have one layout per activity type per user role as a result.
    Also, you asked about how to determine if it's a task or appointment, and that information is stored in the Activity field automatically by the system when a user creates a new activity record. The values are Task and Appointment, and can not be administered.
    Hope this helps,
    Thom

  • Task Dynamic Layout

    I created different layouts for when someone creates a task, and assigned each of those layouts to a Task "Type" option from the picklist. Everything works great when we choose an option in that field, but the initial layout of a task(before completely any of the fields) doesn't portray any of the layouts we created. It keeps the defaulted layout that came with the system. How do I change this?
    -Amber

    Amber, when you setup your Task dynamic layout in step 1 you can specify the Default Layout.

  • Dynamic Layouts on Custom Object

    Is there a way to set up a dynamic layout on a custom object?

    I dont think the functionality is there today

  • Dynamic Layouts on Custom Objects

    Is it possible to create Dynamic Layouts on SOD for custom objects?
    Where the Dynamic layouts can be found for custom objects?
    Regards,
    JP

    At this time dynamic layouts are not available for custom objects. Please submit a SR as a enhancement request for this capability.

  • Dynamic layout

    How do you dynamically add layout to a group/transparent container. Set it to something like Gridlayout with col values etc.

    Hi Deepak,
    U can create UI elements dynamically.For designing layout dynamically use the dynamic layout manipulation correctly, you must understand the structure of a view:
    In a view, a number of UI elements is laid out in relation to one another. This is done in so-called containers. To describe it, a layout is selected for every container: FlowLayout, MatrixLayout, or RowLayout exist (see reference documentation, chapter Layout).
    Every UI element has layout data, in accordance with the embedding container. This layout data contains the description, at which position in the layout of the container an embedded UI element has its place.
    Hope this helps u,
    Regards,
    Nagarajan.

  • Javascript event for Dynamic Layout change

    I'm using javascript to create a customization for a client and I ran into the following problem:
    - My code runs by replacing the window.load event, it always run when a page is loaded but it doesn't run when the dynamic layout changes.
    Does anyone know which event I can customize so that it runs always??
    The dynamic layout change is driven by the following internal code, but I can't make my code run after it:
    sendGetAppletCmd('ServiceRequestEditForm.SR Type','OMTGT=ServiceRequestEditForm&OMTHD=ServiceRequestNewNav&OMRET0=ServiceRequestHomepage&OCTYPE=','-','DefaultServiceRequestInsert','ServiceRequestNewForm','ServiceRequestEditForm','\/OnDemand\/user\/DefServiceRequestInsert');

    For the benefit of others:
    parent.document.onfocus did the trick.

  • Dynamic layout of table in OAF page

    Hi,
    I have a requirement where, i need to generate a table layout with changing columns in OAF page.
    Ex: If i search a job in OAF page, depending on the job family, the results table displays the number of columns. (My number of rows is constant but the columns changes)
    Please let me know if anyone worked on it and if it can be achieved using PPR.
    Your help will be appreciated.
    Thanks in Advance,
    Sh

    Check this link
    Re: To Hide Columns of table region dynamically using Users Input in OAF

  • Convert 6 page pdf to dynamic layout

    Hello,
    I am trying to create a dynamic pdf that shows/hides various sections and grows as needed depending upon what is selected.  I started with a 6 page pdf that I created from the html webpage that we are currently using to do this with javascript.
    So I am setting up my subforms and using the Action Builder to set the presence of the subforms and everything is working great until I get to the bottom of the page and the last subform is not carrying over to page 2 and is just cutting off in the middle.   I've tried looking at various pagination options, and I am just not sure what to do.  So I looked in the Help more and it talks about how dynamic pdfs don't really have pages until they are fully processed, so I am not sure how to get my fields out of the current 6 page layout.  I am very new to Designer so I would appreciate if you have any advice for me on how to get this working.
    Thank you!
    Mindy

    Hi Mindy,
    It should like the page type is set to Positioned in the Object > Subform palette. To get the content to overflow onto a new page, you need to set the page type to Flowed.
    When you change the type to flowed, the page contents will become left aligned and stacked one object on top of another. This may mess up your layout. So if you undo this and then start to group objects that do not grow into positioned subforms. This will help you maintain the overall layout.
    This example form looks at the difference between positioned and flowed content. If you scale the images up you will see that the positioned content will cut off the image and will not flow onto a new page.
    http://www.assuredynamics.com/index.php/category/portfolio/explore-the-differences-between -positioned-and-flowed/
    I have a sample here that examines the steps to setting up a dynamic form:
    http://www.assuredynamics.com/index.php/category/portfolio/building-dynamic-tables/
    In addition the form needs to be saved as a Dynamic XML Form in the save-as dialog.
    Hope that helps,
    Niall
    Assure Dynamics

Maybe you are looking for