Using different RFC's in one Application / Entity Service?

Hello *,
I just want to create my first Composite Application Service but before I begin I have some questions.
The service will read out material master data from PLM. For that it has some findBy-operations with full-text search (creationDate, MatNr. ...) which return a result list and one operation which returns the material object for a given MatNr.
For this operations I need to call different RFC's which are imported by external services.
Now my questions:
1. What kind of service should wrap my external services and provide the operations? Should I use one or more entity service to wrap external services and then realize the operations in an application service? Or should I just take an application service without entity services?
2. The created service should not only be an internal CAF  service but also a Web service? How can I realize this?
Thanks for your answers.
Best regards
Joschi

Ok, thanks a lot. So nearly everything's clear now. Only one question remains:
> 6. mark the entity service as "remote" and create a
> web service from it
> (note: this requires NW04s SP8)
Is this possible? I can't find any checkbox to mark an entity service as "remote" like in an application service (NWDS 7.0.07 and NW04s SP8).
So I have to map the findBy operations to an application service and create a web service from it!?
Regards
Joschi

Similar Messages

  • HT4436 I have 2 I phone which is using same apple id to back to icloud and restore it. I want to use different id on the one phone what can I do or change the id?

    I have 2 I phone which is using same apple id to back to icloud and restore it. I want to use different id on the one phone what can I do or change the id?

    Welcome to the Apple community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add a new account by tapping the "create Apple ID" button. (Settings > iCloud, scroll down and hit "Delete Account")

  • How can I use different iTunes accounts on one iPad?

    How can I use different iTunes accounts on one iPad?

    You can't, well not easily anyway.  The iPad is not meant as a multi account device. 
    You can Sign Out of your iTunes account in Settings->iTunes and App Stores->Apple ID->Sign Out
    However if you sign in with another ID and then download past purchases with it you will lock out the previous ID for 90 days. Which means it will not be able to be used on the iPad for 90 days. 

  • Realationship enterprise service - application/entity service

    I read some books about ESA and CAF but I still don't know the relationship between enterprise services in ESA and application and entity services in the Netweaver DevStudio (CAS framework).
    Are application/entity services also enterprise services? Or is there a difference?
    Thanks for your answers.
    Joachim

    You can consume SAP Enterprise Services. You can also participate in the definition of the Enterprise Services  through the ES Community (see ES Community under Enterprise SOA in SDN) and even create your own Enterprise Services. You can use whatever web development tools you like. In Netweaver Java stack, you can use CAF to implement or develop Application Services (where business logic is coded) leveraging Entity Services taping into your local or remote data model(s). Enterprise Services can be modeled and coded in CAF Application Services but you can use plain J2EE as well. In SAP case, the interfaces for Enterprise Services are defined in XI (input/output/exception). Their implementation happen in the appropriate SAP solutions like ERP where business logic can execute against appropriate data.
    Practically CAF Entity Services cannot be called Enterprise Services unless you want to. They just perform basic CRUD (create/read/update/delete) operations on an data object. They're more like utility services. But like Anton's mention of "Private Enterprise Services", what's private remains your own business!

  • How to use two different database Drivers in one application ????

    I want to select datas in a result set of a query on a ms access database table and insert these into a mysql table of a mysql database in one application.
    Now my problem is that only on database driver is acceptet in the same application even it`s instanciatet in a completely different class !!!
    Here's the structure of my program:
    class one:
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database += filename.trim() + ";DriverID=22;READONLY=false}";
    java.sql.Driver driver0=new sun.jdbc.odbc.JdbcOdbcDriver();
    DriverManager.registerDriver(driver0);
    DriverManager.getDriver(database);
    con2=DriverManager.getConnection(database,"","");
    DatabaseMetaData dmd2;
    dmd2=con2.getMetaData();
    stmt2=con2.createStatement();
    rs2=("SELECT (.........
    until here all values can be selected correctly from ms access
    class2.get_gas_id(fla_gas);
    Now I want to insert these values into mysql.
    By despair i created a second class with another jdbc-method:
    class2:
    public class gas_select{
    public static int fla_gas_id;
    public static void get_gas_id(String fla_gas)
    java.sql.Statement stmt3;
    java.sql.Connection con3;
    java.sql.ResultSet rs3;
    FileWriter fout1;
    try
    java.sql.Driver driver1=new org.gjt.mm.mysql.Driver();
    DriverManager.registerDriver(driver1);
    DriverManager.getDriver(config.db_rge_stoffe); ==>
    config.rge_stoffe="jdbc:mysql://192.168.10.101:3306/rge_stoffe?user=<user>";
    con3=DriverManager.getConnection(config.db_rge_stoffe);
    java.sql.DatabaseMetaData dmd3;
    dmd3=con3.getMetaData();
    stmt3=con3.createStatement();
    rs3=stmt3.executeQuery("SELECT (Nr) from tblgaseliste where Gasart like "+"\'"+fla_gas+"\'");
    while(rs3.next())
    fla_gas_id=rs3.getInt("Nr");
    fout1.write(fla_gas_id);
    stmt3.close();
    con3.close();
    fout1.close();
    There's no result and no error message. Idon't know what to do !
    Has anyone an idea ???
    Edited by: goberger on Mar 27, 2008 3:35 PM

    Hi!
    If I understand your problem correctly, you can create connections to as many databases as you want in one class. In one of my programs I have connection to 3 separate databases, but here is an example:
    Connection mysql_con = DriverManager.getConnection("jdbc:mysql://localhost:3306/dbmysql", "root", "12345");
    Connection pg_con    = DriverManager.getConnection("jdbc:postgresql://127.0.0.1:5433/dbpgsql", "postgres", "12345");Then from mysql_con and pg_con create PreparedStatement or Statement then load selections into ResultSet and then use getString() to get a basic String type result that you want and so update table from each database.
    HTH
    Victor.
    BTW Here I use port 5433 for PostgreSQL connection because I SSH tunnel it from 5432 to 5433
    Edited by: vic_sk on Mar 27, 2008 4:23 PM

  • Using 2 relational datasources in one application

    Hi
    I was wondering if it is possible to use two PersistenceManagerFactories in
    one application server pointing to two different RDBMSs, such as one Oracle
    and one DB2 database, but using the same JDO Classes. In this case I would
    need to have two separate mappings, and I guess you would have to specify
    somehow which mapping file to generate from the mappingtool and which one to
    use in each PersistenceManager, but I have not found how to do it.
    Could someone please point me in the right direction?
    Cheers
    Sven Erik

    Sven-
    This is certainly possible, but we do not provide any built-in way to
    automatically use different metadata files on a per-database basis,
    except when using the "db" MappingFactory (which stored the mappings in
    the database; in your case, each database will store its own version of
    the mappings).
    Another option is to make your own implementation of the fairly simple
    MappingFactory interface to perform some differentiation of the
    metadata. E.g., you might have it look for "mymetadata-oracle.xml" and
    "mymetadata-db2.xml" depending on the database, and then pass-through
    the calls to the default MetadataMappingFactory.
    In article <bugg5g$mnk$[email protected]>, Sven Erik Knop wrote:
    Hi
    I was wondering if it is possible to use two PersistenceManagerFactories in
    one application server pointing to two different RDBMSs, such as one Oracle
    and one DB2 database, but using the same JDO Classes. In this case I would
    need to have two separate mappings, and I guess you would have to specify
    somehow which mapping file to generate from the mappingtool and which one to
    use in each PersistenceManager, but I have not found how to do it.
    Could someone please point me in the right direction?
    Cheers
    Sven Erik--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • How to use two RFC models in one Data Source for a Interactive Form UI Elem

    Hi
    I want to use two RFC models (two Function Modules from a SAP Backend system) in one context node of a View Controller in order to pass it as the data source to a Interactive Form UI element. Can I use the data binding mechanism directly or have I to copy the data into a Value Node within the view controller.
    Thanks for helping
    René Morel
    SAP (Schweiz) AG

    Rene,
    You can create a local context node in component controller and copy the data from both the RFC's to this node, then bind it to the view controller. Then you can make this view context node as the datasource of the interactive form.
    Regards,
    Anand

  • V.02 use different RFC connection

    Hello all,
    We have a situation that when a user executes V.02 in R3 and then clicks on an incomplete Sales Document it jumps to the SCM system to do an APO Availability Check.  The problem is that it uses a RFC connection with a system user and when you are in the SCM system you've got full access.  Is there a way to force V.02 to use a specific RFC connection to jump to SCM so I can set that RFC connection to use current user and log into SCM as the same user that's logged into R3?
    Thanks,
    Tom

    > 2.2  Yes, I would like to setup a new RFC connection to SCM and set as a trusted RFC connection with current user but how do I force V.02 to use that specific RFC connection and not one that used for job...extractions..etc that has the system user in it?
    There must be config which is calling the RFC function using a destination to the SCM system. Normally I just debug the call and look to see where the rfcdes value is coming from. I have also seen it hardcoded on a few occations using sy-sysid - also a form of config, even if a rather hollow one...
    Personally I would try to group them into usage cases, and not necessarily "modules" or anything like that.
    > 1. Dont want to restrict the RFC user as it's used for jobs, extractions...etc.
    This is a nice example.
    Cheers,
    Julius

  • Creating a connection pool using SQL Server 2000, Sun ONE Application Serve

    Has any one succesfully configured SQL Server 2000 to work with Sun ONE Application Server 7 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.
    The problem I am having is that, when I ping the data souce name, there is a connection error.
    I have set the data source name and other details as follows:
    Under JDBC, I have set the parameters for the connection pool as follows:
    Data Source Name:      com.microsoft.jdbc.sqlserver.SQLServerDriver
    Database Name:          jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Test
    User:               test
    Password:          test
    In the JVM settings page, I have set the prefix class path as follows for the location of the Microsoft JDBC
    drivers that I downloaded as follows:
    c:\microsoft\drivers/lib/msbase.jar
    c:\microsoft\drivers/lib/msutil.jar
    c:\microsoft\drivers/lib/mssqlserver.jar
    Under JVM Options, there is a strange setting which I don't understand: perhaps this is the cause of the
    connction error?
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    Please help????

    I'm in a similar boat...
    Trying to setup AS7 JDBC and followed the instructions on the link you provided and get the following exception. I kept the case the same, thinking 'setpassword" was incorrect, so I tried changing the property to "Password", but get the same exception but it points to "setPassword" instead.
    SEVERE: RAR5041:Cannot get jdbc connection
    com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setpassword
    at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:243)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
    at com.rvi.database.jdbcConnection.getConnection(jdbcConnection.java:93)
    at com.webapp.database.ArticlesDAO.selectByYear(ArticlesDAO.java:102)
    at com.webapp.actions.ArticleAction.list(ArticleAction.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

  • Multiple VI's using different digital lines in one VI.

    I have created multiple vi's, each of which require either reading or wroting to a different digital line on the CB-68LP board. I need to put them all in one individual vi so that I can see everything on the front panel. When I have tried this the vi seems to send a confused signal and operate things which it shouldn't.
    Is it even possible to try and do what I am doing? If not, any ideas what I can do? Thanks.

    Multiple VIs are usually the better approach. What I would suggest is parallel loops. These are loops which do not have any data dependency on each other. One handles the User Interface - the front panel where you "see everything." Another which reads and writes from/to the digital lines. Maybe even a third which processes the data. Exchange data among the loops with queues or functional globals.
    Keep a record of the state of all the digital lines. When something is to be written to certain lines, use either a Write Line.VI ( I don't recall the exact name) or use AND and OR functions with masks to protect the states of line you do not want to change.
    BTW, the CB-68LP is merely a connection interface, not the digital I/O baord itself.
    Lynn

  • HT204074 So your telling me that me and my brother (using different apple IDs on one computer) have to alternate every 90 days on backing up our purchases from an Iphone.

    Trying to transfer the purchases from my iPhone to iTunes but my brother just did the same last week so it's saying i have to wait 84 days to back up purchases. Any ways around this? After using apple products for 10+ years, if i have to deal with this I won't be buying an iPhone 5 in a few months. because in the end the only think keeping me with the 4S was the fact that i already had a large music library but at this point my recent purchases a fairly useless for the next 3 months

    Correct.  You can only redownlaod previous purchases from one account every 90 days.
    You can still transfer them from your iphone ipod.  File>Transfer Purchases

  • Using different logical tables in one dimension

    Hello.
    I have two fact tables and two dimension tables Country and Region. One fact table depend on one dimension table like it shown in this link - http://file.qip.ru/file/121151603/3b4ebdba/2_online.html. Table Country is received from table Region by DISTINCT.
    At the presentation I have to realize one column in Presentation Catalog for both columns Country Name (or Country Id) from Country and Region, the user won't know that one fact table depends on COUNTRY and other on REGION.
    Also I have to realize the dimention "Geography" (Country->District->Region) for fact table SALE_REGION.
    Could Oracle BI automatically choose from which table get data and if it can, how I should make the logical model?
    Thanks.
    PS.
    The best variant I realized it this - http://file.qip.ru/file/121154314/8d242b81/3_online.html where District is the shared child for second Country level, but it doesn't work properly.

    Y don't u use union request in first request details of fact1 and its related dimensions and in 2nd request fact 2 and its related dimensions.
    I guess this should work
    Thanks
    Subhash

  • Want to use different valuation type for one finish in house prod. materia

    Hi,
    Please update on subject requirement of different valuation type for same finish in house produced material.
    We take e.g. as below
    Valuation type -1) VA01
                             2) VA02
    Want to assign both valuation types to material FINISH01
    Then, i want create process order as per valuation type VA01 & VA02 ,let consider for 5 quantity each. While creating process
    order, system shoulf propose selection of valuation type.
    Regards,
    Chetan

    Hi,
    use Split Valuation, When u do the GR against production order...System will ask valuation type.
    and Same material code with maintained with different valuation type in your inventory.
    Regards,
    Pardeep Malik

  • Exchanging ink - New printer uses different ink than old one

    I just posted my issue and do not see it anywhere.  Here it is again.
    I was told by the gentleman at HP that I could exchange my ink that I can no longer use because I just upgraded to a different HP printer.  My ink is new and very costly.  How does this work?

    Hi bodhi1. You should contact support for any details that may exist on exchanging ink.
    Please call HP technical support at 800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region. http://www.hp.com/cgi-bin/hpsupport/index.pl
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • SAP business one application messaging service

    Tried to get mailer working but I am not sure if it s because of SAP business one messaging service is stuck in a starting mode.

    Hi,
    Yes. Messaging service should started automatically.
    I think you need add your object name under Messaging service-->Right click-->Choose properties---Log on tab.. then this service starts automatically.
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • PDF displaying bit-mapped or "crunchy" on Retina MacBook Pro

    I have a new Retina MacBook Pro and when I opened a PDF, it is displaying bit-mapped or "crunchy" looking. Do I need to change settings in Acrobat (CC) ?... or in my Mac System Preferences somewhere?

  • Apple only Screen

    My I-pod is not working. All I have is a picture of the apple on the screen. It wont turn off or on and the button wont work.  I have tried plugging it in to different charger but the screen does not change. One time I saw the battery for a moment an

  • Please, 1. Please set the Receivables system options for this operating

    hi please i have this error: 1. Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables. can some one help me! think

  • Country dropdown in Address disabled

    Hello, we are using the ESS scenario address to allow the employees to change the permanent residence address as well as add an emergency address. But the system doesn't allow to add an address outside the default country (eg. CH employee can only ha

  • How to add column to ME92/ME92F list

    I would like to add 'delivery date' as a column in the ME92/ME92F list, but I have not been able to find the list or how to maintain it.