cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically change the text of Next button in GAF Floorplan

Former Member
0 Kudos

Dear Experts,

My requirement is to dynamically change the text of the Next button in the GAF Floorplan.

Request you to please suggest.

Warm Regards,

Upendra Agrawal

Accepted Solutions (1)

Accepted Solutions (1)

RicardoRomero_1
Active Contributor
0 Kudos

HI,

May be you can add an enhancement point in that component and use the class CL_WD_BUTTON for change the text.

Something like that:

DATA: lo_ui_button TYPE REF TO CL_WD_BUTTON.

  lo_ui_button ?= view->get_element( 'YOUR_BUTTON_NAME').

    CALL METHOD lo_ui_button>set_text
    EXPORTING
     value = 'My text'.

Hope this help you.

Regards,

Ricardo.

Former Member
0 Kudos

Dear Ricardo,

Thank you for your reply.

I have hidden the predefined button "Next" and added my own button in the CNR assigning the next button event to it.

Warm regrads,

Upendra

Answers (1)

Answers (1)

Former Member
0 Kudos

I have hidden the predefined button "Next" and added my own button in the CNR assigning the next button event to it.