Get routing component allocation
Hi,
In a routing when clicking on button "ComAlloc" we can see list of component allocations.
In a program I need to get this list, I need the links component/operation.
Is there a function module to get component allocations for a routing ?
Thank you.
Julien SCHNEERBERGER.
i do not think them there is any standard function module which can do so.
try hitting database tabel : PLMZ in combuination with PLPO and PLAS.
Similar Messages
-
Routing Component Allocation and Assignment of Operation/Seq to components
Hi everyone,
We are creating a Order Bom (uses variant configuration) and Sales order routing using CU51.
When in routing component allocation screen using CA02 , we can assign the operation and sequence to the components manually. Requirement is to automate this manual process and assign the operation and sequence to components based on master routing ( template created manually). I have not been able to find any objects (BAPI, FM) which will do this. I see that when operation/sequence is assigned manually to components, the records are created in PLMZ table. But I have not been able to find any objects (BAPI, FM) which will creates records in PLMZ table that can be used to automate this w/o worrying about loosing the integrity of data. If no objects are available , what other information I should make sure that I update along with update to PLMZ table. Going through the recording, I don't see BDC an option for this. Has anyone done this before ? Any ideas on whats the best way to automate this ?
Thanks
RaghuHello Munukala Rao,
I m also stuck up with same problem so please share code your BDC code . -
Hi All,
A material routing have 6 operations, 0010,0020.....0060.
We have allocated one BOM component A to operation 0020 & another component B to operation 0040.
Production order created for the material.
Can anybody tell from which table/tables we can get the component allcation details for the production order?
Regards,
s.gHi , Srijit
Table PLMZ stored the relationship between operation and component ,but if you want get more detail ,you have to connect to table STPO .
The relationship as below:
Table PLMZ ,key field :
PLNTY Task list type
PLNNR Group
PLNFL Sequence(it may have more than 1 sequence in a routing due to alternative or parallel sequence)
PLNKN TL Node - Task list node (it stand for Operation , but not simply equal to operation no, Say in a routing ,there are 3 operations 0010 /0020/0030 ,in here ,for operation 0010 the TL node is 1, but if you delete it and create an new operation 0010 ,it may become to 4. pls link to table PLPO to get the operation no. )
you can get below information :
STLTY BOM category
STLNR BOM
STLAL Alternative
STLKN Nodes
WERK_STL Plant
Connect to table STPO ,then you can get the material no and other things .
Hope this can help you .
Joe.Li -
Reference Routing Component allocation to Opertaion table
Hi Gurus,
I am having one query.My requirement is I want to know for list of ref.operation sets(Group) and header materials,I want to know the operation in which component allocation has done in table.For ex,If 10 operations are there in the Ref,op.set.If 2nd operation components allocation is done.i want to know in table level 2nd operation only.I have explored the tables PLPO,PLPZ,PLKO.But I am unable to get the required answer.kindly through some light.
Regards
GunaHi Madhu,
Thanks and glad to see you're active in the forum and making valuable contribution, keep it going.
Regards,
Vivek -
LSMW- Routing - Component Allocation
Hi Gurus:
I have a problem during routing loading by LSMW, the system keeps asking for the bill of material (STLNR in structure BIPMZ) and nodes( STLKN in structure BIPMZ). According to the documentation for program RCPTRA01, these fields can remain empty, then the system will determine the number automatically from BOMAT, WERKS and the key date for STLNR.
Is there any one encountering the same problem before?
Any suggestions are well appreciated.
BR
Kevin.Dear,
If field BIPMZ-STLNR is initial, the system searches for the BOM number via the alternative BOMs that are allocated to the material, BIPMZ-BOMAT, in the predefined plant, BIPMZ-WERKS.
The BOM category, BIPMZ-STLTY, is used as a selection criterion. If an alternative is specified, BIPMZ-STLAL, then this is used as a selection criterion.
The key date for the search is the current date on which the report for creating the batch input session is called.
The first bill of material found that corresponds to the criteria is transferred. The BOM number and the alternative BOM, STLNR and STLAL, are transferred. The sort feature, according to which the search is run, comprises the BOM application, BOM number and alternative BOM.
If a search is run on the BOM node number, the first four places in field BIPMZ-STLKN must contain the constant '*POS'. The last four places of this field contain the BOM item number, the specification of leading zeros is necessary or they are initial.
If a BOM item number is specified, the system scans the bill of material for this item number. The entry found first determines the node number. The component is transferred into BIPMZ-MATNR.
If an item number is not specified, the system scans the bill of material for the component, BIPMZ-MATNR. The first entry found determines the node number.
The key date for the search is the date on which the batch input session is created.
Maintain a profile in which the entry tool is activated in field BIPKO-PROFIDNETZ of the input file.
You make settings for the entry tool in the control data for routings within Customizing under Production -> Basic Data -> Routing -> Control Data -> Define profiles with default values.
Activate the entry tool.
Regards,
R.Brahmankar -
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 overviewall 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 of material components in routing
Dear Sap Gurus,
I am having a finished product in which it contains rawmaterials for making but it in my routing i am having operations of 10, 20,30,40,50,60 ( 10-shearing, 20-bending, 30-welding, 40-grinding, 50-bending, 60-grinding )
but in my routing doing compoent allocation i am using materials from bom which contains components of 10,20,30 for routing operation of 10 and the output of 10 is the input of 20 routing operation so how can i give component allocation in routing whether i should give for routing operation of 10 the bom components so that it can take for routing operation of 20,30,40,50.
whether my procedure is correct or any body can help me how to proceed the above problem.
regards,
muralidhar.tMurlidhar,
First of all tell me one thing, are you going to identify the inprocess material with a separate material or not?
If you are going to do it, then your query can be answered.
If component ABC is allocated to operation no. 0010, it gets changed to PQR, then you need to first create the code for PQR. Then do GR as a byproduct with movement type 531 & again do the GI with movement type 261 against that order itself.
It's a quite tedious process & normally no one goes for this.
It's better you deal to the initial component & the final product only. If you opt out for in process material codification then in future where there are several stages of the process, you find it difficult & next to impossible.
Go for that if it is having major impact on the process (normally it never be).
Hope this helps you.
SmanS
Edited by: SAP PP Consultant on Mar 30, 2009 12:59 PM -
Component Allocation in Routing is missing
Dear PP Gurus,
We are using R/3 4.7 version and we are facing a serious problem in Routing Comp. Alloc. since few years. There are 3 to 5 operations in the Routing and about 20 to 30 BOM components, each components are assigned to their respective operations. But after a few days, component allocations for some materials would be gone. So the user needs to do the assignment again from time to time.
They don't even changed the BOM and there's only 1 person who is maintaining the Routing. So we don't assume that somebody has removed the component allocation. Besides, we have activated the Change Management in Routing since then, and we are able to see the history changes in the Routing.
If this is a System Bug, do you know any patches or OSS note that could fix the problem?
Thanks,
JohnDear John,
I don't think that is a system bug.
I believe that is your master data.
You could start to researh from material master - simply use MM04
I also recommend to check out the relevant BOM changes. Look after routing changes as well.
Before to do that, go to SU01 and get all users who able to do such things.
(some users could break the process just done a 'little' adjustment)
Good luck!
p.s. just in case - have you done any updates recently? ask you basis guys -
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 -
Routing-LSMW-Component Allocation to task list
Hi Gurus,
I'm creating LSMW to Routing using Standard-Batch Input method, have mapped the required structures.
But I was unable to map the Component allocation to task list.
Is it possible in the standard one else I need to go for some sort customisation.
Can anybody throw some lite on this issue ?
regards
Ram KumarHi,
You will find BIPMZ Batch input structure for component allocation to task list in the standard structure relations (no customizing required). Use the same for your need.
Hope it clarifies your query.
Regards,
Vivek -
Component allocation missing in Routing,
Hi SAP Gurus
The component allocation for a finished material is missing in
Routing. this is particular with usage production BOM's. I have to manually fix it . What can be the error . Pls advise.
regards
KarthikHi,
It seems that the BOM Components are assigned to the first operation of the Routing, but it is not the case.
If you go and see the component assignment to the Fist operation system says no components are assigned.
At the Time of Production Order creation only the BOM components will be assigned to the first operation.
If you assign a Component specifically to any operation, if you go into the Component assignment, then the to which Operation the component is assgned will be seen.
You need to assing components manually to operation..
Regards,
Siva -
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
ShekarHello 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 -
Component Allocation in Group Routing
Hello,
I am working on a group routing.
After add the group members in "Material Assignment" in CA02,
i do the "Component Allocation" one by one for each material number.
Is there any method to do it in a group manners or any better method to work on this?
Thank you.
CollinnDear Collinn,
It seems you are having one group routing(same group no and group counter no) for a list of materials.
In this case if the BOM is common for all these list of materials,then making the component allocation to the individual operation
makes sense.But practically the chances for such case is less.
Moreover I would suggest you to make the component allocation manually in the routing. The reason why I doubt is you have to
build the logic if you are going to do the same in the BDC,so the challenge here will be identifying the component no ,along with the
item no and asigning properly to the operation.So this input has to be accurate i the input file which you will be giving for upload.
Correct me If I'm wrong.
Regards
S Mangalraj -
Bom for component allocation in routing
I have created Sales order Bom. When I create normal routing and go for component allocation then system asks for Bom creation.
Why system is not considering sales order bom in Normal routing for component allocation?Hi,
Sales order BOM will not be valid for Production. Eventhough you have created the sale BOM, the system will consider only the Production BOM. So you need to create a Production order BOM also, when you want to create a routing or production order creation.
Regards,
V. Suresh -
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
Maybe you are looking for
-
How to get the last record of an internall table ....
Hi All.. i want to get the last record of an internal table itab, and i want the the value of the last record.
-
Files can't be found, but are still taking up space.
I just downloaded several hour-long podcasts from the web in MP3 format. I added them directly to my iPod Touch via iTunes 9.2.1.5 and they showed up in my music folder. Well, obviously I wanted them to show up as Podcasts, so like I do with my Audio
-
ValidateDateTimeRange problem with minimum
Page has an input date field with a minimum of today's date but the calendar grays out today's date too. Here's the snippet from the page: <af:selectInputDate value="#{bindings.theStartDate.inputValue}" label="Start Date:" required="true"> <f:convert
-
Updated my iPhoto 7 and can't view any of my pictures
I updated my iPhoto 7 and now I can't view any of my thumbnails or pictures.
-
Scenario of Plant maintenance - Internal ( service)
Hi Expert, Can any one share , the Scenario of Plant maintenance - Internal ( service) for contro key PM05. For that what are the keys to assigned to in the PMO5 control key, and Is in any service master to be created ? waiting for ur Reply Thanks &