Script or Program for massive role changes

Hi,
does anybody know some script to execute massive changes in SAP ROLE??
Ciao

You can try a bash script. Example:  This one converts wav to mp3:
#!/bin/bash
for i in "$@" ; do
lame --r3mix "$i" "`basename "$i" .wav `.mp3"
done
./wav2mp3.sh *.wav
will convert all wav in the current directory to mp3.  You can change the lame line if you have other formats.

Similar Messages

  • Program for PFCG Role Creation

    Hi Guys,
    I have a requirement for creating a program that will automate the Role Creation (Transaction PFCG)
    I have the following Questions.
    Is it Really possible via Program.
    The expectation is in selection screen user will give the Standard and Derived Role after execution he expect the role to be created.
    If anybody have experience in the same scenario kindly share me.
    Regards,
    Vijay.

    Try with PFCG_START_PFCG
    G. Lakshmipathi

  • Anyabap program coding or logic for public calender changes for every year

    Hi currently i am developing abap extract program for public calender changes - can anybody help me in coding or the logic or any function module for that

    In SAP (SPRO) we have standard configuration to create/ change public holiday calander, usually this config done by Time management cosultants/PS/MM/SD functional consultants.
    Thanks
    Sparta

  • Driver program for the Dunning letter SAP Script

    Hello All,
    Can someone please tell me how to find the "Driver program for the Dunning letter SAP Script". I checked the Transaction OB96 but I dont find any Dunning scripts here i.e., the standard Dunning letter SAP Script F150_DUNN_01.
    Is there any Transaction like NACE of logistics for FI module to find the Driver programs. My requirement is to find the Driver program for the Dunning letter SAP Script and have a new Driver program instead of the standard SAP given driver program. Example is in transaction NACE we can change the driver program for Invoice like from RVADIN01 to ZRVADIN01.
    Thanks and Regards,
    SNK.

    Yes you can, using FIBF, change the FM associated with event 1720 like when SapScript is replaced with SmartForms. Look at [Define Dunning Forms (with SAP Smart Forms)|http://help.sap.com/saphelp_46c/helpdata/es/7d/c7a0a535e1d311ba4d0800060d888b/content.htm] for reference.
    But notice
    - PRINT_DUNNING_NOTICE call many FM of the same FG which share the same global data area.
    - During following upgrades of your system you will have to manage a copy of standard.
    Regards,
    Raymond

  • How to know print program for SAP Script

    Hi friends,
    how to know print program for SAP Script form name ?

    Hi ,
      You can use the following code changes in the layout & see..
    You have to create a program Z_BC460_EX4_HF for that..
    /:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
    /:  USING &CUST&
    /:  CHANGING &NAME&
    /:ENDPERFORM.
    Dear &NAME&
    The ABAP routine could be defined as follows:
    IMPORTANT: The structure itcsy must be used for the parameters.
    REPORT Z_HENRIKF_SCRIPT_FORM .
      tables scustom.
      form get_name tables in_tab structure itcsy
                           out_tab structure itcsy.
      read table in_tab index 1.
      select single * from scustom
        where id = in_tab-value.
      if sy-subrc = 0.
        read table out_tab index 1.
        move scustom-name to out_tab-value.
        modify out_tab index sy-tabix.
      else.
        read table out_tab index 1.
        move 'No name' to out_tab-value.
        modify out_tab index sy-tabix.
      endif.
    You could also fill the ouput parameter table this way
       READ TABLE out_par WITH KEY 'NAME1'.
       out_par-value = l_name1.
       MODIFY out_par INDEX sy-tabix.
    endform.

  • TIPS(42) : SCRIPT FOR CREATING ROLES

    제품 : SQL*PLUS
    작성날짜 : 1997-02-10
    TIPS(42) : SCRIPT FOR CREATING ROLES
    ====================================
    REM
    REM SCRIPT FOR CREATING ROLES
    REM
    REM This script must be run by a user with the DBA role.
    REM
    REM This script is intended to run with Oracle7.
    REM
    REM Running this script will in turn create a script to build all the roles
    REM in the database. This created file, create_roles.sql, can be run
    REM by any user with the DBA role or with the 'CREATE ROLE' system privilege.
    REM
    REM Since it is not possible to create a role under a specific schema, it is
    REM essential that the original creator be granted 'ADMIN' option to the role.
    REM Therefore, such grants will be made at the end of the create_roles.sql
    REM script. Since it is not possible to distinguish the creator from someone
    REM who was simply granted 'WITH ADMIN OPTION', all grants will be spooled.
    REM In addition, the user who creates the role is automatically granted
    REM 'ADMIN' option on the role, therefore, if this script is run a second
    REM time, this user will also be granted 'ADMIN' on all the roles. You must
    REM explicitly revoke 'ADMIN OPTION' from this user to prevent this from
    REM happening.
    REM
    REM NOTE: This script will not capture the create or grant on the Oracle
    REM predefined roles, CONNECT, RESOURCE, DBA, EXP_FULL_DATABASE, or
    REM IMP_FULL_DATABASE.
    REM
    REM Only preliminary testing of this script was performed. Be sure to test
    REM it completely before relying on it.
    REM
    set verify off
    set feedback off
    set termout off
    set echo off
    set pagesize 0
    set termout on
    select 'Creating role build script...' from dual;
    set termout off
    spool create_roles.sql
    select 'CREATE ROLE ' || lower(role) || ' NOT IDENTIFIED;'
    from sys.dba_roles
    where role not in ('CONNECT','RESOURCE','DBA', 'EXP_FULL_DATABASE',
    'IMP_FULL_DATABASE')
    and password_required='NO'
    select 'CREATE ROLE ' || lower(role) || ' IDENTIFIED BY VALUES ' ||
    '''' || password || '''' || ';'
    from sys.dba_roles, sys.user$
    where role not in ('CONNECT','RESOURCE','DBA', 'EXP_FULL_DATABASE',
    'IMP_FULL_DATABASE')
    and password_required='YES' and
    dba_roles.role=user$.name
    and user$.type=0
    select 'GRANT ' || lower(granted_role) || ' TO ' || lower(grantee) ||
    ' WITH ADMIN OPTION;'
    from sys.dba_role_privs
    where admin_option='YES'
    and granted_role not in ('CONNECT','RESOURCE','DBA', 'EXP_FULL_DATABASE',
    'IMP_FULL_DATABASE')
    order by grantee
    spool off
    exit
    REM ---------------------------------------------------------------------------

    One thing that stands out as being undesirable as far as best practices go is that you are placing code on objects (using the on() approach).  The proper approach is to assign instance names to your interactive objects and use them to place all of your code on the timeline where it is readily visible.  In doing so you may just find that alot of the code you show can be modularized into functions that can be shared by different objects rather than having each one carrying a full load on its back. You may find you can pass arguments to shared functions that make the same functions capable of supporting interactions with different objects
    Your on(press) call performs an unnecessary conditional test.  If you change the condition to be   if (project._currentframe != 25) you can avoid this.
    In your on(rollOver) call's set of conditionals, you have some lines that repeat in each condition, so they can be moved to the end outside the conditionals.
    Your on(release) call has the same issue as your on(press) call.  Also the overrun use of the _parent target is an indication that most of the code in this call would likely serve you better sitting in the _parent timeline, and your button could just call that function

  • How to find Driver program for an Particular Script Excluding TNAPR, NACE

    Hi Friends,
    I had an problem now, that I need to find the driver program for Dunning 'F150' which I already checked in TNAPR table and NACE transaction code, but I couldn't find any desired results on this search. Kindly can anybody suggest me for getting out of it as I need to make some changes over the driver program. Your help is mostly appreciated.
    Thanks in Advance,
    Murali.

    hi,
    try this.
    goto se71 transaction.give your form name click display.in menu goto form - check -texts and press enter.
    you will get all the print programs used for that script.

  • Purpose of RSTXTRAN program for SAP-Script ?? ??

    Purpose of RSTXTRAN program for SAP-Script ?? ??
    when it is required to run that program ?

    Hi sarit,
    Purpose of RSTXTRAN program for SAP-Script Transfer of SAP script Texts to a Correction.
    The report RSTXTRAN allows a set of SAP script texts (or the text key) to be transferred to a correction or repair of the transport system. The name of the correction/repair can either be transferred as a report parameter, or the correction/repair can be selected later in a selection window. The text key can be qualified generically using the asterisk character (*).
    When the report has been executed, the list of selected texts appears. Individual texts can be deselected in this list. When the function "Continue" is executed, the final list of texts which are to be transferred is displayed. The transfer of texts to the correction/repair can now be activated by the appropriate function, and must be confirmed in a dialog box.The requirements for this as follows.
    There is a correction/repair in which the selected text keys can be entered, if it is not being processed. The report can only insert text keys in corrections or repairs, not however in transport requests. However, the objects contained in a correction can be transferred to a transport request with the correction and transport system transaction.
    It should also be noted that the report selects texts in the current client, but that the transport system generally exports texts from client 000.
    When the report has been executed,the output can be a list of the selected texts. Information about whether transfer to the correction/repair was possible is displayed for each text key.
    Reasons for failed transfer include
    o the correction/repair is currently being processed
    o the correction/repair does not exist
    For Example
    All German standard texts with the ID ST, whose names begin with SAPSCRIPT, are to be entered in the correction B20K009999. The report parameters are then assigned values as follows:
    o Correction: B20K009999
    o Text object: TEXT
    o Text name: SAPSCRIPT*
    Thanks,
    Usha

  • Ho to find script and the related print program for print preview of PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    U Can check Driver program and form related to that program table is TNAPPR
    Goto NACE t.code
    Selct Application ---> click on output types
    then u wil get one window there select proper output type and
    double click on  processing  routines u wil get form name and related driver program name also
    Plz try this....
    Edited by: Upender Verma on Feb 9, 2009 1:33 PM
    Edited by: Upender Verma on Feb 9, 2009 1:37 PM

  • How do you globally change the default program for opening photo files?

    I want to adjust my system so that when I double click a photo file, Preview does not automatically launch.  I work in Photoshop all the time and would prefer that it be the default program for pictures.  I have already changed the "when you insert a picture CD" command in CD's & DVD's in System preferences but this does not have any effect on when I double click on a picture file to open it; Preview always launches and opens the picture there.  That automatic opening behavior is fine but I need it to happen in Photoshop.

    Assuming your pictures are all .jpg files: select any .jpg by clicking once on it in the Finder, then press Command+I to Get Info about it. In the Open With: section of the Get Info window, change the preferred application from Preview to Photoshop, then click the Change All button.
    Now any .jpg file that you double-click will open in Photoshop.

  • How can I change the default program for the external applications editor?

    I have read the on line directions for this and it reads "select a file type in the left pane."   I do not see where this is in the left pane.  All I see in the left pane is "Browser start pages" and a "How do I " Pane.  Nothing with file types.

    Hello,
    Welcome to Adobe Forums.
    In order to change the default program for the external applications editor. Please follow the steps as mentioned below.
    Click on Edit menu then choose preferences.
    Once the preferences dialog box open.
    click on file editors.
    On the Left pane you will find all the file types which you want to edit .
    On the right hand side you will find the editors for that specific file type.
    If you want to add any other application you need to click on + symbol at the top of right pane.
    Select the path of that application which you want to apply.
    clcik on open.
    If you want to make it primay you can click make primary option available at the right hand top. For more detials please check the screenshot below.
    Regards,
    Rajeev

  • How do i change default program for opening mp3 files

    Hi all, i would like to change the default program for opening MP3 files, it is currently iTunes, i would like it to be MPlayerX or QuickTimePlayer, ii am sure it is easy once i know where to look, it is easy in Windose, is has just got to be easier with my Apple
    Tim

    Tim,
    Right click on one of your MP3 files and select "get info".  In the get info screen you can select the default program to open the file.  Then select Change All..  to make it the default for all MP3s.
    Regards,
    Captfred

  • Latest Lithroom 5.6 does not recognize my .cr2 raw file format and Windows 7 it asociates with my older raw plug in in Ps CS5.5. I am not able to change default program for .cr2 in the properties pannel...

    Latest Lithroom 5.6 does not recognize my .cr2 raw file format and Windows 7 it asociates with my older raw plug in in Ps CS5.5. I am not able to change default program for .cr2 in the properties pannel...
    every new released update of Lr from v 5.2 changed somethin in my Windows 7 Professional settings. I am stucked. Can somebody help me please? Many thanks. Andrej

    Hi Jim,
    yes after I imported my .cr2 raw files into new catalog it started to work. Windows 7 still does not recognize them but I can edit them as you said within the Lr5.6 and then export them into .psd or .dng files...as needed.
    I bought Lr5 only because I got present - my new camera Cannon 70D and because my older Photoshop CS5.5 raw plugin does not recognize. cr2 files.
    Many thanks for your help.
    Andrej.

  • When i download a file from the web i get "Anti-Virus Program not found " message. This has been happening since I change anti-virus programs for CA etrust to Sophos. How do I get Firefox to recognise my new Anti-virus program?

    every time i download a file from the web (ie. a PDF file) i get "Anti-Virus Program not found " message. This has been happening since I changed anti-virus programs for CA etrust to Sophos. How do I get Firefox to recognise my new Anti-virus program?

    That is a very good warning provided by the Download Statusbar extension. Something like that should been built into Firefox. I filed this Bug report a couple of years ago, about the lack of a warning like that. <br />
    https://bugzilla.mozilla.org/show_bug.cgi?id=480855 <br />
    I have looked everywhere that I can think of to find a list of '''IOfficeAntiVirus providers''' ''(as mentioned in the Bug report)'' that will work with Firefox, so I can't answer that for you.
    You might want to ask the developer of the Download Statusbar extension about it. He might know which AV programs are compatible with the Windows API that Firefox uses for the download scan. <br />
    http://dlstatusbar.proboards.com/index.cgi? <br />

  • Advice needed: what does your company log for SAP security role changes?

    My client has a situation where for many years, they never logged changes to SAP security roles.  By that I mean, they never logged even basic details, like who requested a change, tested it, approved it, and what changed!!  Sadly their ticketing system is terrible, completely free-form text and not even searchable. 
    Does anyone here use Word docs, Excel sheets, or some other way to capture security role change details?   What details do you capture?  What about Projects, that involve dozens of changes and testing over several months?
    I plan to recommend, at least, they need to use a unique# (a ticket#, or whatever) for every change and update the same in PFCG role desc tab, plus in CTS description of transports... but what about other details, since they have a bad ticketing system?  I spoke with internal audit and change Mgmnt "manager" about it, and they are clueless and will not make recommendations.  It's really weird but they will get into big trouble eventually without any logs for security changes!

    Does anyone here use Word docs, Excel sheets, or some other way to capture security role change details? What details do you capture? What about Projects, that involve dozens of changes and testing over several months?
    I have questions:
    a) Do you want to make things straight
    b) Do you want to implement a versioning mechanism
    c) You cannot implement anything technical, but you`re asking about best "paper" practise?
    The mentioned scenarios can be well maintained if you use SAP GRC Solutions 10 (Business Role Management)
    Task Based, Approvals, Risk Analysis, SOD and role generation and maintenance in a structured way (Business Role Management). Workflow based, staged process with approvals.
    PFCG transaction usage will be curtailed to minimum if implemented fully.
    Do we really want to do things "outside" PFCG?
    @all:
    a) do you guys use custom approval workflows for roles?
    b) how tight your processes are? how much paperwork, workflow, tickets, requests and incidents you have to go through to change a role?
    c) who is a friend of GRC here, raise your hand
    Cheers Otto
    p.s.: very interesting discussion, I would like to learn something here about how it works out there in the wild

Maybe you are looking for

  • CIF blocks with multiple R/3 systems

    Hi,       We are in SCM V5 and we have two R/3 systems connected to one APO system. Theya re two different BSGs, with totally different integration models as well. We are using APO outbound queues for both the R/3 systems. The question is, does a CIF

  • Using Geometry Functions in Spatial

    Hi, I met a problem using geometry function in Oracle Spatial. For example, when I use the function of SDO_GEOM.SDO_DISTANCE, I have to write this way: SDO_GEOM.SDO_DISTANCE(a.point, m.diminfo, b.point, m.diminfo) That means both points have to be a

  • Binary message via UCP

    Hello! I have a strange situation: I use smsj api (http://smsj.sourceforge.net/ - with some changes) to send binary sms to a midlet using UCP/EMI. When i send a binary message the message is not dispalyed(is not received) on Nokia phones (i tested on

  • Correcting employee type?

    I am not a functional guy. An employee was rehired on 19-May-2008, but somehow her effective start date only shows as 1-June-2008. And thar influences her leave accrual. Now my question is: how can i change the effective start date back to 19-may-200

  • Update Flash Player On 5800

    Hello Guys! I got my Nokia 5800 for like 4 days ago. Yesterday I tried to surf on a Game site (www.miniclip.com) with only flash games, but I couldn't play any game because I got Adobe Flash "F" Logo with number 9. I think I need the new one flash. S