AP Elements & Layout Tables

1. AP Div is creating the Box at the top of the page and not
where drawn, also not displaying formatting, positioning
coordinates are where I want the positioning, but DW Cs3 is
ignoring it.
2. Css formating is not showing in DW, only in IE
3. Layout tables, DW is not accepting the table, ignores the
action.
The above may be related to each other, that is why I mention
all of it.

> 1. AP Div is creating the Box at the top of the page and
not where drawn,
> also
> not displaying formatting, positioning coordinates are
where I want the
> positioning, but DW Cs3 is ignoring it.
VIEW | Style Rendering > Display Styles
> 2. Css formating is not showing in DW, only in IE
Vide supra
> 3. Layout tables, DW is not accepting the table, ignores
the action.
Huh?
In my opinion, there are three serious problems with Layout
Mode -
1. Perhaps most importantly, it sits between you and *real*
HTML tables,
and fools you into believing that concepts like "layout cell"
and
"autostretch" really mean something. They do not. As long as
you use
Layout Mode, you'll never learn one of the most important
things for new web
developers - how to build solid and reliable tables.
2. Actually, #1 wouldn't be *so* bad, except that the code
that is written
by Layout Mode is really poor code. For example, a layout
table contains
MANY empty rows of cells. This can contribute to a table's
instability.
In addition, if your initial positioning of the table's cells
is a bit
complex,
Layout Mode will throw in col- and rowspans aplenty as it
merges and splits
cells willy-nillly to achieve the pixel-perfect layout you
have specified.
Again,
this is an extremely poor method for building stable tables,
because it
allows
changes in one tiny cell's shape (i.e, dimensions) to ripple
through the
rest
of the table, usually with unexpected and sometimes
disastrous consequences.
This is one of the primary reasons for the final result's
fragility - read
this -
http://apptools.com/rants/spans.php
3. The UI for Layout Mode is beyond confusing - many options
that you might
want to use are inaccessible, e.g., inserting another table,
or layer onto
the page.
I can understand the new user's desire to use this tool to
make their life
easier,
but the cost is just too heavy in my opinion.
To make good tables, keep it simple. Put a table on the page,
and begin to
load your content. If you would want a different table
layout, instead of
merging or splitting cells, consider stacking tables or
nesting simple
tables instead, respectively.
And above all, do not try to build the whole page with a
single table!
Luckily, Adobe understands the problems created for the
unsuspecting user
who falls into this trap, and has elected to remove this
feature altogether
from the next version of DW. The time is right for you to
begin working
with tables properly!
To read more about this approach, visit the DW FAQ link in my
sig, and run
through the table tutorials.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"EM 989-BK" <[email protected]> wrote in
message
news:[email protected]...
> 1. AP Div is creating the Box at the top of the page and
not where drawn,
> also
> not displaying formatting, positioning coordinates are
where I want the
> positioning, but DW Cs3 is ignoring it.
>
> 2. Css formating is not showing in DW, only in IE
>
> 3. Layout tables, DW is not accepting the table, ignores
the action.
>
> The above may be related to each other, that is why I
mention all of it.
>

