Report of material BOM
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
Similar Messages
-
BOM - Standard report to view the material - BOM relationship
Hi
Our client has a requirement to view the material - BOM relationship. The input will be the material and the report should display all the levels above the material. Say for example if the material is in level 5, it should display the BOM strucutre from level 0 to level 5. If the same material is in various levels, the structure should map from level 0 to the lowest level of the material.
Is there any standard report/function available for the above requirement.?Hello Venkatachalam
As eariler related to BOM level wise you posted a quiery on SDN ....
I having Similar quiery as per yours...... I need your help.
Is it possible for you to make a telephonic conversation so i may provide you proper details .
With Regards
DhruvOM
Phone number :-+919765032999 -
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 -
Hi everyone
I wanna archive all material BOM in a client server.
The client server only contain the material and BOM data.
I am using transaction code :CS28 and using object " CS_BOM " . The archive steps are:
1. actions->write
2. create a variant called "BOM"
3. in "BOM" variant maintainence screen,
select "archive with direct deletion" ,
select "selection by delete indicator" ,
select " archive material BOM"
4. add description attribute for BOM variant.
5. save variant and execute the job.
However, when i saw the job overview , the created job is in complete status within several seconds. And i go to CS03 , there is still BOM record existed.
Do anyone know the correct way of archiving material BOM?
Thx~"selection by date validity" will work only if you can give a date after the BOM validity dates. Check what is the validity dates in all your BOMs . If it is 31.12.9999 then this option will not work.
The only other option you have is to mark the deletion flag in all the BOMs and then use "Selection By Del Indicator".
If you have access to OSS , check note number 376650 , which give a program code which can set the deletion flag in all the BOMs. After this if you choose "Selection By Del Indicator" then I guess the BOMS should be removed from database.
Archiving has two actions - writing data to arcive file and delete data from database. You have not mentioned thus far that you file is written . If file is written correctly and data not deleted from database then problem is with deletion program.
If file also is not written ( is blank ) then your problem can be solved in the two ways I mention above, as then the problem lies with no BOMs selected for deletion/ archiving. Is the spool of your batch job blank.
Btw you are using the correct method of archiving BOMs . However there is a report RCBOMDEL which will delete all the BOM records from a client without archiving.
Cheers. -
Report for material with sloc,qty available, and production order
hi friends, i need advice on getting this report for material with qty and specific sloc with the corresponding Prodn order numbers. in mb51 i could get all these details except the prodn order no. could you advice me please?
to make sure you know how to do this.
In the material document list, hit "Ctrl+F8" on your keyboard.
A window will pop up. Click on the button position and look for "order" in the list of available fields. That should do it.
Rgds. -
Report for material which not consumed during C015
HI ALL,
"I required a report for material which material are not
consumed at C015 production confirmation time against actual consumation (order wise , part no wise & date wise )"
its v urgent
good suggesstion reward with valuable points.Amit,
I think your problem is that you want to monitor when users are deleting the goods issue while confirmation. So you would have to know if for a confirmation qty of 100, the planned consumption should have been 100 but the actual consuption is 50.
So you would want to relate the confirmation qty with the planned and actual consumption.
In COOIS Remt, qty and Withdrawal qty will show the total reqmt and actual withdrwal. Hope this will not be helpful if I understand correctly.
You have to create a simple query joining tables AFVV with RESB. Calculate the planned consuption for the confirmation qty. This along with the actual consuption will help to give what you are looking for.
I am right ?
Ram -
Hi,
Please help me out in generation of below report, if it not possible give the table names and field names.
Report to display all material rates by using material number, sales organization and distribution channel and condition type.
Please send your views to '[email protected]'
Thanks & Regards,
Muraly GHi
use the following tables to prepare the report
MARA--Material Master-General (MATNR,MTART,MATKL)
MARC--Material Master-Plant data(MATNR,WERKS,EKGRP)
MARD--Material Master- St.Location Data(MATNR,WERKS,LGORT,LABST)
MAKT--Material Descriptions(MATNR,MATKL,MAKTX)
<b>MBEW--</b>Material Valuation Data(MATNR,BWTAR)
<b>MVKE</b>-Material Master: Sales related Data(MATNR,VKORG,VTWEG)
<b>Reward points for useful Answers</b>
Regards
Anji -
HOW TO write a report in Material Master that outputs Material valuated stock grouped by Material type and Plant. The output shows Material Number, Storage Location and Unit of Measure and description in addition to group totals.
Reports
http://www.sapgenie.com/abap/reports.htm
http://www.allsaplinks.com/material.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules. -
Report for material gr/ir clearing account display differences
report for material gr/ir clearing account display differences
hi salsa,
There is no such report for the datails of material gr/ir ......
but T code J1ILN and select
Indirect taxes -
> Register -
> Excise tax -
> In J1IN Update Excise register RG23a -
> then Extract rg23a----- > PRint utility program Rg23a
here u can extract all the invoices gr/ir
Through
T code J1I5
J2I5
J2I6
if useful assign points...
regards,
santoshkumar -
Report on material code, description and all unit of measure conversions
report on material code, description and all unit of measure conversions ?
any ideas?Material Number MATNR
with this key and SPRAS (the desired Language key)
from MAKT you can get the descriptions..
and with MATNR from MARM you can get alternative UOM and the conversion rates.
If you need help on MARM how to get the conversions please notify.
Hope it helped
Please reward if found useful
Best Regards -
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 -
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 -
Report on material info display
hi friends,
plz help me for the following scenario.Tell me also the tables and fields requred this.
·To create a report in Material Master that outputs Material Valuated Stock, grouped by Material Type and Plant. The output lists out Material No., Storage location, Material Quantity and description in addition to group totalsmbew-LBKUM( total valuated stock) and mbew-LVORM(deletion indicator) = space
mara-mtart( material Type ) and mara-MATKL( material group ) and mara-LVORM(deletion indicator) = space
marc-werks( plant) and marc-LVORM(deletion indicator) = space
MARD-LGORT( storage Location ) and mard-labst( unrestricted stock) and mard-LVORM(deletion indicator) = space
makt-maktx( material Descriptions) and makt-spras = sy-langu -
Report at Material level(for all the plants)?
Hi Experts,
We have simple query which gives following output.
&Plant&Material No&Creation Date&Issue date&QTY issued&
P1 M1 01/10/2004 01/01/2005 10
P2 M1 01/12/2004 15/12/2004 20
P3 M1 01/01/2005 15/01/2005 30
Actually I want to report at material level ( for all plants in one shot ) , additionaly I want to show the minimum creation date for that material and minimum issue date and sum of all 3 qty issued.
The output should look like
&Material No&Creation Date&Issue date&QTY issued
M1 01/10/2004 15/12/2004 60
Can any body suggest how do i get the date fields with the above condition
Thanks in advance.
Regs,
MahanteshHi Mahantesh ,
Try this:
Take two more KFs in the cube.
1) Creation Date as KF
Type: Date
Exception aggregation : First value
Aggregation reference : 0material.
2) Issue Date as KF
Type: Date
Exception aggregation : Last value
Aggregation reference : 0material.
In the query take 0material in rows and above 2 KF in the columns (May be , here , you need restriction also. 'Creation Date as Characterstic' > 01.01.1000 ,Issue Date as characterstic' < 31.12.9999 )
With rgds,
Anil Kumar Sharma .P
Maybe you are looking for
-
Hello - my family has recently converted to Mac, and my wife and I have been long-time Outlook users in our workplaces... Trying to help my wife get her calendar data to iCal - one of the few things that we miss from Outlook is the "Week" view, which
-
How to integrate and index SAP R/3 Office documents into resp. through KM
Hi, Is there a way to integrate an existing store of SAPOffice documents on R/3, stored by default in the SAP R/3 table SOFFCONT1 (KPro repository SOFFDB), into the KM on the portal, so that these documents can be indexed and searched through TREX fr
-
I like the ability to press and hold letter keys to get accented and alternate character options, and would like to add even more options. For example, holding the "D" key does not give any options, despite Đ/đ being used in many languages. I can t
-
How can I Group objects on an active layer and rotate them counterclockwise?
-
How to get replying to have same previous headers as forwarding?
I'm trying to figure out how to have my reply's send the same headers from the previous mail as the forwarding function does (and how replying from other mail clients do) Reply/ReplyAll gives this: On [DATE], at [Time], [PreviousSender] wrote: | | [m