Collective access to Allocation of BOM Items to operation in Routing
Hi, Experts
My requirement is to generate a collective report that includes on a material what are the operations to be performed on which work center and component allocated to that operation.
This is similar to as we go through CA03 than go through operations and than component allocation to operation, only difference is I have to do it collectively for group of material.
Is there any standard way to do it or we have to right ABAP query.
If ABAP query is the only possible way will you please help to find out relevant tables and joining conditions etc.
Thanks & Regards
Ashish Garg
Hi
Pl chk the Reports COOIS for Production orders and COIO for Process orders with input data in the Fields say Plant and Basic start date and Finish dates under dates for Header level and Execute it
In the Next screen Click on the + mark to Expand the order no to view the Operations , Material allocation etc
Regards
Brahmaji
Similar Messages
-
Assignment of BOM items to operations in CS01 / CS02
Hello Sirs,
How can we assign the BOM items to operations in transaction codes CS01 / CS02 through path Extras --- Operations assignment. Currently the option cannot be selected. Please let me know the solution for it.Hi,
Select the component
Menu > Extras --Operation assignment
Select the operation and save.
This will assign the component to opeartion.
Option 2.
Ca02
Here select the operation and click Compalloc in the menu.
Now here also you can assign
Regards,
Vishal -
Avoid automatic creation of purchase requisition for bom item N
Dear.
When I create a production order , for the components with bom item N the system create a purchase requisition. I need to avoid this automatic creation , do you know a solution to obtain this ?
Thanks.For the many people that have asked this question.
N item category in the BOM is always going to propose direct procurement. Through configuration I have not found a way to make it go away from the planned order. You can make it go away from the production order.
The IMG path:
Plant Maintenance and Customer Service
-> Maintenance and Service Processing
--> Maintenance and Service Orders
---> Functions and Settings for Order Types
----> Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval
Under the Res/PurRq -> Specify Never
In order make this setting effective, you must define the following
system message to error or warning, as it is stated on note 569984
Version Appl.A. No. Cat
00000000 C2 280 W
Please note that this setting is effective for reservations and
requisitions.
The best solution is to use BOM item category L with the bulk indicator set. You will not get any direct procurement proposals or planned orders and you can use long term planning to see the time phased MRP results. -
Change material BOM / item / Class Recursion
I'm looking for a way to change the "recursiveness allowed" flags in the "Class Recursion" tab of a BOM item in transaction CS02. The flag corresponds with the fiels REKRS in table CLRK. No BAPI or FM found after half a day of searching. The CSAP_* function modules don't seem to cover this data.
Hi,
This indicator is automatically set based on the conditions mentioned here [Class Recursiveness|http://help.sap.com/saphelp_470/helpdata/en/ea/e9b54a4c7211d189520000e829fbbd/content.htm]. You can have look at fm CSAI_BOM_MAINTAIN which has that indicator FL_RECURSIVE. As the documentation says
The system recognizes recursiveness for a class item if the following objects are allocated to the class in the class item:
The BOM header material
A material with a BOM which contains the BOM header material as an item
A class to which one of the materials described above is allocated
You can try logics like removing the header material from the item, so that recursiveness is avoided, May be by using CSAP_BOM_ITEM_MAINTAIN. Explode the existing BOM using CS_BOM_EXPLOSION and compare the header & item materials. -
Regarding BOM item return(KITs Return)
Can any one please help me:
Basically a BOM item (TPH77500--- Not Batch determined) hold 3 components TMD7710, TMD7711, TMD7712.( all the components are batch determined)
I have completed the Oto C for the above BOM item with a qty of 2. When I am trying to return 1 qty of the BOm item, It is populating its components with qty 1, butduring delivery it is saying the error log as below;
1. Document is Incomplete:You cannot Post Goods Movement for the material TPH7750
2. The batches are not defined for the delivery item TPH7750.
I have checked in the path edit---> Incompleteness Log, In that It is giving adescription:as per the status Group D8 in the Incompleteness Procedure L1 The Batches /valuation Type is not completely allocated.
but the BOM item is not a batch determined material where as the components are Batch determined.
Can any help me how I can rectify the above one so that I can check the KITs Return Process and the KIt's Component Return Process.
Regards,
BadariNath.G
9989425075Hi BadariNath,
Assume the bom item is not maintained "batch management" in MM. Pls ensure "Batches /valuation Type" is not checked in Incompleteness Procedure. -
Saving a Template BOM Item using the oInventoryGenEntry object
Hi
I am trying to do a Good Receipt using the DI Object, It always works if the item is not a BOM object but if its a BOM parent I get an error :Item is not set as Inventory Item. The error continues to show me that the problem occurred on an Item that is a child Item of the BOM, This happens especially when the BOM TreeType is Template. According to my understanding, As long as he parent Item of the BOM is set as inventory Item, every item should work fine.
I can't set the child items as Inventory items because they are just components to build the parent Item.
Please help. How can I solve this
Private Function UpdateStock() As Integer
Dim oAdjustmentIn As SAPbobsCOM.Documents
Dim txtItemCode As SAPbouiCOM.EditText
Dim txtStdCost As SAPbouiCOM.EditText
Dim txtSize1 As SAPbouiCOM.EditText
Dim txtSize2 As SAPbouiCOM.EditText
Dim txtExtQty As SAPbouiCOM.EditText
Dim errDescript As String
Dim Result As Integer
Dim CurrentStock As Double
Dim iRow As Integer
Dim tmp As String
Dim i As Integer
Dim StkItem As String
Dim GLAccount As String
Try
oAdjustmentIn = oDICompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)
oAdjustmentIn.DocDate = Now
oAdjustmentIn.Reference2 = "2"
oAdjustmentIn.JournalMemo = "Adjustment In"
'oAdjustmentIn.PaymentGroupCode = "1"
oItem = oAdjustmentInForm.Items.Item("13")
oMatrix = oItem.Specific
txtItemCode = oMatrix.Columns.Item("1").Cells.Item.oMatrix.RowCount).Specific
If txtItemCode.Value = "" Then
i = oMatrix.RowCount - 1
Else
i = oMatrix.RowCount
End If
For iRow = 1 To i
DocType = New PGG_IBT(mo_ParentAddon)
txtItemCode = oMatrix.Columns.Item("1").Cells.Item(iRow).Specific
StkItem = txtItemCode.Value
oAdjustmentIn.Lines.ItemCode = StkItem
oAdjustmentIn.Lines.AccountCode = GLAccount
oAdjustmentIn.Lines.Quantity = 2
oAdjustmentIn.Lines.Price = myPrice
If iRow <> i Then
oAdjustmentIn.Lines.Add()
End If
Next
Result = oAdjustmentIn.Add()
If Result <> 0 Then
errDescript = oDICompany.GetLastErrorDescription()
SBO_Application.MessageBox("Error creating interbranch Receive " & errDescript)
End If
UpdateStock = Result
Catch ex As Exception
UpdateStock = -1
SBO_Application.MessageBox("Error in Class PGG_Inventory, function UpdateStock() " & ex.GetBaseException.ToString)
Finally
GC.Collect()
End Try
End FunctionHi Ian
Thanks for the insight, how ever, if I do a Goods Receipt direct in SAP Business One, the Item saves nicely and everything works. It even looks as though the BOM child items are not affeted. But when I use the DI object I then get an error, I don't know what the DI Object is doing different from what SB1 is doing.
There is no doubt in my mind that the Template BOM item can be saved with the Goods Receipt because I am doing it direct in SBO client and it works. I just need to be able to do it via the Di Object
Please help if you can think of another reason why this is happening
Regards
Dumisani -
Hi All,
I have a requirement to overwrite the BOM components with the new components.The program should just overwrite the existing components.The program is not required to check the existing components it should just overwrite with the new structure to the existing BOM.
I am trying with the function module CSAP_BOM_ITEM_MAINTAIN but I am not succeeding on this.
Please suggest somebody how to do this?
Regards
MaheshChanging a Material BOM
In the standard system, you use the following function modules to change a material BOM:
CSAP_MAT_BOM_OPEN
CSAP_BOM_ITEM_MAINTAIN
CSAP_MAT_BOM_CLOSE
Open BOM: CSAP_MAT_BOM_OPEN
This function module is used to open a BOM for changes. The BOM is imported with the relevant valid-from date and is locked. Provided that no error occurs opening the BOM, the result returned by the module is the BOM header data, a table of BOM items, and a table of object dependencies.
INPUT:
Material (MATERIAL)
Plant (PLANT)
BOM usage (BOM_USAGE)
Valid-from date (VALID_FROM)
Change number (CHANGE_NO)
Revision level (REVISION_LEVEL)
Indicator FL_NO_CHANGE_DOC (do not write change documents)
OUTPUT:
BOM header data (O_STKO)
Table T_STPO (BOM items)
Table T_DEP_DATA (object dependencies basic data)
Table T_DEP_DESCR (object dependencies descriptions)
Table T_DEP_ORDER (object dependencies allocation)
Table T_DEP_SOURCE (object dependencies source code)
Table T_DEP_DOC (object dependencies document)
Maintain BOM Items: CSAP_BOM_ITEM_MAINTAIN
Once you have opened a BOM successfully (without errors), you can use this function module to process the individual BOM items.
You can:
Create new items
The fields for item node and item counter must be initial when you create a new item.
Change items
From the table of BOM items, select the item you want to change, and transfer the changed data. The fields for item node and item counter must contain a value, because these are the fields used to uniquely identify an item in a BOM.
Delete items
From the table of BOM items, select the item you want to delete, and set the deletion indicator. The fields for item node and item counter must contain a value.
Maintain object dependencies
If you want to change or delete a local object dependency for a BOM item that has more than one dependency, enter the internal name of the dependency.
You cannot use the external name that you entered when you created the dependency to identify the data belonging to a local dependency.
INPUT:
BOM item (I_STPO)
Table T_DEP_DATA (object dependencies basic data)
Table T_DEP_DESCR (object dependencies descriptions)
Table T_DEP_ORDER (object dependencies allocation)
Table T_DEP_SOURCE (object dependencies source code)
Table T_DEP_DOC (object dependencies document)
You cannot change the item category of an existing item.
You can only change each item once in one session (between when you open and close the BOM).
If you see the error message "Item cannot be changed" in the log, the following reasons may apply:
The item is not valid on the valid-from date entered, because it becomes valid at a later date.
Object dependencies are allocated to the item, but the change number you used to open the BOM is not active for object dependencies.
The item has already been processed with another change number on the valid-from date entered.
Close BOM: CSAP_MAT_BOM_CLOSE
Once you have made your changes, use this function module to close the BOM. This saves the changes, unlocks the BOM, and writes the log.
The BOM is only saved if at least one item was changed successfully.
Please note the following points when changing BOMs:
There is no function module for changing header data.
The same restrictions apply as for creating a BOM.
You can only process one alternative or variant. If you do not enter an alternative when you call function module CSAP_MAT_BOM_OPEN, the function module opens alternative "01". -
Populating the custom filed - added in BOM item.
Hello Friends,
I have a requirement like, for the custom field added in BOM item data, it should come filled while executing the CS02/CS03/CS12/CS73....transactions.
I have added a field which is one of the field from MARA table. what I have to do is to pass the MARA record into the custom field added based on IDNRK.
This should happen as soon as enter button is pressed after entering material, plant, bom usage value.
Please let me know if any exit is there wherein I can put the code OR if any other way!
Thanks.i have solved this issue by doing some R&D.
-
How to get the latest and valid BOM item entry from STPO
hi,
may i know with what condition we can get the latest and valid BOM item entry from STPO table?
i have STLNR and IDNRK as a input. But i realized that it would return multiple entry due to the combination of valid-from and valid till date.
can i use stlnr,idnrk and stpoz (with the latet counter) to get the latest and valid BOM entry?
thank you.Hi
You can get the latest BOM either by using the latest valid from date DATUV or latest internal counter STPOZ
Regards
Shiva -
Error in Rush Order type with BOM item!!
Hello,
I am facing a very strange error while creating a rush Order with BOM item.
System Error:
1. No item category available (Table T184 SO ERLA TAQ).
I except the error. I get next error as
2. Structure explosion for item 000010 is not possible.
After this BOM explodes with only first 2 Sub Items ( Item cat for main item is determind as TAQ and Sub Items as TAE) , where as the complete BOM has 7 Sub items.
I have made the required configs in item cat determination in T184 table for order type SO, as follows.
SO ERLA - TAQ for Main Item of the BOM
SO NORM TAQ TAE for the Sub Item of the BOM
The same item (BOM ) works very well in OR/BV kind of sales order types, by exploding the BOM to full level(i.e all the 7 sub items are determined).
Has any one come across such an issue. Please let me know what could be the solution?
Thanks in adv,
ShripadHi,
Thanks,
In vov7 for TAQ Item Cat. the structure scope is maintained as 'A'. And that's the reason for Standard order 'OR' , the BOM is exploding properly.
It is only with Rush Order , the BOM is not exploding correctly.
BR
Shripad -
"You do not have sufficient access priveleges to rename the item"
Hi All,
I have a strange problem that has appeared over the last few weeks. I can no longer rename applications, and also have noticed that I am being asked for my admin password to allow for certain tasks that I was not prompted for previously.
For example, I had previously named the application "Cyberduck.app" to "FTP Cyberduck.app" with no problems. If I now attempt to rename the same application (or any other for that matter), I receive the message "You do not have sufficient access priveleges to rename the item".
I have tried several things to resolve this issue:
* "Disk Utility" > "Repair Disk Permissions" (from booted into the system, and also from the Mac Install CD). Either way, I see a list of permissions that have supposedly been repaired. However, I find that if I immediately run the repair again, the SAME folders and files are repaired (suggesting that they were not actually repaired first time round).
* "Password Reset" from the Mac install disk.
* "Repair account ACLs" from the Mac install disk.
All to no avail. Does anyone have any ideas for me (short of reinstalling?). I'd really like to get to the bottom of this issue incase it ever happens again.
Many thanks in advance,
AJJamesTurner84 wrote:
I can no longer rename applications, and also have noticed that I am being asked for my admin password to allow for certain tasks that I was not prompted for previously.
Have you done anything significant to your Mac since around the problems started, such as restoring a user with Time Machine? Do a Finder "Get Info" on your Mac's Application folder and look at the "Sharing & Permissions" sections. Mine shows "system: Read & Write, admin: Read & Write, and everyone Read only". What do you see? Do the same thing to the Cyberduck application. What do you see for it?
* "Disk Utility" > "Repair Disk Permissions" (from booted into the system, and also from the Mac Install CD). Either way, I see a list of permissions that have supposedly been repaired. However, I find that if I immediately run the repair again, the SAME folders and files are repaired (suggesting that they were not actually repaired first time round).
I think that permissions repair is highly overrated as a system fixing tool. In any case, see this Apple document on type of permissions repair messages that can be ignored:
http://support.apple.com/kb/TS1448 -
I'm on a new Mac Mini running 10.6.4, bought in January and loaded with what I assumed was the latest version of FireFox--what I have is 3.5.2. I know I upgraded at least once since January
When I try to download 3.6.8, it says that I "don't have access to some of the items."
I don't think I've downloaded any plug-ins or anything that should trigger this. I have done a bunch of the standard upgrades that Microsoft incessantly sends out to fix problems in the Office suite. Haven't added any new applications. Can't figure out the problem. HELP!Hello.
Try this:
- uninstall your current version of Firefox (no data will be lost)
- delete it's Firefox install folder (not your profile folder)
- install the new version
That should circumvent this problem. If you can't delete your Firefox install folder, after having uninstalled it, maybe it's because some of the files are locked. Try rebooting the system. If that doesn't help, ask Apple for support. -
Problem in Partial delivery BOM - items not copied in subsequent delivery
Hi,
We are using BOM in Sales order and we have activated delivery group for the BOM header item category.
When we create first delivery we change the BOM header item quantity in delivey ( all the components quantity change accordingly) and save the delivery.
Now when we try to create second delivery with reference to the same delivery for the left out qunatity in sales order, system is not copying the components of BOM items ( it is only copying BOM header) from sales order to delivery.
Please let us know how can we create subsequent delivery with reference to the same sales order and delivery should get all the BOM items from SO to delivery.
Please let me know if you need further information.
Thanks
Venkata Rama Reddy,KHi,
We already set the delivery group to A, and still having the same result. We change the BOM header quantity only and automatically the component quantity is updated.
This happens only if there are two header BOM in the Sales Order. See example below:
Bom Header 1 = 100
Bom Component 1a - 80 (partial delivered)
Bom Component 1b - 20 (partial delivered)
Bom Header 2 = 200
Bom Component 2a - 150
Bom Component 2b - 50
When creating outbound delivery, initially all the materials are copied to the outbound document. If we want to delivery only Bom Header 2, then we will delete the Bom Header 1 line item.
Upon deletion, the status of the component becomes fully delivered in the SO, but the Bom header is still partial delivered.
Please confirm how to correct this.
**If there is only one BOM Item in the order, then partial delivery is ok..
Thank you, -
Cost Estimate using Commercial Price 3 of BOM item
Dear Experts,
I am trying to create a cost estimate for certain materials using ABC costing variant. The objective is that the cost estimate should pick up Commercial price 3 from the material masters of the BOM item and then calculate cost estimate for the main product (The costing variant has been customized this way). However, for certain main products, the system is picking up the standard price of the BOM item and in some main products it it correctly picking up the Commercial price.
The BOM items used in the different products are different.
I am unable to understand this behaviour. If anyone has come across any such problem before, please help.
Regards,
Adityahi,
Check the Valuation variant and the strategy sequence whether you have selected the Commercial price 3 as the first priority and the Standard price as the next priority. If u dont want the standard price to be picked u remove this in the strategy sequence.
Further where the system is picking the standard price, possibly the commercial price 3 has not been defined in the material master. Possibly , the system is unable to find the commercial Price 3 and it is fetching the next Price as defined in the valuation variant which is the standard Price.
assign points if useful.
regards, -
Setting Item level access rights on sharepoint list item in ItemAdding event handler
Hi ,
I am using sharepoint 2013. I am trying to set item level access rights when a list item is added using the following code snippet,
public override void ItemAdding(SPItemEventProperties properties)
base.ItemAdding(properties);
ConfigureItemSecurity(properties);
private void ConfigureItemSecurity(SPItemEventProperties properties)
var item=properties.ListItem;
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(properties.SiteId))
using (SPWeb oWeb = site.OpenWeb())
item.ParentList.BreakRoleInheritance(true);
oWeb.AllowUnsafeUpdates = true;
var guestRole = oWeb.RoleDefinitions.GetByType(SPRoleType.Reader);
var editRole = oWeb.RoleDefinitions.GetByType(SPRoleType.Editor);
SPGroup HRGroup = oWeb.SiteGroups.Cast<SPGroup>().AsQueryable().FirstOrDefault(g => g.LoginName=="HR Team");
SPRoleAssignment groupRoleAssignment = new SPRoleAssignment(HRGroup);
groupRoleAssignment.RoleDefinitionBindings.Add(guestRole);
SPUserCollection users = oWeb.Users;
SPFieldUserValueCollection hm = (SPFieldUserValueCollection)item["HiringManager"];
SPFieldUserValueCollection pm = (SPFieldUserValueCollection)item["ProjectManager"];
SPFieldUserValueCollection pmChiefs = (SPFieldUserValueCollection)item["ProjectManagerChief"];
item.BreakRoleInheritance(true);
item.RoleAssignments.Add(groupRoleAssignment);
foreach (SPFieldUserValue staffMember in hm)
SetRightsOnItem(item, staffMember, editRole);
foreach (SPFieldUserValue staffMember in pm)
SetRightsOnItem(item, staffMember, guestRole);
foreach (SPFieldUserValue staffMember in pmChiefs)
SetRightsOnItem(item, staffMember, guestRole);
item.Update();
private void SetRightsOnItem(SPListItem item, SPFieldUserValue staffMember, SPRoleDefinition role)
SPUser employeeUser = staffMember.User;
var userRoleAssignment = new SPRoleAssignment(employeeUser);
userRoleAssignment.RoleDefinitionBindings.Add(role);
item.RoleAssignments.Add(userRoleAssignment);
Nothing is happening though... Is the event handler the right place to do this?
thank youHi ,
You can refer to the code working in my environment:
using System;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
using Microsoft.SharePoint.Workflow;
namespace ItemLevelSecurity.ItemSecurity
/// <summary>
/// List Item Events
/// </summary>
public class ItemSecurity : SPItemEventReceiver
/// <summary>
/// An item was added.
/// </summary>
public override void ItemAdded(SPItemEventProperties properties)
SPSecurity.RunWithElevatedPrivileges(delegate()
try
using (SPSite oSPSite = new SPSite(properties.SiteId))
using (SPWeb oSPWeb = oSPSite.OpenWeb(properties.RelativeWebUrl))
//get the list item that was created
SPListItem item = oSPWeb.Lists[properties.ListId].GetItemById(properties.ListItem.ID);
//get the author user who created the item
SPFieldUserValue valAuthor = new SPFieldUserValue(properties.Web, item["Created By"].ToString());
SPUser oAuthor = valAuthor.User;
//assign read permission to item author
AssignPermissionsToItem(item,oAuthor,SPRoleType.Reader);
//update the item
item.Update();
base.ItemAdded(properties);
catch (Exception ex)
properties.ErrorMessage = ex.Message; properties.Status = SPEventReceiverStatus.CancelWithError;
properties.Cancel = true;
public static void AssignPermissionsToItem(SPListItem item, SPPrincipal obj, SPRoleType roleType)
if (!item.HasUniqueRoleAssignments)
item.BreakRoleInheritance(false, true);
SPRoleAssignment roleAssignment = new SPRoleAssignment(obj);
SPRoleDefinition roleDefinition = item.Web.RoleDefinitions.GetByType(roleType);
roleAssignment.RoleDefinitionBindings.Add(roleDefinition);
item.RoleAssignments.Add(roleAssignment);
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected].
Eric Tao
TechNet Community Support
Maybe you are looking for
-
Workflow step IN PROCESS while the workflow is actually completed.
Hi All, I'm having problem in the terminatuion eform workflow. In this workflow we have a activity step say "PROCESS_DATA" with agent determined by a Rule AC93000026. The task that is associated with this step has a terminatiopn event "COMPLETED" of
-
Mavericks: Contacts and iCalendar can only be sync'd through the cloud? Really??? Apple, what were you thinking?
-
after downloading Snow Leopard, i noticed after opening the event box there was a new option Show as: either open or free. What is this and what does it do.. i use ical and mobile me to link my 2 MacBook Pro's and my 2 iphones. should be simple but c
-
Doubt: NullPointerException instead of RemoteException???
Hi, Scenario: 1. An external object (hosted by another process) registers itself in WebLogic JNDI by invoking bind 2. WebLogic EJBs invoke the external object, everything is OK 3. Process hosting the external object goes down 4. Remote reference stil
-
Intel iMac - System crashes when switching users
Hi all, Having a very frustrating problem with my iMac. About 50% of the time, when I use fast user switching to move between accounts, my iMac crashes. The screen goes dark, and advises me that I need to restart. The error also occurs when I log out