08-28-2007 2:22 PM
The following code will not compile. I get an error saying "'ZTRANSMISSIONS' cannot be changed. The parameter "ID_NAME" in the declaration of class CL_RECA_DDIC_DOMA says it's a "fixed value". I'm confused. Can someone provide an example?
REPORT ztestvehicle.
TYPE-POOLS: abap.
DATA ex TYPE abap_bool.
START-OF-SELECTION.
CALL METHOD CL_RECA_DDIC_DOMA=>EXISTS_VALUE
IMPORTING
id_name = 'ZTRANSMISSIONS'
id_value = 'MAN'
RECEIVING
ex = rf_exists.
IF ex = abap_true.
MESSAGE 'DOES EXISTS' TYPE 'I'.
ELSE.
MESSAGE 'DOES *NOT* EXIST' TYPE 'I'.
ENDIF.
08-28-2007 2:54 PM