cancel
Showing results for 
Search instead for 
Did you mean: 

Production Order issue

Former Member
0 Kudos

Hi,

I have one peculiar issue that when the goods have not posted to that particular production order, system is accepting goods delivered to that production order, kindly suggest any possibility to fix the error message not to post the delivery when there is no issues happen against that particular production order.

Regards,

Muthu.

Accepted Solutions (0)

Answers (2)

Answers (2)

muthusamy_sankaran
Active Contributor
0 Kudos

Hi,

The best possible solution would be to go with User Exit.

Enhancement - MBCF0002

Functional Module - EXIT_SAPMM07M_001

Include - ZXMBCU02

You can write code while doing mvt 101 for production order

System will check from RESB table how much 261 of components have been done .

Try with the help of your ABAPer.

Pls refer below link

Regards,

Sankaran

mashfaq
Contributor
0 Kudos

Dear,

you can use badi MB_MIGO_BADI and method LINE_MODIFYor POST_DOCUMENT

and logic is as follow:

data: tsrt type c length 15.

data: l_inact type jest-inact.

concatenate 'OR' cs_goitem-pps_aufnr into tsrt.

select single inact

into (l_inact)

from jest client specified

where mandt = sy-mandt

and objnr like tsrt and stat eq 'I0321'.

if sy-subrc ne 0 .

MESSAGE 'Goods Movement is not posted' TYPE 'E'.

endif.

Check and revert back

Thanks

Muhammad Ashfaq