2006 Dec 22 6:23 AM
Hi,
How can i export 2 field values from the F4 popup onto the screen.
Used the func. module - F4IF_FIELD_VALUE_REQUEST.
Any parameters in this module tobe enabled to get the mutiple values.
Specifically saying i want the excise invoice number and date to be passed.
Excise inv. no is coming but date is not coming on the input screen after selecting the excise invoice no. on the F4 popup.
Regards,
Neslin.
Hi,
How can i export 2 field values from the F4 popup onto the screen.
Used the func. module - F4IF_FIELD_VALUE_REQUEST.
Any parameters in this module tobe enabled to get the mutiple values.
Specifically saying i want the excise invoice number and date to be passed.
Excise inv. no is coming but date is not coming on the input screen after selecting the excise invoice no. on the F4 popup.
Regards,
Neslin.
2006 Dec 22 6:43 AM
Hello Neslin
You have to use the callback parameters CALLBACK_PROGRAM and <b>CALLBACK_FORM</b>.
The callback form must have the following interface (see documentation of function module):
FORM <NAME> TABLES RECORD_TAB STRUCTURE SEAHLPRES
CHANGING SHLP TYPE SHLP_DESCR
CALLCONTROL LIKE DDSHF4CTRL.
* Changing parameter SHLP holds the entire meta data of the search help.
* SHLP is a complex structure.
* To return multiple fields of the search help you have to modify SHLP-FIELDPROP.
DATA:
ls_prop LIKE LINE OF shlp-fieldprop.
LOOP AT SHLP-FIELDPROP INTO ls_prop
WHERE ( fieldname = <required field1> OR
fieldname = <required field2> ).
ls_prop-SHLPOUTPUT = 'X'. " Flag for EXPORT Parameters for Search Help
MODIFY shlp-fieldprop FROM ls_prop.
ENDLOOP.
ENDFORM.Regards
Uwe