Skip to Content

Not possible to enhance a context node?

Hi,

We're on Ehp6.  I am trying to enhance a standard SAP ABAP webdynpro (FMCA_WDY_FPF_RETURN) by adding a new attribute to the (Component Controller's) context node FMCA_RETURN.

(This context node is mapped to the dictionary structure FMCA_POBJ_S_INIT_WD which already contains the enhanced Z fields that I wish to include.)

According to SAP Help, it should be possible to add a new attribute to a node (as part of an enhancement), but when I try it, the right-click menu is greyed out.

Steps:

- go to Component Controller screen, Context tab

- click on the 'hotplate' button and create an enhancement

- rightclick on the node (FMCA_RETURN) and choose Create > Attribute

  or

- right-click on the node (FMCA_RETURN) and choose Create Using The Wizard > Attributes From Components of Structure

I can't perform either of those last two steps because the 'Attribute' option is greyed out..

Note 1773375 says that it should be possible:

Possible enhancements in the controller:

--------------------------------------

Creating attributes, events, and methods

Adding controller usages

Creating a new node with attributes in the context;

Further attributes can also be attached to an original node

Has anyone been able to do this? I welcome your tips and advice.

thanks

Paul Bakker

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 11, 2014 at 02:34 AM

    Hi Paul,

    Hope you are not trying to add an attribute in view context. right? As in view's context tab, we cannot enhance the context nodes if its mapped from component controller.

    Please share the snap shot of the menu after right click on node.

    Regards,

    Rama

    Add comment
    10|10000 characters needed characters exceeded