Similar Messages

  • Urgent help needed!! Layout table and Draw layout cell dissapeared.

    I need some urgent help. I'm using CS3 but for a while my
    Layout Table and Draw Layout Cell icons appear greyed and can't use
    them at all. Is there any kind soul out there who knows how to fix
    this? I'm going nuts trying all the possible options but none seem
    to work.
    Help please!!!!!!

    > How would you about designing a page without using html?
    You don't. But I don't recall suggesting that you not use
    HTML. I just
    suggested that you use best-practice HTML, no? Or maybe you
    meant to ask
    how you would go about building your site without learning
    HTML? In that
    case, I think you are outta luck. Using DW without knowing
    HTML is a very
    punishing experience, I'm afraid.
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    I'd prefer Cristal, please.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Untersberg" <[email protected]> wrote in
    message
    news:g4tj9a$m5o$[email protected]..
    > Ahhhhhh!!!!! They came up!!!! They came up again!!
    > I was on standard mode. Now going back to your
    suggestion, which I really
    > appreciate. How would you about designing a page without
    using html? I'm
    > just
    > redesigning my website at the moment and need it to get
    going urgently,
    > hence
    > the reluctance to start learning HTML at the moment.
    I'll do after but I
    > need
    > to get this up and running fairly quickly.
    >
    > Cheers.
    >
    > PS: A virtual box of 12 bottles of Moet Chandon is
    already on your way!!
    >

  • How do I align {tag_productquantity} in the shopping cart layout table?

    I have inserted the tag {tag_productimage} into our shopping cart layout table. As per the instructions in the following article http://kb.worldsecuresystems.com/654/bc_654.html? bc-partner I adjusted the height for .productitemcell in the Style Sheet to be able to see the whole image. However I have tried adjusting many items and nothing seems to align the {tag_productquantity} to sit in the m iddle of the cell like the rest of the information in that row. Please see a screen shot here http://mychristmas.businesscatalyst.com/test this is for a website we are currently constructing http://mychristmas.businesscatalyst.com/
    Can someone please tell me what it is I need to adjust to stop having this Quantity field sit at the top of the cell?
    Many thanks in advance!

    Thank you for taking a look. I have already adjusted the .productitemcell height to 160px to be able to see the whole small image. What I am trying to find is how to have the quantity field box align with the rest of the information in that row. If you can see in the screenshot it sits at the top of the cell while everything else in that row sits in the middle. I would like to have it all sit in the middle of the row however can't find what in the Module Style Sheet is controlling this quantity field.
    If you are able to tell me this I would really appreciate it! Thanks!

  • Cost element group - Table name

    Hi Guru,
    Can any body knew cost element group - Table name
    Regards,
    Bharathi.S

    Hi,
    It's stored in SETNODE and SETLEAF tables (class '0102').
    Regards,
    Eli

  • Copy user-specific report layouts (table LTDX)

    Hi,
    We are implementing a "Single Sign On" solution and thus we need to
    copy all the SAP users to adapt their names to "windows user names".
    We copy all the user data and authorizations from SU01 but then we must
    copy too all the other user-dependent things. One of them are user-
    specific report layouts. We can copy the report variants because they
    are not user-dependent but is there any way to copy the user-specific
    layouts (table LTDX) from one user to another? Is there any transaction
    or report for it?
    Thanks in advance and best regards,
    Jon Larrucea

    Hi,
    Try This Program
    report copy_layout.
    data : lt_ltdx like ltdx occurs 0 with header line.
    data : lt_ltdxt like ltdxt occurs 0 with header line.
    parameters report like ltdx-report obligatory.
    parameters report2 like ltdx-report obligatory.
    "copy layout of report to report2.
    start-of-selection.
      select * into table lt_ltdx from ltdx
                    where report = report.
      select * into table lt_ltdxt from ltdxt
                    where report = report.
      loop at lt_ltdx.
        lt_ltdx-report = report2.
        modify ltdx from lt_ltdx..
      endloop.
      loop at lt_ltdxt.
        lt_ltdxt-report = report2.
        modify ltdxt from lt_ltdxt..
      endloop.
      message 'Copy Complete.' type 'I'.

  • Current selected element of table ( using tree  )

    Hi experts ,
                         I am using a tree by table UI in which master. I want to know text of current selected element of table (which is one of the column of table ) . as table is dynamically expanding or collapsing upon expanding or closing master column.
    so i used follwing code in do modify view to get it
    IWDTable tab =  (IWDTable) view.getElement("Table1");
                        tab.mappingOfOnLeadSelect().addSourceMapping("row", "element");     
    public void onActionOnrowSelect
    (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, int element )
        //@@begin onActionOnrowSelect(ServerEvent)
        //@@end
    but above code also give me current row (an integer value) .
    but its not solving my problem . as current row elemt is always not going to be same row in which table (data source for table).
    can any body have solution ?
    Regards
    abhay

    Hi Abay,
    IWDTable tab = (IWDTable) view.getElement("Table1");
    tab.mappingOfOnLeadSelect().addSourceMapping(IWDTreeNodeType.IWDOnLoadChildren.NODE_ELEMENT,"element");
    datatype of the <b>element</b> should be <b>IWDNodeElement</b>
    Or
    You can use
    IWDNodeElement IWDNode.getTreeSelection()
    Ex: wdContext.nodeA().getTreeSelection()
    Regards
    Ayyapparaj

  • Dreamweaver: can i insert a background image in a layout table?

    i'm using a layout table and i can't figure out how to put a
    non-repeating image into the background of my layout table. is this
    possible? i need to center it too.

    Before anything else, I would say DON'T USE LAYOUT MODE.
    In my opinion, there are three serious problems with Layout
    Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    Luckily, Adobe understands the problems created for the
    unsuspecting user
    who falls into this trap, and has elected to remove this
    feature altogether
    from the next version of DW. The time is right for you to
    begin working
    with tables properly!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    Adobe agrees with this analysis - Layout mode is being
    removed from the next
    version of DW.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "dfgsdrsdr" <[email protected]> wrote in
    message
    news:[email protected]...
    > i'm using a layout table and i can't figure out how to
    put a non-repeating
    > image into the background of my layout table. is this
    possible? i need to
    > center it too.

  • Drop down menus/layout tables

    Hi,
    I'm trying to redesign a church website that I built last
    year. I used Frontpage mostly using layers. I made the page for 800
    resolution screens, so the content sits to the left of the page
    with blank spots to the right using higher resolutions.
    I want to center the page with colored margins. I know I can
    use layout tables to do that, but I havent figured out how to make
    drop down menus without using layers. I've gotten this far
    http://www.216west3rd.org/GraySite/index.htm
    and it is exactly what I want it to look like, just cant figure out
    the dropdown menu thing.
    I have Dreamweaver 8 and would upgrade to Dreamweaver CS3 if
    it could do that task.
    www.statesman.com (our local Austin newspaper) is an example
    of what I want to do. Content centered with drop down or cascading
    menus.
    I'm not a codewriter, I only use design modes. Can anyone
    help me with this?
    Thanks in advance,
    David

    CSS drop menu & tutorial:
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Aztec506" <[email protected]> wrote in
    message
    news:f9vukp$m7t$[email protected]..
    > Hi,
    > I'm trying to redesign a church website that I built
    last year. I used
    > Frontpage mostly using layers. I made the page for 800
    resolution
    screens, so
    > the content sits to the left of the page with blank
    spots to the right
    using
    > higher resolutions.
    >
    > I want to center the page with colored margins. I know I
    can use layout
    > tables to do that, but I havent figured out how to make
    drop down menus
    without
    > using layers. I've gotten this far
    >
    http://www.216west3rd.org/GraySite/index.htm
    and it is exactly what I want
    it
    > to look like, just cant figure out the dropdown menu
    thing.
    >
    > I have Dreamweaver 8 and would upgrade to Dreamweaver
    CS3 if it could do
    that
    > task.
    > www.statesman.com (our local Austin newspaper) is an
    example of what I
    want to
    > do. Content centered with drop down or cascading menus.
    > I'm not a codewriter, I only use design modes. Can
    anyone help me with
    this?
    >
    > Thanks in advance,
    > David
    >

  • Cost Element Planning TABLE

    Can anybody please tell me the name of COST Element Planning Table..Thanks

    Use table COKS - Secondary Planning
    Use table COKP - Primary Planning
    Regards,
    Chintan Joshi

  • From Dreamweaver 8 to CS5 - Layout Tables to...?

    I have been looking on the web for so long and I'm very frustrated now. I can't seem to find out what to use instead of layout tables that there was in DreamWeaver 8.
    In DW8 I could draw layout tables on layout tables and I could draw them anywhere.
    See link below to see what I mean.
    http://test.sunshine-holidays.eu/default4.php
    What do I do to make the same result in DW CS5? Of what I found out it's AP Divs. I've tried drawing an AP Div on a AP Div with various results. What are the setting to make 2 AP Divs work together with one on another?
    Just need to know if I'm on the right track and if I could get info or a link to a page that explains this.
    I also know that upgrading is a must to avoid huge changes lol!

    http://test.sunshine-holidays.eu/default4.php
    What do I do to make the same result in DW CS5?
    http://www.apptools.com/examples/pagelayout101.php
    You use best practice methods and CSS.
    Of what I found out it's AP Divs.
    Don't even think of going this route.  AP containers used for page layout will be a total catastrophe for you.  Absolute positioning is a specialty tool, not a general purpose layout device.
    Just need to know if I'm on the right track and if I could get info or a link to a page that explains this.
    I also know that upgrading is a must to avoid huge changes lol!
    Upgrading from DW8 is a good idea, yes.  The web has changed since 2005, and so has DW.

  • WebDynpro Java: how to remove blank element from Table and Dropdown.

    Hi  Folks
    In a webdynpro application,
    I created a table and witten the below code to populate the table
         IPrivateDummyView.IFirst_TableElement First_Table_Element = null;
         First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
         First_Table_Element.setF_Value("One");
         wdContext.nodeFirst_Table().addElement(First_Table_Element);
         First_Table_Element = wdContext.nodeFirst_Table().createFirst_TableElement();
         First_Table_Element.setF_Value("2");
         wdContext.nodeFirst_Table().addElement(First_Table_Element);
    As per the code, i got 2 row in the table.
    But , i have one Empty row on top of the table ,  how to get ride of this.
    i find the same problem happening with dropdown too, where i used DDBI, i populated a the content as mention, but i initial 2 row as blank and then i have my own elements ,as per my code.

    >
    > how to remove blank element from Table and Dropdown
    >
    Change selection property of related node to from 0..1 to 1..1 (mandatory)
    Re: DropdownByIndex and empty line (Thread: DropdownByIndex and empty line )
    Re: Can the empty selection be removed from element dropdownbykey(Thread: Can the empty selection be removed from element dropdownbykey )
    Edited by: Anagha Jawalekar on Nov 18, 2008 10:28 PM

  • Set xml element for table

    Hi guys,
    I am new to indesign scripting using applescript.
    my code is shown in below, my problem is can't set xml element for table
    tell application "Adobe InDesign CS6"
            tell active document
                set rootele to associated XML element of story 1
                if rootele = nothing then
                    set rootele to XML element 1
                end if
                tell story 1
                    select text 1
                    set markup tag of selection to "table" -----------------> this is my problem please help me.
                              end tell
            end tell
        end tell
    this code is right or not. please help me.

    The metadata about the table mappings are also stored in the compiled XML Schema document. If you lookup the schema document located at /sys/schemas/.... , you will see that the element with SQLInline=false will have a xdb:defaultTable attribute which provides the name of the table used to store the element.
    - Ravi

  • Cost Element group table

    Can anyone tell me which table contains the cost element groups and which cost elements are related to them

    Please.... Help!
    I want to write data there can fix it ....!
    ---------      I want to record this record in the edit field -----------------------
    code is:
    REPORT NO STANDARD PAGE HEADING LINE-SIZE 100 LINE-COUNT 60
                                    MESSAGE-ID zin.
    TYPE-POOLS: gset, gseth, slis, kkblo.
    TABLES: aufk.
    TYPES: BEGIN OF t_datam.
            INCLUDE STRUCTURE GRPOBJECTS.
    TYPES: END OF t_datam.
    DATA: it_datam TYPE STANDARD TABLE OF t_datam WITH HEADER LINE.
    DATA: gwa_datam TYPE t_datam,
          GRPOBJECTS TYPE t_datam.
    DATA: pt_node TYPE gseth_node_tab,           "Nodos
          pt_valu TYPE gseth_val_tab,            "Valores
          pt_mast TYPE gseth_md_tab.             "Descripciones
    DATA: ls_node LIKE LINE OF pt_node,
          ls_valu LIKE LINE OF pt_valu.
    DATA:
          p_layout     TYPE slis_layout_alv,              " Layout inicial
          t_sortcat    TYPE slis_sortinfo_alv OCCURS 1,   " Orden ALV
          t_fieldcat   TYPE slis_t_fieldcat_alv,          " Atributos a mostrar
          t_events     TYPE slis_t_event,                 " Lista de eventos
          t_top_page   TYPE slis_t_listheader,            " Write ini pagina
          w_sort       LIKE LINE OF t_sortcat.
    DATA: l_repid TYPE sy-repid.
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
    PARAMETERS:     p_kokrs LIKE aufk-kokrs       OBLIGATORY DEFAULT '300',
                    p_class LIKE setnode-setclass OBLIGATORY DEFAULT '0101',
                    p_subcl LIKE setnode-subclass DEFAULT '300',
                    p_setnm LIKE setnode-setname  OBLIGATORY DEFAULT '300MPR2'.
    SELECTION-SCREEN: END OF BLOCK b01.
    PARAMETERS:     p_expor NO-DISPLAY,
                    p_nivel NO-DISPLAY. "@01
    *Initialization
    INITIALIZATION.
      l_repid = sy-repid.
    START-OF-SELECTION.
       PERFORM 1pro_data.
    IF p_expor = 'X'.
        IF p_nivel = 'X'.                                       " @01
          EXPORT it_datam TO MEMORY ID 'T_DATAM'.
        ENDIF.
       ELSE.
        PERFORM 0_layout USING p_layout.
        PERFORM a_haz_alv.
        PERFORM c_haz_eventos CHANGING t_events.
        PERFORM d_call_alv.
      ENDIF.
    END-OF-SELECTION.
    FORM 1pro_data.
    PERFORM obt_jerarquia  USING  p_kokrs      "Sociedad         (intput)
                                   p_class      "Clase de set     (intput)
                                   p_subcl      "Subclase
                                   p_setnm.     "Nombre del set
    * LLenado de datos del master
      LOOP AT pt_node INTO ls_node.
        it_datam-shortname = ls_node-shortname.
        it_datam-hlevel = ls_node-hlevel.
        it_datam-descript = ls_node-descript.
        it_datam-credate = ls_node-credate. "Fecha creada
        it_datam-creuser = ls_node-creuser. "usuario creador
        it_datam-ref_set = ls_node-ref_set. "Email
        APPEND it_datam.
      ENDLOOP.
    sort it_datam by hlevel ascending.
    ENDFORM.
    FORM obt_jerarquia USING  pi_kokrs                      "Sociedad         (intput)
                              pi_class                      "Clase de set     (intput)
                              pi_subcl                      "Subclase         (intput)
                              pi_setnm.                     "Nombre de set    (intput)
      DATA:
        lf_info       LIKE grphinfo,
        lf_over       LIKE sy-datar,
        lf_class      LIKE sethier-setclass,
        lf_setid      LIKE sethier-setid,
        lf_kokrs      LIKE sethier-kokrs,
        lf_mandt      LIKE sy-mandt,
        lf_mast_datax LIKE grphp1,
        lf_structurex LIKE grphp2,
        lf_repl_class LIKE sethier-setclass,
        lf_repl_unitx LIKE sethier-kokrs,
        lf_repl_table LIKE sethier-fieldname,
        lf_repl_field LIKE sethier-tabname,
        lf_repl_suffi LIKE grpdynp-suffix,
        lf_nros_level LIKE sethier-level.
      DATA lf_strlen TYPE i.
    * Data
      lf_class = pi_class.
    *              CONCATENAMOS CLASE + SUBCLASE + NOMBRE DE GRUPO
    *Si hay subclase (Centro de beneficio, clase de costo, centro de costo)
      IF pi_subcl NE space.
    * Cargamos la clase de set con la subclase
        CONCATENATE lf_class pi_subcl INTO lf_setid.
        lf_strlen = STRLEN( pi_subcl ).
      ELSE.
    * Si no hay subclase (orden interna), cargamos solo la clase de set
        lf_setid  = lf_class.
        lf_strlen = 0.
      ENDIF.
    *Obtenemos cuántos espacios en blanco habrá entre la subclase y el nombre del set
      lf_strlen = 4 - lf_strlen.
      IF lf_strlen < 0. lf_strlen = 0. ENDIF.
      lf_strlen = 0.
    *Si es > 0 concatenamos caracter para ser reemplazado por espacio en blanco
      DO lf_strlen TIMES.
        CONCATENATE lf_setid '&' INTO lf_setid.
      ENDDO.
    *Cargamos nombre de set
      IF p_class = '0106' OR p_class = '0101'.
        CONCATENATE lf_setid '&' pi_setnm INTO lf_setid.
      ELSE.
        CONCATENATE lf_setid pi_setnm INTO lf_setid.
      ENDIF.
    *Reemplazamos & por espacios en blanco
      TRANSLATE lf_setid USING '& '.
      lf_kokrs         = pi_kokrs.
      lf_mandt         = '100'.
      lf_mast_datax    = '   '.   "Los espacios evita mensaje verificación de datos maestros
      lf_structurex    = 'X  X0200'.
      lf_repl_class    = ' '.
      lf_repl_unitx    = ' '.
      lf_repl_table    = ' '.
      lf_repl_field    = ' '.
      lf_repl_suffi    = ' '.
      lf_nros_level    = '1'.
      REFRESH: pt_node, pt_valu, pt_mast.
    *Obtiene lista de sub estaciones de la tabla objetos
      CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
        EXPORTING
          e_class                     = lf_class
          e_setid                     = lf_setid
          e_kokrs                     = lf_kokrs
          e_mandt                     = lf_mandt
          e_master_data               = lf_mast_datax
          e_structure                 = lf_structurex
          e_replace_class             = lf_repl_class
          e_replace_unit              = lf_repl_unitx
          e_replace_table             = lf_repl_table
          e_replace_field             = lf_repl_field
          e_suffix                    = lf_repl_suffi
          e_old_line_level            = lf_nros_level
        TABLES
          t_nodes                     = pt_node         "Nodos
          t_values                    = pt_valu         "Valores
          t_master_data               = pt_mast         "Textos
        CHANGING
          c_info                      = lf_info
          c_overwrite                 = lf_over
        EXCEPTIONS
          no_controlling_area         = 1
          no_chart_of_account         = 2
          different_controlling_areas = 3
          different_chart_of_accounts = 4
          set_not_found               = 5
          illegal_field_replacement   = 6
          illegal_table_replacement   = 7
          fm_raise                    = 8
          convert_error               = 9
          no_overwrite_standard_hier  = 10
          no_bukrs_for_kokrs          = 11.
    ENDFORM. 
    FORM 0_layout USING ls_layout TYPE slis_layout_alv.
      CLEAR: ls_layout.
      ls_layout-zebra                 = ''.
      ls_layout-colwidth_optimize     = 'X'.
      ls_layout-box_fieldname         = space.
      ls_layout-no_input              = 'X'.
      ls_layout-no_vline              = ' '.
      ls_layout-no_colhead            = ' '.
      ls_layout-lights_condense       = 'X'.
      ls_layout-confirmation_prompt   = 'X'.
      ls_layout-detail_popup          = 'X'.
      ls_layout-detail_initial_lines  = 'X'.
      ls_layout-detail_titlebar       = 'Centro de Benef. vs Centro Costo'.
    ENDFORM.  
    FORM a_haz_alv.
      REFRESH: t_fieldcat.
      CLEAR:   t_fieldcat.
      PERFORM define_campo USING:
      'SHORTNAME' '' '' '25' 'GRPOBJECTS' '' '' 'ID Corto'       '' '' '' '' '',
      'HLEVEL' ''    '' '04' 'GRPOBJECTS' '' '' 'Nivel'          '' '' '' '' '',
      'DESCRIPT' '' ''  '35' 'GRPOBJECTS' '' '' 'Descripción'    '' '' '' '' '',
      'CREDATE' '' ''   '12' 'GRPOBJECTS' '' '' 'Fec.Creada'     '' '' '' '' '',
      'CREUSER' '' ''   '08' 'GRPOBJECTS' '' '' 'Usu.Creador'    '' '' '' '' 'X',
      'REF_SET' '' ''   '34' 'GRPOBJECTS' '' '' 'Correo E-mail asig.' 'Cor.Email' 'E-mail' '' '' 'X'.
    ENDFORM.
    FORM define_campo  USING fieldname        "Nombre de campo
                             emphasize        "Color
                             hotspot          "Evento click
                             outputlen        "Longitud
                             ref_tabname      "Tabla referencia
                             cfieldname       "Campo referencia
                             datatype         "Tipo de dato
                             seltext_l        "Texto largo
                             seltext_m        "Texto mediano
                             seltext_s        "Texto corto
                             do_sum           "Campo para suma
                             no_out           "No se visualiza
                             pi_edit  TYPE c. "Editar campos
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   = fieldname.
      ls_fieldcat-tabname     = 'T_AUFK2'.
      ls_fieldcat-ref_tabname = ref_tabname.
      ls_fieldcat-outputlen   = outputlen.
      ls_fieldcat-emphasize   = emphasize.
      ls_fieldcat-hotspot     = hotspot.
      ls_fieldcat-cfieldname  = cfieldname.
      ls_fieldcat-datatype    = datatype.
      ls_fieldcat-seltext_l   = seltext_l.
      ls_fieldcat-seltext_m   = seltext_m.
      ls_fieldcat-seltext_s   = seltext_s.
      ls_fieldcat-do_sum      = do_sum.
      ls_fieldcat-no_out      = no_out.
      ls_fieldcat-edit        = pi_edit.
      APPEND ls_fieldcat TO t_fieldcat.
    ENDFORM.                    "define_campo
    FORM c_haz_eventos CHANGING lt_events TYPE slis_t_event.
      CONSTANTS:
        c_top_of_page  TYPE slis_formname VALUE 'TOP_OF_PAGE',
        c_end_of_page  TYPE slis_formname VALUE 'END_OF_PAGE',
        c_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
      DATA: ls_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = lt_events.
    * tope de pagina
      READ TABLE lt_events WITH KEY name =  slis_ev_top_of_page INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_top_of_page TO ls_event-form.
        APPEND ls_event TO lt_events.
      ENDIF.
    * fin de pagina
      READ TABLE lt_events WITH KEY name =  slis_ev_top_of_page INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_top_of_page TO ls_event-form.
        APPEND ls_event TO lt_events.
      ENDIF.
    * eventos de usuario
      READ TABLE lt_events WITH KEY name = slis_ev_user_command INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_user_command TO ls_event-form.
        APPEND ls_event TO lt_events.
      ENDIF.
    ENDFORM.
    FORM d_call_alv.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = l_repid
          i_callback_pf_status_set = 'SET_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = p_layout
          it_fieldcat              = t_fieldcat[]
          i_save                   = 'X'
          it_sort                  = t_sortcat
    *   is_variant               = g_variant_1
        TABLES
          t_outtab                 = it_datam
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    ENDFORM. 
    FORM set_status USING rt_extab  TYPE  slis_t_extab.
      SET PF-STATUS  'ALV_STATUS'.
    ENDFORM.
    FORM user_command USING r_ucomm     LIKE sy-ucomm
                            r_selfield TYPE slis_selfield.
      PERFORM sr_upd_alv.
    DATA: wa_alv  LIKE it_datam.
    r_selfield-refresh = 'X'.
      CASE r_ucomm.
        WHEN 'SAVE'.
          LOOP AT it_datam INTO gwa_datam.
      "Here you should go, because I have not created anything but just reads the data helps.
          ENDLOOP.
    ENDFORM.

  • Is it possible to assign user-defined data elements to table control?

    Hi SDN,
    Is it possible to assign a user defined data element other than basic data types in table control column.

    Hi Suresh,
    In Screen layout,In element list tab,i am not able to give the user-defined data types other than basic data types?please tell me how to give other data types

  • Two elements in Table CellEditor

    Whether it is possible in the table (CellEditor) to insert a sheaf of elements? For example Caption and TextEdit? It is necessary for a news line. Can there is other way of visualization. I shall be glad to your offers!

    If you only want to display news, you can use a context node "NewsItems" with attributes "HeaderText", "Text" etc. and write code like the following in method wdDoModifyView() to rebuild the view after a change of the data:
    boolean newsChanged= ...;
    if (newsChanged)
      IWDUIElementContainer panel = (IWDUIElementContainer) view.getElement("NewsPanel");
      panel.destroyAllChildren();
      for (int i = 0; i < wdContext.nodeNewsItems().size(); ++i)
        INewsItemsElement item = wdContext.nodeNewsItems().getNewsItemsElementAt(i);
        IWDCaption header = (IWDCaption) view.createElement(IWDCaption.class, null);
        header.setText(item.getHeaderText());
        panel.addChild(item);
        IWDTextView content = (IWDTextView) view.createElement(IWDTextView.class, null);
        content.setText(item.getText());
        panel.addChild(content);
    I omitted the code for the layout and layout data, but you should get the idea.
    Armin

