CUP Connector Deletion script

Hi everyone,
I have, yet again, an issue, and this time, it's with deleting data.  For the purpose of this discussion, we are working on our sandbox system.
In our CUP issues from the past (SUMMARY: BASIS upgraded, without letting us know, and now our AE 5.2 is not working, and we are trying to figure it out), we finally went to SAP and now SAP is trying to run some of their scripts to get to the bottom of our issue.
It turns out we have a few connectors in CUP, with roles associated with them, that aren't really connected to any system.  These connectors were created as place holders for non SAP systems so that "roles" on those systems could be included in requests and they could flow through the workflow.
Anyway SAP says that's not going to work - either the connectors should be in working order or they need to be deleted, since deactivating the connectors still prevents their testing from proceeding.
However, deleting the connectors isn't easy - CUP won't let me delete the connector as roles are associated with them, and there are also requests (test requests from the past) that are associated with those connectors.
SAP came back with a list of tables from where we can go through and just delete the rows of data that are associated with the connectors. 
Before doing something like that, I wanted to get your thoughts and know if there are any scripts that have already been put together for such a purpose.
Thanks,
Santosh

Hello Santosh,
   SAP did used to provide scripts to delete data from GRC applications. Requests from CUP, Management reports data from RAR etc.. This was the way earlier as there was no way available from within the applications to delete this sort of data.. Connectors in GRC applications cant be deleted without deleted associated data and scripts were used earlier to accomplish this task..
I would still recommend that you take backup of GRC database so that it could be restored in case..
Regards, Varun

