Material Master Hierarchy
There is a field on the material master labeled Product Hierarchy. Using RSA3 in ECC I cannot find what datasource contains that hierarchy. I've checked 0material_hier and 0product_hier. Any help will be rewarded and much apprciated.
Thanks
Richard
The hierarchy you see in the 0PRODUCT_ATTR maybe is not the hierarchy you want to load trough the 0PRODUCT_HIER....both are two different things.....the hierarchy value of the master data if you want to find where is THAT hierarchy defined you must check the tables of material master data in R3....
The point is that `maybe Hierarchy it couldn´t be a real hierarchy ....you must check with your functional MM to see all the material hierarchies and check if your hierarchy exists...
Regards
Similar Messages
-
3 level of Material Hierarchy in Material Master in SAP R/3
Hi,
We have a requirement wherein we require 3 level hierarchy in all materials created. We have taken Material Type as the 1st Hierarchy. Now we are left with material group which can be the second hierarchy.
I looked into the possibility of material classification but it was not solving our purpose as there is no standard SAP reports for inventory which takes material classification as an input.
For your reference I will give an example.
1st hierarchy = Food ( Material Type )
2nd hierarchy = Dry Foods ( Material Groups )
3rd hierarchy = Bread
I am not being able to accommodate the third level in my material master. I know we can use product hierarchy but there are no inventory reports based on product hierarchy. We also don't have IS Retail.
Please suggest what can be done about the solution.
ThanksMany different suggestions, however I cannot imagine how those suggestions can help to get an inventory report.
check the availabe inventory reports and see what selection criteria they have, e.g. MB52
I think you just have to develope an own report to get what you want.
And when you do this, then you can use classification for your hierarchy or product hierarchy, which is just one field instead of 3 different fields.
The classification is the only option that is considered in F4 search help without any modification.
And using multiple selection button for material number in the inventory reports may enable you to select all materials of a hierarchy based classification -
Product hierarchy IN MATERIAL MASTER ?
Hi experts
Can some body explain me about the Product hierarchy in material master under basic data view .??
Explain me about the purpose of Product hierarchy??
Which ind of industries will do with Product hierarchy??
And What the configuration has to done and where ??
What are the tyransaction in front to maintain the Product hierarchy??
In short without any links can some body explain ../
Many ThanksImplement the Product Allocation Functionality
We are required to implement product allocation functionality in SAP R/3 (Enterprise Version).
We tried to do the elaborate steps as per the implementation guide but are not successful. Can you kindly help by giving the simple steps for implementation.
Please see if the following helps:
Configuration Overview; Allocation Specific Usage
1.Allocation Procedure (OV1Z) The product allocation procedure is the parent of the entire allocation process. All materials that are to be included in the allocation scheme are required to have an allocation procedure assigned to it in the material master. In addition, as of release 4.0, it is in the procedure that the method of allocation is defined. The user has the opportunity to set an indicator to identify their choice of two different methods (discrete and cumulative allocation) to evaluate the quantities to be considered for product allocation.
2.Allocation Object (OV2Z) The allocation object is the root level of the allocation process where actual data is entered and planned in LIS. The object allows the user to further break down a procedure into smaller parts for future validation of components comprising a specific material
3.Allocation Hierarchy Mapping (OV3Z) Primarily, this transaction permits the assignment of an allocation procedure to an LIS information structure. Secondly, a character is assigned to the information structure to permit collective planning. Finally, the user can assign a step level to the procedure and information structure to sequence the order in which allocation quantities are checked. This functionality allows the user the opportunity to check product allocation against several product allocation scenarios, before the required quantity is confirmed
4.Define Consumption Periods (OV5Z) The allocation consumption periods functionality is only valid if the allocation method flag has been set (OV1Z). If you have de-selected the method field, this functionality is not available. The consumption window indicates the number of past and future periods to be used in the allocation check.
5.Control Product Allocation (OV4Z) In order for the allocation process to function properly, allocation control records are created primarily to map allocation procedure steps to their corresponding objects so that the allocation data records can be located for validation. Secondly, validity periods must be established to indicate when the allocation control records are active. Finally, the user has the option of establishing a conversion factor per allocation control record to accommodate BOM listings of constrained materials
6.Activate Allocation for Requirement Class (OVZ0) In order to turn on allocation in the standard order processing functionality, the requirements class must have a flag indicating that allocation is relevant.
7.Activate Allocation for Schedule Line Category (OVZ8) In order to turn on allocation in the standard order processing functionality, the schedule line must have a flag indicating that allocation is relevant
8.Create Planning Hierarchy (MC61) In order to adequately establish allocation quantities, the user must initially determine the level at which the allocation is to take place and the aggregation factor of the allocation quantities. In this step, the levels for the collective allocation search procedure are also identified.
9.Generate Masking Character (OV7Z) Upon completion of the level determination for the planning hierarchy, the collective allocation masking character must be generated to allow aggregation indicators to be established. This transaction simply reads the hierarchy established in the planning table and then generates a collective mask character for each level of the hierarchy
10.Modify Planning Hierarchy (MC62) This step is a repeat of MC61 where the initial hierarchy was established. In order to complete the hierarchical set up, the collective allocation (mask character) hierarchy must now be maintained with the appropriate aggregation factors
11.Allocation Procedure Assignment to Material Master (MM02) At the root level of the allocation process are the materials. Each material that is to be considered in allocation scenario must be mapped to an allocation procedure. In order entry, then, when a material is entered with a valid allocation procedure in the material master, the allocation data is verified prior to confirming the line item ordered
12.List of Suitable Structures (OV9Z) This report is used to identify potential LIS information structures that can be used in the product allocation process. This report simply reads through the data dictionary and selects all the active information structures that contain the field product allocation object (KONOB) as the first field. This data can then be utilized in the mapping transaction (OV3Z) to link the allocation procedure step to an information structure (previous step). -
Product hierarchy in the material master record
Hi,
I am handig Data migration project.
This is related to Product Hirerarchy.
I one business Product Hirerarchy have been configured. But in another buisiness, Product Hirerarchy has not been configured.
There are some common materials using by both business processes.
For coomon mateials if I am maintaining Product Hirerarchy value in the material master record, is there any impact on business which is not being used Product Hirerarchy. Whether it will stop / impact on business processes.
Can you explain plz
Thanks in advance
RegardsHi karthink,
Thanks for your inputs.
we are meging two servers. In that in one server, product highrechy have been configuredand in another server not configured.
There are some materials with the numbers calling as a common parts exists in both servers.
ex: plat 0001 in one server 1 & plant 0002 in server2
Common part is : m1
plant 0001 not using product hierarchy and plant 0002 not using product hierarchy,.
After golive, all the common parts are being used by both plants and same basic data 1 view.
If we are maintaing product hierarchy in the basic data 1 view, it will flow into sales view as well.
Then what about impact on the plant 0001 business since it is not using product hierarchy.
In the configuration, is there any settings to activate / deactive product hierarchy at sales area level.
Is there any impact on MM / FICO side.
Please explain.
THANKS IN ADVANCE.
Regards
KRK -
Product Hierarchy Levels in the material Master.
Plz let me know the Levels to which product hierarchy can be maintained for a Finished good in its Material Master.
What I know it is 9 and is limited to 18 characters.
The T- code for it is v/76, and is maintained thru it, but while I am trying to maintain 4th level it is automatically taking 3rd Level. please point out the mistake which i must be doing.Hi
As per standard SAP allowed up to 3 steps only
Here i am furnishing small example
1 step allowed 5 digits - 00001- Electronics
2 Step allowed 5 digits- 00001 - Home Appliances
3 step allowed 8 digits- 00000001- Steam iron
The above hierarchy can be assigned in material master as 000010000100000001 -
How to extend material master product Hierarchy
Hi,
How to extend material master product Hierarchy
Define Product Hierarchies (SAP Library - Material Master)
In SAP help, the procedure is given, But in procedure we need to change standard structures and data elements.
Need to know, This is only the possibilty?
Need to change structure and data elements by Access key only or there is some other way.
Regards
SukumarHi,
Use t.code:MM01 and in Copy From Field Give Material No ( u wan to copy) and in Next Screen Give Extending Plant & Storage Location and in Copy From Fields give Reference Plant & Storage Location.
For more check the links for material extension.
http://www.copacustomhelp.state.pa.us/infopak/nav/procurement/pr%20master%20data/file1434/index.htm
http://www.copacustomhelp.state.pa.us/infopak/standard/fastpaths/mm01_content.htm
Regards,
Biju K -
Hi guys,
Can any one help me in creating a Material master
pls do send me the steps that are involved in
creating a Material master
Thanku
JinoCheck the BAPI BAPI_MATERIAL_SAVEDATA
Check the below sample code.
REPORT YGECICI MESSAGE-ID 00
No Standard Page Heading
Line-Size 200
Line-Count 65.
*TO CREATE MATERIAL USING BAPI.
STRUCTURE DECLARATIONS *
TABLES: BAPIMATHEAD, Headerdata
BAPI_MARA, Clientdata
BAPI_MARAX, Clientdatax
BAPI_MARC, Plantdata
BAPI_MARCX, Plantdatax
BAPI_MAKT, Material description
BAPI_MBEW, VALUATION DATA
BAPI_MBEWX,
BAPI_MARM,
BAPI_MARMX,
bapi_mean,
BAPIRET2. Return messages
DATA:V_FILE TYPE STRING. input data file
DATA:
BEGIN OF LSMW_MATERIAL_MASTER,
MATNR(018) TYPE C, Material number
MTART(004) TYPE C, Material type
MBRSH(001) TYPE C, Industry sector
WERKS(004) TYPE C, Plant
MAKTX(040) TYPE C, Material description
DISMM(002) TYPE C, Extra Field Added In the Program as itsrequired
MEINS(003) TYPE C, Base unit of measure
MATKL(009) TYPE C, Material group
SPART(002) TYPE C, Division
LABOR(003) TYPE C, Lab/office
PRDHA(018) TYPE C, Product hierarchy
MSTAE(002) TYPE C, X-plant matl status
MTPOS_MARA(004) TYPE C, Gen item cat group
BRGEW(017) TYPE C, Gross weight
GEWEI(003) TYPE C, Weight unit
NTGEW(017) TYPE C, Net weight
GROES(032) TYPE C, Size/Dimensions
MAGRV(004) TYPE C, Matl grp pack matls
BISMT(018) TYPE C, Old material number
WRKST(048) TYPE C, Basic material
PROFL(003) TYPE C, DG indicator profile
KZUMW(001) TYPE C, Environmentally rlvt
BSTME(003) TYPE C, Order unit
VABME(001) TYPE C,
EKGRP(003) TYPE C, Purchasing group
XCHPF(001) TYPE C, Batch management
EKWSL(004) TYPE C, Purchasing key value
WEBAZ(003) TYPE C, GR processing time
MFRPN(040) TYPE C, Manufacturer part number
MFRNR(010) TYPE C, Manufacturer number
VPRSV(001) TYPE C, Price control indicator
STPRS(015) TYPE C, Standard price
BWPRH(014) TYPE C, Commercial price1
BKLAS(004) TYPE C, Valuation class
bwkey(004) type c,
END OF LSMW_MATERIAL_MASTER.
INTERNAL TABLE DECLARATIONS *
*to store the input data
DATA:
BEGIN OF it_matmaster OCCURS 0.
INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
DATA:
END OF it_matmaster.
*for material description
DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT .
DATA:END OF IT_MATERIALDESC.
*FOR gross wt
data: begin of it_uom occurs 0.
include structure BAPI_MARM.
data:end of it_uom.
DATA: BEGIN OF IT_UOMX OCCURS 0.
INCLUDE STRUCTURE BAPI_MARMX.
DATA:END OF IT_UOMX.
data:begin of it_mean occurs 0.
include structure bapi_mean.
data:end of it_mean.
DATA:BEGIN OF IT_MLTX OCCURS 0.
INCLUDE STRUCTURE BAPI_MLTX.
DATA:END OF IT_MLTX.
*to return messages
DATA:BEGIN OF IT_RETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA:END OF IT_RETURN.
SELECTION SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1 .
AT SELECTION SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION F4_FILENAME
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = P_FILE
IMPORTING
FILE_NAME = P_FILE.
TO UPLOAD THE DATA *
START-OF-SELECTION.
V_FILE = P_FILE.
CALL FUNCTION GUI_UPLOAD
EXPORTING
filename = V_FILE
FILETYPE = ASC
HAS_FIELD_SEPARATOR = X
HEADER_LENGTH = 0
READ_BY_LINE = X
DAT_MODE =
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = IT_MATMASTER
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ELSE.
*DELETE IT_MATMASTER INDEX 1.
ENDIF.
DATA POPULATIONS *
LOOP AT IT_MATMASTER.
*HEADER DATA
BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
BAPIMATHEAD-BASIC_VIEW = X.
BAPIMATHEAD-PURCHASE_VIEW = X.
BAPIMATHEAD-ACCOUNT_VIEW = X.
*CLIENTDATA
BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
BAPI_MARA-DIVISION = IT_MATMASTER-SPART.
BAPI_MARA-DSN_OFFICE = IT_MATMASTER-LABOR.
BAPI_MARA-PROD_HIER = IT_MATMASTER-PRDHA.
BAPI_MARA-PUR_STATUS = IT_MATMASTER-MSTAE.
BAPI_MARA-ITEM_CAT = IT_MATMASTER-MTPOS_MARA.
BAPI_MARA-NET_WEIGHT = IT_MATMASTER-NTGEW.
BAPI_MARA-PO_UNIT = KG.
BAPI_MARA-UNIT_OF_WT_ISO = KG.
BAPI_MARA-UNIT_OF_WT = KG.
BAPI_MARA-PACK_VO_UN = KG.
BAPI_MARA-BASE_UOM_ISO = KG.
bapi_mara-size_dim = it_matmaster-groes.
BAPI_MARA-MAT_GRP_SM = IT_MATMASTER-MAGRV.
BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
BAPI_MARA-HAZMATPROF = IT_MATMASTER-PROFL.
BAPI_MARA-ENVT_RLVT = IT_MATMASTER-KZUMW.
BAPI_MARA-PO_UNIT = IT_MATMASTER-BSTME.
BAPI_MARA-VAR_ORD_UN = IT_MATMASTER-VABME.
BAPI_MARA-PUR_VALKEY = IT_MATMASTER-EKWSL.
BAPI_MARA-MANU_MAT = IT_MATMASTER-MFRPN.
BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
BAPI_MARAX-MATL_GROUP = X.
BAPI_MARAX-DIVISION = X.
BAPI_MARAX-DSN_OFFICE = X.
BAPI_MARAX-PROD_HIER = X.
BAPI_MARAX-PUR_STATUS = X.
BAPI_MARAX-ITEM_CAT = X.
BAPI_MARAX-NET_WEIGHT = X.
BAPI_MARAX-UNIT_OF_WT = X.
BAPI_MARAX-UNIT_OF_WT_ISO = X.
bapi_maraX-size_dim = X.
BAPI_MARAX-MAT_GRP_SM = X.
BAPI_MARAX-OLD_MAT_NO = X.
BAPI_MARAX-BASE_UOM = X.
BAPI_MARAX-BASE_UOM_ISO = X.
BAPI_MARAX-BASIC_MATL = X.
BAPI_MARAX-MFR_NO = X.
BAPI_MARAX-HAZMATPROF = X.
BAPI_MARAX-ENVT_RLVT = X.
BAPI_MARAX-PO_UNIT = X.
BAPI_MARAX-PACK_VO_UN = X.
BAPI_MARAX-VAR_ORD_UN = X.
BAPI_MARAX-PUR_VALKEY = X.
BAPI_MARAX-MANU_MAT = X.
BAPI_MARAX-MFR_NO = X.
*PLANT DATA
BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
BAPI_MARC-BATCH_MGMT = IT_MATMASTER-XCHPF.
BAPI_MARC-GR_PR_TIME = IT_MATMASTER-WEBAZ.
BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
BAPI_MARCX-PUR_GROUP = X.
BAPI_MARCX-BATCH_MGMT = X.
BAPI_MARCX-GR_PR_TIME = X.
*VALUATION DATA
BAPI_MBEW-PRICE_CTRL = IT_MATMASTER-VPRSV.
BAPI_MBEW-STD_PRICE = IT_MATMASTER-STPRS.
BAPI_MBEW-COMMPRICE1 = IT_MATMASTER-BWPRH.
BAPI_MBEW-VAL_AREA = IT_MATMASTER-BWKEY.
BAPI_MBEW-VAL_CLASS = IT_MATMASTER-BKLAS.
BAPI_MBEWX-PRICE_CTRL = X.
BAPI_MBEWX-STD_PRICE = X.
BAPI_MBEWX-COMMPRICE1 = X.
BAPI_MBEWX-VAL_AREA = IT_MATMASTER-BWKEY.
BAPI_MBEWX-VAL_CLASS = X.
IT_MATERIALDESC-LANGU = EN.
IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
append IT_materialdesc.
IT_UOM-GROSS_WT = IT_MATMASTER-BRGEW.
IT_UOM-ALT_UNIT = KG.
IT_UOM-ALT_UNIT_ISO = KG.
IT_UOM-UNIT_OF_WT = IT_MATMASTER-GEWEI.
APPEND IT_UOM.
IT_UOMX-GROSS_WT = X.
IT_UOMX-ALT_UNIT = KG.
IT_UOMX-ALT_UNIT_ISO = KG.
IT_UOMX-UNIT_OF_WT = X.
APPEND IT_UOMX.
it_mean-unit = KD3′.
append it_mean.
it_mltx-langu = E.
it_mltx-text_name = it_matmaster-matnr.
APPEND IT_MLTX.
CALL FUNCTION BAPI_MATERIAL_SAVEDATA
EXPORTING
headdata = BAPIMATHEAD
CLIENTDATA = BAPI_MARA
CLIENTDATAX = BAPI_MARAx
PLANTDATA = BAPI_MARc
PLANTDATAX = BAPI_MARcx
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA = BAPI_MBEW
VALUATIONDATAX = BAPI_MBEWX
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA =
SALESDATAX =
STORAGETYPEDATA =
STORAGETYPEDATAX =
FLAG_ONLINE =
FLAG_CAD_CALL =
IMPORTING
RETURN = IT_RETURN
TABLES
MATERIALDESCRIPTION = IT_MATERIALDESC
UNITSOFMEASURE = IT_UOM
UNITSOFMEASUREX = IT_UOMX
INTERNATIONALARTNOS = it_mean
MATERIALLONGTEXT = IT_MLTX
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
read table it_return with key TYPE = S.
if sy-subrc = 0.
CALL FUNCTION BAPI_TRANSACTION_COMMIT
EXPORTING
WAIT =
IMPORTING
RETURN =
*else.
*CALL FUNCTION BAPI_TRANSACTION_ROLLBACK
IMPORTING
RETURN =
endif.
WRITE:/ IT_RETURN-TYPE,
2 IT_RETURN-ID,
22 IT_RETURN-NUMBER,
25 IT_RETURN-MESSAGE.
IT_RETURN-LOG_NO,
IT_RETURN-LOG_MSG_NO,
IT_RETURN-MESSAGE_V1,
IT_RETURN-MESSAGE_V2,
IT_RETURN-MESSAGE_V3,
IT_RETURN-MESSAGE_V4,
IT_RETURN-PARAMETER,
IT_RETURN-ROW,
IT_RETURN-FIELD,
IT_RETURN-SYSTEM.
ENDLOOP.
Reward points.. -
Material master data and Asset
Hello Guys
Considering the every material master data that I am buying will end up been an Asset in my company.
I would like to know how can I alredy related the material master data that I am creating with a possible hierarchy to make it esier at the time of creating the asset?
Some one could briefly explain to me how can I related the material master data and a creation of an asset in SAP?
thanksHi guys
Jignesh Thakkar
That was really good answer you gave it is according with the Help instruction that I read, but the main point for me is that I will not know the asset description or capitalized date or serial number, location, etcu2026 until I goods receipt the individual material creating serial nods and the equipment master data.
In this scenario from the equipment master data is there any way to create an Asset master data, create the asset master data with the information of the GR equipment master Data or populate the Asset AS01 with the equipment master data?
Otherwise I will need manually create the Asset and manually synchronize the equipment with the asset?
Thanks Guys it have been incredibly helpful this network I hope I can help some one in future as it have been helpful for me at the moment.
Carlos -
ERROR IN Material Master Generation (AII 4.0)
Hi all,
We're working with Auto ID 4.0..
When we try to create products from R3 ECC 5.0 we find errors, the message is well sent from R3 to XI and then to AII but when the proxy is executed is thrown an ABAP exception.
These are our errors:
Data cannot be maintained for set type COMM_PR_UNIT
Data cannot be maintained for set type COMM_PR_SHTEXT
Data cannot be maintained for set type COMM_PR_GTIN
We've done the configuration on AII about hierarchy 'AIN_BASE' and category 'AIN_MATERIAL'...
Do we miss anything??? Please help us..
Thanks in advanceHi
we are trying to send material master data from ERP to SAp AII system through XI. I have seen in the integration repository there are standars interface mapping and mesage mapping exists. But not clear on how to do configuration in XI nd which adapter we need to use in reciever communication channel and also the setting nede to be done in AII
can you please help me in this? Just give me the breif description of steps that need to be followed in ERP side SAP AII side and Xi side
thanks -
How to create material group in material master.
hi guru's
can anybody explain me how to create a new material group in material master.
i wantto add a material group while creating material master MM01..
thanks
sap-mmHi,
In this step you create material groups.
You also have the option of using the same transaction to carry out the following activities:
Creating superior hierarchy levels
Assigning the superior hierarchy levels to a material group hierarchy
Assigning the base material group to the material group hierarchy
Assigning characteristics profiles below material group level
Requirements
Your R/3 System is configured as an SAP Retail System.
Activities
1. Create superior hierarchy levels
You create hierarchy levels using transaction WG01 (creating
material groups) via menu options MG environment --> Hierarchy
level --> Create
2. Assign the superior hierarchy levels to a material group hierarchy
You assign hierarchy levels to a hierarchy using transaction WG01
(creating material groups) via menu options MG environment -->
Hierarchy level --> Maint. MG hierarchy
3. Create material groups (base material groups) and then maintain the
pre-defined materials (reference material/material group material)
4. Assign the base material group to the material group hierarchy
You assign the material group to the hierarchy using transaction
WG01 (creating material groups)
5. Assign characteristics profiles below material group level
You assign characteristics profiles using transaction WG01
(creating material groups)
Further notes
When creating material groups and then maintaining the pre-defined materials (reference material/material group material) you should be aware of the following.
As these materials can be created automatically using a minimum of data, you should follow this procedure with a check and possibly further maintenance, especially of plant-specific data. The material group reference material should be defined in as much detail as possible so as to keep the workload to a minimum when you have to create more materials for this material group.
All hierarchy allocations involving a material group (base material group) and a higher or lower hierarchy level can be carried out on the initial screen (there is no need to switch to the detail screen). All further hierarchy allocations can be defined top-down when you maintain material group hierarchies.
Only the material groups are transported automatically!
Reward if useful.
Chandru -
10 digit code need to be created while creating material master
Hi, Please advise how to create a 10 digit code automatically when we create material master in SAP? Please note that this code is required as one of the basic data view fields, not as material code. Is there any enhancements available for the same.
Dear
Try to use Product Hierarchy field MARA-PRDHA in the Material Master for this purpose
Regards
JH -
How to know the extended views of a material in Material Master
Hello SAPients.
I need to create a report listing the views that a material has extended, something like this:
<b>Material |Basic Data View |Sales View |Purchasing View</b>
123456 |Yes |No |No
The question is: Do you know if SAP has a table where it records the views that a material has extended?
Thank you in advance for your helpHope this`ll help you ...
Here`s FM too...
MATERIAL_TABLES
DE PSTAT_D
Text
Maintenance status
Use
The maintenance status records:
Which user departments may maintain a material master record of a particular material type
Which user departments have already maintained the material master record at a particular hierarchy level
The overall maintenance status is made up of the individual maintenance statuses. The individual maintenance statuses have the following meaning:
User department Maintenance status
Work scheduling A
Accounting B
Classification C
MRP D
Purchasing E
Production resources/tools F
Costing G
Basic data K
Storage L
Forecasting P
Quality management Q
Warehouse management S
Sales V
Plant stocks X
Storage location stocks Z
Finding Information for Extending Material Master Records Which User Departments Need to Extend a Material Master Record?
In the Material Master menu, choose Other ® Extend material view(s).
The initial screen appears.
Enter the material number and choose Execute.
An overview appears of the user departments (indicated by the maintenance status) that still need to extend the material master record.
Select the user department(s) for which you want to enter data, and choose Maintain materials.
The first user department screen appears, where you can enter your data.
Save your data.
The initial screen for maintaining material master data appears because you have not finished maintaining the material master record. To access the next screen you selected in the overview, choose Enter.
Repeat step 4 until you have entered all the data for the material and have returned to the overview.
Which Material Master Records Does a User Department Need to Extend?
In the Material Master menu, choose Other ® Extend material view(s).
The initial screen appears.
In the Maintenance status field, enter the indicator for the user department concerned.
You can also define other selection criteria, such as the date created, organizational levels, material type, and so on. The system selects those records that satisfy all your selection criteria. If you want the system to select those records that satisfy one of your selection criteria, set the relevant indicator.
Choose Execute.
An overview appears of the materials that your user department still needs to extend.
Select the materials whose data you want to extend and choose Maintain materials.
The user department screen appears for the first material you selected.
Enter and save your data.
The data screen for the next material appears.
Repeat step 4 until you have entered your data for all the materials and have returned to the overview.
Thanks
Message was edited by: Saquib Khan -
Control to create or change material master
I want to let a group person to create or change material maters only with material group 16. I found an auth. obj. M_MATE_WGR, and set activity as *, while activity goups as 16. But the nothing happened when I change a material with material group 17. It seems this auth. obj. is not checked while change material master. Does any idea for this case? How to let the system check this auth. obj.?
Thanks great.HI,
Adding to what Sudipta has said, you can also use the workbook technique for accomplishing these type of changes. That way you can achieve all hover text changes in one shot across all MA tabs.
The 2 main tabs in the wokbook to be changed are: 'Localized Resource' and 'UI overrides' tab.
As an example, suppose you want to add the following text for Master Agreement External Category field:
"This field is a classification hierarchy to describe the products or services of the event and/or agreement."
So in the Localized resource tab, fill out the following:
BUNDLE: custom
RESOURCE_ID: xxx
RESOURCE_KIND: APP_TEXT
DEFAULT_VALUE: This field is a classification hierarchy to describe the products or services of the event and/or agreement.
Then refer the same attributes in the UI Overrides tab:
UI_ID: contracts.agreement.ui.buyside.default
FIELD: EXT_CAT
ATTRIBUTE: Description
VALUE: Same as Resource ID used in localized resource (xxx above)
Hope this helps,
Vikram Shukla -
Base table name for fields from Material Master
Hi All,
I want base table name which holds all possible values of following column:
1)Material Master : X-plant matl status from tab -basic data 1
2)Material Master: X-distr.chain status from tab -sales org 1
for example: Base table for Prod.hierarchy is T179/T179T.
Many thanks to all
YogeshThanks Mahesh but I know its value available in MARA table for eery material. But i want to know where all possible distinct values are stored?... In other word, when we click on button which is next to this field and from that list we normally select value and then assign to above fields. Where this list is stored for
X-plant matl status
X-distr.chain status -
Bapi or Function Module to update Material Master Data
Hi Friends,
could anyone let me know any BAPI's or Function Modules for Material Master UPdate.
Thanks in Advance
Regards
Tinahi Tina,
check this BAPi BAPI_MATERIAL_SAVEDATA to create and change the material master .
Try ....
BAPI_MATERIAL_SAVEDATA
REPORT Z_BAPI_MAT.
STRUCTURE DECLARATIONS *
TABLES: BAPIMATHEAD, "Headerdata
BAPI_MARA, "Clientdata
BAPI_MARAX, "Clientdatax
BAPI_MARC, "Plantdata
BAPI_MARCX, "Plantdatax
BAPI_MAKT, "Material description
BAPIRET2. "Return messages
DATA:V_FILE TYPE STRING.
DATA:
BEGIN OF LSMW_MATERIAL_MASTER,
MATNR(018) TYPE C, "Material number
MTART(004) TYPE C, "Material type
MBRSH(001) TYPE C, "Industry sector
WERKS(004) TYPE C, "Plant
MAKTX(040) TYPE C, "Material description
DISMM(002) TYPE C, "Extra Field Added In the Program as itsrequired
MEINS(003) TYPE C, "Base unit of measure
MATKL(009) TYPE C, "Material group
SPART(002) TYPE C, "Division
LABOR(003) TYPE C, "Lab/office
PRDHA(018) TYPE C, "Product hierarchy
MSTAE(002) TYPE C, "X-plant matl status
MTPOS_MARA(004) TYPE C, "Gen item cat group
BRGEW(017) TYPE C, "Gross weight
GEWEI(003) TYPE C, "Weight unit
NTGEW(017) TYPE C, "Net weight
GROES(032) TYPE C, "Size/Dimensions
MAGRV(004) TYPE C, "Matl grp pack matls
BISMT(018) TYPE C, "Old material number
WRKST(048) TYPE C, "Basic material
PROFL(003) TYPE C, "DG indicator profile
KZUMW(001) TYPE C, "Environmentally rlvt
BSTME(003) TYPE C, "Order unit
VABME(001) TYPE C,
EKGRP(003) TYPE C, "Purchasing group
XCHPF(001) TYPE C, "Batch management
EKWSL(004) TYPE C, "Purchasing key value
WEBAZ(003) TYPE C, "GR processing time
MFRPN(040) TYPE C, "Manufacturer part number
MFRNR(010) TYPE C, "Manufacturer number
VPRSV(001) TYPE C, "Price control indicator
STPRS(015) TYPE C, "Standard price
BWPRH(014) TYPE C, "Commercial price1
BKLAS(004) TYPE C, "Valuation class
END OF LSMW_MATERIAL_MASTER.
INTERNAL TABLE DECLARATIONS *
*to store the input data
DATA:
BEGIN OF it_matmaster OCCURS 0.
INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
DATA:
END OF it_matmaster.
*for material description
DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT .
DATA:END OF IT_MATERIALDESC.
*to return messages
DATA:BEGIN OF IT_RETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA:END OF IT_RETURN.
SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1 .
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
TO UPLOAD THE DATA *
START-OF-SELECTION.
V_FILE = P_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = V_FILE
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = IT_MATMASTER
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA POPULATIONS *
LOOP AT IT_MATMASTER.
BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
BAPIMATHEAD-BASIC_VIEW = 'X'.
BAPIMATHEAD-PURCHASE_VIEW = 'X'.
BAPIMATHEAD-ACCOUNT_VIEW = 'X'.
BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-OLD_MAT_NO = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-BASIC_MATL = 'X'.
BAPI_MARAX-MFR_NO = 'X'.
BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
IT_MATERIALDESC-LANGU = 'EN'.
IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
append IT_materialdesc.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = BAPIMATHEAD
CLIENTDATA = BAPI_MARA
CLIENTDATAX = BAPI_MARAx
PLANTDATA = BAPI_MARc
PLANTDATAX = BAPI_MARcx
FORECASTPARAMETERS =
FORECASTPARAMETERSX =
PLANNINGDATA =
PLANNINGDATAX =
STORAGELOCATIONDATA =
STORAGELOCATIONDATAX =
VALUATIONDATA =
VALUATIONDATAX =
WAREHOUSENUMBERDATA =
WAREHOUSENUMBERDATAX =
SALESDATA =
SALESDATAX =
STORAGETYPEDATA =
STORAGETYPEDATAX =
FLAG_ONLINE = ' '
FLAG_CAD_CALL = ' '
IMPORTING
RETURN = IT_RETURN
TABLES
MATERIALDESCRIPTION = IT_MATERIALDESC
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
WRITE:/ IT_RETURN-TYPE,
2 IT_RETURN-ID,
22 IT_RETURN-NUMBER,
25 IT_RETURN-MESSAGE.
IT_RETURN-LOG_NO,
IT_RETURN-LOG_MSG_NO,
IT_RETURN-MESSAGE_V1,
IT_RETURN-MESSAGE_V2,
IT_RETURN-MESSAGE_V3,
IT_RETURN-MESSAGE_V4,
IT_RETURN-PARAMETER,
IT_RETURN-ROW,
IT_RETURN-FIELD,
IT_RETURN-SYSTEM.
ENDLOOP.
Regards,
Naveen
Maybe you are looking for
-
How can i have the ToolTip set to rows of the table?
hi, I have a Dialog window that diaplays a table contating the information like student name, student id, student address etc. But the problem what i am facing now is i want ToolTip to be set to this table. i.e, when i move the cursor over this table
-
JDriver for Oracle crashes JVm on solaris
Hi, I'm using the weblogic jDriver/XA for oracle with oracle 8.1.7 on solaris 2.8. The weblogic version is 6.1 SP2. The JVM randomly crashes with this error: Is the jDriver/XA that comes with weblogic stable ? Has the jDriver that comes with wlserver
-
Helo, Why when I desing a web page in Dreamweaver CC14 using tables in design mode looks perfect as well as code but when open it on the IE o Chr looks different. I got a table that looks good but a gap between rows that doesn't appear in design mod
-
Can we generate shares from a one dimensional image
hi friends, we are doing a project on image processing.....i had taken an image and divided into 8 by 8 block and applied DCT on the block resulting in two dimensional coefficients...using zig zag transformation i converted into 1-dimensional coeffic
-
Bluetooth reactivates to on, after reboot or start
On Lion, after rebooting or starting the computer, the Bluetooth interface always turns back to on, I will like to know if there is a way to turn it off, because I'm guessing that consumes more battery when ON, and I kind of forget to turn it OFF eve