Retrieve info of Component allocation(Tcode :CA03)

Hi,
When displaying a routing using CA03 and going to the Operation Overview screen,there is the option to choose the Component Allocation button for a Activity shown on the screen.This displays the component allocation details.
Is there any function module  which would give  component Allocation information(Path,level,component,operation number and sequence) that is shown on the CA03 Material Component Overview screen.
Any help in this regard would be greatly appreciated.
Thanks and Regards,
Venkatalakshmi

<i>Here is the join for PLKO to PLMZ (some fields/where condition used for testing)</i>
<b>SELECT plpovornr plmzstlal plmz~stlnr
       INTO (plpo-vornr, plmz-stlal, plmz-stlnr)
       FROM plko
       JOIN plas ON plasplnty EQ plkoplnty AND
                    plasplnnr EQ plkoplnnr AND
                    plasplnal EQ plkoplnal
       JOIN plpo ON plpoplnty EQ plasplnty AND
                    plpoplnnr EQ plasplnnr AND
                    plpoplnkn EQ plasplnkn AND
                    plpozaehl EQ plaszaehl
       LEFT OUTER JOIN plmz ON plmzplnty EQ plasplnty AND
                       plmzplnnr EQ plasplnnr AND
                       plmzplnkn EQ plasplnkn
            WHERE plko~plnty EQ 'N'
            AND   plko~plnnr EQ '50002328'
            AND   plko~verwe EQ '1'
            AND   plko~statu EQ '4'
            AND   plko~delkz EQ space
            AND   plas~loekz EQ space
            AND   plpo~loekz EQ space.
  WRITE: / plpo-vornr, plmz-stlal, plmz-stlnr.
ENDSELECT.</b>
remember that all operations need not have components assigned to them hence the LEFT OUTER JOIN.
Performance should also be considered, this is just an example to give you the links. Replace '50002328' with some valid PLKO-PLNNR in your system.
Cheers!
Rishi

