Standard way of mutual exclusion control for rfc connection

Dear expert,
I want to know the standard way of mutual exclusion control
for rfc connection.
I am going to create JAVA screens for ERP ABAP objects.
As for SAP GUI screen, pessimistic locking is used when editing objects.
On the other hand, pessimistic locking is defficult for JAVA screens,
since most of lock objects on ERP are not available for RFC.
Besides, I'm afrraid if locks are correctly deleted
when something bad happens on screen.(i.e. Users close browsers.)
Do you have any recommendations?
Regards,
Fukuhara Yohei

Hello, we raised an OSS note.
They answered it was not possible to lock tasks.
Task completion is like a race, the first it completes it wins.
Regards,
Marco.

Similar Messages

  • Sample JAVA code using Resource Adapter for RFC Connections

    Hi Java Knowledgeable Ones.
    I have successfully deployed the SAP Netweaver J2ee Engine "Resource Adapter for RFC Connections to ABAP Systems" to my Web Application Server.  Now I need to develop a JAVA application that would utilize this deployed resource adapter.  The resource adapter specifies the SAPClient, UserName, and password.  I am thinking that the JAVA code to invoke this connection would therefore not need to provide this information as it should be available in the resource adapter.
    Do you have sample code that you could send to me showing how to do this?
    Thanks,
    Kevin

    Hi Kevin,
    this is actually no good style! You should not open the connection with the adaptor knowing the password. Usually it should work via a connection that uses only basic rights  and the user has already authenticated and is using his security ticket.
    For security handling see:
    http://help.sap.com/saphelp_nw04/helpdata/en/61/f8bc3d52f39d33e10000000a11405a/frameset.htm
    Regards,
    Benny

  • On a 3750 enhanced services port, are hierarchical queueing and standard queuing features mutually exclusive?

    When you configure hierarchical queueing on an enhanced services port, should one also configure the egress queue chararcteristics such as buffer space and thresholds, shaped/shared weights, egress priority queue, etc., that is all of those characteristics that one would configure if one were configuring a port for standard QOS.  In other words, on an enhanced services port, are the hierarchical queueing features using the modular QOS CLI and the standard egress queueing features supposed to be used together or are they mutually exclusive?

    Hi Christine,
    Answer to your confusion is in the following document.
    http://www.cisco.com/en/US/docs/switches/metro/catalyst3750m/software/release/12.1_14_ax/release/notes/OL464603.html#wp58682
    On an ES port, you can use LLQ (enabled with the priority policy-map class configuration command) and the egress priority queue (enabled with the priority-queue out
    interface configuration command). By using these two features, you can
    give priority to a class of traffic and avoid losing traffic when the
    switch is congested. In previous releases (before the egress priority
    queue was supported), you could put a traffic class into the
    strict-priority queue, but congestion at the egress queue-sets could
    result in the dropping of that priority traffic. The priority-queue out
    interface configuration command enables you to prioritize the same
    traffic class at the egress queue-sets, ensuring that priority traffic
    reaches the hierarchical queues and is processed with priority.
    you can also fine tune the Queue-sets for your desired results.
    http://www.cisco.com/en/US/docs/switches/metro/catalyst3750m/software/release/12.2_50_se/configuration/guide/swqos.html#wp1162303

  • Program ID Required for RFC Connection

    Hi All,
    I'm trying to create a RFC Connection betwen SAP BI and SSIS (SQL Server Integration Services). In SM59 screen i'm unable to get the appropriate Program ID required for the connection. Could someone please help me in knowing how to get it.

    Yogesh,
    While creating TCP\IP type RFC destination, when you select Radio button "Registered server program", there you have to provide Program Id there. So for your information:
    Program Id is a string which can be anything even your name.
    i know only R3 and XI integration and in that case you will make your RFC communication channel active first with a program Id(ant thing) and with logon credentials of other system + gateway host and service.
    then use that program id in RFC destination and test it.
    If get empty request then RFC destination is ok.
    BR,
    Alok

  • Authorizations for RFC connections

    Hi everyone....
    what are the Authorizations required for the user when creating RFC connections in XI.
    Rewards,
    Varun Reddy.K

    Hi,
    Authorization for using RFC destinations
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/af429b12e9214d9a2d6cba921b162f/frameset.htm
    Regards,
    Shabari

  • Clinet for RFC Connection in Java Installation

    hi ,
    I am in the process of installing Java Add on for EP.
    I have BW installed in Client 100
    But during instlaltion pls tell me teh client no i should give for RFC Connection

    Hello Balaji,
    In case of BW only one client can be used as BW client. Since your AS ABAP the BW client is 100 it has to be 100 in case of Java Add-in as well.
    Regards.
    Ruchit.

  • Help for RFC connection

    hi all,
           source systems when checked is fine but when i try to customize the extractors it says error "opening" rfc connection..any idea why?? during loading have a error saying idocs not posted and idocs with incorrect status..
    help wil be rewarded..
    regards'
    Rajendra

    Hi Rajendra,
    Go to SM59. Open the RFC for your source system by double clicking on it. Click on check connection. There's some issue with the RFC thats why you're seeing this error. Inform the Basis team. Thanks.
    Sumit

  • Authrisations for RFC connections

    Hi everyone....
    what are the Authorizations required for the user when creating RFC  connections in XI.
    Rewards,
    Varun Reddy.K

    Hi Varun,
                    I think you need following authorization adde to your roles, to create an RFC.
    S_RFC_ADM
    plz go thru following link for more information.
    http://help.sap.com/saphelp_nw04s/helpdata/en/84/d3eb4190966024e10000000a1550b0/content.htm
    hope this is helpful.
    PS Award ponis if this is helpful

  • Draft for RFC connection

    Hi Experts,
    could you write me pls a draft coding for an RFC connection?
    Thank you!

    You mean something like this:
    CALL FUNCTION 'Z_FUNCTION_NAME' DESTINATION 'PRD'.
    That's all there is to it.  You just add the Keyword DESTINATION and the name of a destination mainted in SM59 to the CALL FUNCTION statement.  Now that I have typed this, however, I question if this inquiry really belongs in the Web Dynpro ABAP forum. This seems more like a general ABAP question.
    Hint - for WDA specific functionality you can use the Service Call Wizard to generate the context and the logic to call a RFC.  Was that perhaps what you were refering to.

  • Is there a way to do version control for OpenScript?

    Hi,
    I dont see Openscript IDE directly offers version control capability. Is there any other way that we can use to achieve version control (e.g. seeking the alternative through third-party software/plugins) so that we whole team can concurrently work on the same copy of script and do check-in/out like in SVN?
    Thanks,
    Helen

    Installing Eclipse Subversion Client
    From WebWiki
    Jump to: navigation, search
    Introduction
    The OpenScript IDE is based on the Eclipse framework, therefore users can install any Eclipse plugin into OpenScript. This includes the Eclipse Subversion client plugin to perform Subversion operations from within OpenScript. Installation instructions below are based on the following Subclipse website:
    http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
    Installation Instructions
    1. Launch OpenScript and click on View > Developer Perspective.
    2. Go to Window > Preferences > General > Network Connections > Select "Manual Proxy Configuration". Enter your HTTP proxy & port settings depending on your region (i.e. "myproxy" port "80" for US) and check "Use this proxy server for SSL".
    3. Go to Help > Software Updates > Find and Install. Select "Search for new features to install" and click Next.
    4. Click on the "New Remote Site" button.
    5. Add the following site and click OK.
    Name: Subclipse 1.6.x (Eclipse 3.2+)
    URL: http://subclipse.tigris.org/update_1.6.x
    6. The new site added should now be part of the search list and should be checked by default. If not, select the site and uncheck others, and click Finish.
    7. In the Search Results window, expand Subclipse 1.6.x (Eclipse 3.2+) > Subclipse. Select the following checkboxes and click Next.
    Subversion Client Adapter (Required) 1.6.12
    Subclipse (Required) 1.6.18
    8. Accept the license agreement and click Next.
    9. Review the installation location and click Finish.
    10. Click on "Install All" within the Verification window.
    11. Click Yes to restart OpenScript.
    12. Uncheck "Report usage of Subclipse to Subclipse team" and click OK.
    13. While still in the Developer perspective, click on Window > Open Perspective > Other. Highlight "SVN Repository Exploring" and click OK.
    14. You can also verify the Subversion plugin has been successfully installed by clicking on Help > About OpenScript and clicking on the Subclipse icon.
    Edited by: Jean-Baptiste on Nov 7, 2012 6:26 AM

  • Standard way to maintain property files for internationalization??

    Hi All,
    For multiple language support, normally we maintain a different property file for different languages.For example, consider English language.In my case, i placed all the labels for english in one property file through out my application.All french labels in one property file and so on.
    My question is, Is it better to maintain seperate property file for each page also??? Or else, one property file is good enough for one language??? which is better?(interms of complexity and performance)

    Here is how I mapped the taglibs in my XML file and it works fine:
    <taglib>
              <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
              <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
    </taglib>The .tld files are in the WEB-INF/lib dir. To use them i put this line in the JSP file:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts_html" %>Hope this helped,
    Calin

  • Authorization Required for RFC user  in R/3-APO system.

    Could you please help regarding one authorization issue. I want to know the authorization required for one RFC user. Now this RFC user used for RFC connection of SAP R/3 - SAP APO system. user type is given dialog type and SAP_ALL profile has been given to this user  id. Now I have to remove SAP_ALL from this user id in R/3 and APO system and  provide the required the authorization in R/3 and APO system.
    Regard
    Auroshikha

    The RFC authorisation depends completely on what the user is doing (ALEREMOTE?).  We can't tell you what RFC auths your connection requires. 
    There is a guide to doing this here: https://wiki.sdn.sap.com/wiki/display/Security/BestPractice-HowtoanalyzeandsecureRFC+connections

  • Configuring RFC connections for load balancing.

    Hi ,
    We have the following landscape for our systems.
    The database is installed on z/os , db2 (mainframe). The central services( SCS and ASCS) are also on the mainframe. So the message server is on mainframe.
    The CI is on AIX and The DI is on AIX.
    We have Logon groups configured and load balancing Configured and is RFC enabled.
    1) When we connect to SAP using the SAPGUI and  the portal connection is made to either CI or DI depending upon the best response times.  Now recently we are running the mercury load testing, all the users are connecting to DI. Why are the users connecting to DI even though we have load balancing?
    2) I have a system with SID BP0, with one CI and one DI. The logon group is BP0 and the message server name is cyrix. Now I have other another system EP0. I have created a RFC connection from EP0 to BP0. In SM59 I have selected the load balancing option, and provide the message server name, SID and logon group name. The connection does not work. If I connect directly to the CI or DI the connection works. Please tell me how can I configure load balancing for RFC connections.
    Thanks
    Manmath.

    Dear 917996,
    There are two types of load balancing:
    - Client-side load balancing (setting up the tnsnames.ora on client side). More information here (http://ggsig.blogspot.co.uk/2012/04/client-side-
    load-balancing-in-oracle.html). Very good video produced my friend Igor Melnikov is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/client/clientloadbalance_viewlet_swf.html)
    -Server-side load balancing (remote_listener and setting service parameter clb_goal). Very good Igor Melnikov's video is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html).
    I have read about client side and server side load balancing. By editing tnsnames.ora I have enabled client side load balancing which is suppose to select listeners at random. then why does it only go to second node?Could you please show your tnsnames.ora on client?
    Please can anyone help me to configure server side load balancing with SCAN. I have read many many post but couldn't find a clear answer.Based on your output (remote_listener string cmbtrnrac-scan:1521) you have already configured the server side load balancing.
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=10.1
    7.67.214)(PORT=1521))))
    remote_listener string cmbtrnrac-scan:1521How many SCANs do you use? Do you use DNS?
    regards,
    Gennady

  • Any SAP Note for RFC Error between BI and ECC 5.0

    Hi..
    the RFC Destination between BI and ECC 5.0 is giving errors.
    Plz let me know if there is any Support pack  or any solution to fix this error.
    thanks..

    Hi,
    pls find the RFC connection details
    1 Prerequisites
    1.1 User Roles
    Use
    With the Building Block Connectivity a configuration role for each component is provided to access all transactions relevant for the installation. The following roles are available:
    Technical name Description File name for upload
    B02_01C B02 - Connectivity Configuration Role (SAP R/3) B02_01C.SAP
    B02_03C B02 - Connectivity Configuration Role (SAP BW) B02_03C.SAP
    C71_04C B02 - Connectivity Configuration Role (SAP CRM) C71_04C.SAP
    B02_04C_SRM B02 - Connectivity Configuration Role (SAP SRM) B02_04C_SRM.SAP
    Procedure
    Please upload the necessary roles and add them to your user, using transactions PFCG (Role Maintenance).
    2 Local Settings
    This chapter describes all local settings that are necessary for each component like SAP R/3, SAP SCM, SAP BW, SAP CRM or SAP SRM.
    2.1 SAP R/3
    2.1.1 Define Client Administration (SAP R/3)
    Use
    This activity allows you to change Customizing settings.
    Prerequisites
    You have logged on to the system in English in order to start with the installation of the Best Practices Scenario.
    Procedure
    Run the following activity:
    SAP R/3 Role Menu Define Client Administration (SAP R/3)
    Transaction Code SCC4
    SAP R/3 Menu Tools  Administration  Administration  Client Administration  Client Maintenance
    Then carry out the following steps:
    1. Choose Display  Change.
    2. Confirm the warning message Caution: The table is cross client.
    3. Select your SAP R/3 client and choose Details.
    4. In the Change View Clients: Details screen, activate the following settings:
    u2022 Automatic recording of changes
    u2022 Changes to Repository and cross-client Customizing allowed
    u2022 eCATT and CATT allowed.
    5. Save.
    6. Go back to the SAP Easy Access menu.
    2.1.2 Defining a Logical System for SAP R/3 (SAP R/3)
    Use
    The purpose of this activity is to create a logical system for your SAP R/3 System. To enable communication between systems within your system landscape, you must
    1. Define the systems as logical systems.
    2. Assign the logical system for the SAP R/3 System to a client.
    This enables the systems to recognize the target system as an RFC destination. If the logical system has already been created, skip this activity.
    Logical systems are defined cross-client.
    Procedure
    Carry out the following steps:
    1. Access the transaction using:
    SAP R/3 Role Menu Defining a Logical System for SAP R/3 (SAP R/3)
    Transaction Code SPRO
    SAP R/3
    IMG Menu Basis Components (for R/3 Enterprisse: SAP Web Application Server)  Application Link Enabling (ALE)  Sending and Receiving Systems  Logical systems  Define Logical System
    2. Choose New entries.
    3. In the column Log System, enter a name for the logical system that you want to create.
    4. In the column Name, enter a description of the logical system.
    Log. System Name
    where XXX is the system name
    and NNN is the client.
    5. Save your entries.
    A transport request for Workbench appears.
    6. Select an existing request or create a new request, if necessary.
    A transport request for Customizing appears.
    7. Select an existing request or create a new request, if necessary.
    2.1.3 Assigning Logical System to Client
    Use
    The purpose of this activity is to make an assignment for the logical system. Skip this activity if a logical system is already assigned to your client.
    Procedure
    Carry out the following steps:
    1. Access the transaction using:
    SAP R/3 Role Menu Assign Logical System to Client
    Transaction Code SCC4
    SAP R/3 Menu Tools  Administration  Administration  Client Administration  Client Maintenance
    2. Choose Display ® Change.
    3. Confirm the warning message The table is cross client.
    4. Select your R/3 client and choose Details.
    5. Enter the name of the logical system of your SAP R/3 client.
    6. Save and confirm the warning message Be careful when changing the logical system.
    7. Choose Back twice.
    2.1.4 Creating an RFC User (SAP R/3)
    Use
    To enable communication between the SAP R/3 back-end system and the SAP SCM System, you have to create an RFC user in the SAP R/3 System.
    The RFC user in the application client enables multiple RFC connections. Skip this activity if an RFC User has already been created.
    Procedure
    Carry out the following steps:
    1. Access the transaction using:
    SAP R/3 Role Menu Creating an RFC User (SAP R/3)
    Transaction Code SU01
    SAP R/3 Menu Tools  Administration  User Maintenance  Users
    2. In the User field, enter RFCUSER.
    3. Choose Create.
    4. On the Maintain User screen, enter the following data on the Tab entry screens:
    Address
    Last Name
    Function
    Logon data
    User type System
    Password LOGIN
    Profile
    Profiles SAP_ALL
    SAP_NEW
    S_BI-WX_RFC
    Defaults
    Logon Language EN
    5. Save your entries.
    2.3 SAP BW
    2.3.1 Define Client Administration
    Use
    This activity defines changes and transports of the client-dependent and client-independent objects.
    Procedure
    1. To perform this activity, choose one of the following navigation options:
    SAP BW Role Menu Local Settings ® Define Client Administration
    Transaction Code SCC4
    SAP BW Menu Tools  Administration  Administration  Client Administration  Client Maintenance
    2. Switch to change mode.
    3. Select your client.
    4. Choose details.
    5. In field Currency enter the ISO-code of the local currency, e.g. USD or EUR.
    6. In field Client Role enter Customizing
    7. Check the settings for changes and transport of client-specific objects and client-independent object changes
    If you want to use the settings made by BC-Sets or manually in other systems (other than BW), u201CAutomatic recording of changesu201D and u201CChanges to Repository object and cross-client Customizing allowedu201D is required.
    Result
    Client administration has been defined to support the installation using Best Practices.
    2.3.2 Defining a Logical System for SAP BW (SAP BW)
    Use
    In this step, you define the logical systems in your distributed system.
    Prerequisites
    Logical systems are defined cross-client. Therefore cross-client customizing must be allowed in your client (this can be checked in transaction SCC4).
    Procedure
    To carry out the activity, choose one of the following navigation options:
    SAP BW Role Menu Defining a Logical System for SAP BW (SAP BW)
    Transaction Code SPRO
    IMG Menu SAP Reference IMG  SAP Customizing Implementation Guide  SAP NetWeaver  Business Information Warehouse  Links to other Systems  General Connection Settings  Define Logical System
    1. A dialog box informs you that the table is cross-client. Choose Continue.
    2. On the Change View u201CLogical Systemsu201D: Overview screen, choose New entries.
    3. On the New Entries: Overview of Added Entries screen enter the following data:
    Field name Description R/O/C User action and values Note
    Log. System Technical Name of the Logical System Enter a name for the logical BW system that you want to create
    Name Textual Description of the Logical System Enter a clear description for the logical BW system
    4. Choose Save.
    If a transport request for workbench and customizing is displayed choose existing requests or create new requests.
    If you want to continue with the next activity, do not leave the transaction.
    Result
    You have created a Logical System Name for your SAP BW client.
    2.3.3 Assigning Logical System to Client (SAP BW)
    Procedure
    To carry out the activity, choose one of the following navigation options:
    SAP BW
    Role Menu Assigning Logical System to Client (SAP BW)
    Transaction Code SCC4
    SAP BW Menu Tools  Administration  Administration  Client Administration  Client Maintenance
    1. In the view Display View "Clients": Overview, choose Display.  Change
    2. Confirm the message.
    3. Select your BW client.
    4. Choose Details.
    5. In the view Change View "Clients": Details, insert your BW system in the Logical system field, for example, BS7CLNT100.
    6. Save the entries and go back.
    2.3.4 Opening Administrator Workbench
    Procedure
    To carry out the activity, choose one of the following navigation options
    SAP BW Modeling  Administrator Workbench: Modeling
    Transaction Code RSA1
    1. In the Replicate Metadata dialog box, choose Only Activate.
    2. If a message appears that you are only authorized to work in client ... (Brain 009) refer to SAP Note 316923 (do not import the support package, but use the description under section Workaround).
    2.3.5 Creating an RFC-User (SAP BW)
    Procedure
    To carry out the activity, choose one of the following navigation options:
    SAP BW Role Menu Creating RFC User
    Transaction Code SU01
    SAP BW Menu Tools  Administration  User Maintenance  Users
    Then carry out the following steps:
    1. On the User Maintenance: Initial Screen screen:
    a. Enter the following data:
    Field Entry
    User RFCUSER
    b. Choose Create.
    2. On the Maintain User screen:
    a. Choose the Address tab.
    b. Enter the following data:
    Field Entry
    Last Name RFCUSER
    Function Default-User for RFC connection
    c. Choose the Logon data tab.
    d. Enter the following data:
    Field Entry
    Password LOGIN
    User type System
    e. Choose the Profiles tab.
    f. Enter the following data:
    Field Entry
    Profiles SAP_ALL , SAP_NEW and S_BI-WHM_RFC
    g. Choose Save.
    Do not change the password of this user as it is used in RFC connections.
    2.3.6 Define RFC-USER as default (SAP BW)
    Procedure
    To carry out the activity, choose one of the following navigation options
    SAP BW Role Menu Define RFC-USER as default (SAP BW)
    Transaction Code RSA1
    SAP BW Menu Modeling  Administrator Workbench: Modeling
    1. On the Administrator Workbench: Modeling screen choose Settings  Global Settings.
    2. In the Global Settings/Customizing dialog box choose Glob. Settings.
    3. On the Display View u201CRSADMINA Maintenance Viewu201D: Details screen:
    a. Choose Display  Change.
    b. Enter RFCUSER in the BW User ALE field.
    c. Choose Save.
    Hope this helps in solving u r problem
    Regards
    Ramakrishna Kamurthy

  • Facing problem with RFC connections

    In the Maintenace View for RFC connections, when I press the 'Apply' button I am getting the message"You have no authorization to display the destinationu201D for all the 4 destination IDs"
    Can somebody suggest on how to overcome this problem?
    Thanks,
    Mohammed Tauseef Ahmed

    Hi
    The message over here means the user with which you are logged into the control system and the CPIC user that you may be using to create RFC destinations to the other systems in the landscape do not have the right authorizations.
    It is recommended that all the users have the role TDMS_USER (atleast) or TDMS_MASTER assigned to it.
    Once the role is assigned it will work fine.
    Regards
    Pankaj.

Maybe you are looking for

  • Function Module for Creation of classification data for a Routing

    Hi Can you please let me know if there are any function modules/Bapi's to create Classification data for a Routing? THanks Shekar

  • Rental Process - Delivery to Customer While Maintaining Ownership

    Hi SAP Experts, My client is renting out construction and marine equipment and I was wondering how I can send the machine to a customer for rental in SAP after the rental contract is created. Ownership remains with my client but I need to show that i

  • Use of replace function

    I have an String which contains , and : in it. I want to replace , and : with some values.. How can i do this using single replace function.. Note: Using only single replace function i have to replace these special charecters.. Can you help me...

  • Domesticating JCheckBox when used as editor in JTree

    If you look at the way checkboxes are drawn in certain L&F's (say, 1.5's Metal), you'll see that upon arming (mouseover/hover) of the box, a highlight or focus is painted on the little square box. I believe this may be true in the XP L&F and know it

  • MSI 560 GTX-Ti Twin Frozer II is not recognised by Windows 7

    OK, just finished building my new computer and I should say at the outset that I am not an expert! Unfortunately, Windows 7 does not seem to recognise my MSI card. It is not present in the display adapter in the device manager and when I go to instal