2009 Mar 16 1:02 PM
Hi experts,
I have defined an search help on the dictionary over LFA1 table. The fields of the search help are:
LIFNR --> With import and Export flags
LAND1 --> With import flag
NAME1 --> With import flag
STCD1 --> With import an Export flags
I want to use the same search help on two fields of a dynpro, one for LIFNR an the other one for STCD1 field, so when I a record is selected the two fields get updated, but the field returned is always LIFNR.
Is there any way to get the STCD1 field of the search help and update the two fields at same time without using F4IF_INT_TABLE_VALUE_REQUEST function module?
Thanks in advance.
Regards,
Jordi
Hi experts,
I have defined an search help on the dictionary over LFA1 table. The fields of the search help are:
LIFNR --> With import and Export flags
LAND1 --> With import flag
NAME1 --> With import flag
STCD1 --> With import an Export flags
I want to use the same search help on two fields of a dynpro, one for LIFNR an the other one for STCD1 field, so when I a record is selected the two fields get updated, but the field returned is always LIFNR.
Is there any way to get the STCD1 field of the search help and update the two fields at same time without using F4IF_INT_TABLE_VALUE_REQUEST function module?
Thanks in advance.
Regards,
Jordi
2009 Mar 16 1:11 PM
hi open the search help in se11 and check the import / Export check boxes
2009 Mar 16 1:28 PM
hi
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_lifnr .
PERFORM value_request1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_land1 .
PERFORM value_request2.
in the form end form of value request call FM :
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'lifnr '
PVALKEY = ' '
DYNPPROG = sy-repid
DYNPNR = sy-dynnr
DYNPROFIELD = 'p_lifnr'
STEPL = sy-stepl
VALUE_ORG = 'S'
CALLBACK_PROGRAM = 'ZSNT_TEST2'
tables
value_tab = t_oldmat
similarly
return field for land1 return field will be " land1" and dynprofield will be p_land1 .
try like this ....
regards
sachhi
2009 Mar 16 4:44 PM
Hi all,
thanks for your answers, but maybe I didn't explained myself quite well.
On SE11. the Import/Export parameters of the search help are OK. I want to get the second export parameter, not only the first one, but I don't know how to assign it to the dynpro field (only using the screen painter or flow logic, but without regenerate manually the search help with fm F4IF_INT_TABLE_VALUE_REQUEST.
If is not possible, I'll use the FM F4IF_INT_TABLE_VALUE_REQUEST, but then, I don't know how to restrict the selection values before the search help values are shown.
Regards,
Jordi
2009 Mar 25 12:31 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |