메뉴 건너뛰기

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

번호 제목 글쓴이 날짜 조회 수
5399 <img src=3.gif>type-1 루프 반복 관련 문제에 대해서 질문드립니다. [2] 유정a 2010.10.20 1273
5398 <img src=2.gif>BDC돌리고나면 메세지가 안들어와요 [9] 덩콘 2010.10.20 2067
5397 <img src=2.gif>write문 세로 프린트 설정법 질문드립니다 ㅠ [6] file 아밥콩` 2010.10.20 2074
» <img src=3.gif>class alv 에서 테이블 보여질때 필드길이랑 필드명바꾸고 싶은데 그것이 안되네여 좀 알려주세염. [5] 꼬마호랑이 2010.10.20 1302
5395 <img src=3.gif>GUI설정이 문제인지? 아니면 .... 도와주세요 ... [4] file EMDTLS 2010.10.19 1085
5394 <img src=3.gif>BSP 에서 엑셀 업로드 할 수 있는 방법 질문드립니다. [1] beginer 2010.10.19 2415
5393 <img src=3.gif>SAP Server에 upload한 파일 확인 방법 [2] 버미! 2010.10.19 1923
5392 <img src=2.gif>ALV SET_TABLE_FOR_FIRST_DISPLAY 메소드 사용시 정렬하는 방법.. [4] LE 2010.10.19 1811
5391 <img src=3.gif>학교에서 처음 배운건데요 이상해서요 [3] file 아밥악마 2010.10.19 1260
5390 <img src=3.gif>필드심볼관련 ( 순차적인 필드들의 Data를 대문자로 변환하고싶어요 ) [5] 윤군친구 2010.10.19 1277
5389 <img src=2.gif>제품계층구조 추가시 하게 되는 IMG 작업들에 대한 질문 [1] 아바뻐 2010.10.19 6372
5388 <img src=3.gif>backjob 을 통해 download 할 수 있는 방법은?? [4] 아밥초짜 2010.10.18 1126
5387 <img src=2.gif>[ALV] field name을 엑셀처럼 2줄로 가능한가요??? [3] 찬호사랑 2010.10.19 1510
5386 <img src=2.gif>스크린 페인터에서 한글이 입력 안되는 현상? [1] 돌맹이 2010.10.19 1391
5385 <img src=3.gif>[단축키] Save , eXit , Cancel등의 적용 [1] 문바이 2010.10.19 1635
5384 <img src=3.gif>F4IF_INT_TABLE_VALUE_REQUEST 를 사용한 탐색도움말에서 조건에 값 셋팅할 수 있나요? [3] file 기쁨 2010.10.18 2952
5383 <img src=1.gif>DB2 hints 주는 syntax 좀 알려주시면 감사하겠습니다. 앵가연무 2010.10.18 2263
5382 <img src=2.gif>abap table control MARK 선택시 자동 합계. [2] 가로수 2010.10.18 1560
5381 <img src=2.gif>Smartforms 여러건 한번에 인쇄? [4] St.Raphael 2010.10.18 1398
5380 [re] <img src=2.gif>Smartforms 여러건 한번에 인쇄? St.Raphael 2010.10.20 1907