cancel
Showing results for 
Search instead for 
Did you mean: 

what is the function module

Former Member
0 Kudos

hai to all,

what is the function module to create help on a particular field

i will be thankfull to all

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Satish,

Use the Function Module <b>F4_FIELD_ON_VALUE_REQUEST</b>.

Thanks

Kam

Note:Allot points for all worthful postings

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Help? do you mean search help, or value help?



report zrich_0002 .

parameters: p_bukrs type t001-bukrs.

at selection-screen on value-request for p_bukrs.

  data: begin of help_bukrs occurs 0,
         bukrs type t001-bukrs,
         butxt type t001-butxt,
        end of help_bukrs.

  select  bukrs butxt into corresponding fields of table help_bukrs
           from t001.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'BUKRS'
            dynprofield = 'P_BUKRS'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = help_bukrs.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

This is the function module..

CALL FUNCTION <b>'F4IF_INT_TABLE_VALUE_REQUEST'</b>

EXPORTING

DDIC_STRUCTURE = 'ZVVF_CS_MATDISP'

RETFIELD = 'VERNO'

  • PVALKEY = ' '

DYNPPROG = 'ZVVF_CR008_MONTHLYREPORT'

DYNPNR = '1000'

DYNPROFIELD = 'SO_VERNO-LOW'

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

VALUE_ORG = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

VALUE_TAB = IT_VALUE

  • FIELD_TAB =

RETURN_TAB = IT_RET

  • DYNPFLD_MAPPING = IT_DYNPFLD

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

If you are still not clear let me know I will send you the whole code for this.

Don't forget to reward points if your query solved

Regards,

Vinod.

former_member181962
Active Contributor
0 Kudos

Hi satish,

If you are using a dictionary field, then f1 help will be already available.

If it is not a Dictionary field, then you have to

write your code with the FM DOCU_GET_FOR_F1HELP.

Regards,

Ravi