cancel
Showing results for 
Search instead for 
Did you mean: 

Freely programmed search help - How to pass attribute value from consumer App at time of F4 execution

ChandraMahajan
Active Contributor
0 Kudos

Hello Guys,

I have requirement where I want to call freely programmed search help. But the logic will be based on some other value and hence I want to know the way to pass other value on executing F4 for the attached field.

For e.g. FPH is attached on field A and I want to pass field B. my logic of field A is depending on the value of field B. Please let me know if you have any  answers.

Thanks,

Chandra

Accepted Solutions (1)

Accepted Solutions (1)

chengalarayulu
Active Contributor
0 Kudos

Hi Chandrashekhar,

there is a easy method in VALUE_HELP_LISTENER, called F4_CONTEXT_ELEMENT.

just call the method GET_STATIC_ATTRIBUTES like below.

VH_LISTENER->F4_CONTEXT_ELEMENT->GET_STATIC_ATTRIBUTES(

     IMPORTING

          STATIC_ATTRIBUTES = LS_WA ).

Now you will be able to get all the attribute values at F4 help provided attribute level.

happy coding.

ChandraMahajan
Active Contributor
0 Kudos

Thanks for the answer !

Answers (0)