Regarding Material Group2.
Hi,
How to get the material group2(MVGR2) of material from material number(MATNR) and material document number(MBLNR)?
In which tab of mm03 i will get MVGR2?
Hi
U can't do it!
That's is sales data of material (so MVKE table), so you have to know the sales area (Org. and Distr. Channel).
If you haven't it you can only get the first one you can find.
Max
Similar Messages
-
IDOC Process And regarding material
Hi,
I want learn about IDOC In ABAP . So please send me the process of IDOC and the regarding material.Check out the following links:
http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
http://www.erpgenie.com/sapedi/idoc_abap.htm#Updating%20IDoc%20data%20in%20segments
http://help.sap.com/saphelp_47x200/helpdata/en/78/21750b51ce11d189570000e829fbbd/frameset.htm
Please do assign points if useful
Regards
Aravind -
ALE Process And regarding material
Hi,
I want learn about ALE's In ABAP . So pleasesend me the process of ALE and the regarding material.Hello Nagaraju,
The following links will give you complete idea about ALE,
<a href="http://help.sap.com/saphelp_46c/helpdata/en/c9/d97749ae0311d1a5120060087832f8/frameset.htm">ALE in Business Process</a>
<a href="http://help.sap.com/saphelp_46c/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm">What is ALE and how it works?</a>
Hope this helps.
Regards
Arif Mansuri -
Regarding : Material document data and PO data do not match (Plant)
Hi Gurus,
Please go through this BAPI program.
While uploading it is giving an error ' Material document data and PO data do not match (Plant) '.
Please help regarding this issue.For all Other moment types it is working fine except this 351 moment type.
dATA: i_excel TYPE truxs_t_text_data. "work table for excel upload
DATA: BEGIN OF it_itab OCCURS 100,
docdate(10),
postdate(10),
mvt_type(3), "Movement Type
plant(4), "Plant
lgort(4),
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
material(18), "Material Number
delnote(16),
erfmg(13),
uom(3),
lfmng(13), "Quantity
batch(10) TYPE c,
vfdat TYPE vfdat,
END OF it_itab.
DATA: it_goodsmvt_head TYPE TABLE OF bapi2017_gm_head_01 INITIAL SIZE 100,
it_goodsmvt_code TYPE TABLE OF bapi2017_gm_code INITIAL SIZE 100,
it_goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create INITIAL SIZE 100.
DATA: wa_goodsmvt_head LIKE LINE OF it_goodsmvt_head,
wa_goodsmvt_code LIKE LINE OF it_goodsmvt_code,
wa_goodsmvt_item LIKE LINE OF it_goodsmvt_item.
DATA: w_mat_doc TYPE bapi2017_gm_head_ret-mat_doc,
w_year TYPE bapi2017_gm_head_ret-doc_year.
DATA: BEGIN OF it_errmsg_goodsmvt OCCURS 10.
INCLUDE STRUCTURE bapiret2.
DATA: END OF it_errmsg_goodsmvt.
DATA : obj_type LIKE bapiache09-obj_type,
obj_key LIKE bapiache09-obj_key,
obj_sys LIKE bapiache09-obj_sys.
DATA: v_date1 TYPE sy-datum.
DATA: v_date2 TYPE sy-datum.
DATA: w_lines TYPE i.
DATA: errflag.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-100.
PARAMETERS: p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK bk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Start-of-selection processing
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = i_excel
i_filename = p_file
TABLES
i_tab_converted_data = it_itab[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT it_itab.
REFRESH it_goodsmvt_head.
REFRESH it_goodsmvt_item.
CONCATENATE it_itab-docdate6(4) it_itab-docdate3(2) it_itab-docdate+0(2) INTO v_date1.
CONCATENATE it_itab-postdate6(4) it_itab-postdate3(2) it_itab-postdate+0(2) INTO v_date2.
wa_goodsmvt_head-pstng_date = v_date2.
wa_goodsmvt_head-doc_date = v_date1.
wa_goodsmvt_head-ref_doc_no = it_itab-delnote.
wa_goodsmvt_head-pr_uname = sy-uname.
APPEND wa_goodsmvt_head TO it_goodsmvt_head.
Maintain it_goodsmvt_code
wa_goodsmvt_code-gm_code = '04'.
Maintain it_goodsmvt_item
*LOOP AT it_itab.
IF wa_goodsmvt_item-po_number IS INITIAL.
wa_goodsmvt_item-po_number = it_itab-pur_doc.
wa_goodsmvt_item-move_type = it_itab-mvt_type.
wa_goodsmvt_item-MOVE_PLANT = it_itab-plant.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = it_itab-material
IMPORTING
output = it_itab-material.
wa_goodsmvt_item-material = it_itab-material.
wa_goodsmvt_item-stge_loc = it_itab-lgort.
wa_goodsmvt_item-po_item = it_itab-po_item.
wa_goodsmvt_item-entry_qnt = it_itab-erfmg.
wa_goodsmvt_item-ENTRY_UOM_ISO = it_itab-uom.
wa_goodsmvt_item-po_pr_qnt = it_itab-lfmng.
wa_goodsmvt_item-batch = it_itab-batch.
wa_goodsmvt_item-expirydate = it_itab-vfdat.
wa_goodsmvt_item-NO_MORE_GR = 'X'.
wa_goodsmvt_item-mvt_ind = 'B'.
APPEND wa_goodsmvt_item TO it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_head
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = w_mat_doc
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_errmsg_goodsmvt.
Process of commit work
IF it_goodsmvt_head[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_head LINES w_lines.
ENDIF.
IF it_goodsmvt_item[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_item LINES w_lines.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
IMPORTING
RETURN =
CLEAR errflag.
READ TABLE it_errmsg_goodsmvt INDEX 1.
IF it_errmsg_goodsmvt-type EQ 'E'.
WRITE:/'Error in function', it_errmsg_goodsmvt-message.
errflag = 'X'.
ELSE.
WRITE:/ it_errmsg_goodsmvt-message.
ENDIF.
IF errflag IS INITIAL.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
WRITE:/ 'Error in updating'.
EXIT.
ELSE.
WRITE:/ 'Material Document created successfully and the Document Number for the Material',
wa_goodsmvt_item-material,'is:', w_mat_doc, w_year.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.Hey,
Just wanted to post that in my case this was the error of MVT_IND field in item table. When I made it from 'B' to blank then it worked.
Mine is solved....
Thanks -
Regarding Material Determination and free goods determination
Hi Gurus,
I understand the Material Determination to be substitution of a new material for the old one for any possible reasons such as sales Campaign,non availability etc.
Could anyone one explain the concept whether material determination and Free good determination can co-exist in a sales order ?
How to substitute by material determination procedure for a free good in a sales order?
Regards,
S.Ravi kumarHi.,
We can use material determination and free goods,as per my knowledge material determination takes first and to the swapped material free goods determiination takes place
Award points if helpful
Narayana -
Regarding material wise purchase order creation with reference to pr
Dear sir
I have a scenario depending on the material wise pos creation
I have two type of material
1) raw material
2) consumables
When user will create purchase order for raw material, system should ask purchase requisition. ( i.e with out purchase requisition for raw material , system should not allow to create the purchase order)
Where as for all consumables materials system should allow to create the purchase order
Without purchase requisition also, for user.
Regards
Jrp.You have to create two different document type for purchase order.
1) Raw Material Purchase
2) Consumables Purchase
You can create two different document type for purchase order with below mention path: -
SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Document Types.
After define two different document type, You can change field status for two different document type with below mention path.
SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Screen Layout at Document Level.
Select document type and change field status of purchase requisition.
Regards,
Mahesh Wagh -
Regarding: material report
Hi,
I am making a report in ehihc i have to display the minimum,maximum,reorder point and stock level of a material .
plzz tell me the tables where i can have these data as i want to display the cureent status of stock level .
reagrds,
ric.s
Edited by: ric .s on May 5, 2008 7:30 AMhiii,
hopefully you are creating report regarding the MM module.
try for the tables -
MARA Inventory Master
MARC Plant Data
MARD Current Inventory
MAKT Descriptions
MBEW Material Valuation
T179 Product Hierarchy
MVKE Sales data (materials)
MKPF Material document
if helpful ,,,assing points...
thanks.... -
Buget Exceed problem regarding material transfer in project system
Hello Sir,
I have a problem regarding budget in project system.
when i do budget and release . and do any transaction
with that budgeted wbs element in particular project.
i get budget excced errors usally.
however, budget remains more than exceeded buget.
Let us touch with a example in brief, we have a buget for a L&T project 10 Lakh.
Buget Release actual cost total cost commitment
10Lakh 10Lakh 8lakh 1Lakh
when i transfer a material from another project to this L&T project material worth is 50thousands.
i get a errors for L&T project budget exceed with 40thousands.
however in project budget remains 1Lakh remaining .
why system shows errors for this material transfer worth rs 50thousands
Please help me regarding this problem where is 1lakh budget
with regards
sanjay agrawalHello sir,
there is no any problem regarding budget supplement but if project sometimes
remains 20lakh buget price remaining out of 50lakh.
and need 1 lakh material price for transfer in project
then why need to do budget supplement for 1 lakh if project
remains 20lakh price rest.
please guide me for above problems
with regards
sanjay agrawal -
Hi friends........
I have requirement to create Material through workflow.......
menas we need to pass different views to different person..in his business workplace....
Thanks in Advance.......
Regards,
CharanHi twinkle..........
I did same requiment object.......i will brief u....
1) first create Delagate business object of BUS1001006 with method MATERIAL_MAINTAIN_DAILOGUE function........Using this function module u should create Method for that object.........
Create parameters As T.CODe and status view.....
2)Create Ztable with fields which are need to mandetary for diaplaying particular screen........
3)now u configure u r workflow with this delagate business object and method which was create by your self.......
4)While binding you should pass T.code and status value which view you need.......
IF u doubts , please feel free to send mail........
If useful plz Rewards.......
Thanks In advance,
Regards,
Bhaksar Rao Javvaji -
hi all,
wht is the database table that has the invoice number of materials in transit.
( while transferring from plant to plant??)
Edited by: Radhika on May 9, 2009 10:57 AMHi Radhika,
Hope MB5T solves your purpose.
If the material is still in transit, it also means that the invoice is also not yet received. Please let me know the business process clearly.
Regards,
Sai
Edited by: sai srinivas on May 11, 2009 11:36 AM -
Workflow Help regarding Material master workflow
Hi,
I have a requirement as follows...anyone can help me or tell me the possibility of doing this..
1. Basis material will be created with mandatory fields.
2.Once the above material is stored it has to trigger workflow to inimate 10 members to fillup the fields(appropriate) for this material based on the material type and the fields to which they are attached or responsible.
3. In the sameway the plant data needs to be maintained by 5 persons in addition to the above based on the plant.
Help me to setting up this in ECC 6.0.
RegardsHi,
this sounds like a great iteration on the MM02 transaction. If the users can live with the standard screens, you can call transaction with a view corresponding to the selection in the beginning of the screen. The real chalange in this workflow is how to controle and maintain all the agents to do which enrichment of the material. This can be done with a small workflow, where you construct a large controle table, in which you can maintain, who will (or what roles) will maintain which views. When the agents have been found, create a subworkflow to run in parallel, for each agent.
Hope it makes sence.
Kind regards
Mikkel -
hi all
will any body give detail description of material management process in ppt format
regards
brijeshhi,
check this out
MM flow
MM flow
MM flow
PR >Release the PR>RFQ>Quotation>Quotation Comparison>PO>Release the PO>GR>Invoice Verification
MM Process flow:
Process Flow
The typical procurement cycle for a service or material consists of the following phases:
1. Determination of Requirements
Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
2. Source Determination
The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
3. Vendor Selection and Comparison of Quotations
The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
4. Purchase Order Processing
The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
5. Purchase Order Follow-Up
The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
6. Goods Receiving and Inventory Management
Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and underdeliveries of ordered goods.
7. Invoice Verification
The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
Common Tables used by SAP MM
Below are few important Common Tables used in Materials Management Modules:
EINA Purchasing Info Record- General Data
EINE Purchasing Info Record- Purchasing Organization Data
MAKT Material Descriptions
MARA General Material Data
MARC Plant Data for Material
MARD Storage Location Data for Material
MAST Material to BOM Link
MBEW Material Valuation
MKPF Header- Material Document
MSEG Document Segment- Material
MVER Material Consumption
MVKE Sales Data for materials
RKPF Document Header- Reservation
T023 Mat. groups
T024 Purchasing Groups
T156 Movement Type
T157H Help Texts for Movement Types
MOFF Lists what views have not been created
A501 Plant/Material
EBAN Purchase Requisition
EBKN Purchase Requisition Account Assignment
EKAB Release Documentation
EKBE History per Purchasing Document
EKET Scheduling Agreement Schedule Lines
EKKN Account Assignment in Purchasing Document
EKKO Purchasing Document Header
EKPO Purchasing Document Item
IKPF Header- Physical Inventory Document
ISEG Physical Inventory Document Items
LFA1 Vendor Master (General section)
LFB1 Vendor Master (Company Code)
NRIV Number range intervals
RESB Reservation/dependent requirements
T161T Texts for Purchasing Document Types
Tcodes:
RFQ to Vendor - ME41
Raising Quotation - ME47
Comparison of Price - ME49
Creation of PO - ME21N
Goods Receipt - MIGO
Invoice (Bill PAssing) - MIRO
Goods Issue - MB1A
Physical Inventory - MI01( Create doc)
MI04 (Enter Count)
MI07 (Post)
http://www.sapgenie.com/abap/tables_mm.htm
http://www.sap-img.com/sap-download/sap-tables.zip
http://www.allsaplinks.com/material_management.html
http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
http://www.sapfriends.com/sapstuff.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf -
Regarding Material Pricing group
Hi,
What is the Path in SPRO to change thedescription og "Material pricing group"
Thanks,
SaranDear.
It is as follows..
SPRO>Logistics - General>Material Master>Settings for Key Fields>Data Relevant to Sales and Distribution-->Define Material Groups (material group 5) OR
SPRO>Logistics - General>Material Master-->Settings for Key Fields-Define Material group( Tcode- OMSF)
Regards
AJIT K SINGH
HAPPY TO HELP U
Edited by: AJIT K SINGH on Dec 15, 2009 6:56 PM -
hi all,
How can i get Stock of particular day for particular Material type(like finished goods).
Regards
Ramichk this outline
select matnr from mara into itabmara where mtart = 'HALB' and lvorm = space.
select matnr labst into table itab from mard for all entries in itabmara where matnr = itabmara-matnr.
labst gives only the stock in storage location.
if u want the stock in Quality inspectiojn also consider the field INSME.
if u want to filter based on plant....then go to marc table and filter the materials based on WERKS -
Problem regarding material issue
we have one material with 1 qty and value Rs 100 whose moving value price is 0.
When we are trying to maintain moving avg price Rs 100 to issue this material and we are viewing report MC.1 system is showing qty 1 and value Rs 200.
our requirement is that we issue this qty on Rs 100, so that the qty and value both shall be 0.
can anyone suggest somehing on it.hi,
i think the quantity that you have got in their could be 2 .....
check it
regards
sayeed
Maybe you are looking for
-
Is there a way prevent multiple downloads of iphone update
I have an imac with 4 user profiles and 4 iphones tied to itunes (one in each profile). When there is an update to the iphone, each profile has to download the update. Is there a way to share the update between the profiles to prevent having to dow
-
Battery: unusually problem?
I'm afraid to change my battery , because I'm not sure that it has not been ruined by some other malfunction of my macbook pro. In fact, the moi cycle counter tells me that the battery had only 30 complete cycles, and I have never been able to calibr
-
QuickViewer - logical DB PNPCE. Same person on multiple lines in result
Hi I have created a Quickviewer using SQVI. Logical DB PNPCE is used as data source. When I create the quickviewer I first has to build up the infoset by selecting info types to be included. I select several info types. When I build up the report I
-
Hi all, I have to update sales statisitc for older sales orders and older invoices because the field "Sales Group"(VKGRP) was valued with a bad value. I'd like to update the standard table S002. I found the standard transactions OLI7 for order
-
How does a parent give permission to change a Birthday?
I Am trying to set up family sharing and when the child accepts my invite (he has an existing Apple ID) it comes up with a message that we need to add a birthday to his Apple ID. When we do this it comes up with the following message: Cannot Change b