显示企业用到的IMG

fangcloud 568 2022-07-17

本文转载自网络公开信息

------------------------------------------------------------------**& Report  ZMYTEST009*&*&---------------------------------------------------------------------**&*&*&---------------------------------------------------------------------*REPORT  ZMYTEST009.Tables:TTREE,TTREET .Data :begin of ZTypeIMG ,         id like TTREE-ID,         text like TTREET-TEXT,       end of ZTypeIMG .Data:ZitabIMG like ZTypeIMG occurs 0 with header line,     ZLinIMG  like ZTypeIMG.Data: ZFLDNAME  like DD01L-DOMNAME,      ZFLDVALUE like TTREET-TEXT.*** Read IMG Strucutre IDRefresh ZitabIMG.select a~ID b~Text  into table  ZitabIMG  from TTREE as a  LEFT OUTER JOIN TTREET as b on a~ID = b~ID  and b~SPRAS = SY-LANGU  Where a~TYPE = 'IMG' .*** Write Struture ID to Screenuline at /1(79).Loop at ZitabIMG.  write :/1  '|',ZitabIMG-TEXT,'|'.  uline at /1(79).endloop.uline at /1(79).AT LINE-SELECTION.  clear:ZlinIMG,ZFLDNAME, ZFLDVALUE .  GET CURSOR FIELD ZFLDNAME VALUE ZFLDVALUE .  if ZFLDNAME = 'ZITABIMG-TEXT' .    Perform. EXEIMG .  endif.Form. EXEIMG.***Display IMG Structure  READ TABLE ZitabIMG into ZlinIMG WITH KEY TEXT = ZFLDVALUE.  CALL FUNCTION 'STREE_EXTERNAL_DISPLAY'       EXPORTING            STRUCTURE_ID = ZlinIMG-ID            LANGUAGE     = SY-LANGU.ENDFORM.

本站部分文章、图片属于网络上可搜索到的公开信息,均用于学习和交流用途,不能代表亿方云的观点、立场或意见。我们接受网民的监督,如发现任何违法内容或侵犯了您的权益,请第一时间联系小编邮箱daifeng@360.cn 处理。
上一篇:Excel中进行表格设置冻结某一行或几行窗口的方法(excel表格如何设置冻结某一行或几行窗口)
下一篇:word模板的背景图片怎么删除
相关文章

 发表评论

暂时没有评论,来抢沙发吧~