2 Material BOM creation
Dear All,
I want to create 2 material bom. please see the below details
i have 1 raw material sheet for example 6 mtr metal sheet
i want to produce 2 part from 6 mtr metal sheet that is one material is 3 mtr & seconde is 2 mtr & remaing 1 mtr is my scrap
can you guide me, how to create two diffrence material bom in one bom
so i can understand that 1 raw material = 2 diffrent product + scrap
-SKP
Create a material code for raw "6 mtr metal sheet"with material type ROH
Create a material code for "2 mtr" with material type Halb
Create a material code for "3 mtr" with material type FERT
Create a material code for "scrap" with material type HALB
Create a BOM
Header material "3 mtr"
Component
1) "2 mtr" in -ve quantity
2) 6 mtr metal sheet with + ve quantity
3) "scrap" in -ve qty
Maintain UOM as Meter or KG as per your requirement
When You confirm and Production, Do the GI and GR
While goods movemnt
system will do the GR " 3 meter" with movement type 101
system will receipt the 2 mtr & scrap with movement type 531
system will do the GI ' 6 mtr metal sheet" with movement type 261
Regards,
Sundaresan
Similar Messages
-
Cideon / Autocad 2007 / Material BOM Creation from autocad
Hi,
we are using Cideon integration for AutoCad 2007 & SAP ERP communication. DIR's in DMS are created from AutoCad drawings via SAP menu.
We want to create Material & Material BOM from AutoCad but we cannot see any option present in SAP menu. We can just create Header Material from SAP menu in AutoCad, no BOM option. What steps should be taken to enable material & bom creation from AutoCad SAP menu.
Thanks
Edited by: Rob Burbank on Oct 22, 2010 3:56 PMModerator message - Welcome to SCN
Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
In particular, offering points is against forum rules
Rob -
Dear Expert,
How can I get the creation time for Material BOM while I can only get the creation date.
Is there any idea?
Thanks & B.Rgds
BishnuBOM creation time can not be found like some other document as Purchase Order.
Only date can be traced out -
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 -
What is use of Item Category N(non-stock item) in BOM creation
Dear Experts,
What is use of Item Category N(non-stock item) in BOM creation ?
regards
rajakarthikHi,
This item category is used for components which are not kept in stock if they are used in a bill of material (BOM). Non-stock items can be entered in the BOM with or without a master record. To enter a non-stock item without a master record, you must simply enter a descriptive text.
When you use this item category, the system automatically creates a purchase requisition for these components,
Special functions
The following functions are supported for non-stock items
You maintain purchasing data for non-stock items in the bill of material.
In the planning run, the system generates purchase requisitions
instead of dependent requirements for components that are procured directly. When you configure your R/3 System for MRP, you can define whether direct procurement is triggered by the planning run or by production order management.
Product costing processes take valuation data from the BOM item.
The system determines the release strategy on the basis of the price data you enter. The material group is required to produce a purchase requisition.
Pavan -
At the time of BOM creation We choose copy from.After that which material ,which plant needs to be copied how will we come to know about this?Do we need do to select all the items from the BOM of source material.After copying items of the source material can i change the item quantity there .Please giude me on that.
Dear,
First you are enetering material and plant of BOM to be created, in copy screen you enter the material and plant form which you want to copy the material BOM
example
Material A in plant 0001 is existing BOM
Copy function can be used for
Case 1 create BOM for a Material B and plant 0001. Now you want to copy from Material A plant 0001.
Here you use the copy frumction and enter material A and plant 0001.
Once you entrer you will see the items of material A/plant 0001, you can select all items or you can select some of them and click on copy, then system will take you to BOM of B in plant 0002 and items of B. here you can delete/add/change the qty, items whatever and save it...so that Material B BOM willbe created. Nothin will happen to material A BOM
Case 2 create BOM for a Material B and plant 0002. Now you want to copy from Material A plant 0001.
Here you use the copy frumction and enter material A and plant 0001.
Once you entrer you will see the items of material A/plant 0001, you can select all items or you can select some of them and click on copy, then system will take you to BOM of B in plant 0002 and items of B. here you can delete/add/change the qty, items whatever and save it...so that Material B BOM willbe created. Nothin will happen to material A BOM
I hope you got it -
hi gurus,
how can i change material after creation of bom..if we cant change then how can we delete the bom..
thank & Regard
RahulHi Rahul,
do you want to change the details of the header material of the BOM or of the component?
Changes are limited depending on the kind of material you want to change and the change you want to make.
Deleting should be a last resort, if it is not at all possible to change the 'material' in BOM.
provide the exact requirement so that the solution can be specific.
Thanks,
Regards,
Sandeep -
Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.
Hi Experts,
I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
The suggested idea shuld work as like as pgm. RCSBI010
thanq
Edited by: Srinivas on Feb 14, 2008 6:18 PMHi Srinivas,
Try these Function Modules
CS_BI_BOM_CREATE_BATCH_INPUT - Create BOM Via Batch Input
CS_BI_BOM_CREATE_BATCH_INPUT1 - Create BOM Via Batch Input (Corrected Session Handling)
There are two BAPI's too, which can be used
ALE_MATERIAL_BOM_GROUP_CREATE
BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
Hoe this helps.
Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM -
Hello,
My requirement is User must be able to create plant specific BOM creation. For this, Do we need to do any SPRO config in Material master side? or any other settings needs to be done? Kindly let me know... Thanks!!
Regards,
SaravanaMake the field Plant for CS01 via transaction variant SHD0.
Then user can't continue without enter plant.
Regards
Dev -
Plant specific BOM creation SPRO settings
Hello,
My requirement is User must be able to create plant specific BOM creation. For this, Do we need to do any SPRO config in Material master side? or any other settings needs to be done? Kindly let me know... Thanks!!
Regards,
SaravanaHi Saravana,
As such there is no SPRO setting for it.
Please check the authorization object C_STUE_WRK -CS BOM Plant (Plant Assignments)
Regards,
R.Brahmankar -
Bdc for tocde CS01(BOM CREATION)
Hi,
I want to make a bdc for the tcode CS01(BOM Creation),but the thing when i perform the Recording then there is a point that the BOM having the sub - items which might be 3 or 2 or maybe 10 . how can i manage that during the recording.
plzz provide me guidelines for solving this problem.Hi,
This code for BOM creation/Change,
using BAPI as well as BDC check this.
LOOP AT it_bom_create INTO wa_bom_create.
* Begin of CCT51465 - B09794 - 11/28/2007
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0100'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '/00'.
* PERFORM f_bdc_field USING 'RC29N-MATNR'
* wa_bom_create-matnr.
* PERFORM f_bdc_field USING 'RC29N-WERKS'
* wa_mbew-bwkey.
* PERFORM f_bdc_field USING 'RC29N-STLAN'
* '2'.
* PERFORM f_bdc_field USING 'RC29N-STLAL'
* '01'.
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0110'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '/00'.
* CONDENSE wa_bom_create-bmeng.
* PERFORM f_bdc_field USING 'RC29K-BMENG'
* wa_bom_create-bmeng.
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0111'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '/00'.
* CONDENSE wa_bom_create-menge.
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0140'.
* PERFORM f_bdc_field USING 'BDC_CURSOR'
* 'RC29P-IDNRK(01)'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '/00'.
* PERFORM f_bdc_field USING 'RC29P-IDNRK(01)'
* wa_bom_create-idnrk.
* CONDENSE wa_bom_create-menge.
* PERFORM f_bdc_field USING 'RC29P-MENGE(01)'
* wa_bom_create-menge.
* PERFORM f_bdc_field USING 'RC29P-POSTP(01)'
* 'L'.
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0130'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '/00'.
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0131'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '/00'.
* PERFORM f_bdc_dynpro USING 'SAPLCSDI' '0140'.
* PERFORM f_bdc_field USING 'BDC_OKCODE'
* '=FCBU'.
* PERFORM f_bdc_transaction USING 'CS01'.
it_stko1-base_quan = wa_bom_create-bmeng.
CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
EXPORTING
material = wa_bom_create-matnr
plant = wa_marc-werks
bom_usage = '2'
valid_from = v_valid " CCT52206 - B09794 - 12/10/2007
* CHANGE_NO =
* REVISION_LEVEL =
i_stko = it_stko1
* FL_NO_CHANGE_DOC = ' '
fl_commit_and_wait = 'X'
* FL_CAD = ' '
fl_default_values = ' '
IMPORTING
fl_warning = flg_warning
* BOM_NO =
TABLES
t_stpo = it_stpo1
* T_DEP_DATA =
* T_DEP_DESCR =
* T_DEP_ORDER =
* T_DEP_SOURCE =
* T_DEP_DOC =
* T_LTX_LINE =
* T_STPU =
EXCEPTIONS
error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* Begin of CCT59311 - B09794 - 07/01/2008
IF p_show = 'X'.
PERFORM f_check_lock.
ENDIF.
* End of CCT59311 - B09794 - 07/01/2008
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = sy-msgid
lang = sy-langu
no = sy-msgno
v1 = sy-msgv1
v2 = sy-msgv2
v3 = sy-msgv3
v4 = sy-msgv4
IMPORTING
msg = v_mstring
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
CONDENSE v_mstring.
wa_errormsg-matnr = wa_bom_create-matnr.
wa_errormsg-werks = wa_marc-werks.
wa_errormsg-mtart = v_mat_typ.
wa_errormsg-msgtyp = sy-msgty.
IF sy-msgid = '29' AND sy-msgno = '037'.
v_mstring = text-027. " Costing BOM already exist (For Material -
CONCATENATE v_mstring wa_marc-matnr ')' INTO v_mstring.
wa_errormsg-msgtxt = v_mstring.
ELSE.
wa_errormsg-msgtxt = v_mstring.
ENDIF.
APPEND wa_errormsg TO it_errormsg1.
CLEAR wa_errormsg.
ENDIF.
ELSE.
wa_successmsg-matnr = wa_marc-matnr.
wa_successmsg-werks = wa_marc-werks.
wa_successmsg-mtart = v_mat_typ.
wa_successmsg-msgtyp = 'S'.
v_mstring = text-017. " Costing BOM created successfully (For Material -
CONCATENATE v_mstring wa_marc-matnr ')' INTO v_mstring.
wa_successmsg-msgtxt = v_mstring.
APPEND wa_successmsg TO it_successmsg.
CLEAR wa_successmsg.
ENDIF.
Code Formatted by: Alvaro Tejada Galindo on Dec 23, 2008 10:21 AM -
Dear Gurus
Are there any other Tcodes for BOM creation other than CS01? Any Tcodes I could use for BOM creation for LSMW upload?
Need help ASAP. Points assured
Thanks in advanceHi Obie,
As all experts has suggested there are only two transaction codes for material BOM,
1. CS01 for creation of BOM
2. CS02 for editing of BOM
There are diffrenet t codes if you want to create equipment BOM like IB01 & IB11.
Hope this will resolve your querry.
Regards,
Avinash. -
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 -
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 -
Problem during material variant creation
Hi Guys,
I am trying to create material variant in MM01. I entered configurable material let's say DESKTOP. nOw i have partial variant scenario so instead of entering all 30 characteristics i need to enter only 3 characteristics.These 3 charcteristics based on which partial matching will happen in sale document.
My requirement is as out of 30 , TEN chars. are maintained as required entry. So system is asking me to enter all 10 required chars. in material master which my scnario don't want.But the same is required in Sales document.
How to remove this required entry in case of material master creation and keep required entry in sales order or quotation?
RegdsHi,
You can decide whether it is mandatory to assign a value to a characteristic on the basis of transaction code.
You must use [selection condition|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm] which calls the [user-defined function|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm]. In function you need to analyze sy-tcode and raise the predefined exception FAIL for those when you don't want to assign a value to a characteristic (e.g. mm01, mm02). Contact your ABAP team to create such a function.
Don't tick the characteristic as required entry in class definition but assign this selection condition to this characteristic in class.
Regards,
Alexander
Maybe you are looking for
-
HT4623 I can't acces my wifi i don't know what's going on because I can't even turn it on
I need someone to help me fix my phone my wifi doesn't work
-
Whats wrong in the following message
I have created a signed message. But when I try to open the message in Windows Live mail, it says the hearers are not proper. I am posting the message, can anyone tell me whats wrong in the message? X-Account-Key: account2 X-UIDL: 41 X-Mozilla-Status
-
Dear all, There are two pages defined in standard SAPScript invoice form FIRST and NEXT. Now i want to maintain only one page in the SAPScript. What is the correct procedure to achieve this?? Does this change require update in the print program??
-
Calling function in report region
Hi all I have report with download link to call a procedure(DOWNLOAD_PROCEDURE) in database Its not working can any one help me select id id2, id del, case when trim(file_status) = 'Complete' then htf.anchor('/pls/apex/DOWNLOAD_PROCEDURE?p_
-
CASH FLOW MODULE IN 8.81
Dear all, Where can i find the new cashflow documentation or webex tutorials. Please if you got a link let me have the link... Regards