Skip to Content
avatar image
Former Member

how to create variants in WD_ABAP

can any one let me know indetail, how to create variants in WD-ABAP.

Thanks,

Mahesh.Gattu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 29, 2007 at 03:10 AM

    Hi Mahesh,

    1) Under a column, you need to create cell variants (right click on column, you will see the option in context menu).

    2) Assign each cell variant a unique ID (found in the properties of cell variants)

    3) Insert a cell editor for each of the variants.

    4) Define an attribute in the node (to which table is bound) of type string.

    5) Bind this attribute to the column's selectedCellVariant property.

    6) In the action handler (or wddoinit - or the place that you find to be appropriate), define the logic for having the variants on each cell. You can have different ones by just entering different ID in selectedCellVariant attribute for each element in the node.

    Hope this helps.

    Regards,

    Neha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2007 at 08:49 AM

    Hi,

    Go to SHD0 t.code and then create the variant which can be used in wDA

    reward pts if it helps 😊

    Regards

    Sathish

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      when i am accessing a search screen in SRM i would like to use variants.

      for that please let me know how to implement variants in WD.

      Thanks,

      Mahesh

  • avatar image
    Former Member
    Nov 27, 2008 at 07:56 AM

    not looking for it now

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 27, 2008 at 08:48 AM

    Easy way is to use SAP standard function to save and read variants from database (using dummy report).

    Then build up one popup window into your awd and generate selection fields dynamicly.

    KK

    Add comment
    10|10000 characters needed characters exceeded