05-22-2009 10:12 AM
my requirement is that F4 one field, you can get popup dialog and can input some value of field1 field2. i want to get data of condition is field1 OR field2, but the relationship is AND. how to do it?
05-22-2009 11:35 AM
Hi,
This is possible by including EXIT for a SEARCH-HELP.
Please have a look into this link. This gives a very good details about how to create an EXIT for a Search help:
/people/vishal.sharma8/blog/2009/03/11/controllingmanipulating-data-of-search-help-using-search-help-exit
Rgds,
Ramani N
05-22-2009 10:31 AM
Hi,
Can you explain your requirement more clearly.
the relationship is AND--> What do u mean it.
Anyway you can write your condition in the Search Help Exit.
__Naveen Inuganti.
05-22-2009 10:43 AM
Hi ,
if my understanding is correct,
create a collective search and can use according to your req.
regards
gowri
05-22-2009 11:02 AM
hi,
You can implement self programmed value help using value request at selection screen.
Sample code for your reference
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WAERS.
CLEAR: DYFIELDS[], DYFIELDS.
*--- select currency
CALL FUNCTION 'HELP_VALUES_GET'
EXPORTING
fieldname = 'WAERS'
tabname = 'TCURT'
IMPORTING
SELECT_VALUE = P_WAERS.
*--- get long text for the selected currency
SELECT SINGLE LTEXT FROM TCURT
INTO DYFIELDS-FIELDVALUE
WHERE SPRAS = SY-LANGU
AND WAERS = P_WAERS.
IF SY-SUBRC <> 0.
CLEAR DYFIELDS-FIELDVALUE.
ENDIF.
*--- update another field
DYFIELDS-FIELDNAME = 'P_LTEXT'.
APPEND DYFIELDS.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
DYNAME = SY-CPROG
DYNUMB = SY-DYNNR
tables
dynpfields = DYFIELDS .
Hope this will solve your issue.
Thanks &Regards,
Kimaya
05-22-2009 11:35 AM
Hi,
This is possible by including EXIT for a SEARCH-HELP.
Please have a look into this link. This gives a very good details about how to create an EXIT for a Search help:
/people/vishal.sharma8/blog/2009/03/11/controllingmanipulating-data-of-search-help-using-search-help-exit
Rgds,
Ramani N