메뉴 건너뛰기

SAP 한국 커뮤니티

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

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



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,


 

번호 제목 글쓴이 날짜 조회 수
2755 <b>[완료]</b>두개의 스크린에서 하나의 스크롤바로 둘다 움직일 수 있는지 알고 싶습니다. [2] file 피콜레티 2008.12.02 1194
2754 <b>[완료]</b>RFC를 이용한 BDC생성 시 에러메세지 [3] 용스 2008.12.02 2147
2753 [요청]동적 인터널 테이를 만들기 질문입니다. [1] abap 2008.12.02 1535
2752 [요청]CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' [4] chanmaniac 2008.12.02 2386
2751 [요청]SAP 내에 파일이 어디에 저장되는 지 궁금해서 질문올립니다. [3] 아밥걸 2008.12.02 1504
2750 <b>[완료]</b>수정가능 속성이 일부분 있는 GRID REFRESH 방법이 궁금합니다. [2] 또길 2008.12.02 1602
2749 <b>[완료]</b>특정한 법인의 코드가 들어갔을때 그 법인에 필요하지 않는 REASON코드는 보이지 않도록 하는방법좀 없을까요?? 쭈니 2008.12.02 1296
2748 <b>[완료]</b>테이블 컨트롤 특정필드 활성화에 관한 질문입니다. [7] file 튀밥 2008.12.02 2932
2747 [요청]파일명 더블클릭하면 파일 바로 뜰 수있게 하는방법 있을까요?? [2] 아밥걸 2008.12.01 1186
2746 [요청]다급합니다 도와주십시요 클래스 이벤트관련 문의사항입니다. [1] 기본도없는초보 2008.12.01 1232
2745 [요청]Class 사용하여 ALV Grid 띄워줄때 질문입니다. [6] im 해성 2008.12.01 1453
2744 <b>[완료]</b>PARAMETERS로 선언된 변수값이 특정이벤트에선 보이지 않습니다. [4] abap 2008.12.01 1500
2743 <b>[완료]</b>TABLE CONTROL 관련 질문입니다. [2] file 튀밥 2008.12.01 1522
2742 [요청]alv트리에서 노트 클릭시 옵티마이저 이벤트 관련해서 문의드립니다. 기본도없는초보 2008.12.01 1831
2741 [요청]넷위버 7.0 트라이버젼 라이센스 등록에 관해(급질문) [1] file 앙리 2008.12.01 1294
2740 <b>[완료]</b>Easy abap 교책 242 Macro 질문입니다. [4] abap 2008.11.30 1497
» <b>[완료]</b>ALV 조회 후 Export / Local File 클릭 시 에러 [2] file 다크호스 2008.11.29 4011
2738 <b>[완료]</b>정말 간단한 질문이 있습니다. (program package 생성) [2] 레지 2008.11.29 1100
2737 <b>[완료]</b>두개의 레코드를 하나의 레코드로 머지하려면 어떤 방법이 있는지요? [2] 기쁨 2008.11.28 1414
2736 [요청]한스크린에 그리드가 여러개 일때 더블클릭 이벤트 처리 문의 [1] file Norton 2008.11.28 1363