Skip to Content
0
Former Member
Dec 07, 2008 at 05:24 AM

Doubt with respect to delete statement

32 Views

Hi All,

I am developing an ALV report which consists of few fields of a database table.

I am using the LVC_FIELDCATALOG_MERGE function to build the field structure of the ALV report.

I have declared an internal table in my program of type lvc_t_fcat. I call the LVC_FIELDCATALOG_MERGE function and pass the database table name to this function module. I build the output structure of this table in my internal table of type lvc_t_fcat.

I have another internal table of type lvc_t_fcat to which I pass the fields that are to be deleted.

Now when I use the delete statement to delete the fields from internal table1 with the fields that are in internal table2, I am getting a short dump.

Please could someone help me out with this.

I do not want to create another structure in the database and pass it to LVC_FIELDCATALOG_MERGE as it will create an additional load on the database.

Regards,

Sushanth H.S.