2012 May 23 8:29 AM
Hi All,
create the search help (elementory search help) from se11, but i want to provide the search help depending on the condition
ex: from but000 table i want to display 3 fields
partner , name_first , name_last these three fields should be display depending on bu_sort2 = 'PDD'
here bu_sort2 is also from the same table but000 .
i just create elementory search help , but how to provide this condition base only
(requirement is : provide search help for a field which is in module pool screen)
please tell me the process...
Moderator message: described in SAP documentation for search helps, please do more research before posting.
Message was edited by: Thomas Zloch
Hi All,
create the search help (elementory search help) from se11, but i want to provide the search help depending on the condition
ex: from but000 table i want to display 3 fields
partner , name_first , name_last these three fields should be display depending on bu_sort2 = 'PDD'
here bu_sort2 is also from the same table but000 .
i just create elementory search help , but how to provide this condition base only
(requirement is : provide search help for a field which is in module pool screen)
please tell me the process...
Moderator message: described in SAP documentation for search helps, please do more research before posting.
Message was edited by: Thomas Zloch
2012 May 23 8:41 AM
2012 May 23 9:03 AM
Place below code in POV module of that specific field.
select single bu_sort2 from but000 into l_sort.
IF l_sort = 'PDD'.
select partner name_first name_last from but00 into table t_f4help.
and then pass this internal table to below FM
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = field from int table whose value will be returned
DYNPPROG = SY-CPROG
DYNPNR = SY-DYNNR
DYNPROFIELD = 'screen field'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = internal table whose values will be shown.
RETURN_TAB = internal table of type DDSHRETVAL
EXCEPTIONS
parameter_error = 1
no_values_found = 2
others = 3.
ENDIF.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |