메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT z03_24

sapjoy 2012.07.31 06:23 조회 수 : 1501

REPORT  z03_24.


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

DATA  gs_wa    TYPE t_str.

DATA : gv_carrid LIKE sflight-carrid VALUE 'AA'.

EXEC SQL PERFORMING WRITE_DATA.
  
SELECT A.CARRID, SUBSTR(B.CARRNAME, 18)
    
INTO :GS_WA-CARRID, :GS_WA-CARRNAME
    
FROM SFLIGHT A, SCARR B
   
WHERE A.MANDT = B.MANDT
         
AND A.CARRID = B.CARRID
         
AND A.MANDT = :SY-MANDT
         
AND A.CARRID = :GV_CARRID
ENDEXEC.


FORM write_data.
  
WRITE : / gs_wa-carrid, gs_wa-carrname.
ENDFORM.                    "WRITE_DATA

번호 제목 글쓴이 날짜 조회 수
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
» REPORT z03_24 [1] sapjoy 2012.07.31 1501
444 REPORT z03_23. sapjoy 2012.07.31 1583
443 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