메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT z03_22.

sapjoy 2012.07.31 04:30 조회 수 : 1547

REPORT  z03_22.

TYPESBEGIN OF t_str ,
             carrid 
LIKE sflight-carrid,
             connid 
LIKE sflight-connid,
END   OF t_str.

DATA  gt_itab    TYPE TABLE OF t_str.
DATA  gs_wa    TYPE t_str.
DATA  gv_carrid  LIKE sflight-carrid VALUE 'AA'.

EXEC SQL PERFORMING APPEND_ITAB.
  
SELECT A.CARRID, A.CONNID
    
INTO :GS_WA-CARRID, :GS_WA-CONNID
    
FROM SFLIGHT A
   
WHERE A.MANDT = :SY-MANDT
     
AND A.CARRID = :GV_CARRID
ENDEXEC.

FORM append_itab.
  
WRITE : / gs_wa-carrid, gs_wa-connid.
  
APPEND gs_wa TO gt_itab.
  
CLEAR  gt_itab.
ENDFORM.                    "APPEND_ITAB
번호 제목 글쓴이 날짜 조회 수
451 REPORT z04_04. sapjoy 2012.07.31 1415
450 REPORT z04_03. sapjoy 2012.07.31 1498
449 REPORT z04_02. sapjoy 2012.07.31 1446
448 REPORT z04_01. sapjoy 2012.07.31 1543
447 REPORT z03_26. sapjoy 2012.07.31 1447
446 REPORT z03_25. sapjoy 2012.07.31 1373
445 REPORT z03_24 [1] sapjoy 2012.07.31 1501
444 REPORT z03_23. sapjoy 2012.07.31 1583
» REPORT z03_22. sapjoy 2012.07.31 1547
442 REPORT z03_21. sapjoy 2012.07.31 1527
441 REPORT z03_20. sapjoy 2012.07.31 1621
440 REPORT Z03_19. sapjoy 2012.07.31 1521
439 REPORT Z03_18. sapjoy 2012.07.31 1503
438 REPORT Z03_17. sapjoy 2012.07.31 1501
437 REPORT z03_16. sapjoy 2012.07.31 1548
436 REPORT z03_15. sapjoy 2012.07.31 1624
435 REPORT Z03_14. sapjoy 2012.07.31 1575
434 REPORT z03_13. sapjoy 2012.07.31 1644
433 REPORT Z03_12. sapjoy 2012.07.31 1502
432 REPORT z03_11. sapjoy 2012.07.31 1504