메뉴 건너뛰기

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 부분이라서 되지도 않고 어떻게 해야 하나염?

번호 제목 글쓴이 날짜 조회 수
5405 <img src=3.gif>SFLIGHT 테이블에 관한 질문입니다 [3] ASDF 2010.10.21 1390
5404 <img src=2.gif> BDC 수정 (입력중에 오류가 발생한 사항입니다..) [3] Whitetiger 2010.10.21 1073
5403 <img src=2.gif>스탠다드 테이블에 외래키 지정할 수 있나요? [1] 기쁨 2010.10.21 1325
5402 <img src=3.gif>아밥퍼가 될려고 공부 중인대염 도대체 기본개념부터 확실히 하라는데 기본개념이 무엇을 말하는 알려주시면 감사하겠습니다. [7] 꼬마호랑이 2010.10.21 1298
5401 <img src=2.gif>jsp로 구현한 web에서 IIS를 통해 RFC펑션 호출방법 문의 [1] 프리스타일 2010.10.20 1161
5400 <img src=3.gif>alv 테이블 필드 숨기기에 대해 질문드립니다. [4] 유정a 2010.10.20 5535
5399 <img src=3.gif>type-1 루프 반복 관련 문제에 대해서 질문드립니다. [2] 유정a 2010.10.19 1271
5398 <img src=2.gif>BDC돌리고나면 메세지가 안들어와요 [9] 덩콘 2010.10.20 2055
5397 <img src=2.gif>write문 세로 프린트 설정법 질문드립니다 ㅠ [6] file 아밥콩` 2010.10.19 2053
» <img src=3.gif>class alv 에서 테이블 보여질때 필드길이랑 필드명바꾸고 싶은데 그것이 안되네여 좀 알려주세염. [5] 꼬마호랑이 2010.10.19 1299
5395 <img src=3.gif>GUI설정이 문제인지? 아니면 .... 도와주세요 ... [4] file EMDTLS 2010.10.19 1080
5394 <img src=3.gif>BSP 에서 엑셀 업로드 할 수 있는 방법 질문드립니다. [1] beginer 2010.10.19 2407
5393 <img src=3.gif>SAP Server에 upload한 파일 확인 방법 [2] 버미! 2010.10.19 1744
5392 <img src=2.gif>ALV SET_TABLE_FOR_FIRST_DISPLAY 메소드 사용시 정렬하는 방법.. [4] LE 2010.10.19 1697
5391 <img src=3.gif>학교에서 처음 배운건데요 이상해서요 [3] file 아밥악마 2010.10.18 1255
5390 <img src=3.gif>필드심볼관련 ( 순차적인 필드들의 Data를 대문자로 변환하고싶어요 ) [5] 윤군친구 2010.10.19 1274
5389 <img src=2.gif>제품계층구조 추가시 하게 되는 IMG 작업들에 대한 질문 [1] 아바뻐 2010.10.18 6283
5388 <img src=3.gif>backjob 을 통해 download 할 수 있는 방법은?? [4] 아밥초짜 2010.10.18 1121
5387 <img src=2.gif>[ALV] field name을 엑셀처럼 2줄로 가능한가요??? [3] 찬호사랑 2010.10.18 1505
5386 <img src=2.gif>스크린 페인터에서 한글이 입력 안되는 현상? [1] 돌맹이 2010.10.18 1381