스마트 폼의 여러가지 출력 옵션 중에
길이를 제한 하는
&field(<length>)& 와
&field(.<nat.number>)& 가 있는데..
&field(<length>)& 경우는 잘 됩니다만
-> &field(5C)& 이런식으로 5자리로.
&field(.<nat.number>)& 는 안 먹는 군요.
-> &field(5.2)& 도 에러..
-> &field(.2)& 도 에러..
이런 식으로 소수점 자리 + 전체 길이를 제한 하는 것이 잘 안되는데요
제가 뭔가 잘못 사용하고 있는건지
혹시 TYPE 에 의해 영향을 받아, 되는 TYPE 안되는 TYPE 이 있는건가요?
위와 같은 출력 옵션으로 성공해 보신분의 답변을 기다립니다.
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
9 | <b>[완료]</b>Sorting시 Internal Table 이름이 가변적일때 Field symbol 사용 방법좀 가르쳐 주세요. [4] | SkyDream | 2007.12.05 | 27519 |
8 | 자재번호 자동 List up..? Search help..? 기능 문의 드립니다 [2] | 아좀더 | 2019.06.26 | 30812 |
7 | [요청]클래스를 이용한 ALV에서 선택 SEL MODE문의드립니다. [2] | 노력&성장 | 2008.04.17 | 35447 |
» | <img src=2.gif border=0>Smartform 출력옵션 &field<옵션>& 중 자릿수 제한 기능에 관하여. [2] | JiruMi | 2009.04.20 | 44677 |
5 | [요청]소수점 데이터를 선언시 질문입니다. [2] | kkk | 2008.04.17 | 48257 |
4 | Multi Selection 버튼 색상 문의..<-제목이 흠.. | 김지성 | 2007.08.01 | 50547 |
3 | [re] inner join 과 sub query 의 퍼포먼스... [2] | Risky | 2009.09.11 | 59418 |
2 | [요청]스크린페인터가 되질 않습니다.. alphanumeric editor가 나와요..ㅜㅜ [15] | 피크민 | 2007.12.06 | 71077 |
1 | <b>[완료]</b>external alias의 대해 알려주세요~ [1] | abap퍼 | 2008.02.26 | 100689 |
GalileoPress 사의 SAP Smart Forms 에서 발췌했습니다.
-- -----------------------------------------------------------------------
예문>
・Paragraph formats : AS Default paragraph ・Character formats : (blank)
&GF_TNAME(10)&
&GS_HD_GEN-VOLUME(<T10.2) &
⇒ The field in the first line was defined alphanumerically.
Therfore, it can contain any number of characters.
In this example, output is limited to 10 characters.
⇒ The field in the second line was defined numerically.
Therefore, it contains digits-weight information in this case.
The output has a maximum of 10 places, of which two come after the decimal point,
without a thousands separator(option T) and with a +/- sign in front of the number(option <).
-- -----------------------------------------------------------------------
⇒ &field(.<nNumbers>)&
Limit the number of decimal places to <nNumber> as a natural number.
Example : &AMOUNT(8.2)& returns an output with eight places, including two decimal places.
⇒ &field(<)&
Output +/- sign to the left of a number; the default setting in SAP outputs the +/- sign to the right, after a number.
⇒ &field(T)&
Suppresses the thousands separator; makes sense only for fields with type DEC, CURR, INT, and QUAN, which are output with thousands separators by default