Skip to Content
avatar image
Former Member

How do I add F4 help in ALV grid dynamically

My ALV report contains two fields:

Field Name | Field Value

Jcode | 21

Matnr | 210097898

SalesOrder | 123

Based on the field name, field value's F4 should be displayed.

For Jcode when I use F4 on Field value 21, all the Jcode should be displayed from a table.

For Matnr when I use F4 on Field value 210097898, all the MATNR should be displayed from a table. similarly for SalesOrder.

Please advice how to add the dynamic F4 help based on the Field Name.

Thanks,

Raghav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 17, 2016 at 12:16 PM

    Did you try to handle an event like ON_F4 to call a search help with a generic FM like F4IF_FIELD_VALUE_REQUEST?

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 18, 2016 at 05:56 AM

    Yes, I got it.. Thanks

    Add comment
    10|10000 characters needed characters exceeded