2007 Jul 26 2:08 PM
Hi,
I'm Using 'F4IF_INT_TABLE_VALUE_REQUEST' FM for Search Help.
I'm showing 5 columns in search help.
I want to take the 2 column value based upon the first column value.
i.e I want both the 1st and 2nd column values for further processing...Is there any posiible way to do this....???
Regards
Jiku
2007 Jul 26 2:35 PM
Please see below code,
DATA: RETURN TYPE TABLE OF DDSHRETVAL WITH HEADER LINE.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = 'KNA1'
FIELDNAME = 'STCEG'
SEARCHHELP = 'ZDEBI1'
DYNPPROG = SY-CPROG
SUPPRESS_RECORDLIST = 'X' "Supress dialog of F4 help
TABLES
RETURN_TAB = RETURN
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5.
Return will contain all column and field value, you can use the only column which require
Hi,
I'm Using 'F4IF_INT_TABLE_VALUE_REQUEST' FM for Search Help.
I'm showing 5 columns in search help.
I want to take the 2 column value based upon the first column value.
i.e I want both the 1st and 2nd column values for further processing...Is there any posiible way to do this....???
Regards
Jiku
2007 Jul 26 2:35 PM
Please see below code,
DATA: RETURN TYPE TABLE OF DDSHRETVAL WITH HEADER LINE.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = 'KNA1'
FIELDNAME = 'STCEG'
SEARCHHELP = 'ZDEBI1'
DYNPPROG = SY-CPROG
SUPPRESS_RECORDLIST = 'X' "Supress dialog of F4 help
TABLES
RETURN_TAB = RETURN
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5.
Return will contain all column and field value, you can use the only column which require
2007 Jul 26 2:58 PM
Hi,
Do all the manipulations in the internal table and pass it over in the Function Module.
Thanks,
Yogesh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |