CLEAR: reservationitems[],reservationitems. CLEAR: reservationitemsx[],reservationitemsx,reservation. reservation = gt_resb-rsnum. reservationitems-res_item = gt_resb-rspos. reservationitems-delete_ind = 'X'. APPEND reservationitems. reservationitemsx-res_item = gt_resb-rspos. reservationitemsx-delete_ind = 'X'. APPEND reservationitemsx. CALL FUNCTION 'BAPI_RESERVATION_CHANGE' EXPORTING reservation = reservation * TESTRUN = atpcheck = atpcheck TABLES reservationitems_changed = reservationitems reservationitems_changedx = reservationitemsx * RESERVATIONITEMS_NEW = return = it_return extensionin = extensionin. LOOP AT it_return WHERE type = 'E' OR type = 'A' . EXIT. ENDLOOP.
^_^很多人都把资料锁进了note里,以后还怎么百度呢^_^