﻿// Create a GuiXT table variable for the dropdownlist
CreateTable V[ddltab_mm01_dwerk] key text

// Prepare parameters for reading the text table
Set V[table] "T001W"

Set V[fields] "WERKS,NAME1"

// Read table via RFC call
Call /guixt/dbselect -bundle _
  export.table="table" _
  export.condition="condition" _
  export.fields="fields" _
  import.values="ddltab_mm01_dwerk"
