module f4_CARRID input.
DATA: l_form TYPE sy-xform
VALUE 'F4_PRUEFLOS_CALLBACK_FORM',
l_fname LIKE dynpread-fieldname.
DATA: lt_return TYPE STANDARD TABLE OF ddshretval WITH HEADER LINE,
scr_field LIKE dynpread OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'SFLIGHT'
fieldname = 'CARRID'
* searchhelp = 'ZH_SFLIGHT'
* shlpparam = 'CARRID'
dynpprog = sy-repid
dynpnr = sy-dynnr
* dynprofield = 'S_100-CARRID'
callback_program = sy-repid
* callback_form = l_form
TABLES
return_tab = lt_return[]
EXCEPTIONS
OTHERS = 99.
IF NOT sy-subrc IS INITIAL.
ENDIF.
REFRESH: scr_field.
LOOP AT lt_return.
CONCATENATE 'S_100-' lt_return-fieldname INTO l_fname.
scr_field-fieldname = l_fname.
scr_field-fieldvalue = lt_return-fieldval.
APPEND scr_field.
ENDLOOP.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-cprog
dynumb = sy-dynnr
TABLES
dynpfields = scr_field.
.
IF sy-subrc <> 0.
ENDIF.
endmodule. " f4_CARRID INPUT
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
131 | REPORT Z03_012 [6] | sapjoy | 2007.05.14 | 2452 |
130 | REPORT Z03_011 | sapjoy | 2007.05.14 | 2152 |
129 | REPORT Z03_009 [1] | sapjoy | 2008.04.15 | 2418 |
128 | REPORT Z03_007 [6] | sapjoy | 2007.05.14 | 2426 |
127 | REPORT Z03_006 [5] | sapjoy | 2006.12.03 | 2812 |
126 | REPORT Z03_005 [1] | sapjoy | 2006.12.03 | 2740 |
125 | REPORT Z03_001 | sapjoy | 2007.05.11 | 2308 |
124 | MODULE creat_listbox [4] | sapjoy | 2007.12.12 | 2411 |
123 | MODULE create_dropdown_box | sapjoy | 2007.12.12 | 2397 |
122 | REPORT Z10_004 [1] | sapjoy | 2007.11.21 | 2251 |
121 | REPORT Z09_12 [1] | sapjoy | 2007.11.14 | 2263 |
120 | method DISPLAY_LIST . [2] | sapjoy | 2007.10.29 | 2341 |
119 | method GETSFLIGHT [2] | sapjoy | 2007.10.23 | 2224 |
118 | REPORT Z15_041 | sapjoy | 2007.08.01 | 2454 |
117 | REPORT Z14_005 | sapjoy | 2007.01.22 | 2269 |
116 | REPORT Z14_002 | sapjoy | 2007.07.30 | 2185 |
» | module f4_CARRID input | sapjoy | 2007.07.22 | 2370 |
114 | REPORT z08_001 | sapjoy | 2007.06.15 | 2210 |
113 | REPORT Z05_006 | sapjoy | 2007.06.12 | 2196 |
112 | Include Z_SHARED_AREA | sapjoy | 2007.05.28 | 2529 |