types: begin of ta_test,
a(4) type c,
b(4) type c,
end of ta_test.
data: n type p,
wa_test type ta_test.
data: it_test type table of ta_test.
data:
descr_ref type ref to cl_abap_tabledescr.
field-symbols:
type abap_keydescr.
loop at it_test assigning .
write : / '第' , sy-tabix , '行目'.
loop at ref_descr->components into iw_comp.
* write : /1 iw_comp-length,
* 15 iw_comp-decimals,
* 30 iw_comp-type_kind,
* 45 iw_comp-name.
concatenate '-'
iw_comp-name
into name. "wk_sum_mon_realxx
assign (name) to .
biaoshi_ziduan = iw_comp-name.
write : / biaoshi_ziduan , ':', .
endloop.
endloop.
nginx 獲取自定義header頭部資訊
為了排查線上的bug,需要在nginx的日誌中,列印客戶端上傳上來的header頭部資訊,同時頭部資訊是自定義的。在嘗試多重方案後,找到解決方法 通過配置可以看出,可在自定義header欄位前加http 即可將指定的自定義header欄位列印到log中。要注意的是針對nginx 不同版本自定義hea...
hibernate 怎麼獲取 自定義的 列
什麼也不說了 先上 吧 public mapgetusernoticesbyuserid long userid throws exception session session getsession 這裡是框架中使用的 大家可以通過 gethibernatetemplate 獲取session q...
獲取自定義布局中的控制項
獲得 layoutinflater 例項的三種方式 1.layoutinflater inflater getlayoutinflater 呼叫activity的getlayoutinflater 2.layoutinflater localinflater layoutinflater conte...