Routing fm for assign ing the materials to work center

Hi all ,
I have exploded all the sub components of the BOM of a given material number and plant .
Now i have all the details , now i would like to assign these materials to workcenters available for a finished product in ROUTING process .
Is there any FM to assign the corresponding components to corresponding work centers in the routing process , so that we have to get the finished product in optimized way .....
Please let me know you view....
if there is no FM , let me know you suggestions ...
Regards
Raj

this is one the fm's , c_x is X
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
    CAPID                       = 'PP01'
    CUOLS                       = 'X'
    DATUV                       = sy-datum
    KNFBA                       = c_x
    KSBVO                       = c_x
    MBWLS                       = c_x
    mehrs                       = 'X'
    mktls                       = 'X'
  MKTLS                       = 'X'
    MDMPS                       = c_x
    MTNRV                       = p_matnr
    WERKS                       = p_werks
IMPORTING
TOPMAT                       = l_topmat
  DSTST                       =
  TABLES
    STB                         =  it_stb
  MATCAT                      =
EXCEPTIONS
   ALT_NOT_FOUND               = 1
   CALL_INVALID                = 2
   MATERIAL_NOT_FOUND          = 3
   MISSING_AUTHORIZATION       = 4
   NO_BOM_FOUND                = 5
   NO_PLANT_DATA               = 6
   NO_SUITABLE_BOM_FOUND       = 7
   CONVERSION_ERROR            = 8   OTHERS                      = 9.
regards
Raj

