VinceCoder
5/2/2019 - 8:31 AM

PARAMETRICA: Path locale / server selezione da tabella

La tabella, se non sfruttabile la paramvalue, si può costruire con due campi NOME VARIABILE (CHIAVE) VALORE (CON I PATH)

Questa viene richiamata nell'inizializzazione passandogli il nome corrispondente.

LOAD-OF-PROGRAM
  PERFORM F_SET_INITIAL_dATA.
****OPPURE***********
*  INITIALIZATION.
*  PERFORM F_SET_INITIAL_dATA.


form f_set_initial_data.

  data:  st_paramvalue  type     paramvalue.

  select single *
    from paramvalue
    into st_paramvalue
    where fileparam = ca_mdati_fda.

  p_d_fda = st_paramvalue-paramvalue.

  select single *
    from paramvalue
    into st_paramvalue
    where fileparam = ca_mdati_feda.

  p_d_feda = st_paramvalue-paramvalue.

endform.                    "f_set_initial_data