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

WD_CPUSE_SELECT_OPTIONS( )

can u please tell me what is the use of WD_CPUSE_SELECT_OPTIONS( )

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 06, 2012 at 07:36 AM

    Ravi,

    whenever we reuse other stnadard components ( like slav_wd_table, wdr_Select_option ) into your component,, we will declare them under used components..

    In order to use that component in coding, first we have to take the reference of that component.,,,that can be done by below statemetent

    DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.

    lo_cmp_usage = wd_this->wd_cpuse_select_options( ).

    Regards

    Srinivas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      This method gets the reference to the used component(select_options) in your component.

      It is created dynamically and does not exist in any class or interface.

      And when ever you want to use some of the methods in your used component first you need to instantiate

      the used component controller, so this methods first checks whether there is active implementation

      in your controller to use the functionality of the used component.

  • Posted on Feb 06, 2012 at 09:11 AM

    can u please tell me what is the use of WD_CPUSE_SELECT_OPTIONS( )

    AT times we have to give user an option to select multiple values from search helps..for this we will have to use select options

    Regards,

    Sahai.s

    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.