Authorization restriction for material group field in MM02 for user role
Dear All,
My client wants to restrict 'material group' field usage in MM02 for certain users.
How to achieve this task?
Kindly advice
Thanks &Regards
Thangavel Ganesh
Hi all ,
You can use authorization object advised by AKPT MM. For related transactions , you can benefit from MM Related Authorization Objects - How to Find out & Assign , thanks to Sudeep A
Regards.
M.Ozgur Unal
Similar Messages
-
Restrict Vendor for material group
Hello Friends,
My client has a new requirement as below:-
I have material groups : 0001, 0002 and 0003
For Material Group 0001 : Only Vendors A, B & C are allowed.
For Material Group 0002 : Only Vendors B, C & D are allowed.
For Material Group 0003 : Only Vendors A, C & D are allowed.
Is this possible any ways. Please help.. If it is not possible in standard, please help with some user exit if any..
Thanks & have a great week end...Friends,
I am closing this thread since I could find an answer myself the same is shared below hoping that the same will be useful for atleast few..
1) Create the Info record with material group without price (Make price non- mandatory in the config.)
2) Control creation of Info records and price update for Info records thru EVO Parameter and assign the same with user.
3) Make Info record mandatory for the PO
4) Make sure that Info records are maintained for the material vendor combination only where the vendor is a selected (If you dont any one of them control them thru sourcelist or block the vendor)
If this is done if you have not maintained atleast one PIR for material group vendor combination, you can not create a PO.
Guys, Pls let me know if this makes sense..
Regards -
Issue Search Help Exit for Material Group
Dear Expertsl,
I developed a search help exit for material group for the search helps both H_T023 and H_2023_MEPO to restrict certain material groups from the actual display as follows
1) I developed custom table to hold the Invalid material groups
2) Developed search help as same as in the bellow link
link:[https://wiki.sdn.sap.com/wiki/display/Snippets/CaseInsensitiveSearchHelpExitforMaterial+Group]
3) Before the statement
SELECT matkl wgbez wgbez60 FROM t023t INTO s_t023t
WHERE matkl IN t_matkl
i selected the Invalid materials from the custom table into an internal table
4) i am restricting the entries with the following code.
LOOP AT a_tab.
only move values that meet the requirements
after you convert to upper case.
MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
MOVE a_tab-wgbez TO a_tab-wgbez_test.
TRANSLATE a_tab-WGBEZ_test TO UPPER CASE.
MOVE a_tab-wgbez60 TO a_tab-wgbez60_test.
TRANSLATE a_tab-wgbez60_test TO UPPER CASE.
IF a_tab-wgbez60_test IN i_wgbez60 AND
a_tab-wgbez_test IN i_wgbez AND
a_tab-matkl IN i_matkl.
ADD 1 TO findex.
MOVE a_tab-matkl TO temp_tab-matkl.
MOVE a_tab-WGBEZ TO temp_tab-WGBEZ.
MOVE a_tab-wgbez60 TO temp_tab-wgbez60.
IF findex > callcontrol-maxrecords.
MOVE 'X' TO callcontrol-maxexceed.
EXIT.
ENDIF.
READ TABLE i_invalid INTO w_invalid
WITH KEY matkl = a_tab-matkl.
IF sy-subrc NE 0.
APPEND temp_tab.
ENDIF.
CLEAR temp_tab.
ENDIF.
ENDLOOP.
This is working fine when we press F4 in ME21N Transaction and give some description and then press enter the popup screen.
But my requirement is user will enter some description in ME21N material group field and press enter ( Not pressing the F4 here) at this moment this is not going through the search help exit and displaying all the entries including the Invalid materials.
Note: We can delete the Invalid material groups but the documents which are having the invalid material already will have an issue and need to be corrected all the documents. But our requirement is only to use the correct materials groups from now onwards.
I would appropriate if any one can helping this regard.
Thanks in advance.,
Regards,
VenkatHi Venkat,
You can call your ZSEARCH_HELP from the PAI , on the event SY-UCOMM = Enter using the function module F4IF_FIELD_VALUE_REQUEST.
For example, your screen field is MARA-ZXXXX, screen 0100 and search help : ZSEARCH_HELP
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'MARA'
fieldname = 'ZXXXX'
searchhelp = 'ZSEARCH_HELP '
dynpnr = '0100'
dynprofield = 'MARA-ZXXXX'
TABLES
return_tab = lt_returntab.
This F4IF_FIELD_VALUE_REQUEST will call your custom search help exit.
Regards
Deepa. -
Looking UserExit or BADI for Material Group Description
Hi,
I am looking for BADI or User Exit for Material Group Description.
My Scenariio is Whenever the user Enter in to MM01or MM02 in Basic Data 1 view Materail Group Field ,the user press F4 It is displaying material group number and corresponding Description.Those Description are in English because that materail group are created in English Longon Language,but the other language User Enter in to MM01 or MM02 Transaction in the basic data 1 view Press the F4 key for Materail Group it showing only material group number no description is displaying,but my requirement it should translate and show it to the corresponding longon language description when Press F4.Regarding this i maintaining other language description for the existing material group in a ZTable.
The table for Material Grop Description in all the language is T023T table.
Get back to me your valuable suggestion for the above requirement.
Thanks & Regards,
sanjeevkumarHi Sanjeev,
If you wanna search for BADIs, you can follow this method:
go to SE80 transaction and select the class/interface CL_EXITHANDLER, then you have to select the Get_Instance method and put a break-point in the following call:
call method cl_exithandler=>get_class_name_by_interface
exporting
instance = instance
importing
class_name = class_name
changing
exit_name = <b>exit_name </b>
exceptions
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
data_incons_in_exit_managem = 4
class_not_implement_interface = 5
others = 6.
the value of exit_name will give you the name of the BADI that is been call from the transaction. Then you have to execute the transaction MM01 or MM02 and it will stop on each Badi's call.
Regards,
Eric
Reward any helpful answer -
Making material group field in ME22n transaction as Input Enabled
Hi,
I have a requirement in my project, where I need to make the material group field as Input Enabled.
The reason for this being, that after a PO is created, the user might change the material group of the material(using MM02). The new material group must reflect in the already created PO's.
I have searched and gone through the previous threads, which say that it is impossible for new material group to be reflected in the already created PO.
But we can make it as input enabled field, instead of changing the material group, so that user can MANUALLY change it.
I searched and found out that material group cannot be made as Input Enabled field using SPRO settings.
Also there is no BADI or user exit where we can code for it an make it as input enabled.
But there is some internal enhancment point, in the SAP source code, where we can go and do the coding for it. I am sure about it because I have seen such a scenario earlier also.
Can someone help me in finding out the particulare enhancement point where we can code for our field to become Input Enabled?
Thanks in advance.
Ramesh SinghNot possible - if it is SAP standard field.
Regards,
Subramanian V. -
Material Group field is Missing in Material Master - Purchasing view ?
Hai Experts,
I want to configure to bring back Material Group field is Missing in Material Master - Purchasing view. It is mandatory to Create & save a master. I cant save a master in sandbox. Need Help..I make all field as Optional & Create master successfully.. Thanks.. I even verfied in J1ID Master for assesable value & Chapter ID Combination.. But in Cenvat Determination Field, How i can set Default Indicator for Modvat "tick" & how can i set Excise Intimation Date also.
I checked Material Master in mm03 [ Display].
I clicked More & Pre Vals. option in Foreign Trade Import.
For More, It shows this error.
Record 21 MORE does not exist in table T133E
Message no. M3748
For Pre vals., It shows this error.
Record 21 J1PR does not exist in table T133E
Message no. M3748
Kindly guide me..
Thanks & Regards
Swetha -
Material group field selection
Hi,
We configure the material group to be optional field in Material master (for some reasons) but when we create the purchasing view the system always ask for Fill up the Material group field. Is that mandatory field control for material group is hard coded in the program ??
Best regards,Hi Eric
You are right.
This functionality (material group field mandatory in case of creating purchasign view) is controlled by program.
regards
sairam -
HI,
How can i add Material Group field in MB51? with out generatin any Zprogram.
( I searched for it in SDN but i didnot get any accurate solution)
Thanks in Adv.
With Regards,
MurthyHi Murthy,
I think there is no possibility with out custom one.
Regards,
Madhu. -
G/L Accounts for Material Group
I have been serching over the forum but couldn't find Table that will Relate to G/L Accounts for Material Group.
Actually we would need to know which (service) material group brings GL account 53**** when creating purchase request.
Is anyone aware of the Tables regarding this??
<<Text removed>>
Regards
Edited by: Matt on Oct 12, 2011 6:43 AMAjit,
Thanks for reply. My requirement is not to maintain GL which will decault in PR or PO but I just want to know which (service) material group brings GL account 530000 when creating purchase request.
Regards -
MIGO t code for Material Slip field , i want to add F4 values
Hai in MIGO t code for Material Slip field , i want to add F4 values, cna u give me details procedure.
thanks in advanceCreate a search help via SE11. The help documents should walk you through the process. When you get to a point where you need more information - post another question.
I haven't added a search help for the material slip field, but someone else might have. -
Purchase info record for material groups
Hi all,
We have purchase info records for material groups, not material specific. When I create and activate integration model for these info records, no info record is sent to APO. Is there a way to create Transportaiton Lanes automatically in APO?
Regards,
JennyHi,
In APOPurchase info record is transfered as external procurement relationship.
Generally Transportation lanes are created automatically for plant to plant transfer when you define special procurement key in MRP view of material master accordingly.
In case of T. lane for vendor, automatic generation may not work. Still you may try using correct special procurement key + material specific vendor info record..
Thanks,
Mangesh A. Kulkarni -
Source List for Material Group
Hi All,
How do I maintain a source list for a material group.? Since ME01 requires a material, I cannot create source list in this tranasction.
The client want a the Source (for material Group) to be assigned automatically in PR assignment step.
Again, within a material group there can be several infor records, For example:
Mater Group: Office Supp.....I can have two infor rec for the same vendor....one with "Short Text" Notepad and another info rec with "Short Text": Paperclips. Or the second info record could be a different vendor also.
How could the system know which one to assign as a source since it's the same material group (one for Notepads and the other for paperclips)??
Thanks in advanceHi duke,
In SAP we have a choice of creating source list for a "Material Group ". Following is the method.
You may have the outline agreements related to material group rather than a single specific material - For ex. outline agreement with a item category M( Material unknown) or W ( material group).In doing so you can decide whether to exclude or include certain materials of the relevant material group by means of the source list.
To create the source list for a material group proceed as follows.
1) On the outline agreement overview screen, select the items for which you wish to enter the source list record & choose Item --> Maintain source list
2) To exclude the particular material keep the "Exclusion" indicator set against a material with a validity period.
I hope this will be useful to you.
Vivek -
Hi,
why SAP system allows to create recordinfo for material groups ?
RegardsInfo record record contains following information.If you create next time with the same material group it pulls all existing data and will update to currently created PO for reference.
Units of measure in which materials are ordered from the vendor
The applicable reminder levels
Prices and Conditions with validity period (Present and Future)
Applicable Tax Code
Planned Delivery Time
Standard & Maximum Quantity
Tolerance limits for over-deliveries and under-deliveries
Number of Last Purchase Order or Quotation
Text
Vendor evaluation data
An indicator for showing vendor as regular vendor for the material
The vendor sub-range to which the material belongs
The availability period during which the vendor can supply the material -
Authorization control at material group
My requirement is to allow only some users to create sale order for the materials of the particular material group . I tried with the authorization object M_MATE_WGR .
It does not allow other users to change/display the materials with this material group . But still allows to create the sale order .
Is there any other options available to meet the requirement
Regards
ManiDear Manikanda
If the authorization level starts at sale order creation, then with the help of your Basis, you can certainly prevent this. But if you want to restrict only for a certain material group, may be you can try with
User exits in the program MV45AFZZ
USEREXIT_MOVE_FIELD_TO_VBAP
with the help of ABABer.
thanks
G. Lakshmipathi -
Hi Experts.
Our requirement is to get the material group column in the output report of MCV1.
I have searched the forum but couldn't find any thread regarding the same.
So please advice whether it is possible or not? and if possible then what is the procedure for it ?
Thanks,
VishalYou create Formula Columns in Data Model and display fields in Layout Model. Does "a new forum column" have a typo?
Searching Reports Builder Help on Formula Columns would find a lot info. Fro example,
To create or edit a formula column:
1 In the Data Model view, single-click in the tool palette, then:
n To create a column within a group, click in the group at the position you want the column placed in the hierarchy.
n To create a report-level column, click in an open area of the canvas region.
2 Double-click the formula column object to display the Property Palette.
3 Under the Placeholder/Formula node, double click the PL/SQL Formula property value field.
4 In the PL/SQL Editor, define the PL/SQL for the formula (e.g., SAL * 0.07).
Maybe you are looking for
-
Blocking the Creation of PO in Service Order
Hello SAP folks, I have got an issue where I have to block the Creation of Purchase Requisation Number(BANFN) which is generated in the background after the creation of the Service order(IW31) I have tried the user exit EXIT_SAPLCOIH_009 but while
-
New File() in servlet under Tomcat
When I try this: File file = new File( "testdirectory" ); System.out.println( file.getAbsolutePath() ); I get the following: <TOMCAT_HOME>/bin/testdirectory But I need to access the directory in the classes directory of my web app. What am I doing wr
-
To find out how many rows are processed/updated?
Hi Gurus, I have given an update statement with parallelism. The data to be processed is huge around 50 million records. I know that from OEM, we can find out how many rows it has processed or completed. I would like to know the dictionary view/ quer
-
Impact of sizing (RSDDTREX_MEMORY_ESTIMATE) on actual BW system
Does running the sizing program, RSDDTREX_MEMORY_ESTIMATE impact the performance of the system, either the loading process or the reporting process? Thanks.
-
SSL protocol disabled followed all tutorioals and support help still no t solved problem == URL of affected sites == http://https://www.nwolb.com/default.aspx?refererident=6AE60AAC922A7B593AC1D5BECC79401772F69A81&cookieid=72259&noscr=false&CookieChec