2010 Nov 22 8:59 AM
Hi,
Thanks in advance for reading this query.
I have provided F4 help for one of the fileds on my selection screen and provided F4 help to that field by using Function Module F4IF_INT_TABLE_VALUE_REQUEST.
Now If press F4 help, I am getting 2 columns.
If I select any one record, the field in first column should be populated to that field. But for me second field is getting populated.
So can any one help me on this.
below is the code I have put.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'SYSNAM'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'S_SYS'
stepl = v_povstpl
value_org = 'S'
tables
value_tab = gt_sys
field_tab = t_field_tab
return_tab = GT_RETURN
dynpfld_mapping = t_dynpfld_mapping
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.
Thanks and Regards,
K.Krishna
2010 Nov 22 9:23 AM
Hi,
In the retfield of the FM, pass the field that is to be displayed in the F4 help.
I mean the field in the value tab gt_sys.
Thanks,
Sri.
Hi,
Thanks in advance for reading this query.
I have provided F4 help for one of the fileds on my selection screen and provided F4 help to that field by using Function Module F4IF_INT_TABLE_VALUE_REQUEST.
Now If press F4 help, I am getting 2 columns.
If I select any one record, the field in first column should be populated to that field. But for me second field is getting populated.
So can any one help me on this.
below is the code I have put.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'SYSNAM'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'S_SYS'
stepl = v_povstpl
value_org = 'S'
tables
value_tab = gt_sys
field_tab = t_field_tab
return_tab = GT_RETURN
dynpfld_mapping = t_dynpfld_mapping
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.
Thanks and Regards,
K.Krishna
2010 Nov 22 9:23 AM
Hi,
In the retfield of the FM, pass the field that is to be displayed in the F4 help.
I mean the field in the value tab gt_sys.
Thanks,
Sri.
2010 Nov 22 9:40 AM
Hi,
in retfield pass the field name on which u want f4. no need to pass 'dynprofield'.
Regards,
Sarang
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |