cancel
Showing results for 
Search instead for 
Did you mean: 

Deactiving F4 help for an inputfield

former_member185241
Active Participant
0 Kudos

Hi All,

TO removing the F4 help from a input field i have written following code , But it is showing dump.
Please correct me

*- Calling get_node_info method

CALL METHOD lref_context_node->get_node_info    

     RECEIVING       node_info = lref_node_info.

*- Deactiving the F4 help for Item_no

CALL METHOD lref_node_info->set_attribute_value_help     

   EXPORTING         name            = 'ITEM_NO'    "Input field name       

                              value_help_mode = if_wd_context_node_info=>c_value_help_mode-deactivated       

                              value_help      = 'ZZSD_SEARCH_PRICE'.    "Search help name

Thanks and Regards

Abhishek

Accepted Solutions (1)

Accepted Solutions (1)

chengalarayulu
Active Contributor
0 Kudos

Hi Abhishek,

You can deactivate at attribute level itself. No need to write code.

refer the below snap. Select Deactivated from the dropdown.

Message was edited by: Chengalarayulu D

former_member185241
Active Participant
0 Kudos

Thanks Chengalarayulu D 🙂

I got the solution.. It is working

former_member185241
Active Participant
0 Kudos

But in my code what is the error.. Can u correct me

Thanks and Regards

Abhishek

chengalarayulu
Active Contributor
0 Kudos

You just try by removing help name:

*- Calling get_node_info method

CALL METHOD lref_context_node->get_node_info    

     RECEIVING       node_info = lref_node_info.

*- Deactiving the F4 help for Item_no

CALL METHOD lref_node_info->set_attribute_value_help     

   EXPORTING        

          name            = 'ITEM_NO'    "Input field name       

          value_help_mode = if_wd_context_node_info=>c_value_help_mode-deactivated.

Don't forget, it should be in WDDOINIT method.

Message was edited by: Chengalarayulu D

chengalarayulu
Active Contributor
0 Kudos

change the thread status.

former_member185241
Active Participant
0 Kudos

Hey Chengalaryulu,

i am not much familiar with this forum, i mean here i know only how to post question.
So i dont know how to change thread status 😞

chengalarayulu
Active Contributor
0 Kudos

Abhishek,

if your question is resolved, just make it Correct Answer / Helpful Answer. thats it.

former_member185241
Active Participant
0 Kudos

Ohh .. That i know 🙂 wait just a minute 🙂

former_member185241
Active Participant
0 Kudos

Ohh .. That i know 🙂 wait just a minute 🙂

Answers (0)