‎2007 Dec 22 7:37 AM
I'm trying to access parts of a string (a real string, not a type c) using dynamic offsets (assign wibble+foo(bar) to <F>) but it won't let me.
I'm sure I'm missing something. The Abap Objects book isn't very clear - it refers to character strings as if they all behave the same, which sadly is clearly not the case.
'tis 4.6C.
‎2007 Dec 22 1:27 PM
Hi,
there must be functions to work with string.... such as length, substr and so on... (personally never used them... bbut maybe you could try to search for them)
data: aa1 type string.
data: bb1 type string.
field-symbols <f> type string.
aa1 = '1234567890'.
write / aa1+4(1).
bb1 = aa1+4(1).
assign bb1 to <f>.
write / <f>.
Regards,
Satish......
‎2007 Dec 22 7:51 AM
‎2007 Dec 22 1:27 PM
Hi,
there must be functions to work with string.... such as length, substr and so on... (personally never used them... bbut maybe you could try to search for them)
data: aa1 type string.
data: bb1 type string.
field-symbols <f> type string.
aa1 = '1234567890'.
write / aa1+4(1).
bb1 = aa1+4(1).
assign bb1 to <f>.
write / <f>.
Regards,
Satish......