Passing parameters

Hi friends

In table methods i find passing parameter as a table name insted of declaring varible as a table name .what is the need in that and any difference on passing parameters and declaring varible as a table name? can u please explain breifly

void initFromMarkProdProfileRout(PurchTable purchtable)----------------------> i find in base.

PurchTable purchtable---------------------------->i think in this way.

It is not exactly passing a table name.

You are passing a record value there.

When you call that method you need to pass the PurchTable buffer. So that you can make use of the respective record values in that method.