메뉴 건너뛰기

SAP 한국 커뮤니티

제가 연습한것입니다. 테이블 자체로는 보여지는데 필드카탈로그 만들어도 안되네염.


include ztest_129top.


include ztest_129o1.


include ztest_129f1.




start-of-selection.




select * from zfited301 into table gt_alv


where corp >= p_1.




call screen '0200'.


 


*&---------------------------------------------------------------------*


*& Include ZTEST_129TOP


*&---------------------------------------------------------------------*



*tables zfited301.


*----------------------------------------------------------------------*


* TYPE-POOLS


*----------------------------------------------------------------------*


type-pools: slis.



selection-screen begin of block b1.


parameters: p_1 like zfited301-corp.


selection-screen end of block b1.



data: con1_ref type ref to cl_gui_custom_container.



data: grid1 type ref to cl_gui_alv_grid,


gt_alv type table of zfited301,


gs_layo type lvc_s_layo,


gt_fieldcat type lvc_t_fcat with header line,


gt_sort type lvc_t_sort with header line,


gs_fieldcat type lvc_s_fcat.



*&---------------------------------------------------------------------*


*& Include ZTEST_129O1


*&---------------------------------------------------------------------*



module init_con output.



if con1_ref is initial.


create object con1_ref


exporting


container_name = 'CON1'.



create object grid1


exporting


i_parent = con1_ref.




*perform set_grid_layout.


*perform set_set_sorting_fields.


*perform set_alv_fieldcat.



call method grid1->set_table_for_first_display


exporting


i_structure_name = 'ZFITED301'



changing


it_outtab = gt_alv.



endif.


endmodule. "init_con OUTPUT


 


it_fieldcatalog      = gt_fcat[].를 넣어줄려고 해도 changing 부분이라서 되지도 않고 어떻게 해야 하나염?

번호 제목 글쓴이 날짜 조회 수
5407 <img src=3.gif>DMS 문서 버전 관리 및 문서 생성 Function Module 문의. [2] crazybarthez 2010.10.22 2155
5406 <img src=2.gif>subscreen에 데이터가 나오지 않네요.^^ [5] 로미오 2010.10.22 1531
5405 <img src=3.gif>SFLIGHT 테이블에 관한 질문입니다 [3] ASDF 2010.10.22 1392
5404 <img src=2.gif> BDC 수정 (입력중에 오류가 발생한 사항입니다..) [3] Whitetiger 2010.10.21 1079
5403 <img src=2.gif>스탠다드 테이블에 외래키 지정할 수 있나요? [1] 기쁨 2010.10.22 1354
5402 <img src=3.gif>아밥퍼가 될려고 공부 중인대염 도대체 기본개념부터 확실히 하라는데 기본개념이 무엇을 말하는 알려주시면 감사하겠습니다. [7] 꼬마호랑이 2010.10.21 1304
5401 <img src=2.gif>jsp로 구현한 web에서 IIS를 통해 RFC펑션 호출방법 문의 [1] 프리스타일 2010.10.21 1224
5400 <img src=3.gif>alv 테이블 필드 숨기기에 대해 질문드립니다. [4] 유정a 2010.10.21 5980
5399 <img src=3.gif>type-1 루프 반복 관련 문제에 대해서 질문드립니다. [2] 유정a 2010.10.20 1281
5398 <img src=2.gif>BDC돌리고나면 메세지가 안들어와요 [9] 덩콘 2010.10.20 2080
5397 <img src=2.gif>write문 세로 프린트 설정법 질문드립니다 ㅠ [6] file 아밥콩` 2010.10.20 2093
» <img src=3.gif>class alv 에서 테이블 보여질때 필드길이랑 필드명바꾸고 싶은데 그것이 안되네여 좀 알려주세염. [5] 꼬마호랑이 2010.10.20 1308
5395 <img src=3.gif>GUI설정이 문제인지? 아니면 .... 도와주세요 ... [4] file EMDTLS 2010.10.19 1089
5394 <img src=3.gif>BSP 에서 엑셀 업로드 할 수 있는 방법 질문드립니다. [1] beginer 2010.10.19 2418
5393 <img src=3.gif>SAP Server에 upload한 파일 확인 방법 [2] 버미! 2010.10.19 1999
5392 <img src=2.gif>ALV SET_TABLE_FOR_FIRST_DISPLAY 메소드 사용시 정렬하는 방법.. [4] LE 2010.10.19 1829
5391 <img src=3.gif>학교에서 처음 배운건데요 이상해서요 [3] file 아밥악마 2010.10.19 1262
5390 <img src=3.gif>필드심볼관련 ( 순차적인 필드들의 Data를 대문자로 변환하고싶어요 ) [5] 윤군친구 2010.10.19 1278
5389 <img src=2.gif>제품계층구조 추가시 하게 되는 IMG 작업들에 대한 질문 [1] 아바뻐 2010.10.19 6469
5388 <img src=3.gif>backjob 을 통해 download 할 수 있는 방법은?? [4] 아밥초짜 2010.10.18 1129