Application Development and Automation 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: 
Read only

Data declaration with asterisk

Former Member
0 Likes
1,074

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
Read only

Former Member
0 Likes
883

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
Read only

Former Member
0 Likes
884

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

Read only

Former Member
0 Likes
883
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.

Read only

Former Member
0 Likes
883

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

Rajasekhar.

Read only

Former Member
0 Likes
883

It doesn't have any special meaning ..

Just a variable declaration ..

Read only

Former Member
0 Likes
883

Hi,

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

Regards

Adil

Read only

Former Member
0 Likes
883

hi check this..

DATA: *resbd TYPE resbd .

tables:resb .

select rsnum

rspos

from resb

into *resbd .

endselect .