Material BOM's (I think)
HI all.
I have done this before but alas how do do it escapes me at present.
We want when we add a material to a line that it automaically brings in a second material (TANN) with an equal qty or 1 of main material equals .01 of second material.
So we enter the following : -
Material A, Qty = 100
(then automatically)
Material B, Qty = 1 (plus needs to be FOC(TANN))
Somewhere in my memory bank we have to use CS01 to create a sales bomb and also ament the Item Cats on the material master, or am i talking complete rubbish? If so what item cats should i be using
Regards
Steve
Thanks for that but i need some help setting this up. Please can you help me further
These are the fields within VBN1. Using the exclusive options, what is needed to be entered, my relationship is for every 1 of Material A i need to give away 0.001 of material B or 1000 / 1 (but they can order less that 1000). In the material master, Item Cats are A=NORM, B=VERP
So going from left to right on the screen these are the fields.
Material
Name (no entry)
Min Qty
For
UnitFG
add.FG
AddQtyUnit
in %
Calc.Rule
FreeGoods
Add Mat FrGd
Material Description (no Entrty)
FGDelyCont
Also is there any other config that needs to be done to make this work?
Regards
Steve
Similar Messages
-
hi!
I want to get a report of all the fert materials that don't have a BOM (the BOM created with cs01)
thanks!Dear,
1)Possibly, you can query the table" MAST" for the list of materials with SE16.Enter the BOM Usage.
Execute.
2)If you want to find details of individual materials:
Use transaction codes:
CS03 - Material BOM here you will get list of by search material having BOM by pressing F4.
3) I don't think there is any such transaction available. (But you can get the list of material who has a BOM from MM02 (F4 options). To get the required list you need to develop a small customized report. The logic may be like: Input plant code on input screen. Let system to check all the available materials in the MARC table for given plant. This list of materials(MATNR) to be supplied to MAST table and those materials which doesn't have corresponding STLNR (BOM No.) can be outputted as the desired list. I hope this will help in resolving the issue. Please revert back in case of any further clarification.
4)There is one unique way is there which helps you to find our fert / Halb code without BOM.
Go to MD21 and select low level code 999 and execute.
Hope it will help you.
Regards,
R.Brahmankar -
How to change the header of Material BOM in a program for alternative BOM ?
Requirement: An Inbound IDOC creates /change/delete Alternative Material BOM. The Alternative Material BOM can have alternative values from 1 to 99.
ISSUE: I am good with CREATE and DELETE BOM. The issue is with CHANGE of header Material BOM. The fields which we need to change in the header is the base quantity, BOM status, Lot Size from and Lot Size to. Please note that I am able to change the item details of the BOM with FM CSAI_BOM_MAINTAIN. I find no FM /BAPI which would change the header of a material BOM.
Please NOTE that I am using BAPI_MATERIAL_BOM_GROUP_CREATE to create alternative Material BOM. This has a parameter in TABLES called "VARIANTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL .Also ,there is another parameter in TABLES called "ITEMASSIGNMENTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL which implies this FM will allow us to change the BOM. But this does not work when I use it for CHANGE scenario with CHG value. I debugged this BAPI and observed it requires a STNLR(Bill of Material) value . This field is not there in any of the structure. I am not sure if I am passing the right parameters to it.
Let me know if the parameters are passed correctly for CHANGE scenario.
Also let me know if there is any other way(FM/BAPI) to update the Header of the Material BOM ?
Here is the code I am using:
*& Report ZTEST_S_E
REPORT ZTEST_S_E.
* This code will create a material BoM for the material
* MAINMATERIAL with the components COMPON1 and COMPON2.
* Data Declaration
DATA:
it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
* Fill the data
* Material BoM Group Header Data
CLEAR it_bomgroup.
it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
it_bomgroup-object_type = 'BOM'.
it_bomgroup-object_id = 'SIMPLE1'.
it_bomgroup-bom_usage = '1'. " YOU COULD CHANGE THE BOM USAGE TO YOUR
*NEEDS
it_bomgroup-ltxt_lang = sy-langu.
it_bomgroup-technical_type = ' '.
it_bomgroup-bom_text = 'Simple BoM - FM'.
APPEND it_bomgroup.
* Header Details of the different variants
CLEAR it_variants.
it_variants-CHANGE_NO = '500000000349'.
it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
it_variants-object_type = 'BOM'.
it_variants-object_id = 'SIMPLE1'.
it_variants-alternative_bom = '01'.
it_variants-bom_status = '01'.
it_variants-base_qty = '2.000'.
it_variants-valid_from_date = sy-datum.
it_variants-function = 'CHG'.
APPEND it_variants.
* Details of the items of the variants
CLEAR it_items.
it_items-bom_group_identification = 'BAPI_SMP_COL1'.
it_items-object_type = 'ITM'.
it_items-object_id = 'SIMPLE1'.
it_items-item_no = '0010'.
it_items-item_cat = 'L'.
it_items-component = '030790490'.
it_items-comp_qty = '2'.
it_items-valid_from_date = sy-datum.
APPEND it_items.
CLEAR it_items.
it_items-bom_group_identification = 'BAPI_SMP_COL1'.
it_items-object_type = 'ITM'.
it_items-object_id = 'SIMPLE1'.
it_itemas-change_no = '500000000138'.
it_items-item_no = '0020'.
it_items-item_cat = 'L'.
it_items-component = '030790490'.
it_items-comp_qty = '3'.
it_items-valid_from_date = sy-datum.
APPEND it_items.
* Details of the materials of the different variants
CLEAR it_matrel.
it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
it_matrel-material = '030790490'.
it_matrel-bom_usage = '1'.
it_matrel-alternative_bom = '01'.
APPEND it_matrel.
* Linking items to the corresponding variants
CLEAR it_itemas.
it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
it_itemas-sub_object_type = 'ITM'.
it_itemas-sub_object_id = 'SIMPLE1'.
it_itemas-super_object_type = 'BOM'.
it_itemas-super_object_id = 'SIMPLE1'.
it_itemas-valid_from_date = sy-datum.
it_itemas-function = 'CHG'.
APPEND it_itemas.
* Create variants
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
all_error = 'X'
TABLES
bomgroup = it_bomgroup
variants = it_variants
items = it_items
materialrelations = it_matrel
itemassignments = it_itemas
return = it_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT it_return.
WRITE:/ it_return-type, it_return-id, it_return-number,
it_return-message.
ENDLOOP.
Let me know if the parameters are passed correctly for CHANGE scenario.
Also let me know if there is any other way(FM/BAPI) to update the Header of the Material BOM ?Try doing something like this:
class MyJTextArea extends JTextArea {
public boolean keyDown(Event evt,int key) {
if(key == 13 || key == 10) { // or whatever ascii codes enter may have
// move carret to next line
} else {
super.keyDown(evt, key);
}which means you have got to catch the enter-key before the actutal JTextArea does this.
p.s. look at my post, maybe you can help me, too.
http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100 -
Hi All,
I need to create a material BOM ,as in Transaction CS01, without any components.
Which function modules should i be using..
I have tried using CSAI_BOM_MAINTAIN and CSAP_MAT_BOM_CREATE but not with too much success
Thanks
AviroopHi,
thanks for all your inputs. My requirement has somewhat changed over the last 24 hrs. What it stands as of now is that for a material and a plant there exists a bom (with items and sub-items).
I have to retrieve this data and create a new BOM for a different plant.
The first step would be to retrieve all the BOM data from STKO STPO and STPU. Is there any FM that would retrieve all these data
What FM would i then use to create a new BOM
Thanks
Aviroop -
Creating material bom with reference to Sales order bom.
How to create material bom by coping Sales order bom.?
Mayur,
Just go to T code: CS01 use BOm usage 1 & then select the copy from icon in the menu bar.
On the popup screen enter material no, plat , bom usage =5 (sales bom).
System will then allow you to select items from Sales bom. Select the items you need copied to Material BOM. Then save.
Hope this helps.
Thanks,
Ram -
Material BOM mass change error
Hi gurus,
When doing mass change of BOM via tcode CS20, i'm getting below error result.
The following messages were displayed:
Material BOM 00016478 : Delete Item(s)
19760 STM-220-(20UP)78DZ*C06U029(XC06U029)Sn 200
0130 L 01/01/2002 12/31/9999 1.00 PC > 1.00 PC
No batch input data for screen SAPLSDDT 0010
Folder created/extended
I wonder what does "No batch input data for screen SAPLSDDT 0010" mean? what should i do to correct this?
I also noticed that all items on the picklist were grayed out though i can still click on the checkbox button to select the items that I want to be deleted.
Has anyone encountered this problem? I usually use CS20 during BOM mass change and haven't encountered this kind of problem.
Hope to hear advise from you all on how to deal with this.
Thanks and regards,
ChadDear,
Error message no is 00344 ?
Please refer the OSS note Note 493096 - CS20: No batch input data for screen SAPLCSDI and Note 180686 - For CS20
Regards,
R.Brahmankar -
Material BOMs with document items using RCSBI010
Has anyone uploaded material BOMs with document items using RCSBI010? I set the item category to D, but receive an error in LSMW when I attempt to convert the data. The error specifies that the document items are not valid material numbers. They are not material numbers. They are document info records.
Found the problem. The document number was being mapped to BOM Component IDNRK instead of document number DOKNR.
-
PLM WEB UI - Personal Object Worklist for Material BOMs dumps in Portal
We installed business package for PLM WEB User interface and we start playiong around with the POWL functionality. For some reason teh system ends in an error calling ....../sap/bc/webdynpro/PLMU/wda_wcc_myobj/
This is section Personal Object Worklist for Material BOMs within Material BOMS
Below is what I get
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Error when processing your request
What has happened?
The URL ......../sap/bc/webdynpro/PLMU/wda_wcc_myobj/ was not called due to an error.
Note
The following error text was processed in the system ... : The ASSERT condition was violated.
The error occurred on the application server sapdl1_DL1_00 and in the work process 2 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: /PLMB/IF_SPI_METADATA_BASE~GET_NODE_DEFINITION of program /PLMB/CL_SEA_SELOPT_MP========CP
Method: GET_NODE_DEFINITION of program /PLMB/CL_SPI_METADATA=========CP
Method: GET_INSTANCE of program /PLMB/CL_SPI_METADATA=========CP
Method: GET_PROVIDERS of program /PLMB/CL_SPI_FACTORY==========CP
Method: CONSTRUCTOR of program /PLMB/CL_SPI_CONNECTOR========CP
Method: GET_SEA_CONFIG of program /PLMU/CL_WCC_PWL_FEEDER_ABS===CP
Method: CREATEPOWLDEF of program /PLMU/CL_WCC_PWL_FEEDER_ABS===CP
Method: IF_POWL_FEEDER~GET_SEL_CRITERIA of program CL_POWL_EASY_FEEDER===========CP
Method: IF_POWL_FEEDER~GET_SEL_CRITERIA of program /PLMU/CL_WCC_PWL_FEEDER_ABS===CP
Method: GET_UPDATED_SELCRIT of program CL_POWL_UTIL==================CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system ... in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapdl1_DL1_00 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 2 in transaction ST11 on the application server sapdl1_DL1_00 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 020 -u: AXH7220 -l: E -s: DL1 -i: sapdl1_DL1_00 -w: 2 -d: 20100603 -t: 060408 -v: RABAX_STATE -e: ASSERTION_FAILED
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
However , if I run this service as a standalone URL I get a screen where I can fill in an application, business object and/or system. If I select one, it works perfectly
What step do I miss?
Thanks for any input on this
kind regards
Angelique Heutinck
IFFHi,
I would reconmend to open an OSS message about this error.
Martin -
Material BOM explosion in Service Order components
Hi experts,
I created a Material BOM with transaction code CS01.
Then I try to add this BOM in the component of a service order.
What I expected is the BOM to be exploded in the service order. But this behaviour doesn't occur.
Do you know what I can do to trigger a Material BOM explosion at service order level.
By the way, the BOM is not exploded after the service order (in the reservation or in MIGO).
Thank you for your help.Hi Özgen,
Thank you for help.
Special Procurement 50 didn't exist in my system.
I created it in SPRO for the plant with the Procurement Type F (External Procurement) and the flag Phantom Item checked..
Then I created
- Material A (MM01)
- Material BOM A (CS01) with:
-- item 1 Material B (which has Spec Proc Type 50 in MM02-MRP2)
-- item 2 Material C (which has Spec Proc Type 50 in MM02-MRP2)
After that I created a Service Order (IW31)
I put Material A in the Component tab with quantity 1.
The BOM remains unexploded.
Did I miss something? -
BOM - Standard report to view the material - BOM relationship
Hi
Our client has a requirement to view the material - BOM relationship. The input will be the material and the report should display all the levels above the material. Say for example if the material is in level 5, it should display the BOM strucutre from level 0 to level 5. If the same material is in various levels, the structure should map from level 0 to the lowest level of the material.
Is there any standard report/function available for the above requirement.?Hello Venkatachalam
As eariler related to BOM level wise you posted a quiery on SDN ....
I having Similar quiery as per yours...... I need your help.
Is it possible for you to make a telephonic conversation so i may provide you proper details .
With Regards
DhruvOM
Phone number :-+919765032999 -
Fields of the material BOM are overwritten by values from customising.
I have the an issue wherein I am trying to update a material BOM, and I pass a blank value to REL_COST (or SANKA ) in item. But somehow in the function module CSAP_MAT_BOM_MAINTAIN it gets defaulted to X while posting the BOM update.
When I use the function module CSAP_MAT_BOM_CREATE to create BOM it works fine. I see there is OSS note 1012556, but looks like it is valid for different function module CDESK_BOM_WIZARD, which is relevant to my scenario. However that function module is for dialog mode and not released yet.
I pass below values to T_STPO structure, rest all fields are initial.<br />
<br />
ITEM_CATEG L<br />
ITEM_NO 0020<br />
COMPONENT 4000018468<br />
COMP_QTY 300.000<br />
COMP_UNIT EA<br />
FIXED_QTY <br />
ITEM_TEXT1 TEST<br />
ITEM_TEXT2 TEST<br />
REL_COST<br />
MAT_GROUP 241416W1<br />
ID_ITM_CTG L<br />
ID_ITEM_NO 0020<br />
ID_COMP 4000018468<br />
<br />I have this same issue.
I found a workaround, passing "!" instead of space when I want to reset fields such as cost relevancy, text1 and text2. My issue is on CSAP_BOM_Maintain.
So for your solution, you just call the same function 2x with same values? -
Data conversion of material BOM by LSMW
Hi,
Right now I try to work on LSMW setting for data conversion of material BOM. However, I forgot how to set
the linkage of BOM header & item at LSMW since my last
experience was 1 year ago. I have set up 2 source structures, BOM_HD (header) & BOM_IT (item) from 2 files. Both source
structures contain one same source field, BOM_ID. From this identical BOM_ID field, the linkage of BOM header and items is set up between 2 files. Can
anyone know how to make the setting at LSMW ?
Thanks.
Regards,
Nancyhello nancy,
their is no need of getting seperate reacording for both header and item. it will be enough if with only one in th lsmw in the first step u select the direct input method
and at source structure level create two strucutres such that one can be for header and the other would be for item
then in the same way while specifying file give first the header file and then the item file.
at the same step check whether the convert data is getting the logical path and file name or not if u dont then double click at that possition and create it. then ur recording will be done perfectly.
if u want the entire steps with screen shot i can send u -
Validation of material BOM quantity at the time of production order confirm
Hi,
I want validation on material BOM ,when i confirm production order.
Actually when i am going to confirm my production order by tcode CO11, In this screen,i click on "Goods Movement" button. According to confirmed quantity , consumed materials will display. Here i can change material quantities. And here i want some validation. I there any user exit for this screen.Hi,
Exit Name Description
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
PCSD0014 Knowledge-Based Order BOM: Status
BADI's are
WORKORDER_CONFIRM
WORKORDER_UPDATE
WORKORDER_GOODSMVT
<b>Reward points</b>
Regards -
Bills of material[BOM]
Dear all,
hi, i have got a dought in bills of material, i shall be very much pleased if some one helps me out of this.
using the transaction code CS01, i have created the 'BOM' for the material 'computer' giving the components as 'keypad' and 'CPU'. after creating the required thing i have saved the data.
later on when i tried to creat a sales order using this data, the components are not getting displayed in the sales order.
what i have to do to get the components displayed in the sales order.
please do help me out.
Regards,
Sushmitha.Susmitha,
below is whole process for sales BOM-
Sales BOM Implementation
A bill of material (BOM) describes the different components that together create a product. A BOM for a bicycle, for example, consists of all the parts that make up the bicycle: the frame, the saddle, wheels, and so on.
Process Flow
When you enter the material number of a bill of materials that is relevant for sales order processing, the system displays the material that describes the whole bill of materials as a main item. The individual components are displayed as lower-level items.
There are two ways to process a bill of materials in Sales. Once you have entered a bill of material in a sales order, the system runs pricing, inventory control, and delivery processing at:
- Main item level if the material is assembled, or
- Component level if the material is not assembled
The type of processing used by the system is determined by the item category group that you enter in the material master record for relevant materials.
Processing at Main Item Level
If you want the system to carry out pricing, inventory control, and delivery processing at main item level, enter ERLA in the Item category group field of the Sales: sales org. 2 screen in the material master record of the finished product. This means that the components only function as text items and are not relevant for delivery. The following graphic shows how a bill of material is processed at main item level.
Processing at Component Level
If you want the system to carry out pricing, inventory control, and delivery processing at the component level, enter LUMF in the Item category group field of the Sales: sales org. 2 screen in the material master record of the finished product. In this case, only the components are relevant for delivery. During processing the system automatically creates a delivery group. The latest delivery date among all the components becomes the delivery date for the entire delivery group.
REWARD IF U FINDS THIS AS USEFUL...
Regds
MM -
End valid to data of material BOM
In the moment that you create a new material BOM using transaction CS01,
have you any chance to introduce a date in the field " Valid to" ?
Regards, Josu.Dear Josu,
1.While creating the BOM,you can give a valid From date(A Future Date).
2.The systems defaulty sets the valid to date as 31.12.9999.
3.This can not be changed,or can be modified unless you use ECN.
Regards
Mangal
Maybe you are looking for
-
Would you Open and Close DAQmx tasks within a function or Globally
Hi Guys, This should start something. The subject is DAQmx Tasks. If you were writing a function that is called many times, say MeasureVolts (double *Value) to obtain a reading from an Analogue Input Channel. Would you. 1. open and start the task ins
-
Freezes while zeroing the hard drive
Hello, I recently purchased a high-res 1.67GHz Aluminum Powerbook to replace my aging PowerBook. The first thing I wanted to do was to erase the hard drive entirely and install a fresh copy of Tiger, so I started up from the system disc (Install Disc
-
Is it possible to generate PDF with "enable for commenting" from AI?
I am using Illustrator CS5 and have Acrobat 9 Pro on a Mac. I would like to generate PDF's with "enabled for commenting" feature on. I was able generate a PDF from CS5 -> open it in Acrobat 9 Pro -> enable commenting -> Save as new PDF I prefer to sk
-
I am having a hard time writing a paper. I cannot find the iWork's or pages app.
I cannot find the application that allows me to write a paper. The pages or iworks? please advise
-
Getting my new Droid Raz Maxx tomorrow!
Getting my new Droid Raz Maxx tomorrow! I hope I'm going to like it as well as my Apple iPhone 4S!