ECM : Table of Material BOMs of a particular Change Number
Hi All,
Can any one provide me the table the material BOMs of a corresponding Engineering Change Number.
Thanks
Sai
Hi,
Have a look into AENNR--STPO ..
Below tables are imp towards BOM
STPO BOM Item Details
STPU BOM Sub Items (designators)
STKO BOM Header Details
MAST BOM Group to Material
STZU BOM History Records
STAS BOM Item Selection
STPF BOM Explosion Structure..
Regards
Kiran
Similar Messages
-
Different Effective Date in One BOM with only ONE Change Number
Hi gurus
here is my complete question?
Is it possible to realize this function that Different Effective Date in One BOM for different BOM items with only ONE Change Number?
Thanks for your information/help in advance.Dear Zhao,
Using One change number it's not possible to define a different valid from date for the BOM changes of a single material BOM.
In case if the same change number is used for making different material's BOM component,then a different valid from date for
each BOM can be defined,but at any given point not for each component/item level of the same BOM.
Check and revert back.
Regards
Mangalraj.S -
Error while changing BOM with change number
Hi ALL, Please help me with followed error message, I am using ECM. I created ECR and converted to ECO and then released.
Object management record cannot be generated
Message no. 29046
Diagnosis
You want to change the BOM with the entered change number.
One of the following situations triggered this error message:
1. The indicator that allows automatic generation is not set for object type BOM in the change master.
2. The indicator generation only on initial creation is set for object type BOM
3. You are processing a change request.
System response
The system checks whether the indicator object management record will be generated is set in the change master.
If the indicator generation only on initial creation is set, the system checks whether the BOM exists in the system.
Procedure
If you are authorized to change the change master, execute the following steps:
For 1.)
Set this indicator for object type BOM or create the control record in the change master.
For 2.)
If the BOM already exists in the system and the generation only on initial creation indicator is set, the system can no longer generate the control record automatically.
In this case you have to add the object control record to the change master first, then you can change the BOM in relation to the change number.
For 3.)
You cannot generate any object control records for a change request.Hi
With your question regarding changing BOM with change number it looks lke there may be problem in defining the Object types,objects.Moreover whenever converted to ECO you need to enter into cs02 tcode for changing the bom with relevant change number and valid from date.
Hope this gives you a clear idea.let me know if you need anyfurther inputs.
Regards
Praveen -
Configured material BOM table details requried for component list
Hi PLM Experts,
As per the client requirement, we need to activate one sales condition type based on Super BOM components list. To define a logic for the above requirement, to list out the component we checked in STPO Table and in this table its appearing only the phantham materials not the real BOM of the component is appearing.
So can you please suggest the table name where i can find the Bill Of Material of my Finished Product (Configured material) in the Table level.
Warm Regards.
Velmurugan PThanks Ajit.
But the problem still persist. The tables you have listed will suits for regular BOM compoents list. But we want to know the Table / procedure details in case of Configured material BOM details. Because for configured materials the BOM will be determined during sales order (Planned order) only.
This BOM of configured material won't get stored in the table you have listed. As per our requirement we are looking for table details where we can list out the components list to perform the additional charges in the sales order based on BOM.
Warm Regards,
VEL -
How to find header bom for a particular child bom
for a particular serial number (sernr-equi) contains
material number( matnr-equi) this is a child material number.
so i need to find header material(bom component) for this particular material .
i am passing material idnrk(equi-matnr) in stpo table to get header bom. i am getting more than one stlnr(bom components) for material with deiffernet serial number.
there is no serial number field in stpo i could not able to find material with requried serial number used in bom component.
tell me how can i proceed further.Hi Sridhar,
Use CS_BOM_EXPLOSION FM.
CALL FUNCTION 'CS_BOM_EXPLOSION'
EXPORTING
capid = 'PP01'
datuv = SY-DATUM
mtnrv = header-stlnr
werks = header-werks
mehrs = 'X'
TABLES
stbd = stbd
stbe = stbe
stbk = stbk
stbm = stbm
stbp = stbp
stbt = stbt
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
missing_authorization = 3
no_bom_found = 4
no_plant_data = 5
no_suitable_bom_found = 6
object_not_found = 7
conversion_error = 8
OTHERS = 9.
Afetr Passing capid,datuv,mtnrv,werks,mehrs values, FM will build STBP Table Which comntain all comnponents related to ur STLNR.
Regards,
Digesh Panchal
Note : Please reward points, if it solve ur problem -
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 -
FM For Finding if Material BOM exits for BOM component.
Hi,
Is there any FM or BAPI to find out if there is any material BOM exists for the BOM component.
How is Indicator assembly get assighned..?
Any inputs would be appreciated.
Thanks,
MarkSample program.
report zrich_0001 .
* Internal Tables
data: i_stpov like stpov occurs 0 with header line.
parameters: p_matnr type marc-matnr,
p_werks type marc-werks.
start-of-selection.
perform where_used tables i_stpov
using p_matnr
p_werks.
loop at i_stpov.
write:/ i_stpov-matnr, i_stpov-werks.
endloop.
* FORM WHERE_USED.
form where_used tables itab
using matnr
werks.
data: selpool like mc29s.
data: eqpcat like cscequi occurs 0.
data: kndcat like cscknd occurs 0.
data: matcat like cscmat occurs 0.
data: prjcat like cscprj occurs 0.
data: stdcat like cscstd occurs 0.
data: tplcat like csctpl occurs 0.
clear itab. refresh itab.
call function 'CS_WHERE_USED_MAT'
exporting
datub = sy-datum
datuv = sy-datum
matnr = matnr
postp = ' '
stlan = ' '
werks = werks
stltp = ' '
importing
topmat = selpool "Not Currently Used
tables
wultb = itab
equicat = eqpcat "Not Currently Used
kndcat = kndcat "Not Currently Used
matcat = matcat "Not Currently Used
stdcat = stdcat "Not Currently Used
tplcat = tplcat "Not Currently Used
prjcat = prjcat "Not Currently Used
exceptions
material_not_found = 02
no_where_used_rec_found = 03
no_where_used_rec_selected = 04
no_where_used_rec_valid = 05.
endform.
Regards,
Rich Heilman -
Overwrite material BOM component
Hi,
I am trying to over-write the component of a material BOM with another component in the same position. I am using FM CSAP_MAT_BOM_MAINTAIN for this. I am passing values to the the below parameters.
MATERIAL H.1013.2476
PLANT 3000
BOM_USAGE 1
ALTERNATIVE 1
VALID_FROM 01.01.2003
FL_COMMIT_AND_WAIT X
FL_DEFAULT_VALUES X
Values that I am passing in T_STPO
ITEM_CATEG L
ITEM_NO 0010
COMPONENT H.1013.4572
COMP_QTY 5.0
COMP_UNIT EA
Here initially the BOM component is H.1013.4570 and I am trying to change it to H.1013.4572. This should be like replacing H.1013.4570 with H.1013.4572 in the same position. This can be done by CS02. However when I am using the above FM and then checking CS03 i see 2 BOM components H.1013.4572 and H.1013.4572. So basically this is not a replacement.
I also tried FMs for the same activity but didn't get the desired result.
a. CSAP_MAT_BOM_OPEN
b. CSAP_BOM_ITEM_MAINTAIN
c. CSAP_MAT_BOM_CLOSE
Could anyone tell me how it can be done.
Regards,
RakeshI was looking into a possible solution for changing the BOM component. I tried to get the result with some other BAPIs however I found none to achieve the desired results.
However I found a possible solution with the original BAPI CSAP_MAT_BOM_MAINTAIN. After passing some possible combination of values I came to the conclusion that in table structure T_STPO type STPO_API03 we can use 2 fields u201CITEM_NODEu201D and u201CITEM_COUNTu201D to get the results (I see that these 2 fields have values in SAP Table STPO in fields u201CSTLKNu201D and u201CSTPOZu201D).
If we are passing the values to the below fields of the structure T_STPO, then the desired results can be achieved.
T_STPO (Mandatory Fields to get the result)
ITEM_CATEG L
ITEM_NO 0010
COMPONENT H.1013.4572 (New BOM component that would be replacing the old one)
COMP_QTY 4.0
COMP_UNIT EA
ITEM_NODE 00000016
ITEM_COUNT 00000032
Here, the only part that I am not sure of is whether ITEM_NODE and ITEM_COUNT can be passed from the 3rd party system. I believe that these are automatically generated numbers when a BOM component is created. -
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 -
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 -
The system could not determine any material BOMs
Hello All,
I am testing the Preference Processing scenario.
I have a BOM available in Feeder system which gets exploded in Sales Order. The preference indicators and every BOM material is already transferred to GTS system
When I am transferring the Initially BOM then system gives the message that "System could not determine any material BOMs."
The main material already has been flagged for Configurable material.
If I use the transaction /SAPSLL/KMATWLR3_03 (Display worklist of Configurable Material), I am able to see the sales order but when I select the line item and press the push button to transfer the BOM to GTS system gives message that Error in BOM Explosion
Please help me to resolve the issue
Thanks & Regards
RahulHello Dave,
I have maintained the BOM Usage 3 and 5 for Global, Country and Plant level.
The table entries are displayed as below
But still I am getting the same error while transferring the BOM -
UrgentFun MOdule to retrieve material nrs from a particular material group
Hi all,
Is there Fun MOdule to retrieve material nrs from a particular material group(Import parameter).
Thankstables mara
types: begin of t_matnr,
matnr type mara-matnr
end of t_matnr.
types: tt_matnr type standard table of t_matnr
data l_it_matnr type tt_matnr
select-options s_matkl for mara-matkl
select matnr
into l_it_matnr
from mara
where matkl in s_matkl. -
Table where Material De and Open PO Nur can be found.
Dear All,
May I know what is Material De and Open PO Nur ?Please also state in which table above fields are found.
Thanks with regards,
S.SureshHi,
Table - MAKT
Material Descript
Table - EKKO
Field - EBELN Purchasing document number
Regards,
Chetan. -
Table and Materialized View in different namespaces?
I've just faced something completly new for me. It appears that there are two objects with the same name and owner. Table and Materialized View have the same names and when I look into system dictionary I can se sth. like that:
OWNER OBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE NAMESPACE
USER_A USER_TABLE 159381 159381 TABLE 1
USER_A USER_TABLE 159382 MATERIALIZED VIEW 19
(I couldn't find how to write above with const length font).
Two object in different namespace? I thought that Tables and Materialized Vievs have the same namespace.
Can you please tell me how can I create objects to achieve above result? I would also be grateful if you tell me where to find that topic in documentation.Perfectly normal.
SQL> select object_name, object_type from user_objects where object_name = 'TEST_MV';
no rows selected
SQL>
SQL> create materialized view test_mv
2 as
3 select sysdate from dual;
Materialized view created.
SQL>
SQL> select object_name, object_type from user_objects where object_name = 'TEST_MV';
OBJECT_NAME OBJECT_TYPE
TEST_MV TABLE
TEST_MV MATERIALIZED VIEW
SQL>
SQL> drop materialized view test_mv;
Materialized view dropped.
SQL>
SQL> select object_name, object_type from user_objects where object_name = 'TEST_MV';
no rows selected
SQL> -
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
Maybe you are looking for
-
I have a script that opens an Indesign CS4 pages, creates a rectangle and places an image in the rectangle. This part works great. What I would like to do is to have the image placed in an existing box that has been labeled using a scipt label. I
-
Issue: transfer library from Mac to IPHONE or IPOD
I'm not allowed to transfer my library to my Iphone or my IPOD, because I'm said that I already authorized 5 others Mac. What can I do to cancel the "authorizations" I gave?
-
URGENT: ERROR when trying to execute ssoexp.csh script
Hello, I am trying to execute the ssoexp.csh script and I keep getting an error. Here is some background info: I am running the ssoexp.csh (UNIX) script from the production server. Steps: - Set the environment to the source <Portal_home> - cd to the
-
Launch Discoverer 10g from Oracle Applications Menu
Please provide steps to launch Discoverer 10g from Oracle applications menu. Thanks in advance. suresh
-
I have a new Lumia 620 - I want to transfer music files from my PC (I have music in the DRM protected format .wma - it plays correctly on my PC - and did on my previous nokia phone) I have used the nokia music player to redownload some tracks to pc a