Calculation of scrap quantity in multilevel BOM
Hi Gurus,
Can some one explain me how the system calculates the Scrap quantity in multilevel BOM.
Thanks in advance.
Answered.
Similar Messages
-
Hi experts,
we enhanced the BI Content standard DataSource 2LIS_04_P_COMP "Component View from PP/PP-PI" with the field AMGLG (Scrap quantity) per maintenance of the relevant extract structure MC04P_0COM via LBWE:
The enhancement of the extract structure worked fine.
Unfortunately the enhanced field is not filled after the Statistical Setup of the LIS Application 04 "Production" (t/code OLI4BW).
RSA3 -> 2LIS_04_P_COMP:
Any ideas or experiences?
Many thanks in advance and regards,
MichaelAttached one example:
BW DataSource 2LIS_04_P_COMP:
ERP Summarized BOM Multilevel (t/code CS13) Component 456:
ERP Summarized BOM Multilevel (t/code CS13) Component 301:
Any ideas why there are no values for the field AMGLG extracted?
Thanks and regards,
Michael -
Hi All.
We are makinga Z report in which a part of the information is about the multilevel BOM.
Now i need to show all the components in the multilevel BOM along with their BOM levels (something like CS11).Can anyone please suggest the tables for the sameDear Gautam,
Check with this Functional Module, CS_BOM_EXPL_MAT_V2 BOM explosion for material in SE37,for developing the report.
But again the input quantity for this report should be limited because if the input amount is more means,the report may take much
time to execute the multi-level BOM report for the given material codes.
Check and revert back.
Regards
Mangalraj.S -
Fixed Scrap Quantity In Production
Im using SAP ECC 6.0 now.
Is there any place I can set a fixed scrap quantity in BOM or PP related?
The situation is like this: While producing Semi-finishegoods A we alway need extra 10 Raw-mateiral B for scrap.
That means 100 A needs 110 B ; 10 A needs 20 B;
How can I configure it so that when I create the procution Order for 10 A, it will put 20 B in the components automatically;
I can only find scrap ratio in percentage.
thanks alot for looking into my problem.
Edited by: Liang Shi on Aug 25, 2010 7:08 AMHi
As you rightly mentioned , to my knowledge, as of now in standard SAP
All the SCRAPS are maintained in % only.
1) Component Scrap >>>>> Maintained in MRP4 in % & also in BOM General data tab
2) Assembly Scrap >>>>>> Maintained in MRP1 in %
3) Operation Scrap >>>>>>Maintained in BOM item detail General Tab in %
Regards
BRSR -
Scrap Quantity component in the production order
Dear gurus,
in the material master of a component i insert the scrap % ( view mrp4) = 10 %.
The field is read by planning Mrp and explosion of bom , but when i inseert this component in the production order manually the system don't read this % and the field "scrap quantity in the component detail of the production order is blank.
Are there a setting for uograde this field ( in the production order ) when i insert MANUALLY the component in the production order?
Example:
1) material master of the component > scrap % (view MRP4 ) = 10 %
2) production order created
3) insert this component quantity 100 pc and the system after read the material master insert 110 pc , and upgrade the field automatically 10 % (as material master)?
Thansk a lot
Daniele Pistilli
PP TEAMHi Danielepistilli,
Well there is a lot of difference is there: see you are creating production order for header material which is FG. If you maintained component scrap in material level it will be dependent on BOM quantity which you maintained for the header material.
For example say component x quantity is 50 in BOM. How it will calculate when you run the MRP.
component scrap % is 5% then:
===> (5/100) * 50 + 50
Formula is: Percentage of scrap quantity x original quantity + original quantity
So ===> 52.5 quantity should be come for component
So, the order quantity for the header material will not take this quantity or scrap but if you see individually in MD04 screen for X material you can find this quantity ok.
I hope it clears your doubt and helps you any queries please revert me back.
Regards,
Madhu.G -
SCRAP QUANTITY IN ORDER CONFIRMATION
Hi,
When i confirm an order there is a field called scrap quantity. Supposse there is an order for 10 qty. Now while confirming the order i give in the yield field as 10 & 10 in scrap quantity where will it effect...
Will it effect costing of the order.
Can i do like this because my order is for 10 quantity & i am confirming & scarping the same quantity.
Please guide as i want to use the same field..
I am in go live satge.Please help.
regards
jimmyHi JIMMY
As per your question smiltensly you can't book both as yield and scrap with same order quantity.Either you book 10 in yield or in scrap or total of this yield and scrap is equal to production order quantity.That means if order quantity is 10 then you may book 6as yield and 4as scrap.Once you have entered scrap in CO11N no material movements are automatically posted in the system. By confirming scrap you are only reducing the balance confirmable qty in the order. The order costs would increase since you would have posted goods issue for input material without goods receipt for finished goods.
Now you want to realize the value of the scrap produced then you would have to do a goods receipt of the scrap as a by-product using movt type 531 in MB1C for the scrap material number.
It can also automate posting of this if a percentage scrap is know. You can do this in BoM by specifing a negative qty against the scrap material number. Then if the backlash is activated every time confirmation is done the 531 movement line will come automatically in goods movements screen. If no scrap arises then you have to delete that line and post the confirmation.
Hope this helps ...if so reward points and close this thread.
regards
Rajesh -
Display multilevel BOM for multiple materials
Hi,
I am to trying to display multilevel BOM explosion for multiple BOMs valid to custom date. Then I would like to export this list of all components to Excel.
Best solution would be if to create QuickView to do this.
So far I have been able to Join tables MAST - STPO, this shows me only one level of BOM (sort of like CS03 transaction) not a multilevel view (CS12). Is it possible to modify this to display multilevel view?
Thank you,
TomasDear Thomas,
in order to have a multilevel Bom explosion you must use only fm : CS_BOM_EXPL_MAT_V2 because you won't succeed to have a multiplevel with a simple query.
I advise you set MEHRS = X for active multilevel logic.
Let me know if i have been useful for you
Daniele -
Hi Experts,
We have "Fixed Scrap Quantity" field group in the opeartion details of routing in SAP Mill Products.
Can any body please explain the siginificance of Each Length, First Length and Last Length.
Regards,
JejeshThis option works with APO only
-
Hi All,
I am using one Function Module "CS_BOM_EXPL_MAT_V2" for multilevel BOM
explosion.
Input parameters for Function Module..
1. Finished Goods(Material)
2. Application.
3. Explosion Date
4.Plant
5.BOM Usage.
6. Alternate BOM.
Output we are intresetd in
1.MNGKO..Our assumption was this qty is the final actual qty .....which comes after multiplicatio at all level...
But in some case we find this qty as 0...
Can any one please help in understanding the standard FM ..
Tausif.Hi All,
I am using one Function Module "CS_BOM_EXPL_MAT_V2" for multilevel BOM
explosion.
Input parameters for Function Module..
1. Finished Goods(Material)
2. Application.
3. Explosion Date
4.Plant
5.BOM Usage.
6. Alternate BOM.
Output we are intresetd in
1.MNGKO..Our assumption was this qty is the final actual qty .....which comes after multiplicatio at all level...
But in some case we find this qty as 0...
Can any one please help in understanding the standard FM ..
Tausif. -
Can the routing create FM CP_BD_DIRECT_INPUT_PLAN for multilevel BOM
Dear Friends ,
Need help for the implementation of function module CP_BD_DIRECT_INPUT_PLAN .
The function module works fine when BOM is single level but in case of multi level BOM it does not create the routing documents .
& gives the following errors
No entry in field PLMZD-STLKN although entry is required
When we pass the node number then we still get this error .
No valid material component found .
Wanted to make sute that can above FM module can be used for multilevel BOM or we have to use the BAPI BAPI_ROUTING_CREATE.
Thanks ,
Anurag .You must pass the PLMZ_DI-VORKN parameter.
Edited by: albert liu on Sep 23, 2008 11:50 AM -
Hi,
we doing cofirmation in co11 with auto goods receipt(last operation).
Is it possible to get production order list which having scrap quantity in COOIS
thanks in advanceDear,
Once you have entered scrap in CO11N no material movements are automatically posted in the system. By confirming scrap you are only reducing the balance confirmable qty in the order. The order costs would increase since you would have posted goods issue for input material without goods receipt for finished goods
Now you want to realize the value of the scrap produced then you would have to do a goods receipt of the scrap as a by-product using movt type 531 in MB1C for the scrap material number
In COOIS,I dont think you will get all your required details.
In case if you want to confirm scrap then enter only scrap qty and confirm the production order,
the production order show the status as
REL CNF DLV.
Regards,
R.Brahmankar -
Hi Guys,
I have Configured a BOM as pricing on main item(Erla).
But when i am trying to change the quantity in delivery the sub item Quantity doesnt changes.
For eg: If in order i have ordered 5 quantity, So the bom is getting exploded with a right quatity according to the main items.
But in delivery when i change the quantity of main item due to any reason, but the subitem quatity doesnt changes with the change quantity in the main item.
Will Appreciate your inputs
Regards
Vivek PareekBut when i am trying to change the quantity in delivery the sub item Quantity doesnt changes.
Hello Vivek
First of all in BOM, in case of ERLA the Item category is TAQ and TAE and in case of LUMF they are TAP and TAN from main item to sub item respectively.
In VOV7 the structure scop is A means explode single leve BOM and if you require you can also choose for multi level BOM.
The one thing you might have missed is ticking the "Manual Alternatives" and I think by doing this you would probably be able to change.
In VOV6 CP for TAQ and CT for TAE can you see tick mark for "Item relvent for delivery".
If you still have difficulty, please revert back to me.
Regards,
Sridhar. -
Implement Bill of Material with Multilevel BOM
Dear Sir,
As per my requirement, i want to create an multilevel BOM.
I explain my requirement in above steps.
1) Create BOM with Assembly Type because we assembled an parent items with component items.
2) then on base on BOM we want to create an Production Order.
So, can you please tell me the exact procedure to implement whole production module as per my requirement.
Thanks & Regards,
Nishit MakadiaHi,
As already replied that, not possible to create production order for assembly type BOM. Only possible by production type BOM.
Test below in test DB and let me know result.
As per your example, you want manufacture a pen, that requires cap, body, ink.
So your BOM looks like,
Pen - Parent item -- 1 EA
Cap - Component -1 EA
Body - Component -1 EA
Step 1:
1. Create item master data for above items with selecting as inventory, sales and purchase item ( ticket all three boxes at item master data)
2. Select serial or batch as per your requirement under manage item by field
3. Select issue type manual
Step 2:
1. Create production BOM by using above parent item and components.
Step 3.
1. Choose standard production order in production order window
2. If you select pen as product , then BOM automatically added to production order.
3. Issue and receive to complete process
Like that you can have multiple BOM for same parent item.
Thanks & Regards,
Nagarajan -
To create Multilevel BOM---- BAPI (urgent)
Hi all,
i am using BAPI_MATERIAL_BOM_GROUP_CREATE to create a <u><b>MULTI LEVEL</b></u> BOM in sap. but i am not getting any field for <b>LEVEL</b> in this BAPI.so, can i create a multilevel bom without a level ?
can u plz suggest, how can i use this BAPI to create a <b>multi level</b> bom?
is there any field relating to assembly indicator (stlkz) in this BAPI?i am not getting this field.plz suggest.
any idea will be highly appreaciated.
Regards
pabitraHi eswar,
Thanks for ur help. i am getting some error while creting a BOM using that BAPI.
errors are
1) Error/warning when checking the structure of the BOM group with ID =
2)Alternative does not exist for material assignment to material BAPIBOMFG1
is it mandatory to pass the bom group id to this bapi?
In bomgroup structure , i am not passing anything to BOM_GROUP field.
is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
regards
pabitra
report z_bom_create
line-size 132
line-count 65
no standard page heading.
*-- DATA DECLARATION--
include <icon> .
*---Tables
tables : s076, t100, marc .
*---Types
types : begin of t_upload, " Upload file data
col1(18),
col2(10),
col3(30),
col4(12),
col5(50),
end of t_upload,
begin of t_split,
location like stpu-ebort,
end of t_split.
data:begin of i_return occurs 10.
include structure bapiret2.
data:end of i_return.
types:begin of t_item."occurs 10.
include structure BAPI1080_ITM_C.
types:end of t_item.
types:begin of t_subitem." occurs 10.
include structure BAPI1080_SUI_C.
types:end of t_subitem.
types:begin of t_header." occurs 10.
include structure BAPI1080_MBM_C.
types:end of t_header.
types:begin of t_bomgroup." occurs 10.
include structure BAPI1080_BGR_C.
types:end of t_bomgroup.
types:begin of t_variant." occurs 10.
include structure BAPI1080_BOM_C.
types:end of t_variant.
*--- Tables
data: i_upload type standard table of t_upload, " to hold data
i_upload1 type standard table of t_upload,
i_split type standard table of t_split,
i_item type standard table of t_item,
i_subitem type standard table of t_subitem,
i_header type standard table of t_header,
i_bomgroup type standard table of t_bomgroup,
i_variant type standard table of t_variant.
data: wa_upload type t_upload, " to hold file data,
wa_upload1 type t_upload, " to hold plan data,
wa_split type t_split,
wa_item type t_item,
wa_subitem type t_subitem,
wa_header type t_header,
wa_bomgroup type t_bomgroup,
wa_variant type t_variant.
data:v_matnr like mara-matnr,
v_start like sy-index,
v_count(3) type c.
*--Constants
data: c_dot type c value '.',
c_x type c value 'X',
c_comma type c value ','.
-------Selection Screen Design -
*Selection screen for input of upload file address
selection-screen skip 2.
selection-screen begin of block blk1 with frame.
parameters : p_file like rlgrap-filename obligatory .
parameters : p_matnr like mara-matnr obligatory,
p_werks like marc-werks obligatory memory id wrk,
p_stlan like afko-stlan obligatory default '1' .
selection-screen end of block blk1.
---AT SELECTION SCREEN -
at selection-screen on value-request for p_file.
*--For popup to select file.
perform f_give_help.
at selection-screen on p_matnr.
perform f_check_matnr.
-----START OF SELECTION -
*--Data upload using WS_Upload.
perform f_get_data.
perform f_get_bom_data.
perform f_get_bom_data1.
perform f_call_bapi.
*& Form f_give_help
text
--> p1 text
<-- p2 text
FORM f_give_help.
call function 'WS_FILENAME_GET'
exporting
mask = ',.,..'
mode = 'O'
importing
filename = p_file
exceptions
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
others = 5.
if sy-subrc <> 0 and not sy-msgty is initial.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM. " f_give_help
*& Form f_check_matnr
text
--> p1 text
<-- p2 text
FORM f_check_matnr.
CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
EXPORTING
MATERIAL = p_matnr
PLANT = p_werks
BOMUSAGE = '1'
VALID_FROM_DATE =
VALID_TO_DATE =
TABLES
RETURN = i_return.
ENDFORM. " f_check_matnr
*& Form f_get_data
text
--> p1 text
<-- p2 text
FORM f_get_data.
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
tables
data_tab = i_upload
exceptions
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
others = 10
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
ENDFORM. " f_get_data
*& Form f_get_bom_data
text
--> p1 text
<-- p2 text
FORM f_get_bom_data.
delete i_upload where col1 is initial.
delete i_upload where col1 cs 'ITEM'.
read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
if sy-subrc = 0.
v_matnr = wa_upload-col2.
if v_matnr <> p_matnr.
message e001(zl) with p_matnr.
endif.
else.
message e000(zl).
endif.
ENDFORM. " f_get_bom_data
*& Form f_get_bom_data1
text
--> p1 text
<-- p2 text
FORM f_get_bom_data1.
loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
v_start = sy-tabix + 1.
loop at i_upload into wa_upload1 from v_start .
if wa_upload1-col1 cs 'FINISHED GOOD'.
exit.
else.
perform f_split_upload_data.
endif.
endloop.
endloop.
ENDFORM. " f_get_bom_data1
*& Form f_split_upload_data
text
--> p1 text
<-- p2 text
FORM f_split_upload_data.
if not wa_upload1-col5 is initial.
if wa_upload1-col5 cs c_comma.
split wa_upload1-col5 at c_comma into table i_split.
loop at i_split into wa_split.
v_count = v_count + 1.
endloop.
if wa_upload1-col4 <> v_count.
wa_upload1-col4 = v_count.
endif.
clear wa_upload1-col5.
clear wa_split.
loop at i_split into wa_split.
wa_upload1-col5 = wa_split-location.
append wa_upload1 to i_upload1.
endloop.
else.
append wa_upload1 to i_upload1.
endif.
else.
append wa_upload1 to i_upload1.
endif.
ENDFORM. " f_split_upload_data
*& Form f_call_bapi
text
--> p1 text
<-- p2 text
FORM f_call_bapi.
clear wa_upload1.
wa_header-material = p_matnr.
wa_header-plant = p_werks.
wa_header-bom_usage = p_stlan.
append wa_header to i_header.
wa_bomgroup-bom_usage = p_stlan.
wa_bomgroup-created_in_plant = p_werks.
append wa_bomgroup to i_bomgroup.
wa_variant-alternative_bom = 1.
wa_variant-base_qty = 1.
wa_variant-valid_from_date = sy-datum.
append wa_variant to i_variant.
loop at i_upload1 into wa_upload1.
wa_item-item_no = wa_upload1-col1.
wa_item-item_cat = wa_upload1-col2.
wa_item-component = wa_upload1-col3.
wa_item-comp_qty = wa_upload1-col4.
append wa_item to i_item.
wa_subitem-subitem_qty = '1'.
wa_subitem-installation_point = wa_upload1-col5.
append wa_subitem to i_subitem.
endloop.
CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
EXPORTING
TESTRUN = ' '
ALL_ERROR = ' '
TABLES
BOMGROUP = i_bomgroup
VARIANTS = i_variant
ITEMS = i_item
SUBITEMS = i_subitem
MATERIALRELATIONS = i_header
ITEMASSIGNMENTS =
SUBITEMASSIGNMENTS =
TEXTS =
RETURN = i_return.
if i_return[] is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
*write: /'BOM created:', stpo-stlnr.
else.
*if not i_return[] is initial.
loop at i_return.
IF i_return-TYPE = 'E'.
errmsg-type = i_return-type.
errmsg-line = i_return-message.
append errmsg.
ULINE /1(108).
write:/ icon_led_RED as icon, i_return-MESSAGE.
ULINE /1(108).
ENDIF.
IF i_return-TYPE = 'W'.
errmsg-type = i_return-type.
errmsg-line = i_return-message.
append errmsg.
ULINE /1(108).
write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
ULINE /1(108).
ENDIF.
ENDLOOP.
*write: / i_return-id, i_return-number, i_return-message(80).
*endloop.
*write: /'Error'.
endif.
ENDFORM. " f_call_bapi -
Error in multilevel BOM transfer using CN33
Dear all,
I am facing one issue in BOM transfer to the project using transaction CN33.
Here we are transferring multilevel BOM to the project.
We are having BOM structure as FERT material A below which we have material B and below B i have material C. Now while transferring we are transferring all A, B as well as C to project.
While transferring BOM in selection parameters i am selecting both Multilevel as well as Prel. requ. indicator.
When we do MRP run, for component C planned order are getting generated twice whereas for Component D the planned orders are getting generated thrice.
Regards,
sudhirHi,
I would prefer- direct BOM material(Header) assignment in Project, and it generates requirements properly after MRP Run, instead of transferring all materials to project through CN33.
Venkatesh
Maybe you are looking for
-
Hi, My ICal app on the iTouch seems to have "lost" all events but the past two months. The iCal on my Powerbook has all the events. I synch through mobile.me Does anyone have an idea what I can do to make sure all my events are on the iTouch? Any hel
-
I'm having issues when trying to open a photo in CS4 64-bit via Bridge. I'm running the latest version (11.0.2) on win 7 64-bit. My system has been running just fine for about 6 months up until about 3 weeks ago. Using Bridge I try open a pic to d
-
How can I create DVD Label using Photoshop Elements 10?
How can I create DVD label using Photoshop Elements 10? Richard
-
Want to change computers for my iphone
I have my iphone syncing up with my pismo computer the moment. I saw the new version of iTunes 9 and I want to move my iphone over to my mac book pro notebook. I obviously don't want to lose anything on either itunes or my iphone. Therefore, could so
-
When generating a SQL report, external images from a Sharepoint image library are not shown (red X). An unattended execution account is set correctly, the image exists. I have tried with setting the UseSessionCookies to true/false. nothing seems to w