cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using table TMAPSTLOC to get Plants for an EWM Report/Output

Former Member
0 Kudos
8,585

Hi,

I'm trying to create a report that extracts material details including the plant from which the material was produced.

The plant comes from using the table /SCWM/TMAPSTLOC. From what I know it's used to connect ECC data with that of EWM.  I'm linking this to the table /SCWM/AQUA and /SCWM/BINMAT for other details.

When the data comes out I've noticed that a record is almost identifical except for the field, TMAPSTLOC-AVLGRP.

I would like to know if:

  • This is the correct way to query data from EWM tables. Example, am I using the correct tables etc. I'm doing this because I have to pull data into an external report/output for auditing purposes. The end user will not have or should not need access into the EWM system itself.

  • Why do I find two almost identical records with only AVLGRP as the difference? Should I focus only on one type of AVLGRP? I've noticed different statuses for te description of AVLGRP such as Goods for Putaway and Goods Completely Available. Should I filter in only one or should I keep both? If I have to only leave certain avaiability groups within the system, which one?

Thank you.

Raphael

View Entire Topic
christian_reinhardt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Raphael,

the /SCWM/TMAPSTLOC is used for mapping for the ERP storage location to an EWM availability group (that will later be used for stock type determination). Therefor the entries are similar and the number of entries is usually low.

As I do no 100% understand your requierement I'm not sure if this table is right for you.

I understand that you want to determine the production plant. May be the inbound delivery could be a better source. Via partners you should be able to identify the source.

Best regards,

Christian


Former Member
0 Kudos

Good day Christian,

Thank you for the response. Could you please elaborate further on what you mean by using Inbound delivery?

I've done a bit of checking and found these tables. Are they the ones that you mean by using "Inbound Delivery".

/SCDL/DB_PROCH_I  Inbound Delivery: Header

/SCDL/DB_PROCI_I   Inbound Delivery Item

Thank you.

Raphael.

christian_reinhardt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ramos,

these are the tables I was talking about. But you should not select the tables directly but use the query method of /SCWM/CL_DLV_MANAGEMENT_PRD to derrive he deliver data. Via the partner data you should be able to determine the source of a product...

However this will be difficult to determine the source after the final putaway when the delivery reference is deleted.

Best regards,

Christian

Ask a Question