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

How to use structure in ABAP program

Former Member
0 Likes
4,751

I developing a report in smartforms but i want some fields to be display on the report but unable to find the relvent table as the field is show in structure.i can not find the actual table . is there any specfic way to find the table .or is there any way to use the fields defind in structure in my ABAP program.

11 REPLIES 11
Read only

Former Member
0 Likes
2,072

hi

Welcom to SDN,

can you please tell me clearly regarding your issue.

Read only

0 Likes
2,072

The fields in the structure actually belong to some tables.now how can identified the table of the field in the structure.For Example

MEPO1211 (is a structure )

MENGE (feild name)

now i want to know that MENGE belong to which table ?

Regards

Muhammad Siddiq ur Rehman

Read only

0 Likes
2,072

Hi...

This field is ther in EKPO table.

Regards,

Lokeswari.

Read only

0 Likes
2,072

Enter the data element name in se11, and do the where-in-used search.

Regards

Vinod

Read only

0 Likes
2,072

how did you find it can you tell me detail

Read only

0 Likes
2,072

Hi...

the data element corresponding to MENGE is "BSTMG".

Go to SE11 give "BSTMG" in data type and click on where used list present at top left corner(third icon) so that you will find table names corresponding to it.

Regards,

Lokeswari.

Read only

Former Member
2,072

Hi...

try like this

DATA: BEGIN OF f_kna1.

INCLUDE STRUCTURE bdikna1key.

DATA: END OF f_kna1.

here f_kna1 is the internal table with header line.

bdikna1key is the structure.

Regards,

Lokeswari.

Read only

Former Member
0 Likes
2,072

Hi MSRehman ,

What kind of structure are you talking about.Is it defined in your driver program or its a predefined or a user defined structure.

If it is a predefined or a user defined structure then go to se11. In datatype enter the name of the structure.Click on display.

Say for example the structure is E001. Then ,

1) In Se 11 enter E001 in Data Type .Click on display.

2)Now press Where used list (Ctrl + Shift + F3)

3)Now click the checkbox for database tables.This will give you the list of the database tables in which the structure is used.

Hope this helps you.

Regards ,

Navya.

Read only

0 Likes
2,072

The fields in the structure actually belong to some tables.now how can identified the table of the field in the structure.For Example

MEPO1211 (is a structure )

MENGE (feild name)

now i want to know that MENGE belong to which table ?

Regards

Muhammad Siddiq ur Rehman

Read only

Former Member
0 Likes
2,072

Hey,

try to create your own structure with SE11

Read only

Former Member
0 Likes
2,072

Hi,

As suggested, see the where used list for the data element of that field.

Use ST05 (SQL trace) if possible.

see this [link|]

Regards,

Sumit