ABAP or User Role

How Do Everyone,
One of our SAP people has created a new role and has
granted SAP_ALL & SAP_NEW access to this new role.
However, when he runs one of the ABAP programs it falls
over on the error message:
'opendir: No such file or directory <- CALL (,,..).
When I run the program in debug mode, it seems to be
falling over on the system call:
  call 'C_DIR_READ_START' id 'DIR'    field a_dir_name
                          id 'FILE'   field w_generic_name
                          id 'ERRNO'  field file-errno
                          id 'ERRMSG' field file-errmsg.
Can anyone explain what the heck is going on??
Cheers
Andy

Hi Andy,
It seems the directory or file does not exist that you are trying to read.
Also it could be no server (UNIX) access/permission for the user to read a file/directory. Please check with your system admistration.
Regards,
Ferry Lianto

Similar Messages

  • ABAP User Roles and Query for accessing particular T- codes and Reports

    dear Gurus
    I have one problem, i want to know about ABAP User Query ,i have one requirement my user wants to Lock all the HR Std versus Customized reports in T- code SQ01,other department peoples also see the Payslips and Hr personal reports which is harmfull to the dept so i want to Lock all the reports in Std T- code in SQ01 and i have created one Customized User Roles or Query in which the T-codes and Reports are assigned only those particular user can access the T-codes and Std reports .how can it be possible i dont have any idea about user roles and Queries .
    kindly help me out or send me some documents related to user roles and queries
    regards ritesh sharma

    Hi Ritesh,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/103cafc2-7a64-2b10-14b3-eddb7d324561
    Regards,
    Flavya

  • Assign SQ03 Abap Query User Group to role

    Please advise how to assign SQ03 Abap Query User Group to a role. Thanks.
    Moderator message: please do more research before asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 12, 2011 5:40 PM

    Hello Sunil,
    The problem is that I have hundreds of users to maintain user groups.
    found out that it is possible to assign user group to role and role to user groups. implementing hr authorization with in-direct assignment of auth. So if I could use sq10, user groups could also be link to position in the org chart.
    sq10 does allow you to assign a user group to a role but when you assign the role to a user and the user runs a query, it reports that no user group has been assigned.
    Suspect that there must be a parameter or switch that is not turned on
    Regards

  • ABAP Service Users  not working - important

    Hi,
    I installed finally BPC 75 NW, and I cannto get ito the application for the 1° time because I have several issues.... I get the error "The user ID, password  cannot be authenticated. Make sure you entered valid credentials".
    On Server Mgr. i get 2 errors " Sap server connection : database connection"  and "ms message queue:  queue name:  .private$BPCstatusmessagequeue".
    I have done eveything in order to solve this... but... after a lot of research I found a note where it is suggested to uninstall, however I still want to change some parameters as described in the installation guide, I hope you can please help me to clear this:
    Manual, page 43, installation for NW.
    - ABAP service users can be locked as a result of the install.
    - Check and unlock users, use SU01, press Ctrl + F5  (done, not a problem)
    - Check that COM + Components exist (done)
    - Check interfaces (this means changes in Pooling & Recycling?)
    - Check that librfc32.dll is set up appropiately (I had the problem during install where i needed to reassign this dll, now is not an issue  unless there is something else to check that i am not aware of)
    - IIS Port (80 by default right?)
    - ServerConfiguration.config for the correct username and system info (cant find this file)
    - Registry Entries on 32 and 64 bits (how can I do this)
    - Check C:windowssytem32driversetchosts file to ensure that a fully qualified domain and IP resolution exists (what exactly do i need to check)
    On server mgr also I have for  COM+ components " domain system administrator with which i installed  & password"   is this right?
    Thanx in advance, it is really important.
    Velázquez

    Hi,
    Thanx for the feedback !! really appreciate it. Here is the response:
    The COM components are ok, as well as the MSMQ and every other component you mentioned (also reinstalled it). I reactivated all "dictionary" to the 3 users created in ABAP, changed role to communication, and give SAP_ALL permission.
    In the machine, changed the Default web site to port 81 (to let BPC website take port 80)
    Reinstalled  NET 2.0, set all components for BPC website to Net 2.0
    Created the 3 abap users in domain and gave in both systems  the same password.
    Entered in the machine as the administrator user (also administrator in Netweaver) and started the installation without trouble.
    After that, tried to run the server diagnostic but this user was lacking permits, so I added the 3 users (abap) in the local machine as administrators, in a  new group called BPC (only giving the administrator role). Entered now in the machine as BPC_SYSADMIN and ran the Server Diagnostic without trouble.
    After doing this, I now am facing an issue trying to add users to the 1° appset... choosing the domain users... however someone mentioned that this is related to the NET tier, is it better to reinstall this tier completely or at least try with NET 1.1, but im just about to find out.
    Thanx again for the response.
    Velázquez

  • User roles in Integration Repository

    Hi everybody,
    does anybody have experience with user roles in XI 3.0? We want to limit access to various namespaces in the Integration Repository with use of these roles that can be created in the IR. That way, various XI developers working on the same XI-Repository should not be able to work in the namespaces of other developers.
    We created the role in the IR and assigned it to a user in the J2EE Engine. But so far, it doesn't seem to work.
    Am I missing something??
    Thanks a lot,
    Francis Wolf

    Hi,
    it looks like the integration to the "abap" backend (=IS-Server) is missing.
    J2EE-R3 integration regards user management maps R3 roles onto J2EE user groups. Thus, if the term "role" is used in R3 context, it has to be translated to "user group" in J2EE.
    Next steps:
    1. Create user in "R3", with transaction SU01.
    2. In "R3", create a role with transaction PFCG
    3. UME Admin WebApp: assign role to user group
    4. XI Exchange Profile WebApp: activate data-dependent authorization checks. Put: com.sap.aii.util.server.auth.activation" in section "IntegrationBuilder.Repository" to true
    Please check the documentation on Netweaver security and Integration of UME Roles with SAP Roles
    Hope that gives an idea!
    Good luck
    Holger

  • Integration Builder - Repository - Users - Roles

    Is it possible to come up with ABAP role with the help of which he can login to Integration Repository but can not change any of the objects but for the one in a specific component.
    I could make it work where the user is given SAP_XI_DEVELOPER role and  I can restrict him to access some objects using another Role that I built in IR. I know about excluding him full edit access etc. This is like giving him full access with modify permissions with SAP_XI_Developer and excluding him permission on some of the objects.
    I tried to give a test user SAP_XI_DIPLAY_USER and then giving him include-fulledit on a specific Software component. But this did not work.
    If anybody worked on this please let me know.
    Regards
    Mike

    Hi Michael,
    Yes it is possible, this is what i found on help.sap.com,
    To make changes to authorizations on the ABAP side, proceed as follows for each dialog user role:
           1.      Call transaction PFCG.
           2.      Copy the single role SAP_XI_<role>_ABAP into the customer namespace (replace the prefix SAP).
           3.      Create a new composite role in the customer namespace (for example, *_XI_<role>).
           4.      Assign the new single role (suffix _ABAP) to the new composite role.
           5.      Assign the new SAP single role (suffix _J2EE) to the new composite role.
           6.      Make changes to the new single role (suffix _ABAP).
           7.      Generate an authorization profile for the new single role (suffix _ABAP).
    Basically what is important is that the single roles with a J2EE suffix are still assigned to the current composite role. These J2EE single roles are known to the J2EE applications and are required for automatic authorization assignments during deployment.
    I hope it helps,
    Thanks,
    Varun

  • User role to access configuration management in NWA

    Hi,
    What USER role is required to create the destination information in configuration management in NWA. When I access NWA, I only have access to SOA management which has only Monitoring tools with role SOA technical ADmin.
    I need this to convert IDOC XML to flat file.
    thanks
    Prashanth

    Hi Prasanth,
    I am not sure about the exact role but, the ABAP role "SAP_NWA_FULL" & Java role "NWA_SUPERADMIN" will certainly help. This is the role that i had when i was trying a similar scenario.
    Please take a look at the following link which might be helpful:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/45/c7ca8e89e45592e10000000a1553f7/content.htm
    You can infact ask your Basis team to help you out with this.
    I hope this helps.
    Regards, Gaurav.
    Edited by: Kumar Gaurav on Nov 9, 2010 5:57 AM

  • Provisioning of roles to ABAP system deletes role assignments in backend

    Hi all,
    following scenario:
    user has role A in an ABAP system which is connected to IDM. Assignment of role A to the user is not in the identity store.
    Now you assign role B via workflow to the user and IDM provisions this new assignment to the ABAP system.
    What will happen is that the user will get role B but assignment of role A will be deleted.
    This happens because in the job "SetABAPRole&ProfileForUser" the connector attribute "roles" will only consist the role assignments which are in the identity store. All assignments in the ABAP system which are not yet in the IDS will be overwritten.
    This behaviour can be very critical. If you still allow role assignments directly in the backend system and you read these assignments e.g. once a day to the IDS - but in the meantime assignments have been done via workflow - you will lose data.
    My customer wants to assign roles both directly in the system and also by workflow. Every night an ABAP update job runs which writes new assignments to the IDS.
    Do you have any idea how I could solve this? Is there a way NOT to overwrite assignments with the ABAP connector field "roles"? I tried to use multivalue operator but this didn't do the trick.
    I hope I was able to describe my problem properly and you have answers...
    Best regards
    Jörn Kaplan

    No, there is not a way to avoid that IdM replaces the role assignment in ABAP with the current assignments as know by IdM. IdM is the master!
    This is not directly an issue of IdM: The standard BAPIs in ABAP (up to release 7.0) offer "replace all role assignments" but not "add role assignment" or "remove role role assignment".
    However, there exist an exception: Role assignments in ABAP which are created indirectly by an HR-ORG assignment are not touched by IdM. (There role assignment are viewed in blue in transaction SU01.)
    See  http://help.sap.com/saphelp_nw70/helpdata/EN/50/e9683c5de8676fe10000000a114084/frameset.htm for details.
    Kind regards
    Frank Buchholz

  • BAPI (FM) to maintain User Roles

    Hello ABAP Experts,
    I´m looking for a BAPI or FM which could create/change the Users Roles, like in TX PFCG.
    Backround: We like to change the area menus in users roles in a nightly batch job.
    Has anybody an idea? Thank you very much in advance.
    Kind regards
    Axel

    Hi Micky,
    thank you for reply.
    the function group and function module your mentioned is just to change/create a role assignment in user masterdata (TX SU01) but not to change/create the role (TX PFCG) itself.
    Any other ideas?
    Best regards
    Axel

  • Changing User Roles

    Hi,
    I need to change the user roles from Admin to some other roles from transaction. Is it possible to do this without going into UME and java codes? How to do this from BLS transaction?
    Regards,
    Senthil

    Sentil,
    I do not know BLS, but if you are trying to change Java users then you have to use a Java application like the UME identity management application to change them. You can change ABAP users with this application if the data source of the UME is the ABAP system in question. The standard ABAP tools for managing users and roles are SU01 and PFCG. Does that help?
    -Michael

  • MM End user roles Segregating - Suggestions

    Dear SAP Experts,
    In our company, Purchase Dept 10 persons are using SAP MM Screen. We would like to minimize the work as well as for logging in SAP Screen usage.
    Kindly tell your all suggest that, Work profile allocating on daily basis, so that we can control manpower, work allocating and SAP Screen logging.
    Kindly send your all suggestion for end user roles - How to do and Who should do and When can do.
    Awaiting your valuable suggestions.
    Thanks & regards,
    Ramana

    Vendor Master - Display
    Material Master - Display
    Condition Master - Display
    Inforecord - Display
    Maintain Source List
    Display Source List
    Purchase Req - Create
    Purchase Req - Change
    Purchase Req - Display
    Purchase Req - Release
    Purchase Order - Create
    Purchase Order - Change
    Purchase Order - Display
    Purchase Order - Release
    Stores Dept Transactions
    Goods Receipt for PO/Return Delivery to Vendor
    Transfer Posting
    Goods Issue
    Inventory Stock Reports
    Display material document
    Capture of Excise Invoice
    Create/Change/Display Depot Excise Invoice
    Create Sub-contracting challan
    Change Sub-contracting challan
    Display Sub-contracting challan
    Reconcile Sub-Conrating challan
    Complete/Reversals/Recredit of S/C Challan
    Depot Stock With Balances
    Annexure IV Report
    Excise Dept Transactions
    Excise Master Maintainance
    Update RG1 Register
    Extract & Print Excise Registers
    Create Tax Code
    Sales Tax register
    Reversal of Excise duty for rejected items
    Change/Posting of Excise Invoice
    Monthly Utilization
    Excise JV'S
    List of Excise Invoices
    Invoice Verificaiton
    Enter Invoice
    Park Invoice
    Invoice Verification in Back Ground
    Display invoice Document
    Cancel Invoice Document
    Release Block invoices
    Display list of invoices
    Invoice Overview
    Output Messages
    Evaluated Receipt Settlement
    Automatic Delivery cost settlement
    Invoicing plan Settlement
    GR/IR account Maintaince
    Display/Cancel Account Maintaince Transaction
    Change Material document
    Enter Goods Issue
    Enter Transfer posting
    Enter other goods receipt
    Create Reservation
    Change Reservation
    Display Reservation
    List Display Reservations
    Reservation list inventory management
    Goods receipt for order
    Plant Stock Availability
    Stock on posting date
    Shelf life list
    Output from goods movement
    Stocks at sub contractor
    Enter return delivery
    Cancel material document
    Material analysis-stock selection
    Material analysis-receipts/issues-selection
    key figure:Slow moving terms
    Key figure:stock value
    Key figure-Dead stock
    Stock requirements list
    Changes to source list
    Reorganize source list
    Source list for material
    Changes to purchasing info record
    Quotation price history
    Info records per vendor
    Info records per material
    Purchase order price history
    Release(Approve) purchasing documents
    Purchasing documents for material group
    Purchasing documents per project
    Purchasing documents per account assignment
    Purchasing documents per vendor
    Purchasing documents for material
    Purchasing documents per document no.
    SC stock monitoring for vendor
    Purchasing documents per supplying plant
    Create Contract
    Change Contract
    Display Contract
    Purchasing documents for material group
    Purchasing documents per vendor
    Purchasing documents for material
    Create RFQ
    Change RFQ
    Display RFQ
    Maintain Quotation
    Display Quotation
    Price comparison list
    Purchasing documents per requirement tracking no.
    Purchasing documents for material group
    Purchasing documents per vendor
    Purchasing documents for material
    Purchasing documents per document no.
    RFQs per collective no.
    Release:Purchase requisition
    Collective release of purchase requisitions
    Assign source of supply to requisitions
    Assign and process purchase requisitions
    Ordering:Assigned purchase requisitions
    Automatic creation of purchase orders from requisitions
    List display of purchase requisitions
    List display of purchase requisitions
    Maintain vendor evaluation
    Calculate scores for semi automatic & automatic sub criteria
    Evaluation Comparison
    Ranking list of vendors
    General evaluations
    Analysis of purchase order values
    Message output
    Message output
    Create physical inventory document
    Change physical inventory document
    Display physical inventory document
    Enter inventory count
    Change inventory count
    Display inventory count
    Post inventory difference
    Post count and difference
    Enter recount
    List of inventory differences
    Print physical inventory document
    Physical inventory list
    Selected data for physical inventory documents w/o special stock
    Display vendor
    Service entry sheet
    Display changes
    Extend material view(s)
    Materials list
    Close period for material master records
    Price change
    Debit/credit material
    Revaluation with logistics invoice verification
    Display inspection lot
    Display usage decision
    Inspection lot selection
    Create quality cert receipt
    Change quality certificate
    Display quality certificate
    Record results
    Change results
    Display results
    Result printout
    Display QM Info Record
    QM Info Record Collective Processing
    Create notification
    Change notification
    Display notification
    Display inspection plan
    Task list changes
    Display master inspection characteristic version
    Display material specification
    Maintain Service Master
    Display Line Items (Vendor)
    Display Balances (Vendor)
    Due Date Analysis for Open Items
    List of Vendor Line Items
    Print Subcontracting Challan
    Country India Localization Menu
    Down Payment Request - Header Data.
    List of Vendors Purchasing.
    Information System
    Create Vendor (Centrally)
    Change Vendor (Centrally).
    Display Vendor (Centrally)
    Vendor Account Changes.
    Block / Unblock Vendor.
    Flag for Deletion Vendor.
    Change Account Group.
    Create Vendor.
    Change Vendor
    Vendor Account Changes.
    Block / Unblock Vendor.
    Flag for Deletion Vendor.
    Planned Vendor.
    Planned Vendor A/C. Changes.
    Display in future Vendor.
    Create Info Record
    Change Info Record.
    Changes to Purchasing Info Record.
    Flag Info Record for Deletion.
    Change Document.
    Invco. Stck/reqt. Analysis - Selection.
    Purchase Register.
    Converting SAP Script (OTF) or ABAP List Spool job to PDF.
    Display Document.
    Pick list
    Message Output.
    Release Purchase Requisition
    Stck/Reqt Analysis Selection
    Release Purchase Order
    Release purchase order

  • Reg SAPJSF User role issue

    Dear Experts,
    I'm trying to disable password based log on for certain users in Portal and Portal uses the ABAP Stack as the repository (IT is a dual stack system).
    But when i log in as j2ee_Admin user and try to do this in the "Identity Management" section, i get the following error message
    "An error occurred in the persistence. The original message (possibly not translated) was: "Cannot update user UACC.R3_DATASOURCE.USER3 in ABAP backend system. Reason: The UME/ABAP adapter has recognized that the communication user is only assigned to the read-only role SAP_BC_JSF_COMMUNICATION_RO (or no role at all) in the backend system. Therefore UME was set to read-only mode for users from the backend system. See SAP Note 908911 for further information.". Contact your system administrator"
    I have checked the SAPJSF Roles too and i see the following there under "Assigned groups"
    Everyone
    SAP_BC_JSF_COMMUNICATION_RO
    SAP_BC_JSF_COMMUNICATION
    Authenticated Users
    Please let me know the way to overcome this problem.
    Regards,
    Karthik

    Hello Karthik
    According the SAP note 905188 - "Password change for ABAP users fails"
    "If the communication user (default name: SAPJSF) has the 'read-only'
    role (SAP_BC_JSF_COMMUNICATION_RO) in the ABAP system, users are no
    longer able to change their own password.
    This error is corrected with the following Support Packages:
        o  NetWeaver 2004: Support Package 16
        o  NetWeaver 2004s : Support Package 07
    Until the corrections are available, the following workaround is
    possible: Assign the additional role SAP_J2EE_GUEST to the communication
    user in the ABAP system and restart the J2EE Engine.
    This does not affect the authorizations of the communication user in the
    ABAP system."
    Please try to apply the note quoted above. I hope to help you!
    Álvaro Ferreira Raminelli

  • How to add a BSP application to user role

    What is the procedure to add a custom 'Zbsp' BSP application to the user role in PFCG Transaction code ?
    When we add a transaction or report. it is working fine.
    Please Suggest to add BSP application  by defining required parameters

    Hi Raja,
    The  BSP application which i have created used to access a custom based abap program by means of  Ztransaction or Z internet service.
    In SRM, I want to assign this BSP application page which has link to the abap program to SUS suppliers portal page . i.e add to the particular user role.
    When i try to add this application to the user role in PFCG , it asks for the parameters action-id menu no and controller name.
    These are all used in the standard BSP appliaction say SRMSUS  bsp application..
    Suggest what values should i give it to access this BSP application to the particular user role..
    If you have questions in my requirement, do ask me.
    Thanks in advance

  • Restrict GL / Cost Centre combinations for users/roles?

    Hi,
    Please could someone advise if it is possible to restrict Cost Centre and GL Account combinations during PO creation for specific users/roles?
    For example:
    Valid Combinations:
    CC A1  GL 99
    CC B2  GL 88
    Scenarios:
    Create PO with A1, 99   -> Allowed
    Create PO with B2, 77  -> Not Allowed
    I've found a related post, but not exactly my requirement - any other thoughts?  Or has anyone done this themselves?
    Authorisations - User Profile for purchasing - restrict by cost centre

    Use the user exit MM06E005 to control the CC and G/L for user dependent.
    to do that - ask ABAPer to create the custom table for user, CC and GL combination and let teh user exit read the combination from the table and give a error or warning based on your requirements.

  • How to hide custom fields in Shopping cart depening on user role

    Hi,
    We have some custom fields in shopping cart for basic view. Every thing works fine. Now client is asking to hide all the custom fields based on user role.
    I found some function module to fund roles. now my main problem is unable to find the cusotm filed screen field name.
    When I tryed to find the screen field name using BBPSC02/03, its giving 'GT_DISPLAY_100-FIELD'. If I try to use this field, its not working.
    Could you pls tell me how to find custom screen filed name to hide in shopping cart.
    Thanks,
    Ram

    Hi Ram,
    As Laurent suggested,to hide the custom fields based on the user role,you need to implement the logic in BADi "BBP_CUF_BADI_2".
    You have the importing parameter IV_USER in this BADI.
    Pass this parameter to tables AGR_USERS and AGR_USERT  to get the user role
    OR
    Use FM: BAPI_USER_GET_DETAIL
    with USERNAME= user id and can retrieve Table: ACTIVITYGROUPS Field:AGR_NAME
    if you want the otherway around
    you can also use FM: RSRA_USERS_OF_AGR_GET
    with I_AGR_NAME= role and you can retieve Table: ACTIVITY_GROUPS_USERS Field: UNAME(usr Id)
    Then check the value for the User role as obtained using the above steps and accordingly set the property for the custom fields to hide them.
    BR,
    Deepti.

Maybe you are looking for