‎2007 May 10 10:06 AM
here is my code. Can u tell me how to show kg or bg in drop down menu in the f4 help. What field do i need to assign and where.
at selection-screen on value-request for p_blart.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'field'
PVALKEY = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'C'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB =
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
‎2007 May 10 10:08 AM
Hi
use the table for Unit of Measures <b>T006</b> and create a search help and use
Reward points if useful
Regards
Anji
‎2007 May 10 10:08 AM
Hi
use the table for Unit of Measures <b>T006</b> and create a search help and use
Reward points if useful
Regards
Anji
‎2007 May 10 10:09 AM
pass the values in the value_tab .
VALUE_TAB is an internal table with a (flat) structure. Every line in VALUE_TAB then corresponds to one line in the list to be displayed.
‎2007 May 10 10:17 AM
chk this
REPORT abc.
PARAMETERS : p_blart LIKE bkpf-blart.
DATA : v_repid LIKE sy-repid.
DATA : BEGIN OF it_blart OCCURS 0,
blart LIKE bkpf-blart,
END OF it_blart.
INITIALIZATION.
v_repid = sy-repid.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_blart.
CLEAR it_blart.
REFRESH it_blart.
it_blart-blart = 'KG'.
APPEND it_blart.
it_blart-blart = 'KH'.
APPEND it_blart.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BLART'
dynpprog = v_repid
dynpnr = '1000'
dynprofield = 'P_BLART'
value_org = 'S'
TABLES
value_tab = it_blart.
‎2007 May 10 11:20 AM
<b>hi Abhay,
You need to reward for helpful answers ,
Not just simply asking series of questions!!!!!!!!!!!!!!!!!!!!!!</b>