‎2006 Aug 31 2:22 PM
Hi all,
Plz can anybody clarify my doubt.
1. Generally in search help we have pass database table name in the option selection method..is it posible to send internal table name.
2. how to transport values from search help to screen fields.
3. what is purpose of export , import ,Lpos , spos in search help.
‎2006 Aug 31 2:37 PM
Hi,
1) No we can't pass internal table
2) Event process on value-request in module pool
to pass f4 selected value to screen field
process on value-request.
field int_zbktstkown_edit-recon_cd
module values_recon_cd.
3) export->table name
import->list of value
lpos ,spos->position for search help starting
row,column
Regards
Amole
‎2006 Aug 31 2:23 PM
1. NO.. internal table is only available during run time & is not a Dictionary Object.
2. Check this
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm">SAP Help</a>
3. Check this
<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm">SAP Help</a>
~Suresh
‎2006 Aug 31 2:31 PM
Hi ,
U can create search help using internal table but not in the data dictationary.
The search help will be program specfic.
use the function module
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'ZFRGGR1'
PVALKEY = ' '
DYNPPROG = DYNAME
DYNPNR = DYNUMB
DYNPROFIELD = FLDNAME
STEPL = GV_STEP_LINE
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
TABLES
VALUE_TAB = IT_PCODE
FIELD_TAB =
RETURN_TAB = T_RETURN
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
‎2006 Aug 31 2:36 PM
U should do this in the event AT SELECTION SCREEN ON VALUE REQUEST
then u need to use the function module as follows
<b>
select werks lgort into TABLE t_T001L from T001L where werks = field_value-fieldvalue.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'P_STOLOC'
dynpprog = progname
dynpnr = dynnum
dynprofield = 'P_STOLOC'
value_org = 'S'
TABLES
value_tab = t_T001L.</b>Select whatever u want into internal table and then use FM, please award points if found helpful
‎2006 Aug 31 2:37 PM
Hi,
1) No we can't pass internal table
2) Event process on value-request in module pool
to pass f4 selected value to screen field
process on value-request.
field int_zbktstkown_edit-recon_cd
module values_recon_cd.
3) export->table name
import->list of value
lpos ,spos->position for search help starting
row,column
Regards
Amole
‎2006 Aug 31 3:00 PM
First of all you must create a Serch help.
Then you can go SE11 to change your table, Position the cursor on your field and follow this menu <b>Goto->Search Help->For Field</b> Choose your search help and then save and activate table.
Now, if the field, on a screen and you can choose search healp by another field, you process is completed.
sory for bad english
ibrahim
‎2006 Aug 31 3:30 PM
Actually in my program iam having two screen fields..I created 1 search help for the two field.
In search help parameter i gave the field names , checked the import export for both the fields .In Lpos and Spos i gave 1 , 1 for first field and 2 , 2 for second field.For first field correct values r getting populated but for second field it is populating first field value only ..How to populate correct value in second field..