Fetching the Manufacturing Plant for a Batch.

Hi Everyone,
Could y'all tell me How do I Fetch the Manufacturing Plant for a particular Batch. The Mfg.Plant has to be displayed in an alv report.
Thanks and Regards,
Neo

hi Neo ,
check tables MCHA/B/* .
check MCHB not A.
Regards
Prabhu

Similar Messages

  • SQL query to fetch the catalog category for a PLM item

    Hi All,
    Can anyone help me with a sql query of how we can fetch the catalog category for a PLM item.
    Regards,
    Shruti

    Hi,
    You could monitor the SMSProv.log when you check the category of an application. It shows that SQL query the SCCM provider used is related to function fn_ListCategoryInstances.
    Best Regards,
    Joyce

  • How to create requirement in the manufacturing plant

    when a sales depo is raising a sales order, when the stock is not present, the sales order has to create a requirement in the manufacturing plant
    does it affect if already stock is present the sale depo plant
    how do we this
    thanks

    Hi Rajan,
    To generate the req in Manu. Plant, depends on the setting you maintain in the MRP views of the Material.
    Yes, most of the time the settings are as such if there is available stock in the warehouse available then there is no demand populated in the manufacturing plant.
    Thanks
    Murtuza

  • Standard bapi to fetch the line managers for particular User

    Hi,
    Is there any BAPI to fetch the Line Managers for particular user. If so could any one help me out with the same.
    Regards,
    Ram

    Hi Ram
    Please check
    SWX_GET_MANAGER 
    HRCM_ORGUNIT_MANAGER_GET
    Check the following thread
    Function module to get Manager
    Regards,
    Arun

  • How to find original [manufacturing] plant of a batch

    Dear all
    Could you plaease help me to find link between original manufacturing plant & depot where product is laying currently.
    I'm using tables MCH1, MCHA & MCHB currently. But the column of Original plant is blank. Please find
    Is there any customisation available? I'm putting an example for reference. 1st table is MCH1 & 2ND is MCHB.
    Material     Batch     Created On     Created by     Last Change     SLED/BBD     Batch restr.     Date of Manuf.
    1000168     1614265     26.06.2009     M1PI     11.02.2011     26.06.2010     X     26.06.2009
    Material     Plant     Stor. Location     Batch     Created On     Created by     Restricted-Use
    1000168     F101     I003                           1614265     10.02.2011     SDMMSUP               1
    Please help.
    Nachiket Abhyankar

    dear friend,
    take your batch number and material document year and go to table MSEG
    put this data and set 101 into BWART field (your movement type). find the record in MSEG
    take the value from AUFNR field (the production order which is linked to your batch) and go to table AFPO
    put the prod.oder number and find the record.
    now your original manufacturing data as folows:
    AFPO-DWERK is your manufacturing plant
    AFPO-PWERK is your planning plant
    AFPO-LGORT is your storage location
    good luck!

  • Where do I find the Instance Name for EPM Batch Script Utility?

    I am trying to find the Instance Name for the EPM Batch Script Utility. I have done the obvious...looked at the Deploy settings in EPM, but the Instance field is not even listed. I have tried 'Default', 'localhost', 'Planning', 'epmsystem1' and " " (nothing).
    Anyone know where I can look? The script will not deploy without this option (I have tried removing the field altogether). This is the error I am getting:
    2012-12-05 03:02:21,908 INFO Parameters(ApplicationName, InstanceName, ApplicationServer, HubProject, datasourceName, waitForCompletion, deployOption, RefreshOutline, CreateSecurityFilters)
    2012-12-05 03:02:21,909 INFO Values('BKAdFund', 'Default', 'PLANNING_LWA', 'Planning', 'BKAdFund', 'True', 'All','True', 'True');
    2012-12-05 03:02:23,149 ERROR [Line 16] Unable to find the instance with name Default.
    Thanks!

    Hi all,
    I referred Andy's suggestion to set both App Server name and instance name as PLANNING_LWA.
    It worked in Planning 11.1.2.3
    My deploy string set as followed:
    set bpmaserverurl=http://localhost/hyperion-bpma-server;
    set workspaceurl=http://localhost:9000/workspace;
    login;
    Execute Deploy
    Parameters(ApplicationName, InstanceName, ApplicationServer, HubProject, ClearAll, CheckIntegrity, waitforcompletion, purgeTransactions,  deployOption,  datasourceName,CreateOutline,RefreshOutline,CreateSecurityFilters,SharedMembersSecurityFilters,ValidateSecurityFilterLimit,Notes)
    Values ('HRPLN1', 'PLANNING_LWA', 'PLANNING_LWA', 'Planning', 'false', 'false', 'true', 'true', 'AppView','HRPLN_DS','false','true','false','false','false','HRPLN1 redeploy by batch client');
    Thanks Andy!!

  • How to find the supplying plant for a purchase order

    Hi Guru,
    My requirement is to dispaly the suppling plant and some other fields for the purchase orders using ALV report.
    Could any one help me how to find the supplying palnt for a purchase order.
    Suggest me any function module or with sample coding
    Regards
    Paul

    Hi Ravi,
    You are solution is right but in that table the supplying plant is not updated
    Could you suggest me any other tables
    Regards
    Paul

  • Why the  103 MVT doesnu2019t implement the MIGO CMOD For Create batch No

    Hi,All
    I created a Enhancement  for MIGO,When MIGO used 101,161 and other mvt can auto create the batch no.But I found when I used MVT 103 goods PO ,then MIGO doesnu2019t to perform Enhancement.
    The MIGO enhancement is:SAPLV01Z->EXIT_SAPLV01Z_002.u201D101,161,I test is OK
    And I test the other enhancement :SAPLV1ZE->EXIT_SAPLV01Z_003/004,but not works.
    What the correct enhancement for MIGO MVT103  created batch no.
    Best regards,
    Sun

    closed this isseu though not solved

  • Reg: function module to fetch the overall taxs for  a sales order

    Hi Experts,
    I need a fuction module which fetches all the taxes for a sales order with the tax values.
    (i.e) i need a function module with displays the overall tax values and not line itemwise..
    Regards,
    Vikram.S

    Hi,
    Check if it works
    POS_SALES_DOCUMENT_HEAD_TAXES

  • PR Item Text Different for same Material in the same Plant.

    I have a Query for SAP MM.
    Below is the Scenario:
    User raises a PR through SAP for a particular Material (Spare) which belongs to an Equipment.
    Let's say in Plant A, we have an Equipment 10001 & it has a sub-Equipment as 1000112 & further it has a spare which belongs to the sub-equipment as 1000001.
    Now when the user raises a PR for 1000001 then he wants to automatically populate the information in the Item Detail Text tab  such as:
    Equipment No.: 10001
    Sub-Equipment No.: 1000112
    The above text enables the vendor to track & source the correct material.
    The problem here is that the same material is being used in the same plant for another equipment also, hence we cant just update the PO text in the Material Master record.
    How to map the above in the std SAP system???
    Require your help / expert comments.
    Regards,
    Yogesh.

    Hello friend,
                      i feel that u want to send the material to the supplier of that equipment for sum work,
    then it would b better that u maintain the supplier model no. or manufacturing part no. which u can give in the detail.
    it would be better to give the manufacturer part no. The manufacturer can more easil track the part by giving the manufacturer part no, rather then giving your own SAP No.
    and regarding the SUB-Equipment and its part no. there is no standard functionality.
    Regards,
    yk
    Edited by: 1234_abcd on Apr 1, 2010 5:27 PM

  • Restricting Service Plant from order the Manufacturing Materials

    Hi Techies,
    For My client who wants to shift from Mapics to SAP wants to restrict the Service people from odering the Materials. This is because when their product comes to the service plant they should be ordering only the service kit which comes with few packagings and should not order the original material.
    I Suggested the following:
    1. The Manufacturing Materials should be available only in the manufacturing Plants and should not be extended to the service Plant.
    2. The Service Kit can be extended to all the plants and hence service plant can order it and the manufacturing plant can sell it to the service plant.
    The client wants to create all the material to be restricted from the service as ROH and the materials for which commercial or service can order as HALB.
    I feel it does not give a propoer structure of it.
    I would like your advice on this.
    Thanking you in advance.
    Regards,
    Kris.S

    Hi Kris,
    First of all you can not have different material type for the same material for different plants.
    I think whatever you have suggested is absolutely right.
    There is no point in creating all the materials in service plants as your client wants.
    However, if you still want all the materials in service plant you can go ahead and create it.
    But, for service plants you can restrict the manufacturing materials by giving Plant specific material status as blocked for procurement for service plant in purchasing view of material master.
    Regards,
    Abhay Kapase

  • Tables or fm to fetch the data for idoc type WMMBID01

    hi
    i have to create function module in whish i have to fill segments of  idoc type
    WMMBID01.
    is there any fm which can fetch the data for the required fields of segment based on the document no.
    or which tables i can use to fetch the required data for goods issued ie transaction migo.
    regards
    vijay

    HI
    GOOD
    TRY WITH THESE FM
    DYNP_VALUES_READ Read the values from a dynpro. This function can be used to read the values from a report's selection screen too (Another example).
    HELP_START Display help for a field. Useful for doing AT SELECTION SCREEN ON VALUE REQUEST for those fields that do not provide F4 help at the DDIC level.
    RPY_DYNPRO_READ Read dynpro, including screen flow
    RPY_TRANSACTION_READ Given a transaction, return the program and screen or given a program and screen, return the transactions that use the program and screen.
    THANKS
    MRUTYUN

  • Manufacturer plant Partner not defaulting in PO

    hi all
    according to SAP Help, the setting for checking manufacturer plants are supposed to be the following:
    1) Vendor with account group001 and partner roles LF
    2) Manufacturer with account group MNFR which, unless I am missing something,  allows partner role MN only(no connection to main vendor???) and manufacturer plants in partner tab, with partner role MN
    3) Manufacturer plant(s) with account group MNFR, partner role MN (manufacturer plant) to be entered in the Manufacturer partner tab (see point 2).
    the system is supposed to check the plants at PO creation but this is not happening: it does only if the vendor is also the manufacturer and i enter the plants directly in the vendor master.
    Also, assuming I am entering the manufacyturer in the partner roles of the vendor master, the manufacturer plants defined in the manufacturer master record, are not defaulted in the PO.
    all the settings in Custmizing are checked: schemes, asignments to PO etc.
    I also checked Notes but could not find something suitable....i might have missed something tho.
    any ideas?

    Open personal settings of TCD ME21N/22N/23N and select Display key in box. Save.
    Log out and log in again. and open PO.
    This is showing because, your personal settings are made to show description.
    Raghavan

  • Assigning Manufacturer while creating a batch from COR1 or MIGO etc.

    Hi Gurus,
    I am creating a new batch while creating a process order using COR1 or MIGO.
    When i click on the NEW button, the batch is automatically created and we get a new batch number.
    Now at this time of creation of a new batch, i want to assign some Manufacturer value for that batch under the Classification tab.
    Is there any user exit or badi for this task?
    Can you please help me out with this?
    Thanks & Regards,
    Praveen

    Hi Sridhar,
    Thanks for the reply.
    Can you please elaborate on how should i go about with this and which of the above you suggested should i use?
    Thanks,
    Praveen

  • Transfer of goods from Manufacturing Plant to Sales Depot plant

    Hi,
    The Client is having Manufacturing Plant and Depo Plant wherein the goods shall be transported to Depo with Exice Invoice and sold from there without any excise duty.
    As per SAP best practice, we have maintained the Price Control as 'S' in the Manufacturing Plant and 'V' at the Depo level.
    The Client requires that the valuation of Finished goods at the Depo level should be inclusive of the excise duty paid when the material is despatched from Manufacturing plant to Depo.
    How the excise duty paid amount can be loaded on to the material value and then sent to Depot?.
    Please offer your valuable suggestions on this issue.
    Cheers,

    Dear
    In manufacturing plant the stock transfer material's price control should be S and V for Depot material.
    And configure Excise duty as condition type in Stock transfer Purchase order, which will automatically change the moving average price.
    Prakash.

Maybe you are looking for