메뉴 건너뛰기

SAP 한국 커뮤니티

<b>[완료]</b>ALV 조회 후 Export / Local File 클릭 시 에러

다크호스 2008.11.29 14:49 조회 수 : 3960



ALV 프로그램으로 데이터 조회 후 조회 내역을 엑셀로 다운 받기 위해 버튼 Export / Local File 클릭을 하면 아래와 같은 에러가 발생 합니다.


어디가 잘못된건지 답변 부탁드립니다.


 


_______________     에러 내용      _______________


 


Short text
    The current statement requires a character-type data object.


 


What happened?
    Error in the ABAP Application Program


    The current ABAP program "SAPLKKBL" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.


 


Error analysis
    At the statment
         "STRLEN( obj )..."
    , only character-type data objects are supported at the argument
    position "obj".


    In this particular case, the operand "obj" has the non-charcter-type type
    "I".


 


Trigger Location of Runtime Error
    Program                                 SAPLKKBL
    Include                                 LKKBLF99
    Row                                     3,908
    Module type                             (FORM)
    Module Name                             GEN_FIELD_OUT2


 


Source Code Extract


Line  SourceCde


 3878            using edit mask gs_fc-edit_mask.
 3879     if gs_fc-inttype ca 'NnIiPpBbSs'.  "Y7AK010240
 3880       condense gs_out-hlpchar.
 3881     endif.
 3882     gs_out-hlplen = strlen( gs_out-hlpchar ).
 3883 * Bei NUMC führende '0' und ' ' nicht berücksichtigen
 3884   elseif gs_fc-tech_form = 6.


 3887       condense gs_out-hlpchar.
 3888     endif.
 3889     gs_out-hlplen = strlen( gs_out-hlpchar ).
 3890   elseif gs_fc-tech_form = 11.                              "INS TECH11
 3891 *   Min. Ausgabelänge für ein Datum ist immer 8
 3892     if gs_fc-datatype = 'DATS'.                             "INS TECH11
 3893       gs_out-hlplen = 8.                                    "INS TECH11
 3894 *    Min. Ausgabelänge für eine Uhrzeit ist immer 6
 3895     elseif gs_fc-datatype = 'TIMS'.                         "INS TECH11
 3896       gs_out-hlplen = 6.                                    "INS TECH11
 3897     endif.                                                  "INS TECH11
 3898   elseif gs_fc-tech_form = 1 or gs_fc-tech_form = 90.
 3899 *   Überführung int. in ext. Format via Konvertierungsexit
 3900     if not gs_fc-convexit is initial or                     "INS TECH11
 3901        not gs_fc-inttype ca 'CN'.
 3902 *   elseif not gs_fc-convexit is initial.            "DEL TECH11
 3903       write <field> to gs_out-hlpchar left-justified.
 3904       gs_out-hlplen = strlen( gs_out-hlpchar ).
 3905 *   ansonsten entspricht sich min. Ausgabelänge und Ausprägungslänge
 3906     else.
 3907       if gs_fc-tech_form ne 99.
>>>>>         gs_out-hlplen = strlen( <field> ).
 3909       endif.
 3910     endif.
 3911   endif.
 3912 *   Falls Ausprägung abgeschnitten wird, dann wird noch ein weiterer
 3913 *   Charakter für die Visualisierung mittels Symbol reserviert
 3914   if gs_out-hlplen > gs_fc-outputlen.
 3915     if gs_fc-outputlen = 0.
 3916       gs_out-hlplen = 0.
 3917     else.
 3918       gs_fc-outputlen = gs_fc-outputlen - 1.
 3919       ">>Unicode/Doublebyte 1
 3920       get parameter id 'SLI' field g_sli.
 3921       if g_sli eq 'UNICODE' or g_sli eq 'MULTIBYTE' or
 3922       not cl_gui_alv_grid=>m_multibyte is initial.     "Y7AK013723
 3923         data:
 3924           im_pos_vis   type i,
 3925           im_pos_tech  type i,
 3926           ex_pos_vis   type i,
 3927           ex_pos_tech  type i,


 

번호 제목 글쓴이 날짜 조회 수
288 <b>[완료]</b>모듈플에서 값입력하는 순간 체크가 가능한가요? [4] kan145 2008.05.15 3867
287 <img src=2.gif>테이블 Foreign Key 와 프로그램 관련 입니다. [1] aDam 2011.03.30 3874
286 [요청]스마트 폼에서 바코드를 출력할 때, 페이지 포맷에 관해..... [3] Seph 2008.09.10 3876
285 <b>[완료]</b>Carry out repairs in non-original system only if they are urgent???? [9] SD2 2008.11.20 3878
284 <b>[완료]</b>하위 레벨을 찾는 BOM 관련 펑션 사용 문의 [3] 행복한외계인 2007.12.11 3889
283 <b>[완료]</b>":실행시오류 RAISE_EXCEPTION가(이) 발생했습니다" 원인을 모르겠음 [5] 도련님 2007.12.24 3893
282 [요청]SAP 프린터시 에러가 뜹니다. 무엇이 문제인가요? [2] file 양키 2009.02.02 3896
281 <img src=2.gif>급해요 !!! 화면에 옵션설정 하는 방법좀 알려주세요 . 옵션창이 어딨는지는 압니다. 그림첨부해요 [12] file 오렌지겅주님 2010.08.05 3900
280 [요청]alv register_edit_event 메소드 사용!! [6] genius 2008.04.15 3915
279 [re] 잠금 엔트리에 대해서... [1] file sapjoy 2007.03.23 3917
278 [요청]수불부 관련 질문입니다. MLIT테이블에서 사용자정의한 이동유형그룹값이 들어오지 않습니다. 리브레 2009.03.05 3923
277 <img src=3.gif border=0>RSQL 덤프(Error in module RSQL of the database interface) [3] file 스땐 2009.05.07 3924
276 선형회귀분석(선형추세법) 함수에 대하여... ABAP 초보 2007.03.13 3928
275 [요청]국가별 통화(화폐)에서 출력시 100을 곱해주는 통화는 KRW 말고 또 무엇이 있나요? [3] Norton 2008.12.04 3936
274 <b>[완료]</b>Func ALV에서 라인별 control 질문 [5] w 2007.10.11 3947
273 <img src=2.gif>[DBlink 한글깨짐] SAP에서 legacy DB의 data를 dblink로 select시 한글이 깨지네요.해결방법? [1] Happy~ 2011.02.16 3947
272 [re] [요청]ALV GRID에서 EDIT기능 이용시 질문요~! 올리브 2009.12.02 3952
271 <img src=1.gif>WDA Edit Or Modify Event 는 없을까요? ㅠㅠ 표군 2011.03.31 3956
» <b>[완료]</b>ALV 조회 후 Export / Local File 클릭 시 에러 [2] file 다크호스 2008.11.29 3960
269 <b>[완료]</b>select-option에 전일 날짜를 default 로 넣고싶습니다.. [8] 불근모자 2009.03.31 3970