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

Defining Cardinality

How to define Cardinality of different Nodes for Different Components used in WEB Dynpro ABAP?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

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

    Hi Harkesh,

    Cardinality depends on the data that you will be binding to the context node. If you are binding an internal table or something to be displayed in a tabular format, then cardinality should be 0..n or 1..n. But if it is a single input field or text view that is going to display a single attribute, structure etc, then your cardinality can just be 0 or 1.

    Regards

    Nithya

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Harkesh,

      It depends on the data that you want to show in your page.The cardinality can be set by going to the context of the view and selecting the attribute's properties.

      As nithya suggested , You have different options.you could set the cardinality

      1-n ..if there is atleast one value and can have multiple values ( mostly in tables )

      0-n ..if there can be no value and can have multiple values ( mostly in tables )

      1-1 ..if there is always one value.

      Thanks

      Anzy

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.