Provied Serach Help Dyanamic and Code
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_oldcn-low.
SELECT *
FROM ZCS_INVOICE_EXP
INTO CORRESPONDING FIELDS OF TABLE it_search.
* WHERE zzclmno EQ 'ZHEX'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = 'EKKO'
retfield = 'ZZINV'
dynprofield = 'S_OLDCN-LOW'
window_title = 'INVOICE'
value_org = 'S'
TABLES
value_tab = it_search
return_tab = it_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
READ TABLE it_return INTO wa_return INDEX 1.
s_oldcn-low = wa_return-fieldval.
SELECT *
FROM ZCS_INVOICE_EXP
INTO CORRESPONDING FIELDS OF TABLE it_search.
* WHERE zzclmno EQ 'ZHEX'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = 'EKKO'
retfield = 'ZZINV'
dynprofield = 'S_OLDCN-LOW'
window_title = 'INVOICE'
value_org = 'S'
TABLES
value_tab = it_search
return_tab = it_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
READ TABLE it_return INTO wa_return INDEX 1.
s_oldcn-low = wa_return-fieldval.
Comments
Post a Comment