Bapi assign PO to material component

Hello
I am migrating some material components to a new project structure.
I have created the new material components and the new PO (based on the old ones) but i do not know now how to link the material component to the PO.Is there any BAPI that does this?
Do i have to first create a purchase requisition for this material component or how can i link the mat component to the PO.
I have used  bapi's for creating material components and PO,so i would need also some bapi that could do something like that.
Is there any bapi for changing material component ?
thank you

Hi
before creating material components,we have to set the purchase requisition flag to "immediately" so that a purchase requisition is created immediately after material component creation.
Afterwards i have read the newly created PR's and gave them as parameter to the bapi for PO creation

Similar Messages

  • BDC/BAPI Assign characteristics to material using CL24n

    Hi Gurus
    My requirement is :
    We have already assigned characteristics to the material class, Now we need to assign characteristics values to materials.
    Assign characteristics to material using cl24n(Class name & Classtype) > only new assignments > material.
    What should I go for ? BDC or BAPI.
    Please suggest me how to proceed with BAPI as I personally feel BAPI is better than BDC.
    Thanks in Advance
    Dinesh

    BAPI/BDC for assigning characteristic to material

  • G/L is not automatically assigned to material component

    Hi All,
    We use transaction CJ20N in creating a meterial component, non stock item category(N), G/L is not automatically populated. Could you please tell me how does the system in SAP automatically assign G/L account in the material component. I have checked the valuation class for the material group and a G/L is assigned there but it is not assigning in the material component.
    Thanks in advance

    hi,
    yes i have checked the network profile and the g/l account is mandatory, therefore prompting the system for the g/l account to be assigned first
    also, the g/l account is assigned to the valuation class
    Edited by: UserID on Aug 8, 2011 8:09 AM

  • CN01 assign Material Component to internal activity

    Hello gurus;
    In transaction CN01 / CN02 can I assign only one Material Component to internal activity without Bill of Material (BOM)?
    It is possible? How can i do?
    Best regards,
    Mariano

    Virendra;
    Thanks for your response.
    I saw the SAP Help portal in [http://help.sap.com/saphelp_46c/helpdata/es/4c/227a7746e611d189470000e829fbbd/frameset.htm]
    and I must use a Bill of Material to assign material component. There is no other choice
    This is the point where I disagree with SAP, cause the client says that they use Operational Networks, cause it's more simple to assign components to activities.
    Best regards.
    Mariano

  • Assignment of Material Component

    Hi,
    To which activity should we attached material component ( Stock and Nonstock)?
    Please explain both for Internal Activty as well as external activity.
    Muzamil

    Hi,
    To answer your question To which activity should we attached material component ":
    Lets take an example:
    Component "A" is being procured and dispatched to the customer. But before dispatching assume that there is a Factory acceptance test (FAT) for this material, so in your project there would be three activities with FS relation ship:
    Procurement> FAT> Dispatch or the Shipment
    Now you know very well that this material is needed for sure at the end of the procurement activity or at the start of the FAT activity.
    1. Either assign this material to Procurement activity with Allign finish date on the general data tab of the Material "A"
    or assign it to FAT activity with Allign start date on the general data tab of the Material "A"
    2. So when you schedule the proecet the requirement date on the general data tab of the Material "A" is picked up from that particular activity.
    Now to explain your question :When to chose the Stock and non stock:
    1. If you wish to dispatch the material directly from the vendor to customer, assigne this material component--delete the procurement indicator and enter "N" as item categoty (Based on the configuration in OPS8) you wll have two options so choose third party order.
    2. If you wish to dispatch the material after it is received in your own plant then chose "L" as item category and save it..
    Hope it is clear now.
    Reward point if found useful..Revert back if any more doubts.
    Thanks.

  • Cost element 7000218 is not assigned to a cost component in CostCompStruct

    Dear All,
    How to change the standard price in MR21 for materials with Price Determination Control 3 ( header level V & 3) (Split level S & 3)
    In MR21, when I am updating the price for initial stock uploading.
    It throws me a error Cost element 7000218 is not assigned to a cost component in CostComp Struct 01
    Actually the cost component structure 01 is not active. we are using OP cost component structure & it is active , further the  assigned to  the company code level.
    Cost element 7000218 is assigned to the cost component structure OP.
    please suggest why it result in above error, even though we are not using cost component structure 01.
    Regards
    Subbu.

    Hi,
    Did you change the cost component structure assignment for the plant ?
    This error could be produced due to the fact that for this plant the cost component struture was changed from 01
    But ML tables makes reference to the old cost component structure.
    You can check table CKMLKEV.
    During the creation of the material the system creates data for the current, previous and last period of the last year (12 2010).
    Therefore the system tries/ needs to create also a cost componet split for the period 12 2010. For this it must used the cost component structure for this period 12 2010 (maybe 01).
    In such a case you have to define the cost element in '01' as well.
    Please do read note 434873 carefully for the side effect and correct procedure to change cost component structure.
    regards
    Waman

  • How to change material component for a Purchase Order?

    How to change material component for a Purchase Order?
    I need FM .
    PLEASE help

    Dear ,
    Create PO with item category L....There in Item detail you will get tab for material.
    There click in component Button, it will take you to the component screen there you can assign and deassign components.
    Hope this helps.
    Regards
    Utsav

  • How to create a Purchase Requisition for a material component in WBS or NW?

    Hello All,
    I have created a project with the following structure:
    Project Defination (Construction of Sub station)
          Main WBS
                   Level 1 WBS
                             Level 2 WBS
                                       Network for level 2 WBS
                                                      Activity  (Procuring Material)
                                                                 Material Component - MATXXX (Stock Item)
    Now in the above structure i have a activity where in i am procuring all the materails required to construct a Substation.
    So under this activity i have assigned all the materials which are needed to build Substaion.
    After i change the status of the project to release, there  a reservation created for the quantity of the material which i have mentioned in the material component under the activity.
    Now my querey is, how should i create a Purchase requisition for the reserved materail quantity in order to bring in the stock against the WBS / network / Project ?
    Awaiting your reply.
    Thanks and Regards,
    Sudarshan.

    Hi Sudarshan,
    In your case you can run Me5J to check the list of PR created against your project.
    Then Create PO and similarly you can check list of PO in Me2J.
    Then followed by GR and check if any GR release exist in MIGO. Then once after doing GR you can check the Material in Stock which will move material from Unrestricted stock to Project Stock which you can check it in MMBE.
    Then you can do the Good Issue in MIGO itself and run MIRO to complete the cycle.
    Regards'
    syed

  • How to activate price tab in material component

    Dear All,
    Actually i need to assign price for my issuing material, but i am not able get the price tab in material component its only showing general data here i able to assign the quantity. I need help for how to activate the price tab.
    Regards,
    S.Suresh.

    Hi,
    if you take non stock material component ( item category as "N") then system allows you to change the price.
    for this click on material component then, click on Purch.data tab...here you can chnage the price.
    But this is not happening with stock material ( item category as "L").According to me this will not happen with stock material.
    sandeep

  • Shop Floor Statuses - Assign Shop Floor Statuses - Component Pick Release

    Hi,
    is there someone who knows the use of the following forms in WIP module:
    - Shop Floor Statuses
    - Assign Shop Floor Statuses
    - Component Pick Release
    We are in 11.5.10
    Please provide also an example of a business scenario where this functionality could be used.
    Thanks in advance
    Regards
    Riccardo

    hi,
    shop floor statuses are created which will allow/disallow moves and assigned to particular operations in the job.
    they are normally used in OSP operations to control the movement of material thru intraoperation by the users when the material is gone for OSP.
    and they can also be used to hold the job when its moving in operations (may be due to quality problems etc..)
    Component pick release is used to issue the required components to a particular job based on pick slip report.
    its another way of issueing material to wip apart from backflushing thru wip material transaction form.
    hope that u can hav idea abt these.
    if u need any clarifications, ols reply

  • Material component in created status

    Hi,
    The n/w is released also activity is released but the material component assigned are still in created status. PR,PO and GR for the material done but GI not allowed because of this status movement allowed is untick.
    Please suggest.

    Hi,
    Thanks for your reply ..
    the material component status in cj20n is created not released where as the activty is released. Procurement for the material is allowed but since the material is in system status created movement allowed is untick and hence GI not allowed.
    Regards

  • User-exit to update material component in a production order with a batch

    I am looking for a solution to update a production order material component with a batch number what is stored in the configuration of a sales order. The production order is defined for salesorder related production. How can I update the field RESBD-CHARG in the production order.
    Tried already the exits PPCO0001, PPCO0008, PPCO0021. Also looked for a solutions with batch search stratgegies, but I have no idea kind of possiblities I have here. Other problem is that we are stil on release 4.7.
    Hopefully some can help me with a solution.
    Regards,
    Peter Geurts

    Dear
    You have to update the batch in a production order component via RFC Call of BAPI_ALM_ORDER_MAINTAIN.You should also pass operation number to T_COMPONENT and T_COMPONENT_UP
    T_COMPONENT-ACTIVITY = Operation Number
    You need to pass the following tables
    IT_METHODS should have 2 values
    Refnum - '000002'
    Objecttype - 'COMPONENT'
    Method - 'CHANGE'
    Objectkey - 300054 (Prefix the zero's)
    Append IT_METHODS
    Method - 'SAVE'
    Append IT_METHODS
    T_COMPONENT should have the following values
    RESERV_NO - Reservation number ( you can see in production order)
    RES_ITEM - Reservation item ( you can see in production order)
    BATCH - populate the required value
    APPEND T_COMPONENT
    T_COMPONENT_UP should have the following values
    BATCH - 'X'
    APPEND T_COMPONENT_UP
    Or else look at BAPI 'BAPI_MATERIAL_GETBATCHES'. This might help you.....
    CALL FUNCTION 'BAPI_MATERIAL_GETBATCHES'
    EXPORTING
    material = MATERIAL
    BATCHNUMBER =
    plant = PLANT
    expirydatefrom = DATE
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Sep 12, 2010 11:14 PM

  • CK11N alert:"Costing item 00001 is not assigned to a cost component"

    Hi,
         When I use CK11N, fill in all the necessary field, there will appear a alert.
          The detail as follows:
    Costing item 00001 is not assigned to a cost component
    Message no. CK 334
    Diagnosis
    No cost component is assigned to costing item 00001.
    System Response
    The costs for the costing item are not shown.
    Procedure
    Go into Customizing for Product Cost Controlling and check the assignment of cost elements to cost components.
           I have used KA03,KL03,CR03 to checked previous datas, but I find no errors?
    What is the problem?

    Hi,
    Use OKTZ to create cost component structure.
    Check for some of these settings also
    Configuration:
    Define costing sheets
    OKTZ create cost component structure
    OKK4 Define valuation variant
    OKKN Define cost variant
    Master Data:
    KP26 setup activity rates
    CR01 setup work centers
    MM01 setup material masters
    CS01 setup Bill of Materials
    CA01 setup routings
    Regards,
    Murali

  • Cost element  is not assigned to a cost component

    Dear All,
    On trying to run costing for finished good having one BOM component, system create error in costing log as-
    Message no-239-Cost element 954001 is not assigned to a cost component     1
    On seeing details:
    Cost element 954001 is not assigned to a cost component
    Message no. CK239
    Diagnosis
    The system attempted to generate the cost component split for the material, but discovered that no assignment has been made in cost component structure Z2 for cost element 954001 and possibly for origin group .
    System Response
    The cost component split is incomplete. The cost of goods manufactured in the cost component split is therefore less than in the itemization.
    ProcedureGo into Customizing for Product Cost Controlling and carry out the assignment for cost component structure Z2 and chart of accounts AICA.
    where i am missing the required setting.
    please guide
    regards

    Hi,
    Use T.Code OKTZ for the relative cost element has to be assigned to one of the components there in
    the cost component structure. Choose the nature of assignment for eg. raw material, choose the source and give the cost element.  Then choose Assignment and give settlement through Cost center, Order.While coming back activate the cost component structure and save.  Try for the Costing.
    Regards,
    Sadashivan

  • Report as per Customer Account Assignment group or Material Account Assig

    Hi,
    I require report as per customer account assignment group or material account assignment group.
    Can you please tell me how to fullfill this requiremetn.
    I have go for ZReport or any standard report is available.
    Regards,
    ch.srinivas

    Hi,
      You could have gone for a query but unfortunately,you cannot use table TSTMT in a query so I think ZREPORT would be a better option.
    Regards
    Karan

Maybe you are looking for