‎2007 Dec 08 9:58 AM
Hi,
If i declare the table in se24.
Example: TABLES:SPOH. it's not accepting, how i can declare the table in SE24
‎2007 Dec 08 10:25 AM
Hi,
if u r declaring in the method it will not take u have create the field string refering to the standard table
for example.
fs_spfli type spfli.
plzz reward points if it helps.
‎2007 Dec 08 10:28 AM
Hi Udaya,
First create a Table Type of table SPOH through SE11 call it for e.g. ZTT_SPOH. Then in SE24 declare your variable
gt_spoh TYPE ZTT_SPOH.
Don't forget to reward points.
Sougata.
I think I did not understand you correctly first...there's no need to declare database tables by TABLES statement. You can declare an internal table (like the way I've shown above) or declare a work area e.g.
gw_spoh type spohand then select data from SPOH either to the table gt_spoh or work area gw_spoh.
Message was edited by:
Sougata Chatterjee
‎2007 Dec 11 11:43 AM
In the OO context, the statement TABLES is not admitted, since it creates a table with header line.
However, you don't need the TABLES statement to perform selections on DB.
Declare an Internal Table with the corresponding structure and that's it.
Hope this helps,
R.