﻿class customeroffer assembly="s10cis"

   // order numnber (set in change mode)
   string vbeln


   // customer number
    string kunnr  link="kna1"


  // sales unit
  string   VKORG          maxsize="4"       uppercase="yes"   link="tvko"       // Verkaufsorganisation
  string   VTWEG          maxsize="2"       uppercase="yes"   link="tvtw"       // Vertriebsweg
  string   SPART          maxsize="2"       uppercase="yes"   link="tspa"       // Sparte


   // Text for order type
   string auarttext

   // valid until
   date bnddt historyid=""
   string bnddtYMD  historyid=""


   // Ship to
   string wkunnr link="kna1"
   string wkunnrtext

   // P.O. number and date
   string bstkd historyid=""

   // P.O. type
   string bsark
   string dropdown_bsark method="build_dropdowns"

   // Incoterms
   string inco1 link="TINCT"
   string dropdown_inco1 method="build_dropdowns"
   string inco2 maxsize="28"


   // Payment terms
   string zterm link="tvzbt" // Zahlungsbedingung
   string dropdown_zterm method="build_dropdowns"


   date bstdk historyid=""
   string bstdkYMD  historyid=""

   // your reference
   string ihrez  historyid=""


   // Req. del. date
   date ketdat historyid=""
   string ketdatYMD  historyid=""

   // pricing date
   date prsdt  historyid=""
   string prsdtYMD  historyid=""

  // complete delivery
  boolean autlf  historyid=""

  // shipping conditions
  string vsbed
  string dropdown_vsbed

  // shipping type
  string vsart
  string dropdown_vsart method="build_dropdowns"

  // contact name
  string contn
  string dropdown_contn method="build_dropdowns"


  // order reason
  string augru
  string dropdown_augru


  // cancellation reason
  string abgru
  string dropdown_abgru



  // del plant
  string dwerk
  string dropdown_dwerk  method="build_dropdowns"

  // del. time
  string delco
  string dropdown_delco

   // warranty start date
   date gwldt  historyid=""
   string gwldtYMD  historyid=""



  // status info
  string auart
  integer poscount
  string netwr
  string waerk

   // material search
  string material_searchtext uppercase="yes"  historyid=""
  string material_searchtype method="build_material_searchtype"
  string material_searchcomment
  integer materialsearch_updatelevel

  // date for printing
  string today

   // addon object for printing
  object addon

  // calling screen for return
  string calling_screen

   // folders
  folder positions class="customerorderpos"
  folder materialsearch class="matmini"
  folder contacts_input class="simplestring"
  folder contacts_output class="simplestring"


  // general drop down list used in sapgui interface
  folder ddl class="dropdownitem"


  // drop down generation
  folder dwerk_input class="simplestring"
  folder dwerk_output class="simplestring"
  folder all_tvagt class="tvagt"
  folder all_t173t class="t173t"
  folder all_t176t class="t176t"
  folder all_tinct class="tinct"
  folder all_tvzbt class="tvzbt"


   // texts
  folder texts class="cvtext"   method="build_texts"

  // RFC Folder
  folder rfc_input class="simplestring"
  folder rfc_output class="simplestring"

  // Messages from completeness check
  folder compmsg class="customerordermsg"

   // deferred rfc messages
  folder rfcmessages class="rfcmsg"

  // sapdialog
  object mysapdialog class="sapdialog"

   // methods
  method build_dropdowns
  method build_material_searchtype
  method build_texts optional=(vbeln)



endclass

















































