Skip to Content
0
Jul 13, 2008 at 01:29 PM

How to decalare internal table in BADI

584 Views

Hey Experts,

I am working with VENDOR_ADD_DATA (BADI) and using its PRESET_VALUES_CCODE method. Here I need to capture some data from its table I_LFA1. I have to move data from LFA1 to an internal table

but the problem is when I try to declare internal table I get the following error msg.

Tables with header are no longer supported in the OO context.

I know my internal table declaration is wrong.

data: begin of ad_xk occurs 0.

include structure LFB1.

data: end of ad_xk.

The problem is I donno any other way to declare internal table. Can anybody show me how should I delcare my internal table.

Thanks a lot in advance, reward point will be given for sure.