ā2005 Jul 16 5:48 AM
Hi all,
Im writing a pricing report which has a field condition type on the selection screen.
I want to limit the hit list of this field to merely display the condition types with usage A, application M when user clicks F4.
What should I do? Should I use matchcode?
Thanks in advance.
Hi all,
Im writing a pricing report which has a field condition type on the selection screen.
I want to limit the hit list of this field to merely display the condition types with usage A, application M when user clicks F4.
What should I do? Should I use matchcode?
Thanks in advance.
ā2005 Jul 16 6:03 AM
you can use the following FM to provide your own values to the F4
F4IF_INT_TABLE_VALUE_REQUEST
check out this link for sample code
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap faqs.faq#q-9
<b><u>alternate method.</u></b>
wf_repid = sy-repid.
wf_dynnr = sy-dynnr.
call function 'F4IF_FIELD_VALUE_REQUEST'
exporting
tabname = 'TKA03'
fieldname = 'STAGR'
searchhelp = 'Y_TKA03'
* SHLPPARAM = ' '
dynpprog = wf_repid
dynpnr = wf_dynnr
dynprofield = 'WF_F_STAGR'
* STEPL = 0
value = 'HC*'
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* SUPPRESS_RECORDLIST = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* TABLES
* RETURN_TAB =
* EXCEPTIONS
* FIELD_NOT_FOUND = 1
* NO_HELP_FOR_FIELD = 2
* INCONSISTENT_HELP = 3
* NO_VALUES_FOUND = 4
* OTHERS = 5 .
<b>This would return values starting with HC*</b>
Regards
Raja
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |