Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

badi

Former Member
0 Likes
630

hi,

i have a badi(se19), and i want to declare an internal table in method IF_EX_BOM_UPDATE~CHANGE_AT_SAVE.

my problem is that i dont know how can i declare it.

is anyone can please help me?

thanks,

dana.

4 REPLIES 4
Read only

Former Member
0 Likes
585

what i mean is:

how can i declare an internal table in oo?

Read only

Former Member
0 Likes
585

Hi!

In ABAP Objects you can't declare internal tables with header line, but simple internal tables should work.

Here's an example:

TYPES: BEGIN OF your_structure,
    field1 TYPE nachn,
"----more fields-----
    fieldz TYPE vorna.
TYPES END OF your_structure.

 DATA: it_table TYPE TABLE OF your_structure_type.

Does this answer help you?

Regards

Read only

0 Likes
585

im sorry but no, i tried this and it write that in oo is not possible to declare in that way.

Read only

0 Likes
585

Could you post the code of your internal table definition and also the exact error message text?

Regards