2011 Jan 31 2:00 PM
In VBUK table, the domain of field VBELN has a value table. and this field doesnt have check table. i am getting F4 for this field in SE11. but when i try to get the F4 for this field using the FM F4IF_FIELD_VALUE_REQUEST, passing table name = VBUK, fieldname = VBELN , DYNPROG and DYNNR. i could not get F4 help. FM is returning Sy-Subrc 2..
2011 Feb 01 5:09 AM
Hi,
You can try using the FM F4TOOL_CHECKTABLE_HELP. This would work for the value table also.
You need to have the check table/value table and the fieldname.
Hope this helps.
Regards
Krishna
2011 Jan 31 2:19 PM
2011 Jan 31 2:53 PM
Why don't you use one of the sales document search helps instead? A direct value help for that field isn't very useful.
2011 Jan 31 7:55 PM
Hi San,
if you check field, data element and domain for VBUK-VBELN you will see that no search help is defined at any level. If you use SE16N, you do not have a search help either.
The generated table browser SE16 (as called from SE11/SE12 for value display) will use the table itself as check table if no search help is found at any level. This is not standard SAP behavior.
you may use
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'VBAK'
fieldname = 'VBELN'
TABLES
return_tab = lt_return_tab
EXCEPTIONS
OTHERS = 5.
as VBUK is defined as check table for vbak-vbeln.
Or just turn to the much more powerful standard collective search help CS_VBELN.
Regards,
Clemens
2011 Feb 01 5:09 AM
Hi,
You can try using the FM F4TOOL_CHECKTABLE_HELP. This would work for the value table also.
You need to have the check table/value table and the fieldname.
Hope this helps.
Regards
Krishna