Skip to Content

Create and display roadmap steps dynamically

Hi all,

Can anyone shows a quick guide how I can create and display roadmap steps dynamically? Thanks alot .

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2010 at 06:24 AM

    HI Siong Chao ,

    the runtime class for Road map is CL_WD_ROAD_MAP

    you can creat a new road map dynamically method new_road_map_step

    CALL METHOD cl_wd_road_map_step=>new_road_map_step
          EXPORTING
    *        bind_enabled        = lv_bind_enabled
            description         = lv_descr
            enabled             = lv_enabled
            id                  = lv_id
            name                = lv_number_str
    *          TEXT_DIRECTION      = E_TEXT_DIRECTION-INHERIT
    *          TOOLTIP             =
    *          TYPE                = E_TYPE-STANDARD
    *          VIEW                =
    *          VISIBLE             = ABAP_TRUE
          RECEIVING
            control             = lo_rm_step.

    For adding steps dynamically

    CALL METHOD lo_rm->add_step
          EXPORTING
            the_step = lo_rm_step.

    Regards

    chinnaiya P

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Siong Chao Ng

      Hello Siong,

      I would suggest you to limit things which you do dynamicallly as it makes a difference in performance.

      if you are certain that you would have a road map then atleast add the ui element and then you could dynamically add more steps to it.

      Thanks

      Anurag Chopra

  • Posted on Aug 27, 2010 at 03:18 AM

    The roadmap can be created and displayed dynamically. Steps and sub steps can be added. assign action cannot be implemented

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 17, 2012 at 12:23 PM

    dear team

    can i write the action method for the above roadmap programme dynamically?

    if it is possible how can i write the code?

    regards

    sathya

    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.