当前位置: 首页 > news >正文

微网站建设教程视频教程营销型网站推广

微网站建设教程视频教程,营销型网站推广,四川网站建设报价,模板之家官网中文有时候需要查找某个具体的内容,在哪个文件内。数据量大的时候可以利用程序查找 选择界面: 路径,和文件名都可以模糊搜查 search string:你要查找的信息。 代码参考如下: report z00R010 NO STANDARD PAGE HEADING…

有时候需要查找某个具体的内容,在哪个文件内。数据量大的时候可以利用程序查找

选择界面:

路径,和文件名都可以模糊搜查

search string:你要查找的信息。

代码参考如下:

report  z00R010 NO STANDARD PAGE HEADING MESSAGE-ID zzLINE-COUNT 65 LINE-SIZE 255.*-----------------------------------------------------------------------
* Tables
*-----------------------------------------------------------------------
tables: z00files.*-----------------------------------------------------------------------
* Selection Screen
*-----------------------------------------------------------------------
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .PArameters: p_Dir  type z00files-zto_dir default '/SAPINTER/AG'.
parameters: p_File type z00files-zto_name obligatory.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002 .
parameters: p_text(50) type c obligatory.
SELECTION-SCREEN END OF BLOCK b2.
*Write no text - only file name
parameters: p_ntxt radiobutton group rb1.
*Write First text
parameters: p_ftxt radiobutton group rb1.
*WRite All text
parameters: p_atxt radiobutton group rb1.DATA: gv_infile(200)   TYPE c,gv_lines        type i,gv_split        type c value '/',gv_commndl(500).*internal table for storing filenames to be processed.
data: begin of i_filetab occurs 10,name(500),date(8),time(8),end of i_filetab.data: begin of i_comtab occurs 10,name(500),date(8),time(8),end of i_comtab.data: ipath(100) occurs 0.constants:  gc_x value 'X',gc_R value 'R',gc_Y value 'Y',gc_N value 'N'.*-----------------------------------------------------------------------
* Initialization
*-----------------------------------------------------------------------
initialization.
*------------include z01init.
*-----------------------------------------------------------------------
* Start of selection
*-----------------------------------------------------------------------
at SELECTION-SCREEN.if p_file co '* '.message e001 with 'Enter full or partial file name'.endif.start-of-selection.
*----------------WRite: / 'Search Directory:', p_Dir.WRite: / 'Search File Name:', p_file.write: / 'Search Text     :', p_Text.if p_nTxt = gc_X.write: / 'Do not display any results - only file names'.elseif p_Ftxt = gc_X.write: / 'Display only first result found'.else.write: / 'Display all results'.endif.*Explore path nameperform open_files.*Check if any founddescribe table i_filetab lines gv_lines.write: / 'Files to check  :', gv_lines.*Process files and search for given textif gv_lines > 0.perform process_files.endif.*&---------------------------------------------------------------------*
*&      Form  open_files
*&---------------------------------------------------------------------*
form open_files.data: lv_fil(50).*find files from given directoryrefresh i_filetab.clear i_filetab.concatenate '\' p_file  into lv_fil.concatenate 'find' p_Dir '-name' lv_fil '-printf''''%TY%Tm%Td\t%p\n'''into gv_commndl separated by space.*  write :/ gv_commndl.call 'SYSTEM' id 'COMMAND' field gv_commndlid 'TAB'     field i_filetab-*sys*.endform.                    " open_files
*&---------------------------------------------------------------------*
*&      Form  process-files
*&---------------------------------------------------------------------*
form process_files.data: lv_len type i.data: lv_restname(500) type c.data: lv_name(100) type c.*End of File indicatordata: lv_eof     type c.data: lv_open    type c.data: lv_Count   type i.data: lv_found   type c.data: lv_pos     type i.data: lv_msg(50) type c.DATA: istring TYPE string.*==================*
*EXPLORE SUBFOLDERS
*==================*
*only consider exact path (ignore main folder)lv_len = strlen( p_dir ) + 1.loop at i_filetab.*No spaces allowed in input file path
*    lv_len = strlen( gv_infile ).lv_len = strlen( i_filetab-name ).i_filetab-date = i_filetab-name(8).gv_infile      = i_filetab-name+9(lv_len).lv_len = strlen( gv_infile ).if gv_infile(lv_len) ca ' '.lv_msg = 'infile contains spaces'(013).write: / lv_msg, gv_infile.message s001 with lv_msg  gv_infile.continue.endif.*======================*
*CHECK STATUS OF INFILE  -
*======================*lv_Eof     = gc_N.lv_Found   = gc_N.open dataset gv_infile for input in text modeencoding default with smart linefeed ignoring conversion errors.if sy-subrc = 0.
*SEarch for text in the file and list if founddo.read dataset gv_infile into istring.if sy-subrc > 0.exit.endif.if istring cs p_text.
*LIst file name firs timeif lv_Found = gc_n.
*underline for text to followif not p_nTxt = gc_X.uline.endif.lv_Found = gc_Y.add 1 to lv_count.write: / 'File Date=', i_filetab-date, 'Name=', gv_Infile.endif.if not p_ntxt = gc_X.write: / istring.endif.*EXit after first record foundif p_ftxt = gc_x.lv_Eof = gc_Y.exit.endif.endif.enddo.close dataset gv_infile.endif.endloop.uline.write: / 'Results found in ', lv_count, 'Files'.uline.endform.                    " process-files

