- Create Date : 2010-07-04
- Change Date : 2010-07-04
잡담 -ㅂ-;
금액 필드를 그냥 쓸경우 에러가 발생한다. (type error)
원래 N type으로 쓰곤 했는데,
아래와 같은 문법으로 해결가능하다.
수량과 금액 필드에 값과 함께 단위 정보를 추가하여 해결한다.
write문이 변수를 저장 가능하다. (알고 있죵?)
write gt_01-qty to l_qty left-justified unit 'EA'.
write gt_01-price to l_price left-justified currency 'KRW'.
write gt_01-price to l_price left-justified currency 'KRW'.
'ABAP 물타기 > Report' 카테고리의 다른 글
Search Help (0) | 2010.07.11 |
---|---|
Select CHECKBOX (0) | 2010.07.04 |
Custom Possible Entry (0) | 2010.07.04 |
Tip : Dynamic Internal Table (동적 인터널테이블, Use fieldcatalog) (1) | 2010.06.21 |
Tip : Dynamic Internal Table (동적 인터널테이블, Use 'INSERT REPORT') (0) | 2010.06.19 |