Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

How to give a message in output if the same role already exists ?

$
0
0

Hello,

 

I have create a program to automate the process of Single role creation by uploading an excel file.

 

Now I want to display a message to the user if he tries to create a role which already exists.

 

My output will be in ALV (Traffic lights) :-

Green - Role created and profile generated.

Red - Profile not generated.

Yellow - Duplicate role.

 

But I am not able to get the yellow message.

 

I got rid of the duplicate new roles but cant find a solution to display the message that the following role already exists.

 

Note :- I used sort on the excel file and deleted the duplicate line in the excel itself.

 

Any solution for this problem ?

Please let me know if I missed some information which needed to be shared.

 

Best Regards,

Pratik


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>