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 prepare report using structure (MDPM)

Former Member
0 Likes
4,303

Hi All,

when you display any purchase order,then at bottom ITEM section, there is one tab - MATERIAL DATA. In which there is button to click COMPONENTS.

When we go into that component overview, there are main material and we can see list of materials. (Something similar like BOM)

The details of this component overview are stored in structure MDPM. I want to prepare report of that, but i do not know how to fetch data from structure MDPM.

Can anybody please let me know. structure MDPM

Thanks

Yogi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,403

MDPM is a structure not a database table and so doesn't contain any data.

It does have the BOM fields so I would assume you can get this information from the normal BOM tables (STPO? from memory, not sure) and link the material number from the purchase order line item.

MDPM is a structure not a database table and so doesn't contain any data.

It does have the BOM fields so I would assume you can get this information from the normal BOM tables (STPO? from memory, not sure) and link the material number from the purchase order line item.

6 REPLIES 6
Read only

Former Member
0 Likes
2,404

MDPM is a structure not a database table and so doesn't contain any data.

It does have the BOM fields so I would assume you can get this information from the normal BOM tables (STPO? from memory, not sure) and link the material number from the purchase order line item.

Read only

0 Likes
2,403

Hi it_girl.........

The component which i am taking about from purchase order section is not part of BOM data. I would be more interested what needs to be done to fetch data from structure MDPM.

Read only

0 Likes
2,403

ANY MORE SUGGESTION....

How to get data from structure MDPM?

Read only

0 Likes
2,403

Hi Yogesh,

I am not sure if this is of any help,but you can goto SE11..type MDPM and look for Where used list,it would give you a list of programs.You can check how they have used the structure in standard program.

Read only

Former Member
2,403

Hi Yogi!

You should be able to fetch this data from table RESB where ebeln = your purchase order and ebeln = your line item. Table RESB stores all of the material reservations needed to fulfill different types of orders. Structure MDPM is only used temporarily to display the components/requirements data on the screen.

Thanks,

David

Read only

0 Likes
2,403

Thanks! That was exactly what I have been looking for today in order to pull up specific object lists.

Chris