I had shared the pseudo code of request simulation in simulate request in target system before transportation – strategy post.Now i am sharing source code for this useful program. For complex requests involving many objects , i strongly suggest you to first simulate your request and then transport to target system.
As you may all know, authorization for maintenance of tables can be controlled by Authorization Group variable which can be edit while generating maintenance screen for the table. This assigned authorization group is checked by S_TABU_DIS. Unfortunately this type of authorization check only prevents/allows full table access. What if you want to prevent/allow line access for tables. This time you need some authorization breakdown according to a column in your table. After some research i have found that S_TABU_LIN can serve for this purpose.