method GETSFLIGHT .
data: g_node type ref to if_wd_context_node,
g_CARRID type string,
g_CONNID type string,
gt_sflight type standard table of sflight.
g_node = wd_context->get_child_node( name = 'ND_SEARCH' ).
g_node->get_attribute( exporting name = 'CARRID' importing value = g_CARRID ).
g_node->get_attribute( exporting name = 'CONNID' importing value = g_CONNID ).
select * from sflight into table gt_sflight
where CARRID = G_CARRID AND CONNID = G_CONNID.
node->bind_elements( gt_sflight ).
endmethod.
댓글 2
-
말리꽃
2007.11.07 20:06
-
하오
2008.09.30 23:56
메소드 타입 supply function 으로 정하고 나서
중간에 checkdata 메소드 호출하는 부분 넣고
method형의 checkdata 메소드 생성시 파라미터
입력하니깐 데이터 나오네요^^!
data: g_node type ref to if_wd_context_node,
g_carrid type s_carr_id,
g_connid type string,
gt_sflight type standard table of sflight,
g_result type c.
g_node = wd_context->get_child_node( name = 'ND_SEARCH' ).
g_node->get_attribute( exporting name = 'CARRID' importing value = g_carrid ).
g_node->get_attribute( exporting name = 'CONNID' importing value = g_connid ).
call method wd_this->check_data
exporting
i_carrid = g_carrid
importing
e_result = g_result.
select * from sflight
into table gt_sflight
where carrid = g_carrid
and connid = g_connid.
node->bind_elements( gt_sflight ).
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
131 | REPORT Z03_012 [6] | sapjoy | 2007.05.14 | 2458 |
130 | REPORT Z03_011 | sapjoy | 2007.05.14 | 2153 |
129 | REPORT Z03_009 [1] | sapjoy | 2008.04.15 | 2422 |
128 | REPORT Z03_007 [6] | sapjoy | 2007.05.14 | 2428 |
127 | REPORT Z03_006 [5] | sapjoy | 2006.12.03 | 2813 |
126 | REPORT Z03_005 [1] | sapjoy | 2006.12.03 | 2748 |
125 | REPORT Z03_001 | sapjoy | 2007.05.11 | 2309 |
124 | MODULE creat_listbox [4] | sapjoy | 2007.12.12 | 2413 |
123 | MODULE create_dropdown_box | sapjoy | 2007.12.12 | 2399 |
122 | REPORT Z10_004 [1] | sapjoy | 2007.11.21 | 2252 |
121 | REPORT Z09_12 [1] | sapjoy | 2007.11.14 | 2265 |
120 | method DISPLAY_LIST . [2] | sapjoy | 2007.10.29 | 2344 |
» | method GETSFLIGHT [2] | sapjoy | 2007.10.23 | 2227 |
118 | REPORT Z15_041 | sapjoy | 2007.08.01 | 2457 |
117 | REPORT Z14_005 | sapjoy | 2007.01.22 | 2285 |
116 | REPORT Z14_002 | sapjoy | 2007.07.30 | 2186 |
115 | module f4_CARRID input | sapjoy | 2007.07.22 | 2377 |
114 | REPORT z08_001 | sapjoy | 2007.06.15 | 2211 |
113 | REPORT Z05_006 | sapjoy | 2007.06.12 | 2198 |
112 | Include Z_SHARED_AREA | sapjoy | 2007.05.28 | 2532 |
음