Skip to Content
0
Former Member
Jun 26, 2008 at 04:19 PM

Problem in Batch Updation After posting

32 Views

Hi Experts

Currently we are having a problem with one-step stock transfer. We want do automatic GR (Goods Reciept) during PGI (Post Goods Issue) for a delivery.

We have done some coding in exit EXIT_SAPLIE01_007 so that even we have XXX batch during picking and PGI, the GR document item will show in YYY batch. The document was posted succesfully. And the table MSEG is showing correctly material was recived YYY batch against 101 movement. Also MB51 is also showing material was recieved under YYY batch. But the real problem is stock was updated in XXX batch????????????.

To prove this the table MCHB was not updated for this material with YYY batch, which we will expect generally once there is GR for any batch, latesr GR date will be updated. Table MCHB showing GR date also updated against XXX batch which we dont want.

While searching SAP notes for this i have gone through note 619913, which says If the batches are uniquely defined on material or client level, the batch exists in the system, and only a plant segment is created for the receiving plant. User exit EXIT_SAPMM07M_003 is not processed. Here we have some coding for batch creation and updation.

Can you please provide some thoughts on this? I am a functional guy dont know much ABAP knowledge, how to deal with this. I am assuming that If we can call EXIT_SAPMM07M_003, the problem may solve.

Please guide.

Regards

Suresh