Skip to Content
avatar image
Former Member

Layout requirement

Hi Experts,

I have the following requirement to design the layout,

Its sort of tree control, and inside tree control i wanna use table. Client d'nt like table tree/alv tree.

The requirement is;

+PO Number 9100001
    + line item 10
          (Here i want to display a table with 2 rows and 6 columns, with border)
    + line item 20 
          (Here i want to display a table with 2 rows and 6 columns, with border)

+PO Number 9100002
    + line item 10
          (Here i want to display a table with 2 rows and 6 columns, with border).
    + line item 20 
          (Here i want to display a table with 2 rows and 6 columns, with border)

Any idea how to implement this. The table inside the line items is static for all the view layout. only the data needs to be changed depending upon PO n line item combination.

Any suggestions...

Thanks,

Edited by: Abap WD on Oct 20, 2008 9:27 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Oct 22, 2008 at 01:24 PM

    If they didn't like the tree/table or tree/alv, that doens't leave you with too many options. The full tree doesn't allow for such embedded elements. The closest think I can think of is to use a table popin for the inner table. Something that looks like this:

    http://www.flickr.com/photos/tjung/2963592369/

    or

    http://www.flickr.com/photos/tjung/2964433180

    The other common design pattern that you see is the use of two tables. When you change the lead selection of the main table, corresponding child data is displayed in another table:

    http://www.flickr.com/photos/tjung/2963592385

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 22, 2008 at 10:53 AM

    Hi,

    I am not very sure but can u try this.

    Create a TAB strip per PO number.

    Each having n TABS ( where each one represents a line item)

    Embedd an ALV/Table inside each tab.

    You can use the classes CL_WD_TABSTRIP and CL_WD_TAB for this.

    Please excuse me if you do not like this idea.

    I suggested this as your client doesn't wants ALV/TREE or TABLE.

    Regards,

    Sumit Oberoi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 22, 2008 at 04:39 PM

    Hi,

    How about creating a Smartform and attaching the Smartform to WD View?

    Thanks,

    Sree.

    Add comment
    10|10000 characters needed characters exceeded