call 這個function
BAPI_OBJCL_GETDETAIL
OBJECTKEY LHA02001 (物料名稱)
OBJECTTABLE MARA (Table名稱 就當作固定)
CLASSNUM XXXX (特性質的class name)
CLASSTYPE 300 (這兩個 number 跟type比較有問題 就是要從kssk去串klah)
KEYDATE 2010.10.29
UNVALUATED_CHARS X (這個要給 不然不會當你show在table上)
LANGUAGE ZF
若是要抓DN項次 有批次的特性質要這樣作
先call FUNCTION 'VB_BATCH_2_CLASS_OBJECT'
EXPORTING
i_matnr = 物料 "MATNR
i_charg = 批次 " CHARG
I_WERKS = plant " WERKS
IMPORTING
E_OBJEK = 對應objectkey
E_OBTAB = 對應objecttable
i_matnr = 物料 "MATNR
i_charg = 批次 " CHARG
I_WERKS = plant " WERKS
IMPORTING
E_OBJEK = 對應objectkey
E_OBTAB = 對應objecttable
E_KLART = 對應classtype
E_CLASS = 對應classnum
在丟到這個
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey =
objecttable =
classnum =
classtype =
tables
allocvaluesnum =
allocvalueschar =
allocvaluescurr =
return =
EXPORTING
objectkey =
objecttable =
classnum =
classtype =
tables
allocvaluesnum =
allocvalueschar =
allocvaluescurr =
return =
批次特性的T-CODE: MSC3N
沒有留言:
張貼留言