BOM creation for a sugar industry -reg
Hi,
in all otehr industries we fix the base quantity and then create BOM with its components and their quantities based on which planning for procurement and consumption of the child parts happen .
but in the sugar industry the BOM headers quantity depends on the incoming sugar cane quality .
if the sugar cane is of some quality you may get 1 ton out put , if it is of different quality you may get 0.8 ton
it keeps changing continuously as sugar cane feeding keep continues ....
in this type of cases how can be BOM created ?
we dont know the base quantity of the BOM header ?
any inputs and thoughts on this
regards,
Madhu Kiran.
Hello,
SAP explodes BOMs top-down not bottom-up hence this is diffcult to accomodate.
Is there a way to know the likely output quantity in advance by classification information of an input batch? Then perhaps 'material quantity calculation' in PP-PI can help. If you are using that module that is.
Cheers!
Similar Messages
-
BOM Creation for different FG from 1 Raw material
Hi Experts,
In my company I have 1 scenario where Sheet is a Raw material. After doing operations in 1 sheet (RM) 10 Finished Product are produced.
So please can anybody help me to create BOM for FG as from 1 same Sheet (RM) 10 different Fgs are produced.
Regards,
UttamUttam,
Do you always produce 10 different FG's from single raw material sheet? or it is just a possibility to use same raw material in different FG's.
You can maintain independ BOM with sheet materiila as a compoenent . hope you have exact measure of qty you need in each BOM.
If all the FG's are produced together then go with co-products.
Regards,
Santosh Sarda -
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. -
Hi,
Is there a BAPI or a function module available for Equipment BOM creation for transaction IB01.
ThanksHi Nidhi,
Chk the below links you might get an idea.
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
Reward points for the helpful answer.
Regards,
Harini -
Hi Abapers,
I have got an assignment to create a LSMW to accomplish the loading of Bill of material but I have never done LSMW
before. So Can anybody please tell me that out of four processes in LSMW which one I should use and the flow of that.
Thanks in Advance
DeepaHi Deepa,
I have used bdc for bom creation as I got stuck while using lsmw. I am attaching code snippet for your reference.
Hope this helps
loop at itab1.
move itab1 to wa_itab1.
perform map_rec.
call transaction 'CS01' using t_bdcdata mode p_mode update 'A'
messages into messtab .
* clear: wa_itab1,wa_itab2, t_bdcdata.
* refresh t_bdcdata.
loop at messtab where msgtyp = 'E' or msgtyp = 'S' .
select single * from t100 where sprsl = messtab-msgspra
and arbgb = messtab-msgid
and msgnr = messtab-msgnr.
if sy-subrc = 0.
mstring = t100-text.
if mstring cs '&1'.
replace '&1' with messtab-msgv1 into mstring.
replace '&2' with messtab-msgv2 into mstring.
replace '&3' with messtab-msgv3 into mstring.
replace '&4' with messtab-msgv4 into mstring.
else.
replace '&' with messtab-msgv1 into mstring.
replace '&' with messtab-msgv2 into mstring.
replace '&' with messtab-msgv3 into mstring.
replace '&' with messtab-msgv4 into mstring.
endif.
condense mstring.
it_messtab-message = mstring(300).
it_messtab-plant = itab1-matnr.
if messtab-msgtyp = 'E'.
it_messtab-status = 'Error'.
else.
it_messtab-status = 'Success'.
endif.
append it_messtab.
clear it_messtab.
endif.
endloop. "messtab
clear: wa_itab1,wa_itab2, t_bdcdata.
refresh t_bdcdata.
endloop.
if not it_messtab[] is initial.
perform buildcatalog.
perform display.
endif.
endif.
*& Form Map_Rec
* text
form map_rec.
perform bdc_dynpro using 'SAPLCSDI' '0100'.
perform bdc_field using 'BDC_CURSOR' 'RC29N-STLAN'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RC29N-MATNR' wa_itab1-matnr."'505111'.
perform bdc_field using 'RC29N-WERKS' wa_itab1-werks."'2245'.
perform bdc_field using 'RC29N-STLAN' wa_itab1-stlan."'1'.
perform bdc_field using 'RC29N-STLAL' wa_itab1-stlal."'01'.
perform bdc_dynpro using 'SAPLCSDI' '0110'.
perform bdc_field using 'BDC_CURSOR' 'RC29K-BMENG'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RC29K-BMENG' wa_itab1-bmeng."'1000'.
perform bdc_field using 'RC29K-STLST' '1'.
perform bdc_dynpro using 'SAPLCSDI' '0111'.
perform bdc_field using 'BDC_CURSOR' 'RC29K-LABOR'.
perform bdc_field using 'BDC_OKCODE' '/00'.
loop at itab2 where matnr = wa_itab1-matnr
and werks = wa_itab1-werks.
append itab2 to itab3.
clear : itab2, itab3.
endloop.
count = '1'. "Used as a flag
clear no_lines.
describe table itab3 lines no_lines.
loop at itab3.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POSTP(01)'.
if itab3-posnr = '01'.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POSTP(01)'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RC29P-IDNRK(01)' itab3-idnrk." '49500'.
perform bdc_field using 'RC29P-MENGE(01)' itab3-menge."'20'.
perform bdc_field using 'RC29P-MEINS(01)' itab3-meins. "'kg'.
perform bdc_field using 'RC29P-POSTP(01)' itab3-postp. "'l'.
perform bdc_dynpro using 'SAPLCSDI' '0130'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POSNR'.
perform bdc_field using 'RC29P-POSNR' '0010'.
perform bdc_field using 'RC29P-IDNRK' itab3-idnrk." '49500'.
perform bdc_field using 'RC29P-MENGE' itab3-menge."'20'.
perform bdc_field using 'RC29P-MEINS' itab3-meins. "'KG'.
perform bdc_dynpro using 'SAPLCSDI' '0131'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'BDC_CURSOR' 'RC29P-POTX1'.
perform bdc_field using 'RC29P-SANKA' 'X'.
else.
***" Ok Code for saving, Corr. to Last line
if count = no_lines.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(02)'.
perform bdc_field using 'BDC_OKCODE'
'=FCBU'.
else. "Ok Code for new line entry
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(02)'.
perform bdc_field using 'BDC_OKCODE'
'=FCNP'.
endif.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(02)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RC29P-IDNRK(02)'
itab3-idnrk. "'49502'.
perform bdc_field using 'RC29P-MENGE(02)'
itab3-menge. "'10'.
perform bdc_field using 'RC29P-MEINS(02)'
itab3-meins. "'kg'.
perform bdc_field using 'RC29P-POSTP(02)'
itab3-postp. "'L'.
perform bdc_dynpro using 'SAPLCSDI' '0130'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR'.
w_posnr = itab3-posnr * 10.
condense w_posnr no-gaps.
if w_posnr <= '90'.
concatenate '00' w_posnr into w_posnr.
else.
concatenate '0' w_posnr into w_posnr.
endif.
perform bdc_field using 'RC29P-POSNR'
w_posnr. "'0020'.
perform bdc_field using 'RC29P-IDNRK'
itab3-idnrk. "'49502'.
perform bdc_field using 'RC29P-MENGE'
itab3-menge. "'10'.
perform bdc_field using 'RC29P-MEINS'
itab3-meins. "'KG'.
perform bdc_dynpro using 'SAPLCSDI' '0131'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POTX1'.
perform bdc_field using 'RC29P-SANKA'
'X'.
count = count + 1. "Increment count for every line item
endif.
at end of matnr.
perform bdc_dynpro using 'SAPLCSDI' '0140'.
perform bdc_field using 'BDC_CURSOR'
'RC29P-POSNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'=FCBU'.
endat.
endloop.
clear itab3[].
endform. "Map_Rec
** Form BDC_DYNPRO
form bdc_dynpro using program dynpro.
clear w_bdcdata.
w_bdcdata-program = program.
w_bdcdata-dynpro = dynpro.
w_bdcdata-dynbegin = 'X'.
append w_bdcdata to t_bdcdata.
endform. "bdc_dynpro
** Form BDC_FIELD
form bdc_field using fnam fval.
if fval <> space.
clear w_bdcdata.
w_bdcdata-fnam = fnam.
w_bdcdata-fval = fval.
append w_bdcdata to t_bdcdata.
else.
clear w_bdcdata.
w_bdcdata-fnam = fnam.
w_bdcdata-fval = fval.
append w_bdcdata to t_bdcdata.
endif.
endform. "bdc_field -
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 -
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 -
Hi
I am working as SAP PM in a renewed US Group of Companies. After SAP deployment in two group companies we are extending SAP to our group sugar units.
Expert opinion required,
Which one is best to map Sugar production from Sugar Cane? & Why.
1) PP-PI
2) Repetitive manufacturing
3) Process Industry
May be a reference Business Blueprint of SAP PP module for Sugar manufacturing will helpful for me to understand the things.
I will keep it to my own.
Thankful indeed.
JamesDear James,
Check these links and I hope many of our experts have suggested for PP-PI,check these once and then
decide.
sugar industries
Re: PP PI or REM?
PPPI or REM for Sugar industry
Regards
Mangalraj.S -
Dear Experts,
I have created a role to give access to TCodes IB01,IB02,IB11,IB12. and specified values for BEGRP, INGRP, KOSTL etc.
And assigned the roe to the user.
But, what I find is the access is not confined to any of these values. These T-Codes are working for any value of the above fields.( of an Equipment/FL master)
Request for help to know what went wrong.
Regards
Jogeswara RaoThanks Narasimhanji,
Yes, I am using this object also namely C_STUE_BER. The field value for BEGRU presently I am using 'SM1'. And I am using value 'RM1' in the BEGRP (header page) of equipment master, on whcih the BOM creation is being tried. This is allowing the creation.
(As said earlier It is allowing the BOM creation even the values in the Plant maintenance objects differ)
One doubt here. What is the corresponding field for BEGRU in equipment master. I am not finding anything else than BEGRP?
Regards
Jogeswara Rao -
Dump during sales order creation for a config material (uding order BOM)
Dear all,
I am getting the following error during sales order creation for a configurable material
When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
'Field symbol has not yet been assigned'
Thanks,
YogeshYogesh,
what was the problem ?
Thanks,
Pavan Verma
Edited by: Pavan Verma on May 11, 2010 9:31 AM -
Automatic PR for non-stock BOM component for Subcontract PO
Dear Guru,
Can you any master please advice me on below question?
We have a subcontract PO with the BOM component of non-stock, can i know if there is possible for those non-stock BOM component to generate a Purchase Requisition automatically, any existing configuration that we can do?
Thank you very much,
Regards
Chee WeeHi,
You can use Material Type "NLAG" for Non-stock materials.
Non stock materials cannot be stored, right, hence the name non-stock.
Non-stock material includes materials that are not managed on an inventory basis (for example, small parts such as nails) though physically in stock.
You can create a BOM which contains an NLAG item or directly use in Production order also.
item Category "N" So system will create the purchase requisition when there is requirement.
We receive the non stock material using movement type 101. upon receiving the material will be consumed.
Please refer link below for better understanding.
BOM explosion in MRP for non-stock material
What is use of Item Category N(non-stock item) in BOM creation
Believe this could help your queries. TQ
rgds,
nanthakumar -
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 -
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 -
BOM mandatory for Subcontract PO .
Dear All ,
My client wants to make BOM mandatory for subcontract PO .Like whenever I create a Subcontract PO with item category L and BOM is not maintained for the material , the system should give error message .
We have 2 links for this .One is item category L and other is purchasing group 005 which they have maintained for subcontracting work .Please let me know how to maintain error message for this .
Regards
Abhijit DasHi
For Scheduling agreements, the system do not issue any error message while creation.
But when you maintain Delivery schedules in transaction ME38 , they system will ask for component and schedule lines cannot be saved without entering the components.
Gobinathan G
Maybe you are looking for
-
User Exit for changing RBKP-BVTYP in t-Code MRRL
Hi , We have to change Partner bank type field (RBKP-BVTYP) while creating invoice through t-code MRRL. i tried to find out the user exit or BADI for this purpose, but i could not. i found below user exits and badi but here i was unable to change the
-
Hello I have noticed that when we see 'initiate tab' in BPEL Processes, there is a dropdown option called 'Operation'. Some of the deployed processes shows 'Initiate' in the drop down and other shows 'process'. I really dont understand what is the di
-
Importing packages to java classes
I am at present trying to write a distributed system. To do this, I write an idl which creates a group of classes I need for communication between client and server and bundles them into a package. Within the same file as the package, I am trying to
-
How to find the file by name and identify its type?
Hi, In a folder thare are many files, the file types are doc, docx, pdf, and rtf. The file name is something like "FirstName LastName(more extrat letters).filetype". Now I would like to find all the files with a certain name and identify their types.
-
Hai guys, I want to upload material using lsmw for material master.i am following all the steps in the lsmw. i am using the batch input method for uploading.If the sales unit is different from the unit of measure..i will be getting the con