gku*_*bed 1 sap abap concatenation
有没有办法|在多行中使用字符串运算符?
使用经典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.
Run Code Online (Sandbox Code Playgroud)
我没有找到一种有效的方法来执行以下操作:
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.|.
Run Code Online (Sandbox Code Playgroud)
有没有办法实现这一点,或者在与|操作员合作时是否限制在一条线上?
你可以这样做:
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.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
325 次 |
| 最近记录: |