Skip to Content
author's profile photo Former Member
Former Member

Problem in triggering the Supply Function

Hi Experts,

I am developing one web dynpro application to display the records in MARA table.

I have created a radio button.Logic is if radio button is selected then displaying of the record should be done.

NODE_PARENT consists of NODE_CHILD ( which consists of fields to be displayed ) and key holder ( attribute which is used to check whether radio button selected or not ).

In radio button properties i used selected key as attribute of the node NODE_PARENT.

Now in supply function i am reading the parent element attributes i.e. radio button and checking if it is selected then read the data from MARA and bind it.

But i am getting the runtime error

" Context binding of property SELECTED_KEY cannot be resolved: Node MAIN.1.NODE_PARENT does not contain any elements "

what is the reason for this error.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 22, 2011 at 02:24 PM

    seems to me that NODE_PARENT itself not having any elements. Probably this is to do with the cardinality of the node_parent being 0..n or 0..1.

    You have first create this node with elements and then your supply function has to be be executed.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Aditya and others

      Thanks I could get rid off the problem after changing the cardinalty to 1:n no other options are working.

      Here my intention is to trigger the supply function by selecting the radio button which is attribute of the Node_parent.

      Node_child consists of elements of the table.

      Here after selecting the radio button nothing is happening like supply function is not triggering .What to do to trigger supply function other than reading the parent node elements.

      @ Baskaran,,,,,,Thanks for the inputs .The code is taken from the code wizard.Any error in the code.

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2011 at 11:29 AM

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.