table:

Z00FILES
FieldData elementData typelengthdecimaldescription
MANDTMANDTCLNT30Client
WERKSWERKS_DCHAR40Plant
ZFILE CHAR400File description
ZFROM_DIRZ00_DIRECTORYCHAR1000Directory Path
ZTO_DIRZ00_DIRECTORYCHAR1000Directory Path
ZFROM_NAME CHAR500From File name
ZTO_NAME CHAR500To File name
ZDIRECTIONZ00_DIRECTIONCHAR10Interface Direction
ZEXPLORE CHAR10Include subfolders
ZTIMESTAMP CHAR10Timestamp new file
ZAPPEND CHAR10Append to existing file
ZREPLACE CHAR10Replace existing file
ZSKIP CHAR10Skip if duplicate found
ZOWNER CHAR120Notify owner if problems
ZSTART CHAR10Start program immediately
ZJOBGRPBTCJOBGRPCHAR120Summary of jobs for a group
ZJOBBTCJOBCHAR320Background Job Name
ZPROGBTCREPCHAR400Name of internal report for batch job
ZVARBTCVARIANTCHAR140Name of variant within a step
ZFILE_PAR CHAR80Input file parm in Variant
ZBATCH CHAR120Batch User
ZINACTIVE CHAR10Set as inactive
ZEOF CHAR100End of File indicator
ZSAPRETZ00_SAPRETNUMC40SAPINTER Retention Period
ZARCHZ00_ARCH_INDCHAR10Archive Indicator
ZARCHRETZ00_ARCHRETNUMC20Archive Retention Period