Similar Messages

  • Component allocation for operations

    Hi Friends,
    I have 5 components for one finished material.When i create the routing for that material all components are assigned for first peration .But i want 3 components for first operation 2 components for second operation and one component for third operation .Please tell me how i will be assigned ?
    Thanks
    Venkat

    Hi Kumar,
    I understood your issue, now for "operation wise confirmation only those componets will be consumed as operation wise"
    all you have to do, in the component allocation Tab you have to specify which sequence (if any); operation the component belong to. If you leave this space empty then all component would get attached to first operation itself.
    The steps for confirmation is like:
    1. Issue Good/component (belonging to first operation only) with a mvt type 261 tcode MB1A to the Production Order
    2. Carry out the other activity to the order (labor, machine etc. required in 1st operation)
    3. Do the confirmation of the operation through CO11n.
    4. Proceed for next operation in the same way.
    Regards,
    Akhil

  • Component allocation in the Routing "BAPI_ROUTING_CREATE"

    Hi,
    I am using the BAPI "BAPI_ROUTING_CREATE" to create a Routing. It works fine creating the operations, Component allocations and updating the Header data Information.
    The Problem i am facing is with the allocation of components with Phantom assembly. Can any one help me in passing the Parameters to the BAPI to allocate the components with the Phantom assembly.
    Thanks
    Shekar

    Hello Nagasekhar,
    I am not able to create operations even.
    can you please help me out.
    i create routings from the data available in file uploaded from system.
    i am able to create the routing.
    if i give group number only on the first screen of CA03 its showing the task.
    But when i give material and plant its saying the Task doesnot exist.
    And when i see the operations then it shows nothing.
    can you send me your code to [email protected]
    Please help me in this regard.
    thankyou.
    Message was edited by:
            Ravikumar P

  • BAPI For CA02 - Assign Component allocation for routing

    Hello Gurus,
    I m searching for the bapi for the component allocation in routing.
    Since  routing is already created my work is to assign component allocation to the operation.
    i tried with the BAPI_ROUTING_CREATE  and /SAPMP/BAPI_ROUTING_PROCESS
    BAPI_ROUTING_CREATE can be used only to create new routing.
    But the /SAPMP/BAPI_ROUTING_PROCESS is going to short dump.
    So any alternate please suggest.
    Please provide sample code to assign component allocation.

    Please have a look at following thread:
    http://scn.sap.com/thread/2084329
    Also,check tcode :CWBQM
    Regards

  • Calculating Hours Machine and labour for activity in tcode CA03

    Hi all,
    I have to create one report where i want to display material number, workcenter, costcenter, activity type and hours.
    I have created report except hours filed. I am not getting how should i find the machine and labour hours. from which table and field??
    If you want to see then goto Tcode CA03 ->click on workcenter and then you will see the details.
    Us there use of Formula created in Tcode OP17???
    please tell me method how can be calculate hours.
    Thanks in Advance.
    Regards,
    Sujeet

    solved

  • Problem in  BOM or component allocation for the Non- codified Item in a PO.

    Hi All,
    Please advise how to explode a BOM or Assign component in a Purchase order with Item category (L) for a Operation oriented material for which no material code is created from a production order .
    Actually in my scenario, no raw material component will send to the Sub -Contract Vendor. Only Assembled operation material lets say operation 20 from a routing ( which is not having material code ) from an In - house production from a shopfloor has to be sent to the vendor to create a operation 30 material , which is also not having a material code." How to explode a BOM or component allocation for the Non- codified Item in a PO".
    Kindly give me the IMG settings for the above scenario.
    regards,
    YK

    Hi Prasobh,
    Tnx for your suggestion. But, the client external processing routing is not constant activity . Based on the Operation bottlenecks client is sending the operation as external Processing. For Eg., If on first order operation 20 be external , Then in second order operation 20 need not be external. operation 30 may go out for external processing. Client does not want a material code for each operation.
    Give your valuable suggestion.
    regards,
    YK

  • Web Dynpro Java : Failed to get deployable object part info for component

    Currently we have a web dynpro java project which connects to the ABAP backend with Web Services. Everything seems fine, and when we transport to the production server via NWDI, we have the following error. Everytime we try to access the application , the error is occurred.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.sie.attachmentcomp.AttachmentComp
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:784)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:934)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
    It is working properly in our development , and testing environment. Only production has this error. And one weird thing is that this particular error occurred only sometimes to some user. For example; I could not access to the application with this error yesterday but my friend can access. Today, I can access in the morning but my friend cannot. For another friend , Yesterday he can access by using IE but not by Firefox. But today Firefox is fine but not with IE. It seems crazy.
    For more information, in our J2EE engine for the production server, we have 3 server nodes (clusters). And we are not sure it is the source of the problem. Is there any solution , and any way to know from the application that we are on which server?
    We also go and check from the Content Administrator in Web Dynpro Console. Under our project name, in the list of Components, sometimes we can see AttachmentComp but sometimes not.
    Please help us as our project is about to go-live next week.
    Thanks,
    Yu

    Hi Meenge,
    Please check below document for finding root cause for "Failed to start deployable object part info for <development component> and application <application name>"
    http://help.sap.com/saphelp_nwce711core/helpdata/en/44/7716e1633a12d1e10000000a422035/frameset.htm
    OR http://help.sap.com/saphelp_nw04/helpdata/EN/f4/1a1041a0f6f16fe10000000a1550b0/frameset.htm
    Hope it helps
    Regards
    Arun

  • Very URGENT : BAPI_ROUTING_CREATE Component Allocation

    Hi All,
    I want to create a routing using BAPI. I tried using BAPI_ROUTING_CREATE, it is creating operations without any problem.
    But when I want to assign an Operation/Activity to a Component through New Assignment in Component Allocation through BAPI, it is not assigning.
    Please let me know what fields should be passed to the Component Allocation Table in the BAPI.
    Please help me as it is very URGENT.
    Reward Points for useful answers
    Thanks,
    Harish

    Hi,
    The componenet allocation will take automatically if you have the BOM created for the Material for which you are creating the Routing.
    It will not add the new components.
    i too tried but lot of problems with this BAPI.
    I prefered recording.
    Reward points if it is helpful.

  • How to Retrieving Mandatory Filed name from Tcode.

    Hi,
    I need to retrieve mandatory field names from tcode like (mm01)  using abap programming..
    How to find that field name is mandatory?
    Thanks and Regards,
    Meena

    Hi Meena,
    I guess you need to manually find it out and make z-table which can be used for further logic.
    Once you have table for required fields, you can even add/remove any field depending on your requirement.
    I also faced the same issue and we maintained it in ztable as follows.
    MANDT  
    FIELDNAME   
    STATUS
    For STATUS , create fixed domain values as "REQUIRED", "HIDDEN", "GRAYED OUT".
    I hope this will help you.
    Regards,
    Rahul Mahajan

  • Error in component allocation in BAPI_ROUTING_CREATE to creae routing

    Hi
    I'm using BAPI_ROUTING_CREATE to create BAPI with component allocation.  But my problem is I'm able to create operations but not able to create component allocation. The BAPI is giving me success message, but not creating component allocation.
    In the table BAPI1012_COM_C, I'm populating the following fields:
    GROUP_COUNTER
    VALID_FROM
    VALID_TO_DATE
    ACTIVITY
    BOM_TYPE
    BOM_NO  
    ALTERNATIVE_BOM
    ITEM_NO                  -> value is POSNR field of STPO table
    BOM_TYPE_ROOT  -> value is same as BOM_TYPE
    BOM_NO_ROOT -> value is same as BOM_NO
    ALTERNATIVE_BOM_ROOT  -> value is same as ALTERNATIVE_BOM
    Routing is being created successfully without component allocation.

    See BAPI_ROUTING_CREATE / Material Component Allocation
    Kanagaraja L

  • Component allocation in routing

    In CA02 (Sales order routing) when I go to component allocation more than once then i get following message. It is ok that you only go once in component overview??
    Component overview for routing cannot be called up
    Message no. CM022
    Diagnosis
    You want to call up the component overview for the selected routing (group 50000637, counter ). However this is not possible, because earlier you clled up a material component overview for another routing that had the following properties:
    It belongs to the same group as the routing you have now selected.
    It has been allocated another material or material BOM as the routing you have now selected.
    Procedure
    As long as you do not call up the component overvierw for the selected routing, you can go on working as usual. To call up the material component overview, proceed as follows:
    1. If you have made any changes in the selected plan that you want to save, do so.
    2. Cancel editing the routing
    3. Start editing routings with the selected routing (group 50000637, counter ) and call up the material component overview

    all u have to do is, go to ca02 operation overview. highlight the operation and click on component allocation. there u can see assignment tab. click on that and assign the components from the bom of that header material. it is as simple as this. dont forget to save the routing at the end.
    pls try this and come back with more clarity.
    cheers
    vinay

  • Component allocation to Euipment Task list

    Hello frinds,
    I have a query related to Plant Maintenence.
    We have a euipment task list with different counters . In each counter we have operations and components assigned to those operations.
    When order is created some of the operations are not getting copied and hence few components as well.
    Please tell me tables where i can find the allocation of compoenents to operations.
    Thanks
    Rohit

    Thanks Mahee,
    The table i was looking for is PLMZ (allocation of components to operations)
    I found that deletion indicator is set for certain operations in PLMZ and those components are not picked which are assigned to operations with deleltion indicator (LOKEZ-PLMZ).
    Can any one tell me how this deletion indicator is set for component allocation to operations and how do i remove this ?
    Thanks for help.
    Rohit

  • Component allocation changes in routers

    Does anyone know if components allocations in a router can change without making the change in the router. My users are stating that they have a printout in October with the component allocations being one way and then in December they changed. However, they are stating they never made the change in the router. So how is this possible. Because there is no change log in the component allocation section of the router Im having a difficult time proving to them its not the system and its a user error. Any suggestions?

    Hi,
    If the routing is changed in the production order (by T-Code CO02), it wont show in the CA61 or CA60.
    Also the initial data of routing will not be changed. May be because of this only you are not getting anything in the log.
    Regards,
    Rohit.

  • Component allocation

    Hi ,
    I was asked in one interview, "What is the difference between component allocation & material allocation?".
    Component allocation means, allocation of components to various operations in a routing or production order.
    Material allocation , i really could not trace it out.
    Can somebody guide me, what exactly does it mean?
    Best regards,
    K.Kumar

    Hi Kumar,
    You can refer to the following link:
    Material Assignment:
    http://help.sap.com/saphelp_47x200/helpdata/en/7e/d42611455911d189400000e8323c4f/frameset.htm
    Component allocation:
    http://help.sap.com/saphelp_47x200/helpdata/en/45/a91b4cab7311d189090000e8323492/frameset.htm
    Hope this help u.
    Cheers,
    Qiang

  • Component allocation change

    Dear Gurus,
    Is there any t-code for mass change in Component allocation.
    thanks,
    Tushar Barot

    Dear Barot,
    In my understanding there is no T Code for mass change of component allocation,check whether any Functional module can
    help you or else go for a BDC to change the same.
    Regards
    Mangalraj.S

