Block material description in MM02|
Hi,
Is there any settings to block users permissions for modify material master description in MM02?
Thanks
Jorge G
Hi,
Transaction variant will be a good option for you. Go to SHD0 transaction and create a new transaction variant for MM02. Maintain the material description field as "output only" and save the variant.
Please note that you have to maintain the variant with material description as output only for all the material master views.
You can assign the variant to all required users, who doesnt want to change the material description, then create a variant group and assign accordingly.
Refer the doc: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c?quicklink=index&…
Regards,
AKPT
Similar Messages
-
Display mode for Material Description in MM02 for Partucular User/UsrGroup
Dear friends,
I required to set: Display mode for Material Description in MM02. (Configured thruu2019 Maintain field selection to data screen)
For Particular User / User group, it should be Change mode. How to achive this. Please advice.
Thanks and regards,
RAMANHi,
I don't think you can realize it, because in SAP system there are 6 influncing factors:
Material Type
Plant
Industry sector
Transaction
Procurement indicator
SAP Delivery
Field selection is controlled by field references. You can assign field references to the influencing factors material type, plant, and industry sector in Customizing. SAP maintains the assignment of the field reference to the transaction codes, to the procurement types, and for the SAP delivery. You cannot change this assignment of these field references in Customizing.
So from my point of view, you can't use the factors of material type, plant and industry sector to distinguish different users' authorization.
Good day
Tao -
Upload material description in mm02
i want to upload material description in mm02 using bdc but i dont know how to upload it. Moderator Message: This is not a training forum and we cant help you there
my text file is like
2000251 AF A12345
2000251 AR B12345
2000251 BG C12345
2000252 AF F12345
2000252 AR G12345
2000252 AF H12345
in same material number there r more then one text then how can i upload .
'SKTEXT-MAKTX(02)'.
clear COUNTER.
counter = 1.
LOOP AT IT_TAB INTO WA_TAB WHERE MATNR = WA_ITAB-MATNR.
counter = counter + 1.
CONCATENATE 'MAKT-SPRAS(0' COUNTER ')' INTO V_CHAR. "(02)
PERFORM BDC_FIELD USING V_CHAR
WA_TAB-SPRAS.
CLEAR V_CHAR.
CONCATENATE 'MAKT-MAKTX(0' COUNTER ')' INTO V_CHAR. "(02)
perform bdc_field using V_CHAR
WA_TAB-MAKTX.
*perform bdc_field using 'SKTEXT-SPRAS(02)'
'AF'.
*perform bdc_field using 'SKTEXT-SPRAS(03)'
'BG'.
*perform bdc_field using 'SKTEXT-SPRAS(04)'
'CS'.
*perform bdc_field using 'SKTEXT-MAKTX(02)'
'avani'.
*perform bdc_field using 'SKTEXT-MAKTX(03)'
'avani1'.
*perform bdc_field using 'SKTEXT-MAKTX(04)'
'avani2'.
clear wa_tab.
ENDLOOP.
Edited by: kishan P on Nov 13, 2010 2:32 PMin mm02 Basic Data -> additional data -> material description and language
i want to upload language and material description -
Change material description in MM02
Hi,
System is allowing to change the material description in MM02 from any views.
Requirement is once the material code save, system should allow to change the description of product to user who have authorisation for Basic data 1 and 2 not other views.
Like I am giving Accounting view authorisation to one person, he should not able to change the product description.
Is it possibel and how?
Thanks,
Samir BhattHi,
Description is part of MARA table. If you give full authorization for General data fields to the persons that maintain basic 1 & 2 and does not give this authorization to the persons that are not allowed to change the description, you will achieve what you want. This will allow the financial people to see the general data fields but they will not be able to change them.
Regards,
MdZ -
How to upload material text in mm02 using bdc table control
i have problem to upload material Description in mm02 using bdc.
my text file is like
2000251 AF A12345
2000251 AR B12345
2000251 BG C12345
2000252 AF F12345
2000252 AR G12345
2000252 AF H12345
i want to upload material number, language, and material description, how can i upload pls help me.Hi,
Try with bapi , bapi_material_save_data.. didn't exactly remember it,Please check the same.
Regards,
Nagaraj -
MM02: Updating characterstics in PO text and Material description
Hello Experts,
I have a requirement wherein, I have to update the characterstics of a material
to the Po text and Material description as soon as they are changed in MM02.
At present there is a custom program doing the same,but I need to automate it,
directly from MM02.
Please help me with your views.
Thanks,
Sumit Mittal.Try using the customer exit EXIT_SAPLMGMU_001 for this purpose.
Good Luck!
-D -
Printing Material Description in Arabic for Smartform
Hi All,
I have created a custom smartform for printing the PO, Sales Invoice.
The material description is maintained from RTL-Arabic language in Material Master(MM02) - محبس بليه بلاكورين 75م.
I need to print the above material description alone within the Item window in arabic language as displayed above but it is getting reversed when I see the print preview of PO and Sales Invoice.
Initially, I got to know from some SDN forum replies that we need to enable Arabic Font in our workstation(PC) so that it can be solved and then some suggested that Arabic font should be installed in SAP system.(Tried both the options, but could not resolve issue).
Even we tried in SE63 to translate the text but we couldnot.
SE63->Translation->ABAP Objects->Other Long texts->FS(Forms & Styles)->SSF->Smartform Name->Source/Target Lang->Edit. Window with the english version opens at the top and at the bottom, there is an editable window for translation.
But I could not further proceed as I didnt know how to do translation for the text elements.
Correct me if I am wrong in these steps.
Could anyone suggest me a solution to resolve this issue and explain the steps to do the translation in SE63.
Earliest reponse will be appreciated.
Rgds,
JKJay,
Yes we tried using the STRING_REVERSE FM. But the thing is the description contain some numerals in between the text, so it get reversed if we use the FM. So it wont suit our purpose.
Is there any printer configuration to be done to resolve this issue? Or any other settings within the smartform?
We have to display the text as maintained in Material Master, the variable get populated correctly while debugging but it get reversed when we look at the print preview.
Rgds,
JK -
Hi,
We have a requirement to add some custom fields as a new tab in additional data option(Descriptions, Unit of measure, etc.) in Basic data of Material master (MM01/MM02/MM03). I have successfully added and these custom fields and they are not part of standard(MARA, MARC) but a custom table and the updates are also done in custom table.
For new materials, I can see the new tab in additional data screens of basic data view and I could successfully create/change/display using MM01/MM02/MM03. However I cannot see the new tab/fields for existing materials in the system in all 3 tcodes (MM01/MM02/MM03). This is not a main view in material master so that I can extend it by MM01.
Is there any setting or mass generation program I have top perform so that I can see and maintain these new fields for existing materials. Appreciate any leads or help on this.
Thanks,
HarryHello Harry,
Goto t.code SPRO ---> Display IMG ---> Logistics - General --> Material master --> Configuring the material master --> Create program for customized screens
Use the above path and create the screen and assign it to the sequence using the below link as reference.
**************** - Tips - Implementing screen exits for MM01/MM02/MM03
Regards,
Thanga -
Characters in material description
Where I can check how many characters are allowed for material description in material master ?
Hi Balaji,
the material master description allow 40 characters.
in MM01 or MM02 you can count them or
take the field name, in se11 check for the fields info and check for data element and its length.
Thx,
MJ -
Hello everyone,
How can we increase length of material description from 40 to 80 characters in ECC 6.0 version? Whether it is possible increase the length of charactor without doing any development.
mail me solution on "[email protected]"
Thanx & Regards,
Rahul TaleleHi Rahul,
Go to MM02,
Check Basic Data 1 -> Additional Data -> Descriptions.
Thanks,
Reward If Helpful. -
Material description is repeating
i hv developed a program in which a material description column values are repeating.
i hv cleared the work areas still it is not working...plz help..
dis is the foll prgm.
<removed by moderator>
Regards,
Shalaka
Moderator message: Welcome to SCN!
Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve readable formatting.
Moderator message: please do not use SMS speak, use the spell checker function before posting.
Edited by: Thomas Zloch on May 31, 2011 9:31 AMHi,
Post the data processing block.
I mean the piece of code using which you are filling the final internal which you wanna display using ALV.
Thanks n Regards,
Sij. -
How to enter customer specific material description
Tried MM02 - basic data for Language EN, but then all customers with language EN get this description.
Tried MM02 - Sales Text but then all customers created in this salesorganization get this description.
Would like to enter customer specific material description. Unfortunately VD52 is limited to 35 characters, need about 80 characters.
Regards AndyThanks RAF,
I noticed I needed to use the button addtional text as well in VD52, though this is limited to 72 characters and not unlimited. Now I'm facing the issue that the commercial invoice is not printing all characters defined in this field, so probably have the layout increase field length.
Thanks for the help.
If there is another solution to define a Customer specific materail description then mentioned above I would like to know.
Regards Andy -
API_MATERIAL_SAVEDATA for Material Description ?
dear Friends:
How to modify function API_MATERIAL_SAVEDATA Material Description?Hi
hope this coding will help you look especially at
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.*
APPEND IT_MAKT.
REPORT ZKAR_MATMAS_BAPI.
* TABLES
* FLAGS *
DATA: F_STOP. " Flag used to stop processing
* DATA DECLARATIONS *
DATA : V_EMPTY TYPE I, " No. of empty records
V_TOTAL TYPE I. " Total no. of records.
* STRUCTURES & INTERNAL TABLES
*BAPI structures
DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
BAPI_MAKT LIKE BAPI_MAKT, " Material Description
BAPI_MARA1 LIKE BAPI_MARA, " Client Data
BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
BAPI_MARC1 LIKE BAPI_MARC, " Plant View
BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
BAPI_RETURN LIKE BAPIRET2. " Return Parameter
*--- Internal table to hold excel file data
DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*--- Internal table to hold Matetrial descriptions
DATA: BEGIN OF IT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF IT_MAKT.
*--- Internal to hold the records in the text file
DATA : BEGIN OF IT_DATA OCCURS 100,
WERKS(4), " Plant
MTART(4), " Material type
MATNR(18), " Material number
MATKL(9) , " Material group
MBRSH(1), " Industry sector
MEINS(3), " Base unit of measure
GEWEI(3), " Weight Unit
SPART(2), " Division
EKGRP(3), " Purchasing group
VPRSV(1), " Price control indicator
STPRS(12), " Standard price
PEINH(3), " Price unit
SPRAS(2), " Language key
MAKTX(40), " Material description
END OF IT_DATA.
* SELECTION SCREEN. *
SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
'C:\Material_master.XLS'.
PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK SCR1.
* AT SELECTION-SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*--- Validating file
PERFORM VALIDATE_FILE USING P_FILE.
* START-OF-SELECTION
START-OF-SELECTION.
*--- Perform to convert the Excel data into an internal table
PERFORM CONVERT_XLS_ITAB.
IF NOT IT_DATA[] IS INITIAL.
*--- Perform to delete Header lines
PERFORM DELETE_HEADER_EMPTY_RECS.
ENDIF.
* END OF SELECTION. *
END-OF-SELECTION.
*--- Perform to upload Material Master data
PERFORM UPLOAD_MATMAS.
* Form : validate_input_file
* Description : To provide F4 help for file if read from PC
FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
FILE_NAME = F_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
ENDIF.
ENDFORM. " validate_input_file
*& Form CONVER_XLS_ITAB
* text
FORM CONVERT_XLS_ITAB.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_INTERN.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*--- Perform to move the data into an internal data
PERFORM MOVE_DATA.
ENDFORM. " CONVERT_XLS_ITAB
*& Form MOVE_DATA
* text
FORM MOVE_DATA.
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_INTERN BY ROW COL.
CLEAR IT_INTERN.
LOOP AT IT_INTERN.
MOVE IT_INTERN-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_INTERN-VALUE TO <FS>.
AT END OF ROW.
APPEND IT_DATA.
CLEAR IT_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form DELETE_HEADER_EMPTY_RECS
* To delete the Header and empty records
FORM DELETE_HEADER_EMPTY_RECS.
DATA: LV_TABIX LIKE SY-TABIX.
IF NOT P_HEADER IS INITIAL.
LOOP AT IT_DATA.
IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
DELETE IT_DATA FROM 1 TO P_HEADER.
* P_HEADER = 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
CLEAR IT_DATA.
*--- To delete the empty lines from internal table
LOOP AT IT_DATA.
LV_TABIX = SY-TABIX.
IF IT_DATA IS INITIAL.
V_EMPTY = V_EMPTY + 1.
DELETE IT_DATA INDEX LV_TABIX..
ENDIF.
ENDLOOP.
CLEAR IT_DATA.
*--- Total no of recs in file
DESCRIBE TABLE IT_DATA LINES V_TOTAL.
IF V_TOTAL = 0.
MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
F_STOP = 'X'.
STOP.
ENDIF.
ENDFORM. " DELETE_HEADER_EMPTY_RECS
*& Form UPLOAD_MATMAS
* to upload Material Master data
FORM UPLOAD_MATMAS .
LOOP AT IT_DATA.
* Header
UNPACK IT_DATA-MATNR TO IT_DATA-MATNR.
BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
* Material Description
REFRESH IT_MAKT.
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
APPEND IT_MAKT.
* Client Data - Basic
BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
BAPI_MARA1-DIVISION = IT_DATA-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
* Plant - Purchasing
BAPI_MARC1-PLANT = IT_DATA-WERKS.
BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
BAPI_MARCX-PLANT = IT_DATA-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
* Accounting
BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
*--- BAPI to create material
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
* FORECASTPARAMETERS =
* FORECASTPARAMETERSX =
* PLANNINGDATA =
* PLANNINGDATAX =
* STORAGELOCATIONDATA =
* STORAGELOCATIONDATAX =
* VALUATIONDATA = BAPI_MBEW1
* VALUATIONDATAX = BAPI_MBEWX
* WAREHOUSENUMBERDATA =
* WAREHOUSENUMBERDATAX =
* SALESDATA = BAPI_MVKE1
* SALESDATAX = BAPI_MVKEX
* STORAGETYPEDATA =
* STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = IT_MAKT
* UNITSOFMEASURE =
* UNITSOFMEASUREX =
* INTERNATIONALARTNOS =
* MATERIALLONGTEXT =
* TAXCLASSIFICATIONS =
* RETURNMESSAGES =
* PRTDATA =
* PRTDATAX =
* EXTENSIONIN =
* EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,IT_DATA-MATNR.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,IT_DATA-MATNR.
ENDIF.
ENDLOOP.
ENDFORM. " UPLOAD_MATMAS
* 1 children | View in hierarchy
Regards,
V.Balaji
Reward if usefull -
Customise MCBE (TOTAL STOCK LEDGER)_For long material description
Dear All,
I have to chage short text(material description) into long Material description.
I copped RMCB0300 (Tc-MCBE) into ZRMCB0300
I run ZRMCB0300
and I clicked Switch drilldown ->radio button are not coming(where i have to select material radio button).
Kindely suggest me solution.
With regard,
Jyoti prakashhi,
In standard code material description is coming 40 charecter But requirement is 80
for material description.
If you go mm02 -basic data 1
Long material descr is availble
I have to display in MCBE.
With regrads
jyoti prakash -
Different material description in one language for single material
Hi folks,
Is it possible to maintain different material descriptions (In one language-english) for a single material.
if it so how can u provide me steps.
Thx in advance,
Neelima.NHi,
For a single material code maintaining multiple text in the same language is not possible,
this contradicts the basic principle of consistancy.
Howevery you are free to do R&D, if sucessful please let me know.
Regards
Bikas
Maybe you are looking for
-
How can I execute an action in Acrobat XI Pro using PowerPoint VBA?
I am using Acrobat XI Pro and PowerPoint that came with Office 2013 running on Windows 8. I have an action in the Action Wizard that executes JavaScript code. It works fine when I click Tools | Action Wizard | Actions | <my script>, and Start in Acro
-
I have a problem getting my IPad to start from shutdown. I get the Apple logo then when it is ready for me to slide my finger across the lower part of the screen to get the home page, it takes at least four attempts. When it does eventually open the
-
My numbers app formula input no longer works with iOS6 How do I correct problem?
-
Why is the fan in my iMac running so much after Mountain Lion update?
For some reason, I seem to notice the fan on my 4 year old iMac running constantly, even with very few processes running (only Mail and Safari) after the upgrade to Mountain Lion. Anyone else have this problem? Anyone have a solution?
-
I edited my Drop Down Menu, yet the changes arent reflected online
Hi everyone, I created a website for a friend, and I used Drop Down Menus for a image category. Now, I went back into the behaviors palette in DW, and I edited the name of one of the items in the menu. But when i uploaded my file back online, none of