【正文】
PEND SO_CARR.31,input checks: at selectionscreen程序名稱:SAPBC405_SSCD_AT_SEL_SCREEN* Check of selection criterion SO_DEPT**判斷飛行的事件如果小于6點(diǎn)或者大于22點(diǎn)的時(shí)候,提示出錯(cuò)誤。AT SELECTIONSCREEN ON so_dept.IF ( so_deptlow LT 39。06000039。 OR so_depthigh LT 39。06000039。 )OR ( so_deptlow GE 39。22000039。 OR so_depthigh GE 39。22000039。 )AND airp_fr EQ 39。FRA39。.MESSAGE e002(bc405).ENDIF.其中MESSAGE e002(bc405).這句中的bc405是一個(gè)message的類,而e002是一個(gè)消息For example:32,如何在程序中call selectionscreen?程序中的部分代碼為:sapbc405_sscd_call_sel_screenReport sapbc405_sscd_call_sel_screen….Selectionscreen: begin of screen 1100.Parameters: pa_cus as check box,Pa_agy as checkbox.Selectionscreen:end of screen 1100.At selectionscreen on pa_add.If pa_add = mark.Call selectionsreen 1100Starting at 5 5 ending at 50 10.If sysubrc 0.Leave to screen 1000.Endif.Endif.顯示出來(lái)的結(jié)果如下:33,層級(jí)報(bào)表的流程?說(shuō)明的是:在使用層級(jí)報(bào)表的時(shí)候,必須要進(jìn)行排序34,關(guān)于使用程序中的關(guān)鍵字notes說(shuō)明該程序中使用了邏輯數(shù)據(jù)庫(kù)35,在write語(yǔ)句中,讓鼠標(biāo)移到輸出的欄位上就會(huì)出現(xiàn)手型的圖標(biāo)程序中的代碼為參見例子if wa_flightsseatsocc gt 0.write: wa_flightsseatsocc hotspot on.else.write: wa_flightsseatsocc.endif.在write中如何畫圖標(biāo)Write icon_red_light as icon.36,如何得到鼠標(biāo)取得的數(shù)?程序中的代碼為參見例子基本語(yǔ)法:Get cursor field [value ]For example:*1,data: field_name(30), field_value(50).get cursor field field_name value field_value.*2 Data: field_name(30).……AT LINESELECTION.GET CURSOR FIELD field_name.CASE field_name.WHEN 39。WA_FLIGHTSCARRID39。.SELECT SINGLE carrname currcode INTO (carrname, currcode)FROM scarr WHERE carrid = wa_flightscarrid.WRITE: / 39。Airline carrier:39。, carrname,/ 39。Short name:39。, wa_flightscarrid,/ 39。Local currency of the airline:39。, currcode.WINDOW STARTING AT pos sycurowENDING AT 50 30.37,事件on change of參見例子On change of 、New page說(shuō)明:當(dāng)改變變量的時(shí)候才開始新的一頁(yè)。13 / 1