cancel
Showing results for 
Search instead for 
Did you mean: 

Link between batch and material doc. no

Former Member
0 Kudos

Hi all! Is there any MM database table which gives the document number for a batch. I have to show the stock with vendor in batch level.Please help .I am getting the batches for a vendor within specified period from MCHB table. I should show the document no. of that batch also.Please help.It'll be helpful if any table gives the purchase order no of a batch so that I can get the document no. from EKBE even.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

closing thread

Former Member
0 Kudos

Hi,

Have u tried with below tables,

MSEG

ISEG

Pradeep

Former Member
0 Kudos

ISEG doesn't have any values in that table. Yes,we have MBLB .But my requirement is, I have to show the relevant GR document of that particular batch.I got batches for that vendor from MSLB . Then I went to CHVW table.But here in this table,541 movement type data is not saved.Please suggest me the correct table which links batch and document no.

Former Member
0 Kudos

Hi,

CHVW is correct table to link the batch number & doc number,

Have u sent the material to Vendor with 541 mvt type

Please check with stock at MMBE

Pradeep

csaba_szommer
Active Contributor
0 Kudos

Hi Jayasri,

As I understand you want to get a list that shows your incoming goods batch&vendor-wise.

Cannot you use MB51 (with the proper filter criteria) for this purpose?

BR

Csaba

Former Member
0 Kudos

Hi Pradeep!

We have sent material to vendor with 541 movement.When I am giving this batch in MB51 and executing , that batch is showing 541 document also.But it's not showing 541 document in CHVW. Not only for a specific batch, it seems CHVW does n't store data for 541 movement type. You just check in CHVW table giving mov.type 541 executing once.

Former Member
0 Kudos

Hi,

Can u try BMBC to display complete batch details of the material

pl reply

guru

csaba_szommer
Active Contributor
0 Kudos

Hi,

Material document & material number & batch & movement type are stored in table MSEG as mentioned before. If you want to extract data from purchasing document you can also use EKBE.

Please check:

http://www.erpgenie.com/abap/tables_mm.htm#Purchasing%20Tables

BR

Csaba

Former Member
0 Kudos

Yes Scaba!

MB51 is showing all transactions between vendor and our store for a batch. What my users are asking is , they need the vendor, material,document,quantity, Purchase order no, item no, posting date , user in a same screen. So, I have to combine the data from MSLB and CHVW tables.

csaba_szommer
Active Contributor
0 Kudos

Hi Jayasri,

Please make your question clear, what is your purpose? Do you want to get a report on materials that were sent as subcontracting componets to your vendor?

In this case MB51 is enough, use MVT 541 as filter criteria.

Please describe your purpose exactly.

Thanks,

Csaba

Former Member
0 Kudos

Hi!

MB51 will show the previous records also even though the material doesn't exist physically through that old batch know!

former_member192897
Active Contributor
0 Kudos

Is ur problem solved.

Former Member
0 Kudos

Hi,

at present I am working on this .Please respond if you got any idea.

Former Member
0 Kudos

Why do you need the tables?

There is a standard SAP report MBLB which shows stock with vendor (Subcontractor) at batch level.

Hope this helps,

Lakshman