Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

F4help value reading


Hi,

Under Custom Context node(which is having only value attributes)  I have two value attributes...

for one value attribute I have added F4 help (Zsearch help)..

now my requirement is whenever i choose value from F4 popup for the value attribute1, based on the value that i selected,  value attribute 2 should fill immediately...

For example....

value attirbute1 :  emp number (zsearchhelp)

value attribute 2 : emp description

now when i select emp number form f4 help popup, i have to populate emp desctipiton immediately.....

please be remember that all context, value attributes are custom......

Thanks&Regads

Madhavi

Former Member
Former Member replied

Resolved my self....just added iv_trigger_submit = abap_true in exporting paramether and have written code in getter method of value attribute2....

CREATE OBJECT rv_valuehelp_descriptor

      TYPE

        cl_bsp_wd_valuehelp_f4descr

      EXPORTING

        iv_help_id                  = 'ZSEARCHHELP'

        iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name

        iv_input_mapping            = lt_input_mapping

        iv_output_mapping           = lt_output_mapping

        iv_trigger_submit           = abap_true.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question