Maybe you are looking for

  • Function Parameters in Smartform?

    HI all, In this code how can we get the parameters...import ,export an tables in the function module FM_NAME? TABLES: MKPF. DATA: FM_NAME TYPE RS38L_FNAM. DATA: BEGIN OF INT_MKPF OCCURS 0. INCLUDE STRUCTURE MKPF. DATA: END OF INT_MKPF. SELECT-OPTIONS

  • Why are random spaces being inserted in text on Acrobat Pro 9?

    My apologies if this has been asked & answered before. I did try and search and found some information but I still do not understand the complete picture. I am a relatively new user to Acrobat and used 7 prior to upgrading to Pro 9 recently.  I am us

  • Unintended Links Encrypted in PDF?

    Hi Adobeians, I am experiencing an issue with Indesign/Acrobat where almost all of my PDF exports have this encrypted link that I cannot get rid of. I have tried re-typing the text, and in most cases it works and in other cases it does not. I have ch

  • HT1222 wont let me download new software i need to fix a calender bug ???

    trying to download new software its telling me no i need to fix a calender bug?????

  • Eroor in webtemplaye when using condition list

    I have 3 conditions in my query to show top 10 sales , Assests and market value when I run my query on web from Query designerthe activation and deactivation of condition works fine,but when I cretae a webtemplate & use the web item and run it , disp