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: 

Data declaration with asterisk

Former Member
0 Kudos

Hallo, everyone,

I'm reading some SAP source codes and found some data declaration like:

DATA: *resbd TYPE resbd.

Can anyone explain to me what this asterisk is for in the data declaration?

thanks

Yong

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

It is nothing but a work area of type resbd ....You can declare it in that way ...You can find such declarations in standard programs ...

Regards,

Santosh

6 REPLIES 6

Former Member
0 Kudos

hi,

It is nothing but a work area of type resbd ....You can declare it in that way ...You can find such declarations in standard programs ...

Regards,

Santosh

former_member188685
Active Contributor
0 Kudos
DATA: *resbd TYPE resbd.  "it is a kind of mirror to resbd

We can use that as Work area.

Standard SAP application follows those type of conventions.

Former Member
0 Kudos

You can declare any special characters not '-' character.

Rajasekhar.

Former Member
0 Kudos

It doesn't have any special meaning ..

Just a variable declaration ..

former_member705122
Active Contributor
0 Kudos

Hi,

This is nothing but the "old way" of declaring a second work area for a table.

Regards

Adil

Former Member
0 Kudos

hi check this..

DATA: *resbd TYPE resbd .

tables:resb .

select rsnum

rspos

from resb

into *resbd .

endselect .