08-17-2007 5:17 AM
Hello
I have a Table control with some fields in it and i want to provide another column with domain values for that corresponding feild as F4 help
any help regarding this matter
Points for sure
08-17-2007 6:49 AM
Dear Prashanth,
Please check if this demo program is useful...
RSDEMO_TABLE_CONTROL
See also below 2 links
Regards,
ABY
08-17-2007 6:54 AM
Hi Prashanth,
Can you make your question more clear? If needed you can send me an email also.
08-17-2007 7:02 AM
Hi,
I guess you want to add F4 help for the field which are there in table control, If this is what you want then I will gelp you. Make your question more clear.
Thanks,
Madhura.
08-17-2007 7:04 AM
08-17-2007 9:51 AM
Hi,
Use option of dropdown on the field in table control which you want to create F4 help. This you will do in screen painter.
In program generate an internal table i_drop for the fields on which you want to have dropdown.
Then in program use funtion
select * into corresponding fields of TABLE IT_drop from z_table_ekko.
sort it_drop by Z_EKKO_EBELN.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'Z_EKKO_EBELN'
* DDIC_STRUCTURE = ' '
VALUE_ORG = 'S'
* IMPORTING
* USER_RESET =
tables
value_tab = I_DROP
* FIELD_TAB =
* RETURN_TAB =
* 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.
this will genrate F4 help on that field in table control.