Skip to Content
0
Former Member
Apr 10, 2008 at 06:38 AM

Query in the syntax

27 Views

Hi experts,

Is there any diff b/w the 2 syntax given below:

First one:

lt_result TYPE TABLE OF vbak.

et_result LIKE TABLE OF lt_result.

.

.

.

PERFORM state_entries TABLES et_result.

FORM state_entries TABLES it_result.

************************************************************************************************

Second one:

lt_result TYPE TABLE OF vbak.

et_result LIKE TABLE OF lt_result.

.

.

.

PERFORM state_entries TABLES et_result.

FORM state_entries TABLES it_result structure lt_result.

Actually the second one is giving the error that lt_result is not defined.

Also, i would like to point out here that i have put the subroutine call (FORM statement) inside an include.

I will reward all the helpful answers.

Thanks,

Ajay.

Edited by: ajay singh on Apr 10, 2008 8:44 AM