메뉴 건너뛰기

SAP 한국 커뮤니티

report zunicode_034.

sapjoy 2008.11.21 16:26 조회 수 : 2734


report  zunicode_034.


data : seltab  type table of rsparams with header line.


data : begin of struc,
        text(3) type c,
        int type i,
       end of struc.


 


data: buffer type xstring,
      buffer2 type xstring,
      p_buf1(100) type c,
      p_buf2(100) type c,


      conv type ref to cl_abap_conv_out_ce,
      view type ref to cl_abap_view_offlen.



  view = cl_abap_view_offlen=>create_legacy_view( struc ).
  conv = cl_abap_conv_out_ce=>create(
                              encoding = '8500'
                              endian = 'B' ).


 struc-text = '가나다'.
 struc-int  = strlen( struc-text ).



  conv->convert_struc( exporting data = struc
                                 view = view
                       importing buffer = buffer ).



data p_buffer(100) type c.
p_buf1 = buffer.
*P_BUF2 = BUFFER2.



clear seltab.
seltab-selname = 'P_BUF1'.
seltab-kind    =  'P'.
seltab-sign    = 'I'.
seltab-option  = 'EQ'.
seltab-low     = p_buf1.
append seltab.



*CLEAR seltab.
*seltab-selname = 'P_BUF2'.
*seltab-kind    =  'P'.
*seltab-sign    = 'I'.
*seltab-option  = 'EQ'.
*seltab-low     = P_BUF2.
*APPEND seltab.
**
*
*
submit zunicode_035
       with selection-table seltab 
       via selection-screen
 and return.

번호 제목 글쓴이 날짜 조회 수
590 REPORT Z15_005 sapjoy 2007.01.31 2503
589 REPORT Z15_026 sapjoy 2007.01.31 2758
588 REPORT Z15_027 . sapjoy 2007.02.01 2715
587 REPORT Z15_028 sapjoy 2007.02.01 2509
586 REPORT z15_031 sapjoy 2007.02.05 2437
585 REPORT z15_032 sapjoy 2007.02.05 2578
584 REPORT Z15_033 sapjoy 2007.02.05 2987
583 REPORT Z15_034 sapjoy 2007.02.05 2079
582 REPORT Z15_035 sapjoy 2007.02.05 2162
581 REPORT Z15_036 sapjoy 2007.02.05 2214
580 REPORT Z15_037. sapjoy 2007.02.05 2472
579 REPORT Z15_038 sapjoy 2007.02.05 2175
578 REPORT Z15_039 sapjoy 2007.02.05 2315
577 REPORT Z17_001. sapjoy 2007.02.06 2147
576 REPORT Z17_002 sapjoy 2007.02.07 2138
575 REPORT Z17_003 sapjoy 2007.02.08 2347
574 REPORT Z17_004. sapjoy 2007.02.11 2508
573 REPORT Z17_005 sapjoy 2007.02.11 2174
572 REPORT Z17_006 sapjoy 2007.02.11 2208
571 REPORT Z017_007 [3] sapjoy 2007.02.11 2353