This website is not affiliated with, sponsored by, or approved by SAP AG.

SECATT and Role Name in Quotes

SAP Security

Moderators: Snowy, thx4allthefish, jurjen

SECATT and Role Name in Quotes

Postby Gary Morris » Wed Aug 13, 2014 9:12 am

Hello friends,

I am using EHP7 for SAP ERP 6.0 and an SECATT to create new roles by copying old roles. The script works but the long text role name is in double quotes such as
Z_ROLE_EXAMPLE
"Test Role for SECATT Script"

How do I get rid of these quotation marks?
Gary Morris
SAP Security Consultant
garydavidmorris@gmail.com
Gary Morris
 
Posts: 399
Joined: Sun Oct 20, 2002 10:42 pm
Location: San Antonio, Texas

Re: SECATT and Role Name in Quotes

Postby Gary Morris » Wed Aug 13, 2014 10:21 am

Figured it out.

Special character comma (,) used in the long text of the role name causes the long role name to be in double quotes after running the script. Other special characters we us such as / or - do not cause this.
Gary Morris
SAP Security Consultant
garydavidmorris@gmail.com
Gary Morris
 
Posts: 399
Joined: Sun Oct 20, 2002 10:42 pm
Location: San Antonio, Texas

Re: SECATT and Role Name in Quotes

Postby Gary Morris » Wed Aug 13, 2014 1:25 pm

The client wants to keep the commas in the long text of the role names. Does anyone know how to keep the SECATT script from adding double quotes to the long role name if there is a comma in the name? I asked if I could replace it with a hyphen instead which does not add the quotes but they want me to figure out a way to keep the commas when I run the script without adding quotes to the long name. Maybe I should post this in the Developer form?
Gary Morris
SAP Security Consultant
garydavidmorris@gmail.com
Gary Morris
 
Posts: 399
Joined: Sun Oct 20, 2002 10:42 pm
Location: San Antonio, Texas

Re: SECATT and Role Name in Quotes

Postby waltersen » Thu Aug 14, 2014 3:40 am

Hello,

have you tried to use Inline ABAP in your Script to change the name?

Bye
waltersen
 
Posts: 251
Joined: Wed Oct 13, 2004 7:03 am
Location: Hamburg, Germany

Re: SECATT and Role Name in Quotes

Postby Gary Morris » Fri Oct 31, 2014 2:33 pm

I gave up and kept the quotes. Life is too short and if they wanted the commas that bad what difference does it make if the long text names have quotes? It does not do it if there are no commas in the name however.
Gary Morris
SAP Security Consultant
garydavidmorris@gmail.com
Gary Morris
 
Posts: 399
Joined: Sun Oct 20, 2002 10:42 pm
Location: San Antonio, Texas

Re: SECATT and Role Name in Quotes

Postby jurjen » Sat Nov 01, 2014 5:21 am

Hi Gary,

What you still can do is download the roles after creation, delete the quotes in the download file and re-upload.. This download is a fixed record length text file, look for lines starting with AGR_TEXTS. Be aware of the codepage (Unicode) when downloading to avoid loss of special characters. Best try in a sandbox client first.

Jurjen
jurjen
 
Posts: 298
Joined: Wed May 17, 2006 8:17 am
Location: The Netherlands


Return to SAP Security

Who is online

Users browsing this forum: No registered users and 7 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.