Similar Messages

  • Help in DELETE script

    Hi, I have duplicate records and want to delete any 2nd duplicate row. Please help in DELETE script.
    Select * from cmhrec
    Sr_no  code    date     charge   Charge2 Code_ID
    1        AAA   1-1-2014  24.0      24.0      5
    1        AAA   1-1-2014  24.0      24.0      9
    2        AAA   1-1-2014  23.0      23.0      4
    2        AAA   1-1-2014  23.0      23.0      11
    3        AAA   1-1-2014   26.0      28.0     12
    3        AAA   1-1-2014   26.0      28.0     19
    --Desired output after deleting any 2nd duplicate row.
    Sr_no  code    date     charge   Charge2 Code_ID
    1        AAA   1-1-2014  24.0      24.0      5
    2        AAA   1-1-2014  23.0      23.0      4
    3        AAA   1-1-2014   26.0      28.0     12

    Thank you
    You can simply do this
    DELETE t
    FROM cmhrec t
    WHERE EXISTS
    SELECT 1
    FROM cmhrec
    WHERE SrNo = t.SrNo
    AND Code = t.Code
    AND Code_ID < t.Code_ID
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • "Echo" error from deletion script.

    Hey forum!
    I've got this deletion script (attached) that's throw back
    this error:
    Error: Error #2101: The String passed to
    URLVariables.decode() must be a URL-encoded query string containing
    name/value pairs.
    at Error$/throwError()
    at flash.net::URLVariables/decode()
    at flash.net::URLVariables()
    at flash.net::URLLoader/onComplete()
    I don't understand what the problem is. When i look up that
    error i find that usually that error is called by bad echoes, but
    my script doesn't have any. Any help or tips is appreciated!
    Thanks,
    John

    By the way, the script is working as intended.
    Thanks again

  • CUP Connector names

    Hello CUP Experts,
    I'm certain that many of you have encountered this problem.
    Each CUP SAP Connector must be named the same as the CUA system name or the logical system name.
    - In the CUA case this is no problem.
    But when I need to provision system families without CUA connection the problem starts.
    We refresh our Q/A system from the Production system a couple of times per year, since the Q/A system is as big as the production system we let it have the same logical system as the production system.
    - Our admins say that a logical system name conversion would take days and we don't have that time.
    Here the CUP problem starts, I have to choose not to provision the Q/A system if I want to provision the production system because CUP forces me to use the logical system name as the connector name.
    Has anyone been able to solve this?
    Br,
    Stefan Ericsson
    +358-50-4867527

    Hi,
    I don't think so there is any option available in GRC to differentiate this thing as both have same logical names. Generally, after system refresh, BDLS needs to run which changes the logical hostname. I think you should run BDLS after system copy in the target system to change the logical system name. This is time consuming but it should be part of post-processing of system copy activity.
    Thanks
    Sunny

  • Recover the deleted script

    Hi all,
    By mistake one script is deleted from the system from the
    local ( $TMP ) directory ( package ).
    Is there any way to get back the script....
    Thanks and Regard,
    Santhosh

    Database backup.
    A

  • Path Deletion Script

    i currently have a script which contains a line for deleting all of the channels in a tif file:
    activeDocument.channels.removeAll()
    and this works fine.  i would like to add the necessary code to also delete all of the paths in a file.  i tried adding the line: activeDocument.paths.removeAll() but i received an error message.
    does anyone know the correct way to do this?  please advise.
    thanks.

    John A Horner wrote:
    thank you both so much for your replys.  it have incorporated your suggestions and the sript seems to be working fine.
    i have one more related question: i notice that in some of the scripts i already have there is a semi-colon at the end of most of the lines but not all.  for example:
    activeDocument.flatten();
    activeDocument.channels.removeAll()
    activeDocument.pathItems.removeAll();
    does it make a difference one way or another?
    finally, i am new to the forums and saw that i was only able to give 1 correct answer or 2 helpful so i wasn't sure the correct protocol for situations where there are 2 apparantly correct solutions.  but now, even though i have 2 correct solutions, it shows up as only "possibly answered".  is there a way to edit this?  please let me know if there is a proper way to handle this on the forums.  thanks again for everything.
    jh
    If you are flattening the document first, then the warning about deleting vector masks for the current layer won't apply to you, you are good to removeAll.
    From what I remember, adding the ';' at the end of each line is 'proper' javascript, and I believe was once required. It often doesn't matter from what I've seen (I am often lazy and forget/neglect to use it myself) as many scripts will run just fine whether it is there or not. I believe it still is required in certain circumstances, although I am not completely sure what they are.
    I don't know how the Adobe system uses it's points, not sure what to tell you on that.

  • How can I delete Scripts from my Apple Cmptr?

    I downloaded Scripts from your website. I don't like it. How can I delete this?

    Is that an extensions or a theme (persona) (Tools > Add-ons) ?
    See:
    *http://kb.mozillazine.org/Uninstalling_add-ons
    *http://kb.mozillazine.org/Uninstalling_toolbars
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Rman archive deletion script required

    hi
    i need a shell script which will delete archivelog using rman and will take backup of archivelog to specified location.DB 10gR2 OS RHEL 5 686.
    backup archivelog all to destination '/oracle/oracle/.Arch_bkp/';
    delete archivelog until 'sysdate-10';
    kind regards
    Edited by: no one on May 24, 2012 1:40 AM

    Kuljeet Pal Singh wrote:
    cat db_rman.sh
    <<all oracle environment variable>>
    CUR_DATE=`date +%d%m%y`
    export CUR_DATE
    DT=`date +%d%m%y_%H-%M`
    export DT
    LOG_DEST=/u02/backup/TAPE_Backup_Log
    export LOG_DEST
    rman target / catalog db_cat/password@rmanprod log=$LOG_DEST/RMAN_$DT.log <<EOF
    run {
    backup archivelog all to destination '/oracle/oracle/.Arch_bkp/';
    delete archivelog until 'sysdate-10';
    }I am in nocatalogue database.
    exit
    EOF

  • CUP Connector type SAP EP LDAP

    Hi Experts,
           I noticed the connector type SAP EP LDAP the other day when setting up some new ABAP connectors.  Does anyone know what this type of connector is used for?  I couldn't find any documentation on it.

    Hi Christopher,
    this is what I got told - I'm not sure whether this made it into the doco yet:
    "  SAPEP  LDAP is used for LDAP Group provisioning. It will have 2 LDAP connectors mapped.  Internal and External.  In CUP you can import the  groups form these two ldaps and provision them using Access Request. "
    Cheers,
    Dominic

  • CUP connector configuration issue

    It is mentioned in the Configuration guide that, the connector that is used for RAR (corresponds to a backend system) should be used for CUP aswell.
    But, when i create a connector in webdynpro->content administration,
    RAR is showing the connector name(s) in the following syntax (even though we create multiple connectors with different names under content administration for same backend system):
    <message server name>_<system name>_<client number>
    where as CUP is showing the connector name same as that of content administration.
    now, my questions are
    Q1) how to know which connector is being used by RAR out of multiple connectors defined under content administration, so that I can use the same for CUP also.
    Q2) Do we need to select model connector or metadata connector for CUP?
    Q3) Do we need to select VIRSAR3 connector or VIRSAXSR3 connector for CUP?

    don't get confused between connector name in content admin and one refered to by CUP & RAR Config guide.
    <<<< It is mentioned in the Configuration guide that, the connector that is used for RAR (corresponds to a backend system) should be used for CUP aswell.>>>>
    the connector name refer is the the one which you create inside CONFIGURATION TAB of RAR & CUP.
    it is called VSYSKEY in VIRSA_CC_SYSTEMC table.
    both the name should be exactly same (case sensitive....... maya be......)
    best is that it should be same as SID or SIDCLNT
    <<<<<<<Q2) Do we need to select model connector or metadata connector for CUP?>>>>>>>>
    <<<<Q3) Do we need to select VIRSAR3 connector or VIRSAXSR3 connector for CUP?>>>>>
    these are used for JCO connection. and JCO connection are used only by RAR.
    when defining system inside Configuration tab of RAR you have option to select 'connection type'.
    'connection type' can be Adaptive RFC , then you select JCO connection defined for that System in next drop down.
    please refer to Config guide for RAR for more detail.
    other option is 'SAP JCO' if you select this then you have can give all details of server , client, user id and password and create or defined system inside RAR (this is what is refered as connector by all config guides or CUP and RAR)
    regards,
    Surpreet

  • Connector Deletion on GRC

    Hi
    I am trouble shooting an installation.
    What I need to acomplish is : Connect a new ECC system to GRC QA box.
    GRC- QA  box has 2 connectors defined one to ECC and one to CRM
    GRC QA is wrongly connected at the back end to production ECC and CRM systems inplace of ECC QA and CRM QA
    All the uploads have been done against the back end production physical connectors.
    As there is data I am not able to delete the connectors.
    If I manage deletions by deleting the Rule sets I need to do a fresh upload from Function authorizations to SU24 against all the three systems, is this a good approach to accomplish my objective.
    Thanks
    Vidyar

    Hello Partha,
    Thank you for the answer,
    I have one more system connected in the past 4 days as we needed to run SoD on another system.
    So now the initital 2 system connectors are still present, added with a 3rd ECC system.
    Now I am planning to delete the 1st ECC and 2nd CRM system, 3rd ECC needs to stay back.
    Can I delete the 1st ECC and 2nd CRM system with out disturbing the GRC Rule sets as the 3rd system needs to stay for 2 more years.
    Thanks
    Vidyar.

  • Delete Script required

    Hi,
    I want to delete the records which comes from the below query.
    select da.deal_id, da.subsection_id, count(*) from tableDA da
    where da.subsection_id = 9000 group by da.deal_id, da.subsection_id having count(*)=1
    Please help me to write the delete query. Thanks in advance.
    Regards,
    Subhadeep

    I would delete like this:
    delete from tableDA d
    where d.subsection_id = 9000
    and not exists (select null from tableDA t
                         where d.deal_id = t.deal_id
                         and d.subsection_id = t.subsection_id
                         and d.rowid != t.rowid);

  • Want to delete "Scripts" add-on- How do I do it?-It annoys me!

    I would like to uninstall the "SCRIPTS" add-on. It is very annoying to deal with this one. Would you please step me through the removal process?? I am enjoying all the other features of FIREFOX. I have Microsoft XP installed on my PC.
    I tried all the avenues to my knowledge--to no avail..
    Please Help me out..
    Thanks,
    John R Bittner [email protected]

    I do not see an extension at addons simply called "SCRIPTS", but the method to uninstall is easy.
    #"Ctrl+Shift+A" (or Tools > Options > Add-ons)
    #Select "Extensions" on the left, it is a jigsaw puzzle piece
    #Find your extension in the list then click on "Uninstall"
    #Click on "Restart now" to close and restart Firefox, or do it later
    Once Firefox has been restarted, the extension has been uninstalled.
    What is the actual name of the extension, because I'd like to know what is so annoying. If it is "NoScript" then I would understand.
    <small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.
    Suggest you edit your question and remove your email address, you can be contacted through your profile "Send private message".</small>

  • Function module to delete script and forms

    CAn anybody pls tell me whether ther is ny function module
    to delete SAPSCRIPT and SMARTFORMS
    Thanks .

    Hello,
    You cannot transport the deletion of a single language of a Sapscript form.
    Please also see SAP note 3355 about it. The deletion of a form is only transported,
    if the complete form was deleted in all languages and all clients.
    But what you can try to do is to run the function module DELETE_FORM
    via the single test of transaction SE37. But in this case you have to
    delete this form in all systems.
    Regards,
    David

  • Debugger flagging long-deleted scripts

    Several aeons ago, in the early days of developing this form, I had scripts in both the Initialize and Calculate events of a number of subforms. It's a monster of a form with subforms for 9 different types of change request, each with numerous hidden fields that become visible depending on user answers to various questions. When I first started it, that was the only way I could figure out to ensure that the appropriate subforms would still be visible when a user closed and reopened the form.
    I removed the Initialize scripts when I discovered the Preserve scripting changes setting (duh... ). That was many months and several version ago.
    However. the console still pops up and flags objects that were apparently referenced in those Initialize scripts, but whose names have changed in the interim. I've checked the form several times to be sure there aren't any renegade Initialize scripts still lurking in the background, and I'm confident there's nothing there...but that darn debugger jumps in every single time.
    I assume it's not going to be a problem for any form user who doesn't have the debugger enabled in their own instance of Acrobat, correct? Since I'm pretty much the only person here who even comes close to working with Acrobat this way, I'm relatively confident it'll never come up.
    But I would love to figure out how to get rid of it, and I have a niggling concern that there's actually some kind of problem behind the scenes that *will* come back to bite me sometime down the road. Can anybody tell me how to debug the debugger, or alternatively, how to locate the scripts it seems to still be finding somewhere?
    Mil gracias!

    When you the error in the debugger. Copy a string of the script that you have already removed.
    Go into "XML Source" press ctrl + f (Find). Paste the the string that you copied.
    if you find the script in here then remove it from <event> till the </event>, i will give you an example:
    <event activity="initialize" name="event__initialize">
        <script contentType="application/x-javascript" runAt="both">
    *script will be here*
    </script>
    </event>
    Remove all that and it sholdn't appare in the debugger. If it is there, otherwise I don't really know that it can be.

