Application Development 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: 

Report Stock/Requirement

Former Member
0 Kudos

Hi ABAP Guru's

I want to create a report which lists the stock and requirement for each material of a plant. Like MD04 in ABAP report style.

Can any one suggest or tell me how can i create this report.? I'll be very thankful for every suggestion.

Thanks and Regards,

Kittisak.

3 REPLIES 3

Former Member
0 Kudos

Hi,

Go to Tcode--->MMBESpecify the required data with movement type561---Press enteryou can view the avialable stock--. You can also check the report how it is written and customize it in another Z report.

To Post more stock you can use -


Tcode-----MB1C

Reward points if it helped you.

Rgds,

Abhishek

Former Member
0 Kudos

Hi

Check this FM, it is related to display MD04 details:

MD_STOCK_REQUIREMENTS_LIST_API

LOOP AT g_t_bomexp INTO g_r_bomexp.

CLEAR:g_t_mdezx[].

Attaching just a piece of code..

CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'

EXPORTING

plscn = l_f_plscn

matnr = g_r_bomexp-matcom

werks = g_r_bomexp-werks

ergbz = l_f_ergbz

afibz = l_f_afibz

inper = l_f_inper

TABLES

mdezx = g_t_mdezx.

Also look for FM related to BOM Explosion:

eg

CS_BOM_EXPLOSION

Hope it helps.

Praveen

former_member156446
Active Contributor
0 Kudos

if you want exactly the same report.. copy the program of MD04 into a Z program and do what changes u need to do...