PFCG role creation and input from users

I know that when you create a new role and add transactions to the menu you will get some default authorization objects in the role.
After that you will need to fill out activities for transactions;
For ex: display, create, change
I also know that during testing when you run /nsu53 you will need to add some additional objects in the role.
If the user does not know which activites he/she need or even for example for order types
OR, ZNON, KE
How can i help if the user does not know what he/she needs.
The way I'm doing this currently is by giving the user the transactions he/she needs and then have them run /nsu53 and I fix the problem.
Thanks
jo

Jo,
As I have worked in situtations similar to the one you describe where the user performing the testing doesnt know which activites/values they need access to contribute to productive role build/testing sessions. Some of the things I have done to help them are:
1) Educate the user on the Authorization Object and Fields. You can typucally hit (F1) for more information related to the object/field.
2) Tie the object values back to actual SAP Tables with data to show user configuration of the system and values that are options.
3) Find someone from the process/business side who understands the requirments or has done the configuration to support the process and have an educational/testing session together.
Thanks.
Matt

Similar Messages

  • How to  Get input from  User and Display it's Value

    Hi ,
    I need to get 2 inputs from user and to display it's Mutilple Value.
    The Below Code is working fine to get 2 Input's from user,but it display a Junk value as a Result .How to
    overcome this Problem. I need to display it's Mutilple(a*b) value of "a " and " b".
    import java.io.*;
    class Mul{
    static int a=0;
    static int b=0;
    static int Count=0;
    public static void main(String args[])throws IOException{
    BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
    do{
    a=(char)br.read();
    Count++;
    b=(char)br.read();
    if(Count==2)
    System.out.println("The Multiplied Value is "+a*b);
    }while(Count<2);
    }

    Changed to Integer but still the problem persists.
    import java.io.*;
    class Mul{
    static int a=0;
    static int b=0;
    static int Count=0;
    public static void main(String args[])throws IOException{
    BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
    do{
    a=(int)br.read();
    Count++;
    b=(int)br.read();
    if(Count==2)
    System.out.println("The Multiplied Value is "+a*b);
    }while(Count<2);
    }

  • How to Get Input From User and Display Result

    Hi ,
    I need to get 2 inputs from user and to display it's Mutilple Value.
    The Below Code is working fine to get 2 Input's from user,but it display a Junk value as a Result .How to
    overcome this Problem. I need to display it's Mutilple(a*b) value of "a " and " b".
    import java.io.*;
    class Mul{
    static int a=0;
    static int b=0;
    static int Count=0;
    public static void main(String args[])throws IOException{
    BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
    do{
    a=(char)br.read();
    Count++;
    b=(char)br.read();
    if(Count==2)
    System.out.println("The Multiplied Value is "+a*b);
    }while(Count<2);
    }

    Hi ,
    I need to get 2 inputs from user and to display it's
    Mutilple Value.
    The Below Code is working fine to get 2 Input's from
    user,but it display a Junk value as a Result .How
    to
    overcome this Problem. I need to display it's
    Mutilple(a*b) value of "a " and " b".
    import java.io.*;
    class Mul{
    static int a=0;
    static int b=0;
    static int Count=0;
    public static void main(String args[])throws
    IOException{
    BufferedReader br =new BufferedReader(new
    InputStreamReader(System.in));
    do{
    a=(char)br.read();This line will get you the ascii-value of the typed character.
    This line will not get you the value typed in.
    Try looking for Integer.parseInt()...
    Count++;
    b=(char)br.read();
    if(Count==2)
    System.out.println("The Multiplied Value is "+a*b);
    }while(Count<2);

  • Get input from user and create a file and run a script in command line.

    Hi all,
    i'm trying to get a input from user and write it into a file named alpe.jacl
    To get multiple userinputs like address and jobtitle etc etc in the same single window.
    and the code will save the inputs in alpe.jacl one by one in a new line like
    nameis name
    address russia
    jobtitle dev
    So i coded like below.
    Though GUI for user input looks dull Its working fine.
    Now I want this code to perform one more task which is the GUI will contain one more button INSTALL with OK and CALCEL .
    and when after putting all inputs and creating the alpe.jacl file if someone clicks INSTALL it should start ./install.sh script present at the same folder which contains some unix shell commands.
    Here am not able to figure out how to go further...
    One more thing after all the inputs given when I am clicking on the OK button its closing the window instantly which i dont want. I want it like it should wait till someone press CANCEL to exit.
    Please some one help me.
    import javax.swing.*;
    import java.io.*;
    public class file
    public static void main(String []args)throws IOException
    FileWriter ryt=new FileWriter("alpe.jacl");
    BufferedWriter out=new BufferedWriter(ryt);
    JTextField wsName = new JTextField();
    JTextField sName = new JTextField();
    JTextField cName = new JTextField();
    Object[] message = {    "Web Server Name:", wsName,"Server Name:", sName,"Cluster Name:", cName};
    int answer = JOptionPane.showConfirmDialog(    null, message, "Enter values", JOptionPane.OK_CANCEL_OPTION);
    if (answer == JOptionPane.OK_OPTION){    String webserver = wsName.getText();
    String server = sName.getText();
    String cluster = cName.getText();
    out.write("set webservername " +wsName.getText()+"\n");
    out.write("set ClusterName " +cName.getText()+"\n");
    out.write("set ServerName " +sName.getText()+"\n");
    out.close();
    }}Thanks,
    Ricky

    Thanks a lot.
    Is there any way through which i can assign a scroll bar to my panel.
    As when the number of user inputs grows the GUI becomes more bulky and some of the fields are not showing up.
    Cheers
    _Ricky                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can i get input from user in Workflows

    Hello professionals,
    I'm new to SAP B1 Workflow, i have created some workflows and they all worked fine.
    But, I am wondering, How can i get input from user?. For example, i want to display list of options to choose between them and route the workflow based on the selected option. I don't want to use the exclusive gateway and check for some conditions, i want to get input from user.
    How can i do that?
    Thanks in advance,
    Kareem Naguib

    Hi,
    Please refer SAP help file:
    http://help.sap.com/saphelp_sbo900/helpdata/en/b8/1f9a1197214254b79bcf8f93f9fff9/content.htm?frameset=/en/44/c4c1cd7ca22…
    Thanks & Regards,
    Nagarajan

  • SAP BPC - Intercompany reconciliation - IC accounts - Input from user?

    Dear All,
    When doing consolidation(of investments), we need to reconcile IC transactions prior to consolidation process. I believe, there are specific accounts which are specific to IC transactions. These IC related accounts must be identified and used in the business rules during reconciliation process.
    My question is:
    During requirements gathering, even if I(SAP BPC Consultant) know those IC specific accounts on seeing the chart of accounts, this info./data MUST come from the users as these accounts may vary from company to company. When it is a legal consolidation, it is safer that these inputs are coming from the user and not from the SAP BPC Consultant. This is my understanding.
    Is my above understanding is correct? IC related accounts must be an input from users and not expected from SAP CONS. specialist?
    Correct me if I am wrong.
    Thank you!
    Regards,
    Peri

    Hi Peri,
    Different companies use different charts of accounts and the intercompany group of accounts have to be confirmed by customers finance.
    Vadim

  • Idm-Vaau Rbac role creations and mapping

    Hi All,
    I'm working on the integration between Idm and Vaau's Rbacx (role based access control) tool for role creation and provisioning...I've imported the spml.xml and SPMLGetObjectsform.xml into Idm for the SPML calls between Rbacx and Idm.
    The challenge I'm facing is mapping the attributes of Rbacx roles to enable the attributes to be populated in Idm...I'm able to export roles into Idm, but they are not populating with any attributes eg. resource type, resource attribute etc. I'm uncertain as to where I have to map these properties and do any customization for this to work. I would appreciate if anyone who has worked on this or know how to do this, to pls give me some pointers/share your experience. I don't have any documentation to refer to and am doing everything on trial and error basis.
    Any help is greatly appreciated!
    Thank you.

    Hi newbie,
    Were you able to solve this issue? I am facing the same problem while assigning resource attributes for a created role using a custom workflow.
    This is where I set the resource attributes in my workflow:
    <Action id='1'>
    <expression>
         <block trace='true'>
         <set><ref>role</ref><s>assignedResources[AD].attributes[AD Groups].valueType</s><ref>ADGroupsValueType</ref></set>
         <set><ref>role</ref><s>assignedResources[AD].attributes[AD Groups].requirement</s><ref>ADGroupsRequirement</ref></set>
         <append><ref>role</ref><s>assignedResources[AD].attributes[AD Groups].value</s><ref>ADGroupsValue</ref></append>
         </block>
    </expression>
    </Action>
    where <ref>ADGroupsValue</ref> contains the attribute value.
    thanks,
    Lokesh

  • Read input from user and strore in ztable

    Hai,
        could you please give some examples of How to read the input data from user and store in Ztable.
    Thanks

    Hi Prasanna,
    If i understood your requirement correctly,
    The below code will insert record in DB table as soon as you enter the value in two fields and press enter button .
    Go through the below code,
    <b>In Layout</b>
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "first page ">
        <htmlb:form>
          <htmlb:inputField  id="field1"/>
          <htmlb:inputField  id="field2"/>
          <htmlb:button       id="submitButton"  text = "Press Me"
                              onClick       = "myClickHandler" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>In Oninputprocessing event</b>
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
      data : begin of wa,
             matnr type mara-matnr,
             ersda type mara-ersda,
             end of wa.
      event ?= CL_HTMLB_MANAGER=>GET_EVENT( runtime->server->request ).
      IF event->id = 'submitButton' AND event->event_type = 'click'.
        DATA: data TYPE REF TO CL_HTMLB_INPUTFIELD.
        DATA: data1 TYPE REF TO CL_HTMLB_INPUTFIELD.
        data ?= CL_HTMLB_MANAGER=>GET_DATA( request = runtime->server->request
                                               name     = 'inputField'
                                               id       = 'field1'
        IF data IS NOT INITIAL.
         value = data->value.
          wa-matnr = data->value.
        ENDIF.
        data1 ?= CL_HTMLB_MANAGER=>GET_DATA( request = runtime->server->request
                                               name     = 'inputField'
                                               id       = 'field2'
        IF data1 IS NOT INITIAL.
         value = data->value.
          wa-ersda = data1->value.
        ENDIF.
       insert into ZAZAZ_BSP CLIENT SPECIFIED values wa.
      ENDIF.
    Regards,
    Azaz Ali.
    Don't forget to reward points.

  • Mass role creation and addition of tcodes to role menu

    Hi Folks,
    We've a requirement of building 1000's of single roles for an implementation. Our security matrix is ready with the role names and the list of tcodes to be embedded in each of these roles. What I would like to know is if we can automate a part of the process of role building i.e the following 3 steps only.
    1. Creation of the Role
    2. Addition of the tcodes in the role menu
    3. Save
    I'm aware of Ecatt/LSMW through which we can create the roles but i'm not sure if we can add the tcodes to the menu of the roles since the number of tcodes to be populated in each role will vary.
    Could anyone of you shed some light if it is possible to automate the addition of  tcodes to the role menu taking into consideration that each role will have different number of tcodes to be added to the menu and what's the best possible way to achieve this if there exists one.
    Thanks in advance for your time and suggestions!
    Guest...

    Whilst I agree that there are probably too many roles being built here, which is more of an issue with the role design / strategy, the issue of how to easily create a role for a given list of transactions is something that SAP supports via the import menu from text file option in PFCG.
    Yes you may need to write a script to cycle through all the possible role names, but we have recently had to build some roles based on actual usage, so exported transaction usage history to excel and then formatted the transactions into text files that could be imported to build the role menu.
    You will still then need to ensure any object authorisation object have the correct values set - i.e. not just starred in - but as one of the pains in build a role is getting the menu to look reasonable, I'd suggest having a look at this approach.
    Copy Menus -> Import from File is the function in PFCG in the menu tab for the role you are building
    OSS note 389675 has details of what the text file of transactions for the menu should look like.
    That should answer the question posed, rather than criticising the role design being followed.

  • Role creation and modification report

    Hello everybody!
    The SOX Audit requested this information:
    A list from all roles, with creation and modifications date (not when a user is added, but when the role was changed).
    How can I find this? I tried on SUIM / modification docs, but could not found.
    Thanks in advanced!

    Check this table AGR_DEFINE has the details, but you may need to write some kind of coding  or use function module  /ISDFPS/GET_AGR_DETAILS to pull the data. If I come across any standard report I'll pass on.
    rgds,
    asok

  • AC ERM : role creation and how to delete ungenerated roles

    Hi,
    When you work on a role from ERM, the role is created in the back end. It will be generated only at the generation phase. But what if finaly it is decided not to generate the role, is there a way to delete the role in the BE from ERM?
    It seems the only way is to go in PFCG and delete the role manualy?
    Regards

    Hello Vincent,
    There are different tables in which the roles for RE (in frontend RE, frontend tables) and where the roles in R/3 are stored. That is, it might be that even if you are generating all the roles from RE, at a particular time the list of roles in RE is greater than number of roles in R/3 Backend. This is because:
    RE roles = Generated roles (which exist at backend as well)+Ungenerated roles (which are in RE only till that particular time).
    Here ungenerated roles would mean the roles which you have not yet generated in RE.
    Thus, __deleting roles from R/3 and RE are two separate things__.
    1. To achieve the deletion the role from Backend (R/3) you should create a request in RE to remove this role from all the users currently attached to it as there is no way possible to delete the role from R/3 by creating a request from RE. Doing this would still have the role in R/3 but with no user assigned.
    2. To delete the role from RE tables, so that you do not see it again, you can Search for the role, select it and then click on the "Delete" TAB. This will delete the role from the RE tables.
    Now, for the clenliness of your R/3 system, in case you do not want to see these roles in R/3 too, you can schedule a BG job to delete this or do a mass delete of all these roles say every fortnight or at whatever frequency as desired by your management.
    Regards,
    Hersh.

  • 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

  • Auomatic TO creation and confirmation from PCN with 321 MVT type

    Dear Friends,
    I am facing following WM issue, Kindly go through it and reply me with your valuable solution.
    In my plant QM is active, so while receiving goods against any Purchase Order (MVT TYPE 101), all my stock goes to quality. After UD check, 99% material move to unrestrictd stock (321 mvt.type) and 1% used for quality (331 mvt. type).
    For an example if I have received 1000 kg material (which initially goes to quality), after UD 995 kg material come to unrestricted stock and 5 kg used for quality check.
    In my existing system for material document with mvt. type 321, one PCN is generated in the background, and using LT05 we make TO from PCN and confirm it.
    But is it posible to create the TO and confirm from the PCN (Mvt. 321) in the backgroung itself, i mean to say that while my QM user is doing UD, material document with mvt 321, one PCN and TO will be generated and TO will be confirmd in the background itself.
    I don't want to use LT05  separetely to make TO from PCN.
    Please reply me soon.

    You need to make the config settings here in ur system.
    SPRO > Logistics execution >  WM > Interfaces > Inventory Management > Activate Automatic TO Creation
    Assign the relevent setting to movement types...
    Hope thsi helps
    Thanks & regards
    AHP

  • Need help with ouput of a list or array of numbers input from user

    I'm only a few weeks into learning java, so this may seem simple to some, but...
    I am trying to write a program that will receive numbers from a user,
    and then list, add, average those numbers. I've got the program to
    work except for listing the numbers that were input.
    Can someone help guide me????
    i've left the code I've tried in as comments.
    Enter an integer value, the program exits if the input is 0:
    20
    Enter an integer value, the program exits if the input is 0:
    40
    Enter an integer value, the program exits if the input is 0:
    60
    Enter an integer value, the program exits if the input is 0:
    80
    Enter an integer value, the program exits if the input is 0:
    0
    Total numbers entered: 4
    The array of numbers is: 0 0 0 0
    The sum is 200
    The average is 50
    The maximum number is 0
    The minimum is 0
    Here is my code:
    * Title:        Reads integers and finds the total, average, maximum of the input values
    * Description:
    * Copyright:    Copyright (c) 2002
    * Company:      Duke Court.
    * @author Mary Davenport
    * @version 1.0
    public class part3page6
      public static void main(String[] args)
      int data = 0;
      int sum = 0;
      int countnum = -1;
      int maximum = 0;
      int minimum = 0;
      int average = (countnum - 1);
      do
          System.out.println("Enter an integer value, " +
            " the program exits if the input is 0:  ");
          data = MyInput.readInt();
          sum += data;
          countnum++;
        } while (data != 0);
          //in order to figure the max & the min it appears that the
        //program will need to utilize arrays to store the individual numbers
        //that are input from the user.
        //create an array of the input data
        int[] number = new int[countnum];
        //creat a list of the input data
        int []myList = {data};
        //lists how many numbers entered
        System.out.println("Total numbers entered:  " + number.length);
        //list array of numbers -- this is giving me [I@3179c3,
        //instead of 20, 40, 60, 80 when I use "new int[countnum]"
    //     System.out.print("The array of numbers is: "
    //      + new int[countnum]);
        //list array of numbers:  this is giving me " 0 0 0 0 "
           //instead of 20, 40, 60, 80  with the following for statement
           // (number[i] + " ")
        System.out.print("The array of numbers is: ");
          for(int i=0; i<number.length; i++)
            System.out.print(number[i] + "  ");
      //list mylist of numbers from input, 20, 40, 60, 80
      //output is The list of numbers is: [I@3179c3
    //  System.out.print("The list of numbers is: " + myList);
        System.out.println();
        System.out.println("The sum is " +  sum);
        average = sum/countnum;
        System.out.println("The average is " + average);
        System.out.println("The maximum number is " +  maximum);
        System.out.println("The minimum is " +  minimum);

    When you input the data you need to save it to the array. Currently you are not saving the value you are just adding it
    ArrayList nums = new ArrayList();
       do
           System.out.println("Enter an integer value, " +
             " the program exits if the input is 0:  ");
           data = MyInput.readInt();
    nums.add(new Integer(data));
           sum += data;
           countnum++;
         } while (data != 0);

  • Apex_Collection Adding member via input from user

    Good day to all, I have this code how do I add member based on an input from a user via a textfield? I can just add one member only because when i select the collection it retrieves only one data, I want it to add more data based on the user if he enters 5 values I must retrieve 5 values also when I select it. How will I do that? thanks in advance.
    DECLARE
    v_arr apex_application_global.vc_arr2;
    BEGIN
    v_arr := apex_util.string_to_table(:P1_DEPTNO);
    apex_collection.create_or_truncate_collection(p_collection_name => 'PCOL');
    FOR i IN 1 .. v_arr.count
    LOOP
    apex_collection.add_member(p_collection_name => 'PCOL', p_c001 => v_arr(i));
    END LOOP;
    END;Edited by: mang jose on Jan 12, 2011 6:21 PM

    Hi Jose,
    There are only two steps needed. On my page, my page item is P4_DEPTNO (so adjust this for your page):
    1 - Create a process on your page that runs "On Load - Before Header". The process code should be:
    BEGIN
    IF NOT APEX_COLLECTION.COLLECTION_EXISTS('PCOL') THEN
      APEX_COLLECTION.CREATE_COLLECTION('PCOL');
    END IF;
    END;This creates the PCOL collection if it does not exist, otherwise does nothing if it does exist
    2 - Create another process on your page that runs "On Submit - After Computations and Validations". The code for this should be:
    BEGIN
    APEX_COLLECTION.ADD_MEMBER('PCOL', :P4_DEPTNO);
    END;I have set this process to be triggered by my button (P4_ADD_BUTTON in this example) but I have also set it to be conditional on P4_DEPTNO being NOT NULL - so, I have selected "Value of Item in Expression 1 is NOT NULL" and have entered P4_DEPTNO into Expression 1.
    And that is all you should need to do!
    Andy

Maybe you are looking for

  • How do you fix the sound that's not working on an iPad mini?

    OK so the sound on it does not work. It's turned up all the way but nothing is still coming out. When I plug headphones into it, it works just fine and normal but without it, nothing. I looked up on google at the options of how to fix this and they p

  • Icons generic since install of Adobe Reader X

    Hoping someone can help with this, as we are drawing a blank here. Installed Adobe Reader X on to our systems via group policy. Since doing so, most of our machines do not show the adobe icon, instead we get a generic windows logo, attached at the bo

  • Pricing for Purchase Order

    In test system, for a given material & plant combination, does not  have a price in the info record. When we create a Purchase Requisition(PR) then the price from the material master gets populated into the PR .When converting that into a Purchase Or

  • Problem with importing RAW files from camera

    LR 1.3 refuses to import raw files from my camera. Only JPEG's are imported. Got a Canon 350D/Rebel XT. Once I copied the raw files to disk (using Camera Window) Import from disk works fine and converts the CR2 to DNG without a problem. The preferenc

  • Red no longer prints red

    My HP Officejet Pro K5400 no longer prints true red. I am running Vista, but shouldn't matter, it worked fine to begin with. It prints as an orange-rust color. Have cleaned heads twice. All ink cartridges are sufficient. Have even tried adjusting col