BOM assembly indicator
Dear Gurus
Please tell me, In which table I can find assembly indicator with related to a BOM.
Thanks & Best Regards
Charith
Hi Rupesh,
Use FM CS_BOM_EXPL_MAT_V2 with input as given below.
CAPID - PP01
DATUV -System date
EMENG - Quantity as 1
MKTLS = X
MEHRS = X
MTNRV = Parent Material Number
SVWVO = X
WERKS = Plant
From the output internal table STB get the Field XTLTY. If XTLTY = M, then consider that as Assembly. Apart from this you can also use the Internal table MATCAT. All the Materials MATNR in this table MATCAT are nothing but assemblies.
Hope its clear.
Thanks & Regards,
Ramagiri
Similar Messages
-
How to find 'Assembly' indicator in a BOM explosion FM
Hi experts,
I need a function module to explode BOM for Materials which are having checked by Assebmly indicator.
I tried fm : CS_BOM_EXPL_MAT_V2. But i didnt find a field for this indicator.
Can any of you tell me how to find weather 'Assembly' indicator of a material is checked, using a FM.
Please !
Thanx.
Matt.Hi,
U can find it in another way by using Table MARC,
if the value of SOBSL field is 50 in MARC then its an assembly.
Hope it helps!!
Regards,
Pavan -
Assembly Indicator in BOM Level
hi,
can any one let me known any function module to get the list of all materials at BOM
i,e if i give a material number i should get all the material including the assembly for materials.
or let me known where the assembly indicator will stored at table level
i have seen CS_BOM_EXPL_MAT_V2 function module which give all levels of the materials and gives the assembled
material also but
My requirement is for given date range, plant and material i should get materials including assemblies with the total quantity used in that given date range.
Regards,
R K.
Edited by: R K on Aug 12, 2010 2:17 PMhi,
Thank you very much for effort in helping me on the issue,
I have already seen all the table in the list previously.
i closed the issue, using the fm CS_BOM_EXPL_MAT_V2
after using the above fm we will get all the assembly materials
into table MATCAT and passed all those materials and date range to S026 table which gives
quantity day wise, collected those quantities material wise into another final table .
Regards,
R K -
Assembly indicator in BOM doesnu2019t consider BOM Usage
In a business scenario we are using two types of BOM 1. Production BOM & 2. Engineering BOM.
Letu2019s say for Material 'A' there is an engineering BOM & it consists of two components say 'B' & 'C'.
Material 'C' has its own BOM but with usage "Production".
Still in transaction CS03, when we display Engineering BOM (Usage: 2) for Material A.
Assembly indicator for material 'C' is active though there is no engineering BOM for material 'C'.
Is there is any condition for checking BOM usage for assembly indicator? Or what can be the solution to take into consider BOM usage.
PP gurus please help.
Many thanks in advance.Hi Sumedha
BOM usage defines the area (such as engineering/design or production) where a BOM can be used.
when ur material A is having C as component and C is having its own bom so it will show that in the system. bom usage is only for using the bom in diffrent area
if u have an engineering/design BOM and if u want to use that in production that time it will give an error
or massage that BOM usage is not as per requriement
hope u got it
regards
Sachin -
Copying assembly indicator in BOM
hI ,
i AM COPYING A bom FROM ONE plant to other plant ..In first plant item is a sub-assembly with assemby indicator. When i am copying to other plant this indicator is not copying. Because of which i couldn't able to see its components.
Regards
PatnaikPatnaik,
BOM Copy happens at single level only. When you are copying the BOM from one plant to another only the Header material BOM gets copied. You need to create/Copy the subassembly BOM for the new plant. Once this is done system would automatically activate the "Assembly Indicator" in the header level bom for subassembly components.
Regards,
Prasobh -
Table for Assembly indicator checkbox in BOM
Please inform me about Table for Assembly indicator checkbox in BOM
Field name--- STLKZ.
If table is not there then how to find if this field is checked or Not checked in development programDear Mayuresh,
There is no table where in you can get this information which has got an assembly of its won.
Either you can use CS11,CS12 or CS13 for limited level explosion or else to identify for which
components an assembly exists for itself.
Or else at Functional module level.
Regards
Mangalraj.S -
Hi,
I have a simple query regarding the transaction CS03. When I give the Material Number, Plant and BOM Usage as input, I would get the list of components for this material.
Inside the transaction, is a CHECKBOX field ASM - this Indicates that the component for this material has its own BOM or has further components).
Could anyone tell me in which SAP table this information is stored i.e. an indicator to tell us if the component/material has further BOM or not.Hi Ashwin,
I have given wrong info...sorry for this.
By defualt the procurement type will be E or X for all BOm assemblies or F/30..you can use ITSOB field in STPO for special procurement type.
If you want BOMs for all finished or semi-finished assemblies the join MARC and STPO table.
Regards
TAJUDDIN -
Table field for Assembly indicator
Hi,
What is the table in which the assembly indicator (BOM) is getting stored?
Regards,
Charumathi.BHi,
Check table STPO and field is STKKZ.
You can check out this link for BOM related tables-
http://www.sap-basis-abap.com/sappp007.htm
Regards,
Sujit -
Fixed BOM - Assembly Operation and Data to Collect on Assembly
On a fixed BOM for a repetitive order the Assembly Operation is populated with the correct operation for reporting consumption to ECC. However, the Data to Collect on Assembly on the material is set to NONE. Why does ME do an auto assemble at the first step for all the material regardless of the setting of the Assembly Operation on the BOM?
Hello,
If assy data type is set to NONE, component is considered as auto assembled component. These type of components are automatically installed into parent material during SO release. This is controlled by a hook that is set up and enabled by default on site level.
regards,
Konstnatin -
How the Block to do changes in partucular BOM Assemblies
Dear Expert,
In our scenario BOM variant are there for country specific. so my client requirement is once they freeze Bill of Material (BOM) i.e. particular date for single country variant then no changes can be made for this country specific variant up to one month or some period.
Second requirement is if they want to do some changes in same variant after some days then this change should not be reflected now this chnage should reflected after one month or after some period i.e. from BOM Freezing date. so please tell me any standard functionality is there or if not possible then how we do this development.
Regards,
IshwarIshwar,
SAP is to enable perform the actual business transactions captured through transactions, it cannot be used as a software to discpline employees or operators.
Behaviour or organisation Change management should be applied within your company ....SAP wont help in this.
Regards,
Prasobh -
BOM Exlposion for Assembly Materials
Dear Friends,
I want function module to be explode the BOM for Materials which are Having checked by Assebmly(Field is STLKZ) .I am able to explode the BOM which are Having Phatum Indicator using CS_BOM_EXPL_MAT_V2 which is having DUMPS(Phantun Indicator) .I need to find out the Assembly Indicator .
Pls Help me How to Find out Assemble Indicator for Materials.You can pass the component material to the table MAST. If any value exists against the component number than this material has Assembly indicator active.
Another option is when using the FM CS_BOM_EXPL_MAT_V2 . Check if table STB(Structure-Stpox) with field XTLTY(BOM Category) is equal to type 'M'.The passing condition will give Assembly indicator.
Regards,
Anurag -
Functinality to compare two material price with reference to BOM in CO
Hi All,
Is there is any functionality in Controlling which can compare the costing for two FERT materials.
or
is there is any functionality where we can compare two material price with reference to BOM in controlling
Please help me to compare the material price with reference to BOM
Regards
nanduHi,
You can use this report to compare two itemizations. The report compares the characteristics item number, item category, cost element, resource, material, cost center, plant/work center, cost center/activity type, operation number, BOM item, assembly indicator, and cost component.
You can access this report as follows:
Accounting ® Controlling ® Product Cost Controlling ® Product Cost Planning ® Material Costing ® Cost Estimate with Quantity Structure or Cost Estimate Without Quantity Structure ® Compare
or
Accounting ® Controlling ® Product Cost Controlling ® Product Cost Planning ® Information System ® Object Comparisons ® For Material ® Itemization Comparison.
For Detail Please reffer following link:
http://help.sap.com/saphelp_46c/helpdata/en/56/abd108f1a611d28a950000e8214595/content.htm
Thanks and Regards
Binoj M D -
MRP RUN- KIT BOM explosion not working
We setup one layer BOM’s for our maintenance KITs as parent material and components as child material. For example KIT is TS10000-K1 and components are TS10001, TS10002 etc setup as next layer with in the BOM. Both KITS and components are defined as material types ERSA (Spare parts). These one layers BOMs are setup as production BOMs and expected to create purchase requisitions for KITS and components by exploding BOMs during MRP runs. We use purchase requisitions and convert them into POs to procure both KITS and components. We DO NOT USE Panned orders and Production orders.
The safety stocks / reorder point are considered as demand for KITS and components as we do not have any external demand for KITS and components.
MRP run is creating purchase requisitions automatically for both KITS and components as per safety stocks and reorder point defined in MRP Views of Material Master. This is working as expected.
The issue is: KIT BOM’s are not exploding to generate purchase requisitions for the dependent components of KIT BOM. Please suggest the way to resolve this issue.
Split valuation: Also we plan to use split valued KITS with both new and refurbished. So we need BOM explosion for split valued KITS
also (after the 1st issue is resolved).
I verified the following items to make sure the required configuration and data setup is defined correctly.
1) Planning file activated Plant - OMDU
2) Executed MRP run with Total Planning - MDBT and MD02 (single item, multiple levels)
3) BOM explosion for MRP activated- OS23
4) MRP type in MRP1 view- PD and VB (I tried both separately but BOM is not exploding).
5) Procurement type “F” (MRP 2 view) and lot size “EX”
6) Planning strategy in MRP 3 view (tested w/o planning strategy and with strategies 10 and 40. But BOM is not exploded)
7) BOM status and usage (status is active and usage is for production-CS02 and OS20)
8) BOM Validity date (Valid)
9) BOM structure in CS12 (BOM is exploding in CS11)
10) Availability check
11) Selection of BON ID to have BOM usage indicator assign (OS31).
12) No alternate BOMs or production versions or work scheduling view are used.
Please review the above 2 issues and suggest any workable solution. Thanks in advance!
NOTE: I extensively used MRP with multi-level BOM explosion in my earlier projects without any issue. However the above issue is a bit strange why one layer BOM is not exploded in this case.
Regards
SriniHi
Thanks for your response. I reviewed all SAP notes and none of them are applicable to my scenario.
1808396 - BOM changes not considered by MRP: I have not changed BOMs.
1781324 - MD11: Valid BOM alternative is not found. We do not have alternative BOMs.
1791009 - No BOM explosion after changing production version: We am not using production versions.
Our Material KITS are PM spare assemblies set up as BOMs and consists of individual spare parts as components. We are creating purchase requisitions and not planned orders. We are not using PP functionality/Production orders.
MRP is generating purchase requisitions for KITS and components as per ROP and safety stocks. In other words it is working as expected. The issue is BOMs which are parent assemblies are not exploding to the next lower level components.
Please note that I am not getting any error messages when MRP is executed.
Regards
Srini. -
CS11:Component not shown as "Assembly"
Hi Experts,
We have PP-PI scenario wherein for a material A has component B which is an assembly(Assembly indicator tick is available) in CS03.
But, while executing CS11 for material A,the same component B is not showing as an assembly (Assembly indicator is tick is NOT available).
Could you please help in knowing the reason for the same.
regards,
RishiThanks SUnder,
Isuue was due to the validity date.After picking up the validity date for that BOM,the component is shown as an assembly in CS11. -
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
Maybe you are looking for
-
Record and Playback performanc​e goes down at high frequency
Hi, We're testing record and playback using USRP-2920( LV 2013sp1, NI-USRP 14) To test it, we downloaded record and playback example code. Signal source is a function generator outputting 6 MHz bandwidth 8 VSB modulation signal. USRP Rx parameters ar
-
Adobe Reader Installation problem
Originally I got this error message: "Error 1321. The installer has insufficient privileges to modify the file C:\Program Files (x86)\Adobe\Reader 11.0\Reader\Browser\nppdf32.dll" A user give me this response: hi jhohn1190, this problem won't be rela
-
How to deploy a JMF so it doesnt need any installation on the client?
Hello Friends Im a working on media player applet and found out that it works fine on computers with the JMF installed, however I want to make it available so there is no need for anyone to download any extra packages. Using Netbeans 6 and thought in
-
Get the value and pass it to child jsp page
Hi All, I want to get the attribute value from the adf table in my parent jsp page and again send it to the child jsp page.I'm very new to adf.Please any body give me a example for this.Please help me. Thanks in advance!
-
Listener Adapters in BPEL and ESB
I created 3 BPEL Processes and 3 ESB's listening to OA Adapters. All of them listen to the same event. I found from the UI that only one subscription is created for all the 8 listener OA Adapters. When the event is raised all my BPEL Processes are in