Maybe you are looking for

  • SAP Standard Report for Stock Balances

    Hi All, Do we have a standard SAP report that gives the output in this format (or something close to this) Date     Stock     Plant 1               Plant 2                     Material 1     Material 2     Material 3     Material 1     Material 2    

  • Date format in 01/0000 rather than 01/2011

    Hi could you plase assist if anyone gone through this issue earlier. We are developing the WebI reports based on Bex queries. The mandatory prompt is defined in Bex on Calender Year/ Month with variable "base period".  Once the universe is defined ba

  • SQL Loader and conditions

    Hello, I have a table: mytable(ID number, file varchar2(256), data blob) and I try to migrate data (blob) with file and id from my table my input.dat file would be containt the ID input file(1,2,3,4,5,6,...) and control file Would be: LOAD DATA INFIL

  • Chart of Accounts idoc

    Hi, Could you please let me the idoc related to chart of Accounts, or idoc which uses tables SKA1 and SKB1. Correct answer would be rewarded. Thanks, Nagendra.

  • On-Prem Lync 2013 moving to Lync Online (Office 365)

    We have an office of about 130 users, all of whom use either Lync 2010 or Lync 2013 client to connect to Lync Server 2013 (on-prem). We have recently signed up for Office 365's E3 plan which includes Lync Online, which we plan on using in favor of on