I copied the entire logic which you mentioned.
FIELD-SYMBOLS: <lv_kostl> TYPE kostl.
IF i_cobl-kostl IS INITIAL.
ASSIGN i_cobl-kostl TO <lv_kostl>.
IF <lv_kostl> IS ASSIGNED.
<lv_kostl> = 'C0123456'.
ENDIF.
ENDIF.
Here, we need to export the changed value to CALL CUSTOMER-FUNCTION '002' right? how to do that?