메뉴 건너뛰기

SAP 한국 커뮤니티

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

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



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,


 

번호 제목 글쓴이 날짜 조회 수
6250 [요청]ecc6.0 (unicode) 스마트 폼 pdf 처리 문제 양파 2008.06.23 4026
6249 [요청]Sap 서버에 파일 업로드 다운로드 어떻게 하나요? [1] Zking 2008.12.18 4023
6248 <img src=2.gif>은행 계좌번호가 0으로 시작하는 경우 엑셀 다운로드시 문제점.. [6] 삼색볼펜 2010.03.22 4022
6247 [re] Static Method와 Instance Method의 차이 좀 알려주세요. file sapjoy 2007.08.06 4016
6246 <img src=2.gif>BDC FBV1 임시전표 생성하는데... [1] 파이냥 2010.04.12 4012
6245 GUI_DOWNLOAD 펀션을 사용하여, 엑셀파일 생성시 파일타입을 뭐로 줘야하나요? [2] 노력&성장 2007.07.09 4006
6244 [re] 데이터 발췌 방법 [3] file sapjoy 2007.01.29 4006
6243 <b>[완료]</b>[re] 개인pc에 SAP NetWeaver 2004s 설치방법에 질문입니다. [7] 로미오 2006.12.25 3992
6242 <b>[완료]</b>select-option에 전일 날짜를 default 로 넣고싶습니다.. [8] 불근모자 2009.03.31 3985
» <b>[완료]</b>ALV 조회 후 Export / Local File 클릭 시 에러 [2] file 다크호스 2008.11.29 3982
6240 <img src=1.gif>WDA Edit Or Modify Event 는 없을까요? ㅠㅠ 표군 2011.03.31 3956
6239 [re] [요청]ALV GRID에서 EDIT기능 이용시 질문요~! 올리브 2009.12.02 3955
6238 [요청]국가별 통화(화폐)에서 출력시 100을 곱해주는 통화는 KRW 말고 또 무엇이 있나요? [3] Norton 2008.12.04 3950
6237 <img src=2.gif>[DBlink 한글깨짐] SAP에서 legacy DB의 data를 dblink로 select시 한글이 깨지네요.해결방법? [1] Happy~ 2011.02.16 3949
6236 <b>[완료]</b>Func ALV에서 라인별 control 질문 [5] w 2007.10.11 3949
6235 선형회귀분석(선형추세법) 함수에 대하여... ABAP 초보 2007.03.13 3928
6234 [요청]수불부 관련 질문입니다. MLIT테이블에서 사용자정의한 이동유형그룹값이 들어오지 않습니다. 리브레 2009.03.05 3925
6233 <img src=3.gif border=0>RSQL 덤프(Error in module RSQL of the database interface) [3] file 스땐 2009.05.07 3924
6232 [re] 잠금 엔트리에 대해서... [1] file sapjoy 2007.03.23 3917
6231 [요청]alv register_edit_event 메소드 사용!! [6] genius 2008.04.15 3916