F4 help using Function Module 'F4IF_INT_TABLE_VALUE_REQUEST'

Question: Hi,
I am using function module 'F4IF_INT_TABLE_VALUE_REQUEST' to get the search help for a feild. (parnr field in transaction ima11)
Now i am able to display the values and when selected any line of the displyed list , it is returning the one value to the respective field.
Now my question is if i can return more than one field when i choose the line from the displayed list ?

data : i_zpartner type zpartner occurs 0 WITH HEADER LINE.

DATA: PROGNAME LIKE SY-REPID,
DYNNUM LIKE SY-DYNNR.

PROGNAME = SY-REPID.
DYNNUM = SY-DYNNR.

select * from zpartner into corresponding fields of table i_zpartner.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
RETFIELD = 'ZPARNR'
* PVALKEY = ' '
DYNPPROG = progname
DYNPNR = dynnum
DYNPROFIELD = 'IHPA-PARNR'
* STEPL = 0
* WINDOW_TITLE =
* VALUE = ' '
VALUE_ORG = 'S'
* MULTIPLE_CHOICE = ' '
* DISPLAY = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* MARK_TAB =
* IMPORTING
* USER_RESET =
TABLES
VALUE_TAB = I_ZPARTNER
* 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
*{ INSERT RZSK901999 1

*} INSERT
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Answer:
I am @home so can only give some general directions.
With that FM, the chosen index number is returned as well as the list of values that was presented to the user. So combine those two and you'll have all fields from the chosen entry .
With FM's DYNP_VALUES* you can read and set the values on any screen.
You'll need some playing around with it but shouldn't take more then half an hour to get it all working.
_________________
Only sheep and Tuly Idiots need a leader
Copyright ?2007 - 2008 www.jt77.com