2017-11-21 1 views
1

| 문자열 연산자를 여러 줄에 사용할 수 있습니까? 고전 CONCATENATE 토큰을 사용문자열 템플리트 사용 "|" 여러 줄에 걸쳐

, 당신은 다음과 같이 할당을 만들 수 있습니다

CONCATENATE 'A rubber duck is a toy shaped like a stylized' 
      'duck, generally yellow with a flat base. It' 
      'may be made of rubber or rubber-like material' 
      'such as vinyl plastic.' INTO lv_variable SEPARATED BY space. 

을 나는 다음과 같이 할 수있는 올바른 방법을 찾을 수 없습니다했습니다

lv_variable = |A rubber duck is a toy shaped like a stylized | & 
       |duck, generally yellow with a flat base. It | & 
       |may be made of rubber or rubber-like material | & 
       |such as vinyl plastic.|. 

을인가 거기 작업을 수행하는 방법 또는 | 연산자로 작업 할 때 한 줄로 제한됩니까?

답변

6

이 작업을 수행 할 수 있습니다

data : lv_variable type string. 

lv_variable = |A rubber duck is a toy shaped like a stylized| && 
       |duck, generally yellow with a flat base. It | && 
       |may be made of rubber or rubber-like material | && 
       |such as vinyl plastic.|. 

write lv_variable. 
+1

를 예 참! 모두 제일 좋다. – forgetaboutme

관련 문제