Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

What does the ABAP operator ':=' actually do?

Former Member
0 Kudos

Hi, experts!

Can anyone please help me identify what the operator ':=' does? I've recently come across this in an expression; variable1 := variable2. Now I know that in typecasting, '?=' is used but what about this one? Thanks in advance for your help.

regards,

brent

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Brent,

It is the same with the " = " sign and used for assigning value.

Kr,

Marvin

4 REPLIES 4

Former Member
0 Kudos

Hi Brent,

It is the same with the " = " sign and used for assigning value.

Kr,

Marvin

Former Member
0 Kudos

Hi Brant,

Yes, as Marvin commented it is same as the '=' operator. But when the chain operator is used before '=' , it gives the flexibility to assign more than one values to the data object(Not sure though in which case it is used).

For Eg:

variable3 := variable1,

= variable2.

matt
Active Contributor
0 Kudos

In case anyone searches for this answer, I'd just point out that Marvin's answer is incorrect (or misleading) and SrikanthRS's is correct.

matt

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi,

Could you please share the line of code where its used

Kesav