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 | 2502 |
| 130 | REPORT Z03_011 | sapjoy | 2007.05.14 | 2178 |
| 129 | REPORT Z03_009 [1] | sapjoy | 2008.04.15 | 2460 |
| 128 | REPORT Z03_007 [6] | sapjoy | 2007.05.14 | 2477 |
| 127 | REPORT Z03_006 [5] | sapjoy | 2006.12.03 | 2861 |
| 126 | REPORT Z03_005 [1] | sapjoy | 2006.12.03 | 2795 |
| 125 | REPORT Z03_001 | sapjoy | 2007.05.11 | 2334 |
| 124 | MODULE creat_listbox [4] | sapjoy | 2007.12.12 | 2457 |
| 123 | MODULE create_dropdown_box | sapjoy | 2007.12.12 | 2423 |
| 122 | REPORT Z10_004 [1] | sapjoy | 2007.11.21 | 2295 |
| 121 | REPORT Z09_12 [1] | sapjoy | 2007.11.14 | 2310 |
| 120 | method DISPLAY_LIST . [2] | sapjoy | 2007.10.29 | 2382 |
| » | method GETSFLIGHT [2] | sapjoy | 2007.10.23 | 2269 |
| 118 | REPORT Z15_041 | sapjoy | 2007.08.01 | 2476 |
| 117 | REPORT Z14_005 | sapjoy | 2007.01.22 | 2312 |
| 116 | REPORT Z14_002 | sapjoy | 2007.07.30 | 2213 |
| 115 | module f4_CARRID input | sapjoy | 2007.07.22 | 2420 |
| 114 | REPORT z08_001 | sapjoy | 2007.06.15 | 2235 |
| 113 | REPORT Z05_006 | sapjoy | 2007.06.12 | 2222 |
| 112 | Include Z_SHARED_AREA | sapjoy | 2007.05.28 | 2561 |
음