cancel
Showing results for 
Search instead for 
Did you mean: 

automatic external batch number assignment

Former Member
0 Kudos

Hi gurus,

I'm facing to an huge issue.

I've created an subcontracting PO. Into this PO, I have inserted a external batch number to a component.

When I make a good receipt with MB0A transaction. movement type 101 for the finished product and movement type 543/O for component. the external batch number is populated in the material document. But I don't want the MB0A transaction populates this bactch number. I want to input it manually in this transaction.

Is it possible to disengage the automatic external batch number assignment by the MB0A transaction and insert a external batch number manually?

Thanks for your help.

L. YDIR

Accepted Solutions (1)

Accepted Solutions (1)

raviraj_sharma
Active Contributor
0 Kudos

Are you saying that you are Entering the batch by clicking on the "Components" icon , and entering batch for the component items?

If thats the case, then the batch for 543 O movement will ALWAYS be that same batch .

If you dont want that batch, simply dont enter it in th purchase order .

Former Member
0 Kudos

thank you very much Ravi for your help.

Thanks to your answer, my customer has decided to not input a batch number related to the component into the PO. However he wants to insert a batch number at the MB0A step. This batch number has to be inserted automatically from a custom table that I have created.

Is there any user-exit or BADI or something else which can input a batch number automatically for a component (movement type 543/O) FROM a custom table AT the MB0A transaction step?

thank you in advance.

Best regards,

Lhoucinne YDIR

raviraj_sharma
Active Contributor
0 Kudos

Try this exit, its for external bacth number assignment EXIT_SAPLV01Z_003 .

EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.

You also have the option of suppressing the batch number check, for example, based on the material or plant.

Further : EXIT_SAPLV01Z_003. Using this exit, you can replace the proposed number range object BATCH_CLT and/or external interval 02 with a number range object and/or external interval you have defined yourself.

You also have the option of suppressing the batch number check, for example, based on the material or plant.

Just wanted to ask : which version of SAP are u working on? is it some old version? coz I see u using MB* Transactions, while SA now recommends most goods movements by MIGO TCODE, aslo most new enhancements are for MIGO .

Former Member
0 Kudos

hi Ravi,

Thank you for your answer. I will discuss about your solution with the abap consultant.

Thanks and regards,

L. YDIR

Answers (0)