版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
CreateaFPMapplicationwithFBIviewstepbyDemoinSystemBuildfeederclassfortheformGUIBBofinitialmethodGETREFERENCEOFms_object_keyINTOmethodDATA:ls_outportTYPEif_fpm_feeder_model=>ty_s_port.CLEAR:et_outport.GETREFERENCEOFms_object_keyINTOls_outport-object_key.ls_outport-type=if_fpm_feeder_model=>cs_port_type-selection. description=cl_wd_utilities=>get_otr_text_by_alias('/SCMTMS/UI_CMN/SELECTION').INSERTls_outportINTOTABLEGETREFERENCEOFms_object_keyINTOls_outport-object_key.ls_outport-type=if_fpm_feeder_model=>cs_port_type-collection. description=cl_wd_utilities=>get_otr_text_by_alias('/SCMTMS/UI_CMN/COLLECTION').INSERTls_outportINTOTABLEmethodDATA:ls_root_keyTYPE/bobf/s_frw_key,li_root_keyTYPE/bobf/t_frw_key.data:lo_entity_colltypeREFTO/BOFU/IF_FBI_ENTITY_COLLECTION.data:ls_object_keytype/BOFU/CL_FBI_GUIBB_BASE=>TS_OBJECT_KEY.CREATEOBJECTlo_entity_collTYPECLEAR:li_root_key.ls_root_key-key=ms_data-key.INSERTls_root_keyINTOTABLE>set_self_keys(EXPORTINGit_keys=li_root_key).lo_entity_coll->set_source_conf_keys(ms_object_key).ro_data?=lo_entity_coll.methodrv_namespace=methodDATA:ls_change_logTYPEFIELD-SYMBOLS:<fs_id>TYPEREADTABLEit_change_logINTOWITHKEYname= "#ECIFsy-subrc=ASSIGNls_change_log-new_value->*TO<fs_id>.ms_data-customer_id=<fs_id>.methoddata: TYPEREFTOdata: typedata: typedata:lt_customer_id typeSTANDARDTABLEOF/BOBF/DEMO_CUSTOMEREFTOREFTOREFTOREFTOREFTOREFTOifmo_controllerismo_controller?=/bofu/cl_fbi_controller_base=>get_instance().CASEio_event-appendms_data-customer_idtolt_customer_id.lo_srv_mgr=/bobf/cl_tra_serv_mgr_factory=>get_service_manager(/BOBF/IF_DEMO_CUSTOMER_C=>sc_bo_key). =/BOBF/IF_DEMO_CUSTOMER_C=>sc_node-root IV_TARGET_ALTKEY_KEY="Alternative = =ABAP_FALSE "DataelementfordomainBOOLE:TRUE(='X')andFALSE(='') =ABAP_FALSE "DataelementfordomainBOOLE:TRUE(='X')andFALSE(='')IV_INVALIDATE_CACHE=ABAP_true "DataelementfordomainBOOLE:TRUE(='X')andFALSE(='') =lo_change "Interfacefortransactionchangeobjects IF>has_failed_changes()ISnotINITIALorlt_key_indexisINITIAL.MESSAGEe001(YHENG_MESSAGE)INTOls_message-plaintext.ls_message-severity=if_fpm_message_manager=>gc_severity_error.APPENDls_messageTOet_messages.ev_result=if_fpm_constants=>gc_event_result-failed.loopatlt_key_indexintols_key-key=ls_key_index-ms_data-KEY=ls_key_index-appendls_keytolo_fpm?=cl_fpm_factory=>get_instance(). iv_value=mv_modeclear:ls_key-key=ms_data-key.appendls_keytolt_key.WHENOTHERS.methodDATA:lo_event TYPEREFTOcl_fpm_event, typereftoif_fpm.iflo_fpmislo_fpm?=cl_fpm=>get_instance().IFio_event->mv_event_id=cl_fpm_event=>GC_EVENT_CHANGE_CONTENT_AREA.ev_data_changed=abap_true.iflo_fpmisNOTlo_event=cl_fpm_event=>CREATE_BY_ID(cl_fpm_event=>GC_EVENT_REFRESH).lo_fpm->raise_event(lo_event).methodeo_field_catalog?=cl_abap_typedescr=>describe_by_name('/BOBF/S_DEMO_CUSTOMER_HDR_K').methodDATA:lo_event TYPEREFTOcl_fpm_event, typereftoif_fpm.ms_object_key-bo=/BOBF/IF_DEMO_CUSTOMER_C=>sc_bo_key.ms_object_key-node=/BOBF/IF_DEMO_CUSTOMER_C=>sc_node-root.iflo_fpmislo_fpm?=cl_fpm=>get_instance().IFlo_fpmis ev_value=mv_modeifmo_controllerismo_controller?=/bofu/cl_fbi_controller_base=>get_instance().mo_controller->/bofu/if_fbi_controller~set_object_key(ms_object_key).>/bofu/if_fbi_controller~build_node_buffer(EXPORTING =/BOBF/IF_DEMO_CUSTOMER_C=>sc_bo_key =/BOBF/IF_DEMO_CUSTOMER_C=>sc_node-root).NowthefeederclassisBuildviewexitclassforFBImethodDATA:lo_srvmgr TYPEREFTO/bofu/if_fbi_controller=>ts_b TYPEREFTO TYPEREFTO TYPEREFTOIFNOTmo_controllerISREADTABLE>/bofu/if_fbi_controller~mt_bo_srvmgr_mapREFERENCEINTOlo_srvmgrWITHTABLEKEYbo_key=iv_bo_key.caseWHENlo_fpm?=cl_fpm_factory=>get_instance(lo_event=cl_fpm_event=>CREATE_BY_ID(iv_event_id=cl_fpm_event=>GC_EVENT_CHANGE_CONTENT_AREA).iv_key=cl_fpm_event=>gc_event_param_trgt_cont_areaiv_value='PAGE_INITIAL').lo_fpm->RAISE_EVENT(io_event=lo_event).whenOTHERS.NowtheviewexitclassisCreateawebdynproSettheparameterforthisCreateanewapplicationConfigurationname:zdemo_fbi_app_confPressNewbutton.Clickbutton‘AssignconfigurationInputtheconfigurationname:SavethisapplicationClickthenewcomponentClick‘new’buttontocreatethiscomponentSetthewebdynprocomponentandconfigurationname,thenclickInsertthenewinitialpage,andchangethepageidandIntheinitialscreen,insertabuttonintoolbarSelectcontinuebuttonandIntheinitialscreen,insertaformcomponentUIBBinoverviewpageCreateanewnamefortheformGUIBBcomponentconfigurationConfigurationname:zdemo_initial_confClickthisClick‘new’buttonandcreatetheformGUIBBcomponentInputthefeederclassandclickeditNowitistheconfigurationofformGUIBBininitialAddAddChoosefieldofcustomerGobacktoovpcomponentInmainInsertstandardbuttonintoolbarschemaofmainTheninsertabuttonforgoSetthetextandeventIDforthisSettheeventparameter,thenitwillworkonInputtheconfigurationClickthisbuttontosetthenewClickthenewInputthefeederclassandclickeditInputnewFBIviewnameandclickOpenanewCreateanewFBIviewconfigurationComponentname:/BOFU/FBI_VIEWComponentid:ZDEMO_FBI_VIEWSettheparameterofFBIviewandClicknewCreateanothernewFBIviewfor(Theconfigurationnameshouldbetheapplicationconfiguration+Componentname:/BOFU/FBI_VIEWComponentid:Accordingthefollowingfigure,youcanfindthatthe‘_HTLB’isnotreplacedbyothersuffixwordifyouwantthetoolbarbuttoncanbehandledinfeederclass thatis,‘_HTLB’ishardcodeintheTMTheparametersettingisthesameasGobacktothewindowofconfigurationAddnewgroupandelementtoSelectSavetheGobacktotheovpcomponentClickwi
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 體育賽事活動意外傷害處理及免責條款協(xié)議
- 二零二五年度農(nóng)業(yè)產(chǎn)業(yè)化經(jīng)營抵押擔保合同范本3篇
- 2025年度科技研發(fā)成果轉化委托擔保合同3篇
- 二零二五年度家庭居室裝修智能家居系統(tǒng)集成合同2篇
- 二零二五年度教育培訓公司場地租賃合同協(xié)議
- 二零二五年度互聯(lián)網(wǎng)+教育合伙生意協(xié)議書2篇
- 出版行業(yè)書籍銷售免責協(xié)議
- 個人健康管理數(shù)字化健康管理服務平臺建設
- 2024年簡化版?zhèn)鶛噢D讓協(xié)議示例
- 二零二五年度出差人員交通與住宿服務合同3篇
- 2024版Amazon店鋪代運營與品牌授權及維權服務合同3篇
- 環(huán)境因素控制措施
- 2024年下學期學校德育工作總結
- 《電化學儲能系統(tǒng)艙大件運輸特殊要求》
- 2025年采購部工作計劃
- 《防范于心反詐于行》中小學防范電信網(wǎng)絡詐騙知識宣傳課件
- 勘察工作質量及保證措施
- 墊江縣中醫(yī)院2018年11月份臨床技能中心教學設備招標項目招標文件
- 排放源統(tǒng)計(環(huán)統(tǒng))年報填報指南
- 反射療法師理論考試復習題及答案
- 房地產(chǎn)銷售主管崗位招聘筆試題及解答(某大型國企)2025年
評論
0/150
提交評論