Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change F4 Help for a standard SAP report( RSDMD_MDMT_WITH_F4)

Former Member
0 Kudos

HI Experts

I want to change the search help for standard Sap program  'RSDMD_MDMT_WITH_F4'(Master data maintenance with previous selection)..

For that i have copied 'RSDMD_MDMT_WITH_F4 to a z program.

Now in this Program There is form name 'CALL_F4_HELP'. in which the F4 help is defind. can anybody provide me way to make F4 help for This field

for refrence c code -RSDMD_MDMT_WITH_F4 ,Master data maintenance with previous selection -Code | ABAP,&...

do.

* call popup with f4-help and correction check

  CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP'

    EXPORTING

* F1_FORMNAME = ' '

* F1_PROGRAMNAME = ' '

      f4_formname               = 'CALL_F4_HELP'

      f4_programname            = 'RSDMD_MDMT_WITH_F4'

      formname                  = 'POPUP_EXIT'

      popup_title               = text-001

      programname               = 'RSDMD_MDMT_WITH_F4'

* START_COLUMN = '5'

* START_ROW = '5'

* NO_CHECK_FOR_FIXED_VALUES = ' '

    IMPORTING

      returncode                = l_returncode

    TABLES

      fields                    = l_t_iobjnm

    EXCEPTIONS

      error_in_fields           = 1

      others                    = 2.

2 REPLIES 2

Former Member
0 Kudos

If you have made a Z copy out of standard program, Then pass the Z Program name in to 'POPUP_GET_VALUES_USER_HELP' Function Module like below. That will trigger 'CALL_F4_HELP' form in your Z program where you change  the call of ' RSD_IOBJ_F4' depending on your requirement.

But this will not change the search help in Standard T-Code RSDMD. I'm sure you know about that.

CALL FUNCTION 'POPUP_GET_VALUES_USER_HELP'

    EXPORTING

* F1_FORMNAME = ' '

* F1_PROGRAMNAME = ' '

      f4_formname               = 'CALL_F4_HELP'

      f4_programname            = Give your Z Program Name here

      formname                  = 'POPUP_EXIT'

      popup_title               = text-001

      programname               = 'RSDMD_MDMT_WITH_F4'

* START_COLUMN = '5'

* START_ROW = '5'

* NO_CHECK_FOR_FIXED_VALUES = ' '

    IMPORTING

      returncode                = l_returncode

    TABLES

      fields                    = l_t_iobjnm

    EXCEPTIONS

      error_in_fields           = 1

      others                    = 2.

Former Member
0 Kudos

Hi Tharindu,

Now F4 help is wrking fine....i want make the validation for it.that it should not pick infotype of standard program.

Thanx