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

stock requirement exceptions

Former Member
0 Likes
434

Hi All,

How to get the rescheduling exceptions. just like transaction MD04.

Please replay ASAP.

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
386

Hi Praveen,

Use the function module

CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'

EXPORTING

matnr = w_itab3-matnr

werks = w_itab3-werks

TABLES

mdezx = i_mdez.

Which outputs the MD04 Screen. and pass the auslt as below.

*GET ALL Exceptions into i_excep.

SELECT aussl auslt FROM t458b INTO TABLE i_excep

WHERE spras = sy-langu.

you will get the Exceptions defined.

Thanks,

Kaleem,

Reward if helpful.

Hi All,

How to get the rescheduling exceptions. just like transaction MD04.

Please replay ASAP.

Thanks in Advance.

1 REPLY 1
Read only

Former Member
0 Likes
387

Hi Praveen,

Use the function module

CALL FUNCTION 'MD_STOCK_REQUIREMENTS_LIST_API'

EXPORTING

matnr = w_itab3-matnr

werks = w_itab3-werks

TABLES

mdezx = i_mdez.

Which outputs the MD04 Screen. and pass the auslt as below.

*GET ALL Exceptions into i_excep.

SELECT aussl auslt FROM t458b INTO TABLE i_excep

WHERE spras = sy-langu.

you will get the Exceptions defined.

Thanks,

Kaleem,

Reward if helpful.