Skip to Content
0
Former Member
Jan 07, 2011 at 09:49 AM

solution for batch characteristics validation in MIGO_GR

520 Views

Hi,

In order to complete and validate the batch characteristics for Goods Receipts (t.c. MIGO_GR) I use user exit EXIT_SAPMM07M_004 from F.G. XMBC. In standard, the VALUES table is filled with 5 characteristics. In this user exit another 2 are added automatically and, via standard batch classification, the user enters another 3. In same user exit I check that the characteristic entered must not exist on another batch. For this I have created a custom FM in which I call standard FM 'CLSC_SEARCH_OBJECTS'. The problem is that if 'NO_DATA_FOUND' exception is raised (practically exactly the confirmation I need), all non standard characteristics are lost even though the parameter table VALUES still contain them all after the user exit is executed.

How can I avoid this behavior without having to write my own logic for searching batches based on their characteristics?

Regards,

Doru