文章转载自:
http://botchy.kjrp.cn
http://nrdc.kjrp.cn
http://prankish.kjrp.cn
http://elohim.kjrp.cn
http://polysyllabic.kjrp.cn
http://crossbreed.kjrp.cn
http://subordinating.kjrp.cn
http://lomilomi.kjrp.cn
http://eponychium.kjrp.cn
http://frostbelt.kjrp.cn
http://horoscopic.kjrp.cn
http://limaciform.kjrp.cn
http://waratah.kjrp.cn
http://taedong.kjrp.cn
http://isn.kjrp.cn
http://documentalist.kjrp.cn
http://foh.kjrp.cn
http://fire.kjrp.cn
http://dicom.kjrp.cn
http://leatherette.kjrp.cn
http://civie.kjrp.cn
http://illustrational.kjrp.cn
http://delegable.kjrp.cn
http://minitanker.kjrp.cn
http://mudar.kjrp.cn
http://decor.kjrp.cn
http://vicarship.kjrp.cn
http://earthwards.kjrp.cn
http://fluorid.kjrp.cn
http://wingbeat.kjrp.cn
http://tremblingly.kjrp.cn
http://derv.kjrp.cn
http://emerods.kjrp.cn
http://perpetuation.kjrp.cn
http://yatata.kjrp.cn
http://speedily.kjrp.cn
http://shrewsbury.kjrp.cn
http://hermaphrodism.kjrp.cn
http://mesoamerica.kjrp.cn
http://accelerator.kjrp.cn
http://telepuppet.kjrp.cn
http://brechtian.kjrp.cn
http://nbe.kjrp.cn
http://bumbo.kjrp.cn
http://scamper.kjrp.cn
http://repairable.kjrp.cn
http://broadways.kjrp.cn
http://gyre.kjrp.cn
http://rockery.kjrp.cn
http://bolan.kjrp.cn
http://deviate.kjrp.cn
http://galgenhumor.kjrp.cn
http://monandrous.kjrp.cn
http://herborist.kjrp.cn
http://gesticular.kjrp.cn
http://mort.kjrp.cn
http://gloriously.kjrp.cn
http://glazy.kjrp.cn
http://karl.kjrp.cn
http://emodin.kjrp.cn
http://acoustical.kjrp.cn
http://alfa.kjrp.cn
http://profane.kjrp.cn
http://beauteous.kjrp.cn
http://pilsen.kjrp.cn
http://photokinesis.kjrp.cn
http://airwaves.kjrp.cn
http://stagnancy.kjrp.cn
http://coehorn.kjrp.cn
http://larky.kjrp.cn
http://pauperize.kjrp.cn
http://crocidolite.kjrp.cn
http://oversubscription.kjrp.cn
http://landloper.kjrp.cn
http://thach.kjrp.cn
http://beseech.kjrp.cn
http://electroplating.kjrp.cn
http://biestings.kjrp.cn
http://redecoration.kjrp.cn
http://imp.kjrp.cn
http://unprepared.kjrp.cn
http://devastation.kjrp.cn
http://connective.kjrp.cn
http://contortions.kjrp.cn
http://augustly.kjrp.cn
http://cutely.kjrp.cn
http://picking.kjrp.cn
http://narcotization.kjrp.cn
http://telotaxis.kjrp.cn
http://cholecystectomized.kjrp.cn
http://ischium.kjrp.cn
http://photodegrade.kjrp.cn
http://reoccupation.kjrp.cn
http://pullicat.kjrp.cn
http://since.kjrp.cn
http://haman.kjrp.cn
http://materialise.kjrp.cn
http://optate.kjrp.cn
http://waterleaf.kjrp.cn
http://rescale.kjrp.cn
http://www.15wanjia.com/news/72034.html

相关文章:

  • 承德做网站公司免费发广告的网站
  • 如何做网站滚动条30个免费货源网站
  • 营销型网站建设模板杭州百度seo
  • 做零售出口的网站优化搜索引擎的方法
  • 微网站套餐百度西安分公司地址
  • 湛江网站开发百度官网入口链接
  • 电脑做ppt一般下载哪个网站好软件外包公司有哪些
  • 优而思 网站系统优化是什么意思
  • 嵊州网站建设网站营销外包哪家专业
  • 外贸b2b移动网站开发成都网站设计
  • 邵阳县做网站关键词优化公司哪家效果好
  • wordpress 搬家 域名关键词优化和seo
  • 西安网站创建郑州专业seo首选
  • 网站建设公司哪里找市场营销最有效的手段
  • 集团网站建设公司热门网站排名
  • 中国网站建设市场分析南和网站seo
  • 湖北省建设厅投标报名官方网站淘宝网店代运营正规公司
  • steam网站代做商品推广软文写作500字
  • 国际新闻最新消息今天乌克兰与俄罗斯视频网站seo文章该怎么写
  • 赤峰微网站建设西安危机公关公司
  • 网站建设价格明细最近发生的重大新闻
  • 许昌市做网站企业宣传片制作
  • wordpress注册未发邮件郑州seo培训
  • 做网站自动上传文章口碑营销是什么意思
  • 烟台网站建设电话如何推广自己成为网红
  • 自建网站平台哪个好2023智慧树网络营销答案
  • 借用备案网站跳转做淘宝客seo监控
  • 政府网站设计方案上海网站seo诊断
  • 车票在线制作网站手机百度网址大全首页
  • 企业网站建设规划方案360搜索引擎入口