메뉴 건너뛰기

SAP 한국 커뮤니티

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

다크호스 2008.11.29 23:49 조회 수 : 4236



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,


 

번호 제목 글쓴이 날짜 조회 수
2739 [요청]alv트리에서 노트 클릭시 옵티마이저 이벤트 관련해서 문의드립니다. 기본도없는초보 2008.12.01 1836
2738 [요청]넷위버 7.0 트라이버젼 라이센스 등록에 관해(급질문) [1] file 앙리 2008.12.01 1299
2737 <b>[완료]</b>Easy abap 교책 242 Macro 질문입니다. [4] abap 2008.11.30 1500
» <b>[완료]</b>ALV 조회 후 Export / Local File 클릭 시 에러 [2] file 다크호스 2008.11.29 4236
2735 <b>[완료]</b>정말 간단한 질문이 있습니다. (program package 생성) [2] 레지 2008.11.29 1104
2734 <b>[완료]</b>두개의 레코드를 하나의 레코드로 머지하려면 어떤 방법이 있는지요? [2] 기쁨 2008.11.29 1420
2733 [요청]한스크린에 그리드가 여러개 일때 더블클릭 이벤트 처리 문의 [1] file Norton 2008.11.29 1383
2732 <b>[완료]</b>단위에 관한 질문하나만 할께요~ [3] Gerrard 2008.11.29 983
2731 [요청]혹시 이러한 문제를 보았으요? F4 help에 관한 문제 입니다. [6] file im 해성 2008.11.28 1083
2730 [요청]클래스 컨스트럭터매개변수에대해서 궁금합니다 [2] 기본도없는초보 2008.11.28 1398
2729 질문이 있습니다. [4] 해우소 2008.11.28 1136
2728 <b>[완료]</b>TRY.......ENDTRY 문법 문제를 질문 드리겠습니다. [2] Giant 2008.11.28 1980
2727 <b>[완료]</b>ALV LIST에서 특정 ROW의 색을 변경하는 방법??? [2] 곰고양이 2008.11.28 2032
2726 [요청]웹에서 받은 입력값들을 펑션의 테스트데이타디렉토리에 저장하는 법이 있나요? [2] 페리 2008.11.28 1668
2725 <b>[완료]</b>SELECTION-SCREEN 디폴값 설정에 관한 질문입니다. [5] 곰고양이 2008.11.28 1279
2724 [요청]입고처리시 user-exit에 관해 질문드립니다.. [3] 멍게 2008.11.28 2240
2723 [요청]HR 조직구조를 BOM레벨 처럼 만드는 방법 질문 드립니다. 정정당당 2008.11.28 1948
2722 <b>[완료]</b>(맥북급매가능) 수량 필드 1 을 입력했는데 엔터시 0.001로 변경되는 까닭은? [4] storyroom.net™ 2008.11.28 1147
2721 [요청]CALL TRANSACTION 에 관한 질문입니다, [2] 캔디^^ 2008.11.27 1355
2720 <b>[완료]</b>se80에서 development class가 안보이네요.. [2] sdking 2008.11.27 1254