Skip to Content
0
Former Member
Apr 25, 2011 at 12:05 PM

Change batch number field during post goods issue

353 Views

Hello,

During one step transfer posting i want to change the batch number during goods receipt via transaction VL02N.

I have tried using the below exits and badi without success.

Exit EXIT_SAPMM07M_010

mb_document_badi

LE_SHP_GOODSMOVEMENT

Below is the code i have implemented in the exit

clear v_vbeln.

select single vbeln into v_vbeln

from likp

  • select * from likp

where vbeln = i_mkpf-le_vbeln

and vstel = c_vstel

and werks = c_werks

and lfart = c_lfart.

IF sy-subrc = 0.

e_charg = 'X'.

ENDIF.

If any body has implemented same functionality kindly help.

Regards,

Koustubh