Similar Messages

  • Assigning all the components to work center

    Hi all ,
    I have exploded all the sub components of the BOM of a given material number and plant .
    Now i have all the details , now i would like to assign these materials to workcenters available for a finished product in ROUTING process .
    Is there any FM to assign the corresponding components to corresponding work centers in the routing process , so that we have to get the finished product in optimized way .....
    Please let me know you view....
    if there is no FM , let me know you suggestions ...
    Regards
    Raj

    Hi just check this link
    Configure IDOC
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    IDOC Packaging and mapping Techniques
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part1)
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    Introduction to simple (File-XI-File) scenario and complete walk through for starters (Part2)
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    and
    Useful thread for Beginers XI
    Re: Beginner in XI
    reward if helpful
    Regards
    Sachin

  • Why can I no longer, after having downloaded Lion, write accents and other diacriticals when in the Google, Yahoo, FaceBook, or even here in this post? The new method for getting at the "option" symbols works fine in other places like spotlight, but now e

    Why can I no longer, after having downloaded Lion, write accents and other diacriticals when in the Google, Yahoo, FaceBook, or even here in this post? The new method for getting at the "option" symbols works fine in other places like spotlight, but now even the older "option+letter" doesn't work in most places.

    Chrome doesn't support the new accent/diacritics/macron chooser. I'm not sure about other browsers such as Firefox. You can use the old Option+letter combination that Doug suggested. Hopefully updates will solve these little incompatibilities shortly.
    Neill

  • Software gets stuck for days in the middle of work. Force quit doesn't solve the problem

    Final cut pro gets stuck for days in the middle of work. Force quit doesn't solve the problem. It happens every once in a while.

    avoid double posts! read my reply in your other thread .............

  • HT1555 i just got a new apple tv but for some reason the remote only worked for about a min. and than it wount work at all. i tried to pair and unpair but nathing works but when i press a button the light on the apple tv turns off. what should i do?

    i just got a new apple tv but for some reason the remote only worked for about a min. and than it wount work at all. i tried to pair and unpair but nathing works but when i press a button the light on the apple tv turns off. what should i do?

    Have you held the menu and left arrow together for 6 secs ?  (I think you have from what you say).
    Also try unpowering and restarting AppleTV.
    AC

  • Assignment of activity group to work center

    Hi,
    We want to assign activity type to work center more than six,
    how we can assign activity type more than six to work center?
    i have created activity type group in klh1,
    in activity group i have assigned activity type more than six,
    How we can assign activity type group in work center?
    Regards
    Gajjen

    HI
    It is not possible to assign more tha six actvities to a cost center as per SVK defined in the WC.
    Check with the business process field for assign  with your CO guy in thw WC.
    A business procedure within an enterprise that uses resources and can involve activities from a number of different cost centers in a controlling area.
    When executing a business process, activities can be utilized for several cost centers of a controlling area.
    Check and revert
    Regards
    Anupam Sharma

  • Associate materials with work center

    Hello,
    For our chemicals production plant, vessels in which HALB products are produced are defined as work centers in SAP. Our business has a requirement that certain vessels can only be used to produce certain materials. Is there a way to capture this requirement in SAP, i.e. associate a work center with specified materials? Help is appreciated.
    Regards

    Dear Khan,
    work centers are not specific to any material production, u can restrict work center usage for the perticular task list by maintaing the field in work center basic data screen task list usauge.
    sree

  • Assign a report to a work center

    Dear Experts,
    I would like to add a report view to my custom work center. Do you know why this error message appeared? What is the condition for a work center to be used for report assignment?
    Many thanks in advance
    Cheers
    Linh Hoang

    Hello Linh,
    I would suggest you the following, in order to be able to assign a report to a Work Center View you need to create stable anchors for your WoC view in the UI Designer.
    The ReportAssignment-Anchor can be added via UI designer. Plus, the work center view subtype should be "Application".
    For even more details, you might refer to help description:  Developer Desktop => Analytics => Business and Technical Background => Defining Analytics Content
    I hope it helps
    Cheers
    Tales Caron
    Support Engineer

  • BAPI for reading capacity of a workplace/work center?

    Hi,
    I'm looking for a BAPI/RFC using SAP MII to read the capacity of a workplace/work center in a given time period (eg. one or more days/weeks/...). I would like to use the import parameters plant ( WERKS ), date from, date to, workplace/work center (eg. CRHD-ARBPL ) and capacity category (eg. KAKO-KAPAR ). As output I would like to get a list of (planed/used) capacities as the working time for the given time period at the specified workplace/work center.
    In theory the BAPI CBP_EXC_WC_CAPACITY_REQUEST nearly does what I want. The only drawback is, that it outputs the "wrong" time.
    Let me give an example: The work center uses at a given day a capacity from 6 to 22 clock, including one hour break. This gives us a working time of 15 hours for this workplace and day. And "15h" is the time I need. But as there are working 5 worker at this work center the BAPI CBP_EXC_WC_CAPACITY_REQUEST returns 75 hours (which is 5 * 15). But the result "75" is useless for me as long as I don't additonal get the number of workers.
    I've searched in our SAP system and in this forum, but wasn't able to find another BAPI that gives me the correct time. As an alternative I would need another BAPI to get me the number of workers for a workplace/work center at a given time. But I also was out of luck finding one.
    Looking out for help,
    Simon

    Thanks for your fast reply!
    I have looked to both functions before. Beside that they are both not remote enabled (which is not such a big problem as I could copy them or build a custom BAPI around them) I'm not quite sure how they could solve my problem.
    If I got it right, I would first use CR_CAPACITIES_OF_WORKCENTER to get the KAPID and using it as input for CLOI_WC_CAPACITY_READ. But I have problems to understand the output of CLOI_WC_CAPACITY_READ. The data type of the capacity is a float ( FLTP ) and the number seems to be to big, eg. 9.800000000000000E+01= 98h for one day.
    Could you try to explain your solution once again?
    Thanks,
    Simon

  • Can anyone explain why safari is going wrong for me on the iMac but works on the ipad?

    Safari on my iMac desktop has started freezing when blue band is halfway along an address from my bookmarked list. Once it has stuck I can double click on any other address and it will not  open or change the top address bar. If I actually delete the first address manually then I cannot even put a question in the window nor will it accept any bookmarked address. Can any one help?

    1. Power off the router. Unplug it from the wall. Wait for few minuets.
        Power off the router. Wait a while.
        Connect the router back to to the wall.
        Power the router back on. Wait  until all lights are letup properly. It will take a while.
        Restart the computer.
    Start up in Safe Mode
    http://support.apple.com/kb/PH11212
    Empty Caches
        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        Develop menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.

  • Forecast for planning over the Cost element/Cost center with KP06

    Hi all
    I'm searching a idea: one of our chief controller need to insert a "forecast" of budget inserted over the various cost elements/cost centers using the transaction KP06. THe problem is that he don't want lost the budget because he can need the reload the previous budget data during the year if the actual situation change. Obvisiously the insertion of the forecast overwrite the budget data over the version 0. This forces us to download over a file the budget and archive it, and reload it eventually. But this solution, a part the programming effort, don't permit to have both the data at the same time in the system. Exist a pratical customizing solution in CO for manage a "forecast"? Our release is 46c.
    thanks
    Davide

    Thanks Pascal.
    Some questions (i dont' have a CO background ):
    >execute charge transferts and plan distribution in the new >version
    Can you explicate me these concepts (or the transaction used for make this, probably I know this but in italian the name is different)? The KP47 copy the value over the single cost element or only the total of cost center?
    >KP98 is the transaction to copy postings from version 0 to >another version. In this case version 0 is the template.
    Are you sure? The KP98 have the description "Copy by actual version to planned version", the KP97 "copy from planned to planned"
    thanks in advance
    Davide

  • Can someone tell me for sure if the Nike  footpod works with the new 7th gen nano?

    I know that the nano can work by affixing to your hip and using the inbuilt sensor. I also realize that is not as accurate.
    I am wanting to specifically know does the new iPod nano sync with the Nike + footpod sensor - and recieve data from that. I've seen a couple of reports that it doesnt. I've seen a couple of reports that it does. The manual is useless. The reviews that says it does, says the sensor is now built into the ipod nano to recieve the data from the footpod wirelessly.
    Thanks for someone telling me for sure one way or another. I want to get one to run with, but I want to use the footpod and heartrate sensor.

    Yes it does. This is from the user manual:
    http://manuals.info.apple.com/en_US/ipod_nano_user_guide.pdf
    I found this on page 54.
    You can also use iPod nano with a Nike+ sensor or a Bluetooth heart rate monitor. Set up Bluetooth fitness devices in Fitness (see Setting Fitness preferences on page 34).

  • How to Assign Person (Personnel Number) without work Center

    Dear All,
    How to setup personnel number in order not using general and internal work center in operation service order area?
    if i use work center, it make HRD site and payroll will be damage
    please help me if you have any solution?
    Thanks
    Rendra Rizki

    dear all,
    When i tried to use co11n , the earning appearence :
    You want to confirm a network/order of the order type FEN1. However, this order type is allocated to an order category whose confirmation is not intended in this transaction.
    You try to confirm a network using a transaction intended for confirming production orders. Since networks and production orders are assigned to different order categories, the system issues an error message.
    so i still can't use this tcode, do you have any?
    Thx

  • How to assign Asset number to PP work center -reg

    Hi,
    When we create PP Work center  through CR01 can we assign the asset number ? 
    or   while creating asset number through AS01 can we assign the PP Work center ?
    Our major issue is
    FI : ASSET
    PM:Equipment
    PP: Workcenter
    we  are not able to link .  we need to have same cost center for all the three . but as of now we dont have the link for the three and what ever cost centers we assignsystem is accepting
    how to solve this ?
    i could not find any fields in work center either to assign asset or equipment ?
    only in equipment i can give PP work center but how it links all the three Asset , Equipment and Work center ?
    regards,
    madhu kiran.

    HI
    In euipment you can assign the PP work center and from the asset AS02/AS03 go to environment > additional  amster data > you can get the cost center assigned to asset fro this you can relate the cost center to all three.
    Hope it will help u
    Rgds
    Anupam Sharma

  • Different activity type for different capacity category in a work center

    Hello,
    Multiple capacity categories can be created in a work center like
    Engineer
    Sr. Engineer
    Architect
    Rates for all of them will be different (obviously) , however we can only have 1 activity type as default in a work center . We intend to 'HR assignment' corresponding to each capacity category . how can we have multiple activity type for different capacities (Engineer , architect etc).
    With regards,
    Mrinal

    Hi Paulo,
    thanks for your quick reply.
    Requirement is to assign all persons (Engineer, architect ) to 1 work center and to 1 activity , but to default different activity type (corresponding to capacity category) in worklist of time sheet .
    With regards,
    Mrinal

Maybe you are looking for