2016 Apr 20 12:55 PM
Hi,
I need some suggestions, Facing one problem,
My Client is Creating almost 500 materials, Every day. They don't want to Create through the manually.
From different department people are need the materials Not a single person Creating the materials. We decided to Given bdc for creating the material.
For fixing the properties of the materials. While restricting the Material properties, We don't want to give MM01 Authorization to the users.
I Completed Recording And Checking in Quality. But while executing the T-code it is saying No Authorization.
I hope They don't have authorization. How could these people create the materials Without authorization.
Need Valuable suggestions.
2016 Apr 20 1:18 PM
Just a wild idea..
2016 Apr 20 1:18 PM
Just a wild idea..
2016 Apr 20 1:43 PM
HI, Thanks for your reply.
Did not understood your answer.
1)Whey maintaining the Custom Table, I am going to give the bdc. uploading the materials through the Excel. And create one Z-tcode.
2)I run the bdc from the End user login. Error came like No-authorization. Are u suggesting,
JOb , Background job. Is it not considering the Authorization
2016 Apr 20 1:50 PM
1. Instead of using the end user data to run the BDC immediately, you write it to a custom table (they're not maintaining the table directly!)
2. And yes, the report in the background job uses the data in the custom table to run the BDC (or BADI's if you prefer.. hint )
2016 Apr 20 2:01 PM
So, back ground job never check the authority. Server is doing the operation.
2016 Apr 20 9:24 PM
Incorrect, but close. You'll have to run the background job under a userid that has authority to create materials.
Most clients have a special batch user for running overnight jobs - use that one.
cheers
Paul
2016 Apr 23 8:24 AM
Hello
Have you tried SM01. Search your transaction MM01 there and marked it as locked.
Hope this will help
Enjoy SAP
Regards
SS
2016 Apr 23 8:40 AM
2016 Apr 23 9:07 AM
That sounds pretty nonsense. After locking the transaction nobody in whole system will be able to execute MM01 anymore, not even via BDC.
Better do what Paul said. Create a batch user with the authority for creating materials.
Give your useres who shall not create materials manually with MM01 only the authority to run a batch input session.
They have to execute the batch input session by entering the batch user
2016 Apr 23 9:36 AM
Hi, Thanks for your reply.
Bath user means, is my end users run the lsmw or sm35 for creating the material Master.
Is this bath user.
2016 Apr 23 9:42 AM
No, end users are human, batch users are artificial, It is just a user master for a specific purpose.
Executing LSMW or SM35 has its own authority objects, being allowed to execute LSMW or SM35 does not mean that the user is allowed to post material masters, this is another authority object. But users can be allowed to create a batch input session and specifying that it shall run with the authority of another user.
That is how we work in IT , we are not allowed to post in a production environment, we only create the batch input session and specify the user who can execute this session, and this user finally posts the stuff.
2016 Apr 23 10:05 AM