I'm uploading a PIR(purchasing information record) from an excel sheet which contains one row of data..
When i run the program I get an error record which states that "You do not have the authorization to create the material with change type FERT".
The program is having an authority check is on the material type (MTART)for a material with create status(01).
Then i debug the program, and change the value of sy-subrc to 0 from 12 to pass the authority check.Now there are no error records and session has been successfully created.
But when i go to SM35 i found out that there was an error..Then I analysed the session log to find out the same error - "You do not have the authorization to create the material with change type FERT".
I tried with different materials with different material type(MTART) but still I get the same error..Can anyone give me an analysis and tell me how avoid this situation.