Maybe you are looking for

  • Ver.9.5 The volume for file name cannot be found

    HI, My work Mac Book pro was recently upgraded to Mavericks from 10.6.8, with iPhoto 11 (ver. 9.5) also an included upgrade. One album of photos is no longer accesible - clicking on each thumbnail provokes the following window "The volume for <file n

  • Cannot get 959c deskjet to load or printer to spool

    deskjet printer 959c will not load in windows 8.1 message printer not spooling

  • Configration steps for business area wise balance sheet and p&L accounts

    dear all sinario is two business areas say A and B for diffternt two products in one company code which is already running with different business . please any one tell me what are the configrations for business area wise balance sheet and profit and

  • Which Airport Card in a Power Mac G4

    I have a Power Mac G4 ( Mirror Doors). Which Airport Card works in this Mac ; Extream, Extream 802.11n or Express ? Can you give me a card part number so I can order one. Also is it possible to connect a outside antenna to a airport card ? Sorry, I c

  • Syntax for EVALUATE function - placing condition in it

    Hello All, I have a formula in discoverer like this SUM(col1) OVER(PARTITION BY col2, col3, col4 ORDER BY col5 ASC RANGE BETWEEN col6-3 AND col6 I need to implement the same in BI, I have used this to implement the SUM part EVALUATE( 'SUM(%1) OVER (