版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
日期 :11需求提指定唯一的需求处理人。22 methodZPROOVSdeclaredatastructuresforthefieldstobedisyedforthetablecolumnsoftheselectionlist,ifbeginofaddfieldsforthedisyofyoursearchinputZDEPARTtypestring,ZUSERtypestring,ZUSER_TEXTtypeendoflty_stru_input.beginofltystruaddfieldsfortheselectionlistZDEPARTtypestring,ZUSERtypestring,ZUSER_TEXTtypeendofdata:ls_search_inputtypeltystru typestandardtableoflty_stru_list, typelty_stru_list, typewdr_name_value, typewdr_name_value_list,lt_column_textstypewdr_name_value_list,lv_window_titletypestring,lv_table_headertypestring.field-symbols:<ls_query_params>type typelty_stru_list.caseovs_callback_object->phase_indicator.whenif_wd_ovs=>co_phase_0."configurationphase,maybeinthisphaseyouhavethepossibilitytodefinetheifyoudonotwanttousethedefaults(DDIC-ls_text-name=`ZDEPART`."mustmatchafieldnameoflstext-value`部门`"wd_assist->get_text`001`insertls_textintotablels_text-name`ZUSER`."mustmatchafieldnameofsearchlstext-value=`人员编号`."wd_assist->get_text(`001`).insertls_textintotableltlabeltexts.ls_text-name=`ZUSER_TEXT`."mustmatchafieldnameofls_text-value=`人员`."wd_assist->get_text(`001`insertls_textintotablels_text-name=`ZDEPART`."mustmatchafieldinlistls_text-value`部门`"wd_assist->get_text`002`insertls_textintotableltcolumnls_text-name`ZUSER`."mustmatchafieldinliststructurels_text-value=`人员编号`."wd_assist->get_text(`002`).insertls_textintotablelt_column_texts.ls_text-name=`ZUSERTEXT`."mustmatchafieldinlistlstext-value=`人员`."wd_assist->get_text(`002`insertls_textintotablelvwindowtitle=wdassist->gettext(`003`lv_table_header=wd_assist->get_text(`004`ovs_callback_object->setconfiguration(label_texts=lt_label_textscolumn_texts=lt_column_textswindow_title=table_header=lv_table_headerwhenifwdovs=>cophase1."setsearchstructureandInthisphaseyoucansetthestructureanddefaultofthesearchstructure.Ifthisphaseisomitted,thefieldswillnotbedisyed,buttheselectiontabledisyedReadvaluesoftheoriginalcontext(notnecessary,butmaysettheseasthedefaults).Areferencetotheelementisavailableinthecallbackovs_callbackobject->context_element->get_static_attributes(importingstatic_attributes=ls_search_input).lssearchinput-ZDEPART='供应链passthevaluestotheOVSinput=ls_search_input).whenifwdovs=>cophaseIfphase1isimplemented,usethefieldinputforselectionoftheIfphase1isomitted,usevaluesfromyourownifovs_callback_object->query_parametersisnot********TODOexceptionto<lsqueryparams>.ifnot<lsqueryparams>isassigned.********TODOexceptioncallbusinesslogicforatableofpossibleltselect_list=DATA:IT_START_OBJECTSTYPEHRTBOBJECT,WA_START_OBJECTSTYPELINEOFHRTB_OBJECT,ET_USER_TABTYPEHRBCITB_USER,WA_USER_TABTYPELINEOFHRBCITB_USER.DATA:ES_ORGUNITTYPEHRS_OBJEC,EV_ORGUNITTYPEHRSOBJEC,USER_TEMTYPEUNAME.IF<ls_query_params>-ZDEPARTISNOTINITIAL<ls_query_params>-ZUSERISINITIAL<ls_query_params>-ZUSER_TEXTISIF<ls_query_params>-ZDEPART='供应链WA_START_OBJECTS-OTYPE=WASTART_OBJECTS-OBJID= APPENDWA_START_OBJECTSTOIT_START_OBJECTS.CALLFUNCTION'BBP_OM_STRUC_GET_USER_FROM_ORG' = =SY-RESOLVEALL = =' =' ='X' =.LOOPATET_USER_TABINTOwa_select_list-ZUSER=WA_USER_TAB-APPENDwa_select_listTOlt_selectlist.CLEAR:WA_USER_TAB,wa_select_list.waselect_list-ZDEPART采购一部MODIFYlt_select_listFROMwa_select_listTRANSPORTINGZDEPARTWHEREZDEPART=''.CLEARCLEAR:WA_START_OBJECTS,IT_START_OBJECTS,ET_USER_TAB.WA_START_OBJECTS-OTYPE='O'.WASTART_OBJECTS-OBJID= APPENDWA_START_OBJECTSTOIT_START_OBJECTS.CALLFUNCTION'BBP_OM_STRUC_GET_USER_FROM_ORG' = =SY-RESOLVEALL = =' =' ='X' =.LOOPATET_USER_TABINTOwa_select_list-ZUSER=WA_USER_TAB-APPENDwa_select_listTOlt_select_list.CLEAR:WA_USER_TAB,wa_select_list.waselect_list-ZDEPART采购二部MODIFYlt_select_listFROMwa_select_listTRANSPORTINGZDEPARTWHEREZDEPART=''.CLEARELSEIF<ls_query_params>-ZDEPART采购一部WA_START_OBJECTS-OTYPE=WASTART_OBJECTS-OBJID= APPENDWA_START_OBJECTSTOIT_START_OBJECTS.CALLFUNCTION'BBP_OM_STRUC_GET_USER_FROM_ORG' = =SY-RESOLVEALL = =' =' ='X' =.LOOPATET_USER_TABINTOwa_select_list-ZUSER=WA_USER_TAB-APPENDwa_select_listTOlt_selectlist.CLEAR:WA_USER_TAB,wa_select_list.waselect_list-ZDEPART采购一部MODIFYlt_select_listFROMwa_select_listTRANSPORTINGZDEPARTWHEREZDEPART=''.CLEARELSEIF<ls_query_params>-ZDEPART采购二部WA_START_OBJECTS-OTYPE=WASTART_OBJECTS-OBJID= APPENDWA_START_OBJECTSTOIT_START_OBJECTS.CALLFUNCTION'BBP_OM_STRUC_GET_USER_FROM_ORG' = =SY-RESOLVEALL = =' =' ='X' =.LOOPATET_USER_TABINTOwa_select_list-ZUSER=WA_USER_TAB-APPENDwa_select_listTOlt_select_list.CLEAR:WA_USER_TAB,wa_select_list.waselect_list-ZDEPART采购二部MODIFYlt_select_listFROMwa_select_listTRANSPORTINGZDEPARTWHEREZDEPART=''.CLEARELSEIF<ls_query_params>-ZDEPARTISINITIAL<ls_query_params>-ZUSERISNOTINITIAL<ls_query_params>-ZUSER_TEXTISINITIAL.WA_START_OBJECTS-OTYPE='O'.WASTART_OBJECTS-OBJID=' APPENDWASTARTOBJECTSTOITSTARTOBJECTS.CALLFUNCTION'BBP_OM_STRUC_GET_USER_FROM_ORG' =IT =SY-RESOLVEALL =SELECT =' =' ='X' =.USERTEM=<ls_queryparams>-ZUSER.TRANSLATEUSER_TEMTOUPPERCASE.READTABLEETUSER_TABWITHKEYUNAME=USER_TEMTRANSPORTINGNOFIELDS.IFSY-SUBRC=0.CALLFUNCTION'BBP_OM_STRUC_GET_ORG_FROM_USER' = =SY- =' ='X' =.IFES_ORGUNIT-OBJID= wa_select_list-ZDEPART采购一部'.waselect_list-ZUSER=USER_TEM.APPENDwa_select_listTOELSEIFES_ORGUNIT-OBJID= wa_select_list-ZDEPART采购二部'.wa_select_list-ZUSER=USER_TEM.APPENDwa_select_listTOCALLFUNCTION'BBP_OM_STRUC_GET_ORG_FROM_ORG' =ESORGUNIT-IVSEL =SY- ='IVAUTHORITY_CHECK ='X' =.IFEV_ORGUNIT-OBJID= wa_select_list-ZDEPART采购一部'.waselect_list-ZUSER=USER_TEM.APPENDwa_select_listTOELSEIFEV_ORGUNIT-OBJID= wa_select_list-ZDEPART采购二部'.waselect_list-ZUSER=USER_TEM.APPENDwa_select_listTOovs_callback_object->set
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 职业发展与晋升机会创造策略
- 快速办理二手房买卖合同范文
- 企业内部团建活动组织规定
- 农业科技研发定向捐赠协议
- 员工激励与离职率降低
- 劳务准则上墙
- 农业企业客户资产管理计划
- 交通运输设备租赁资金管理
- 大型活动舞台背景墙绘协议
- 创意产业园区
- 潜油泵及潜油泵加油机讲义
- 医患沟通内容要求记录模板(入院、入院三日、术前、术后、出院)
- 航海学天文定位第四篇第6章天文定位
- 第8章 腹部检查(讲稿)
- 浅谈深度教学中小学数学U型学习模式
- 物理电学暗箱专题30道
- 湿法脱硫工艺计算书
- 江西上饶铅山汽车驾驶科目三考试线路
- 南京农业大学学生在校学习期间现实表现证明
- (医学PPT课件)NT检查规范
- 导电炭黑的用途及使用方法
评论
0/150
提交评论