메뉴 건너뛰기

SAP 한국 커뮤니티


  DATA variant TYPE vim_vari.
  DATA  lt_rtab TYPE TABLE OF vimsellist.
  DATA  ls_rtab TYPE vimsellist.
  DATA  lt_fu_to_excl TYPE TABLE OF vimexclfun.
*
  DATA lr_ydegr TYPE LINE OF r_ydegr.
*
  ls_rtab-viewfield  =  'BUKRS'.
  ls_rtab-operator   =  'EQ'.
  ls_rtab-value      =  g_bukrs.
  APPEND ls_rtab TO lt_rtab.
*
  ls_rtab-viewfield  =  'GJAHR'.
  ls_rtab-operator   =  'EQ'.
  ls_rtab-value      =  g_gjahr.
  APPEND ls_rtab TO lt_rtab.


*" from,  from ~ to, ~
  LOOP AT gr_ydegr INTO lr_ydegr.
    CASE lr_ydegr-option.
      WHEN 'BT'.
        ls_rtab-viewfield  =  'YDEGR'.
        ls_rtab-operator   =  'GE'.
        ls_rtab-value      =  LR_YDEGR-LOW.
        ls_rtab-AND_OR     = 'AND'.
        APPEND ls_rtab TO lt_rtab.
        ls_rtab-viewfield  =  'YDEGR'.
        ls_rtab-operator   =  'LE'.
        ls_rtab-value      =  LR_YDEGR-HIGH.
        APPEND ls_rtab TO lt_rtab.


      WHEN 'EQ'.
        ls_rtab-viewfield  =  'YDEGR'.
        ls_rtab-operator   =  'EQ'.
        ls_rtab-value      =  LR_YDEGR-LOW.
        APPEND ls_rtab TO lt_rtab.
      WHEN OTHERS.
    ENDCASE.
  ENDLOOP.


  ins_br_blank( ).
  ins_entry_by_change_degree( ).


  CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
    EXPORTING
      action                = 'S'
      show_selection_popup  = ''
      view_name             = 'ZVCO0430'
      variant_for_selection = variant
      check_ddic_mainflag   = 'X'
    TABLES
      dba_sellist           = lt_rtab[]
      excl_cua_funct        = lt_fu_to_excl[]
    EXCEPTIONS
      foreign_lock          = 2
      no_tvdir_entry        = 8.

번호 제목 글쓴이 날짜 조회 수
288 BTE_Scenario on Business Transaction Events [7] file 노름마치 2009.07.10 3278
287 BTE_Adding custom fields to the FI report FBL5N using BTEs [1] file 노름마치 2009.07.10 2957
286 Adding Custom Fields using EEWB Transaction [1] file 노름마치 2009.07.10 3227
285 Adding custom fields to the Purchase Order transaction ME22N [1] file 노름마치 2009.07.10 2964
284 Adding custom fields to CS01, CS02 and CS03 (Bill Of Materials) [1] file 노름마치 2009.07.10 4119
283 ABAP based Application Log Using SLG1 [1] file 노름마치 2009.07.10 2955
282 SAP BEST PRACTICES BASELINE PACKAGE Link(한국어) [10] ac3mania 2009.06.23 3795
281 TABLE INDEX 추가 및 후속작업 [16] file 루베루베루베룹 2009.04.23 6729
280 <b>[완료]</b>NW04 설치시 에러 몇가지 해결법 [3] file Abap consultant 2009.03.14 3722
279 OPEN SQL 예제문 [10] file GETGETSAP 2009.03.03 4535
278 STABLE SORT [3] sapjoy 2009.03.03 4938
277 SAP tips Journal - 6,7월 호 (2008) [9] file onefineday 2009.02.11 3308
276 SAP tips Journal - 4,5월 호 (2008) [3] file onefineday 2009.02.11 2772
275 SAP tips Journal - 2,3월 호 (2008) [4] file onefineday 2009.02.11 2799
274 SAP tips Journal - 12,01월 호 (2008) [4] file onefineday 2009.02.11 2800
273 SAP tips Journal - 8,9월 호 (2007) [3] file onefineday 2009.02.11 2945
272 SAP tips Journal - 10,11월 호 (2007) [4] file onefineday 2009.02.11 2865
271 SAP tips Journal - 6,7월 호 (2007) [8] file onefineday 2009.02.11 2917
270 인덱스인터널테이블만들기 [2] 천지개벽 2009.01.30 5270
» 온라인 프로그램에서 유지보수뷰 연결할때 유용하게 쓸수 있습니다. [4] 천지개벽 2009.01.30 5841