cancel
Showing results for 
Search instead for 
Did you mean: 

One step batch updation problem

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member212653
Active Contributor
0 Kudos

If the notes says that the exit is not called means it will not be called.No point in doing anything on this.

why don't you try to implement the logic of EXIT_SAPMM07M_003 in some other exit. may be you can check if its a backgroung mode or not by check SY-BATCH

if SY-BATCH = 'X' , then its background mode.

other solution is to call a SAP guy, may be they can throw some light.

Former Member
0 Kudos

Hi Any other views.

Suresh

Answers (0)