‎2007 Mar 12 2:31 PM
Hi
I have selection screen with 2 field matnr and lgort
when i press F4 on lgort - search help work and i see the value of the matnr in the search help.
The problem that i must press enter in search help to see all the result according to specific material.
How can i do it without press enter and to see the result limitedly?
Thanks
‎2007 Mar 12 2:40 PM
Hi,
You need to do is:
During the search help creation , you have to select the "Display values Immediately" for Dialog Type.
It is only possible for the customized Search Helps not for the SAP standard.
Regards,
Balakrishna.N
‎2007 Mar 12 2:34 PM
Hi,
Since the search Help which you are getting for LGORT field is designed from MARC table it is coming like that with all materials.
Same Stor location is used for all those materials. it is coming like that.
If you want, you can create your own search help as per your requirement, (by creating your own table) you can attach and use it.
Regards,
Anji
‎2007 Mar 12 2:35 PM
U need to attach a match code , where in uneed to select all the lgorts from the table MARD for the materials needed.
‎2007 Mar 12 2:38 PM
hi ,
In the Search help that you have created change the "dialog type" to "display values immediately"
regards,
santosh
‎2007 Mar 12 2:40 PM
‎2007 Mar 12 2:40 PM
Hi,
You need to do is:
During the search help creation , you have to select the "Display values Immediately" for Dialog Type.
It is only possible for the customized Search Helps not for the SAP standard.
Regards,
Balakrishna.N
‎2007 Mar 12 2:46 PM
hi ,
you have to use the the FM 'DYNP_VALUES_UPDATE'
*- Change screen field contents w/o PBO
* Update Dynpro
CLEAR dg_repid.
dg_repid = sy-repid.
* For reading screen fields and values
DATA: dt_dynpread TYPE STANDARD TABLE OF tp_dynpread .
* Getting current screen fields and values
DATA: ds_dynpread TYPE tp_dynpread .
ds_dynpread-fieldname = 'MATNR'. .
ds_dynpread-fieldvalue = 'YOUR F4 HELP MATNR VALUE'.
APPEND ds_dynpread TO dt_dynpread .
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = dg_repid
dynumb = sy-dynnr
TABLES
dynpfields = dt_dynpread
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
‎2007 Mar 12 2:50 PM
Whether you use a bepokse search help or the FM 'DYNP_VALUES_UPDATE' the user will still need to hit the 'enter' key . By doing this invokes the relevant ABAP event ( e.g. AT SELECTION-SCREN ).
It is annoying but has to be done. I have the same problem with a similar problem