Custom Interface using Entity Objects

Right now, we can only define cutom interfaces using the Generic Loader. I was wondering if this functionality is going to be extended so that users can define custom interfaces using EOs instead of lct files.

Hi Mugunthan,
I have the exact same requirement, to know a little bit more BC4J Support, since we want to use iSetup to control the load of our Receivables Custom Database Tables also. I have opened an SR and they have forwarded to the Receivables Team, which i do not believe will help us, since our need is to know technically the iSetup Custom Interface process for BC4J. Can you point me out some documentation on this? my e-mail contact is [email protected]
Regards
Thiago

Similar Messages

  • ISetup new custom interface using BC4J/java class

    Hi,
    I am able to create new custom interface using the link :- How to setup an user to be Oracle iSetup Super user ? but I have not seen anything for BC4J filter set, as per oracle iSetup developer guide clearly explains step by step process how to create custom BC4J interface type, but they have not mention how to add filters, as per oracle developer guide we have to use 'iSetup Framework' for BC4J, if we select type as 'iSetup Framework' then we don't have option to add filter parameters.
    Any idea how to see existing  iSetup interface repository values, Search shows the result, but we can't go in details? any idea to see this?
    Oracle have good interface repository but most of them does not have option to filter, and  update so I want to customize them by adding new interfaces with filterable and update option
    Regards
    Anil

    First, be sure your properties file is in the root of the classpath.
    The Messages.properties or Messages_en.properties should be in the WEB-INF/classes/ directory of the war or as a root file of a jar included in the classpath (WEB-INF/lib).
    If it doesn't work, try adding a "/" before the file name. The classloader will try to find it as a root file of the classpath.
    For example:
              ResourceBundle messages = ResourceBundle.getBundle("/Messages", locale);
    If you are using sun appserver, the classloader hierarchy is configured by default from inside the war to outside, so it will search first in the WEB-INF/classes/Messages_en.properties and then it will search the file inside each jar file in WEB-INF/lib.
    If you want more information, check the classloader hierarchy of the appserver you are using.
    Hope it helps.

  • How to call Apps Module Custom Method from Entity Object / View Object ?

    Hi All,
    I create a custom method in AppsModuleImpl.java. How can I call that custom method from a setter method on Entity Object / View Object ?
    (I have tried to use Configuration.createRootApplicationModule(amDef,config); but it is not the correct way, is it? )
    Below is my code :
    The setter on MyEntityImpl.java :
    public void setKodeprd(String value) {
    setAttributeInternal(KODEPRD, value);
    if (getProduct() != null) {
    // CALL the getSalesPrice custom method from here, HOW ??
    The Application Module custom method :
    public Number getSalesPrice(String priceCode, String kodePrd) {
    Number price = new Number(0);
    String [] theKey = {priceCode, kodePrd};
    Key priceKey = new Key(theKey) ;
    ViewObject SalesPrice = getSalespricedView1();
    Row[] salesPriceRow = SalesPrice.findByKey(priceKey, 1);
    price = ((SalespricedViewRowImpl)salesPriceRow[0]).getPrice();
    SalesPrice.remove();
    return price;
    Thank you for your help,
    xtanto

    inside the EntityObjectImpl :
    YourAppModuleImpl am = (YourAppModuleImpl)getDBTransaction().getRootApplicationModule().findApplicationModule("YourAppModuleorServiceName");

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • Customizing DML of Entity Object

    Hi,
    I use Oracle ADF 12.1.3 with MS SQL Server as back-end database. Codes below demonstrate the situation.
    @Override
    protected void doDML(int i, TransactionEvent transactionEvent) {
    super.doDML(i, transactionEvent);
    if (i == DML_INSERT) {
    Long id = null;
    Statement stmt = this.getDBTransaction().createStatement(0);
    try {
    (1) ResultSet res = stmt.executeQuery("select @@IDENTITY as pk_num");  =>> WORKS
    (2) ResultSet res = stmt.executeQuery("select SCOPE_IDENTITY() as pk_num");  =>> DOES NOT WORKS RETURN 0;
    (3) ResultSet res = stmt.executeQuery("insert into uOstan (Nam, Cod) values ('_Test_', '_123_') select SCOPE_IDENTITY() as pk_num"); =>> WORKS
    if (res.next()) {
    id = res.getLong("pk_num");
    populateAttribute(0, id);
    } catch (Exception e) {
    System.out.println(e.getMessage());
    According of above lines of code, I think there is a bug in JDBC. Because of this, I want to customize the ADF auto generated dml statement for EO and add 'select scope_identity() as pk_val' at the end of it to get the correct value of pk of inserted row.
    Best Regards
    Mehdy Karimpour

    What do y o u mean by '... Does not work' exactly?
    Do you get an error?
    The code you call in the statement looks out of scope to me. It is executed in the DB which can't know what to do with it.
    The other statements work as  they are normal insert wavelengths db can handle.
    Timo

  • How to use Entity Object (EO)

    Hi,
    Can anyone, please list down the basics steps that one needs to follow to implemenet EOs. I havent used EO and not clear at all, how i can use it.
    Steps like, wht sort of code goes in CO and AM and how we can write code for insert and update using EOs.
    Please expain by taking an example.
    Anypointer in this regard will be very helpful.
    Thanks in advance
    Saurabh

    EOImpl.java
    Validations:
    put you attribute level validation in SetAttr..() method
    this method will be called when you enter any values in the screen and do form submit
    Cross Validation:
    If you want to compare two different attributes, put your code in validateEntity() method.
    This method will be called once all the setAttr..() methods are called.
    Initialize:
    If you want to initialize any data values then write your code in create() method
    Delete:
    if you want to do some DMLs while deleting the row, do it in delete() method
    Calculations:
    if you want to derive some values from different column into another column, do it in doDML() method.
    you can find sample code in create, update, delete excercises.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to activate Custom Feature in SharePoint 2010 using Client Object model

    I am trying to Activate a custom feature using Client Object Model in SharePoint 2010. Here is the code I used. When I execute the code, I got the error "Feature with Id 'xx' is not installed in this farm, and cannot be added to this scope while
    creating site collection". Can anyone help?
    ClientContext clientContext = new ClientContext(spURL);
    //GUID of the custom feature                    
    Guid districtFeatureId = new Guid("5b3529de-5045-46da-af87-8d2e32c121a7");
    Site clientSite = clientContext.Site;
    FeatureCollection clientSiteFeatures = clientSite.Features;
    clientContext.Load(clientSiteFeatures);
    clientContext.ExecuteQuery();
    //Activate the feature
    clientSiteFeatures.Add(districtFeatureId, false, FeatureDefinitionScope.Site);
    clientContext.ExecuteQuery();

    Hi shil chan,
    When you activate a feature on the site collection, the feature should be scoped to site or farm, the error message shows it cannot find the specific feature, this will happen when you have a feature in web
    scope or the feature isn’t installed.  
    So, to troubleshooting this issue:
    Verify whether the feature is scoped to web. Please go to
    Site Setting->Site Features . If the feature is a web scope feature, then add the feature to webfeatures.
    Make sure the feature is installed correctly.
    Please inform me freely if you have any questions.
    Thanks

  • Which one to use - Customer Interface or TCA APIs? And why?

    Hi,
    Please let me know the answer for the following questions. I have a legacy system in 11.0.3 (which does not have the TCA architecture) and the customers have to be moved to R12. I could get the details in different flat files for the import from source system. Which is the approach I should use?
    1) What does customer interface does NOT do which the TCA APIs can do?
    2) Doesn’t the customer interface use the TCA API within it?
    3) Is it better to use APIs than customer interface? If so, why and what are the criterions I should look for for deciding on what to use?
    Highly appreciate the help.
    Thanks,
    Dinesh

    Hello Dinesh,
    To answer your questions below:
    user3331828 wrote:
    1) What does customer interface does NOT do which the TCA APIs can do?The Customer Interface tables do the same things that TCA API does.
    user3331828 wrote:
    2) Doesn’t the customer interface use the TCA API within it?I have never been able to open a Spawned program to see which packages are used. Not sure if it uses the same API packages.
    user3331828 wrote:
    3) Is it better to use APIs than customer interface? If so, why and what are the criterions I should look for for deciding on what to use?Customer interface might be easier than the to implement than the use of API..
    For customer interface, just right a program to validate the source data and insert into open interface table, submit the import program and view output for errors. Much easy to maintain than API.
    API need a certain level of programming and you will need to investigate for all the flow of creating a customer and their corresponding create procedure to call..
    Hope this help,
    Vik

  • How to populate DUNS_NUMBER in AR through Customer Interface tables

    Hi,
    We are working on Customer Interface using custome Interface tables and run the standard Customer Interface program.
    As part of source data, we have data for D-U-N-S number, which should be populated to D-U-N-S number field displayed under Profiles Tab in Customer screen.
    I believe that field refers to DUNS_NUMBER_C or DUNS_NUMBER in HZ_ORGANIZATION_PROFILES base table.
    My question is what is the column(field) in Interface table to be populated which maps to the D-U-N-S number on the screen said above. ?
    Appreciate your quick response.
    Regards,
    Ram

    what you did?

  • Managing Entity Object and PL/SQL transactions

    Hi,
    I have requirement to use entity objects and PL/SQL API in the same transaction.
    First the data is created in the entity object and then API is called to do some validations on the data created through entity object.
    I am not able to fetch the rows created by the entity object in the PL/SQL API until I issue a commit before calling the API.
    Can anyone suggest me how to get the data in PL/SQL API which was created by the entity object without commit. As I want to have a commit only after API returns true.
    Thanks in advance

    Override the beforeCommit method of the main entity object of your page.
    The commit will only take place if the PLSQL does not throw any errors.
    See example below:
    public void beforeCommit(oracle.jbo.server.TransactionEvent e) {
    methodToCheckUsingPLSQL();
    super.beforeCommit(e);
    private void methodToCheckUsingPLSQL() {
    try {
    String sql =
    "BEGIN check_my_entity(p_id => :1" +
    ", x_return_status => :2" +
    ", x_return_msg => :3); END;";
    OracleCallableStatement stmt =
    (OracleCallableStatement)getDBTransaction().createCallableStatement(sql,
    DBTransaction.DEFAULT);
    // Rebind parameters
    stmt.setNUMBER(1, getId());
    stmt.registerOutParameter(2, Types.VARCHAR); //x_return_status
    stmt.registerOutParameter(3, Types.VARCHAR); //x_return_msg
    stmt.executeUpdate();
    String returnStatus = stmt.getString(2);
    String returnMsg = stmt.getString(3);
    if (!"SUCCESS".equals(returnStatus)) {
    throw new OAException(returnMsg);
    } catch (Exception e) {
    throw new OAException("Error during methodToCheckUsingPLSQL. " +
    e.getMessage());
    Regards,
    Jeroen Kloosterman

  • Polymorphic Entity Object on Database View ?

    Hi all,
    We want to implement polymorphism on business components (EO, VO). I have some questions :
    1) On the supertype-subtype, is it better to use ONE table for all subtypes , or using different tables with each subtype ?
    2) Is it recommended to use Entity Object on a Database View + Instead Of Trigger ?
    Thank you very much,
    xtanto

    Our recommendation is in the ADF Developer's Guide for Forms/4GL Developers, in section 26.6 "Using Inheritance in Your Business Domain Layer". A single table is the simplest and most functional.
    There's nothing wrong with using a view with instead-of triggers, as long as your not wasting your time to write PL/SQL that would be duplicating what ADF BC could automatically do for you using join view objects, with multiple entity usages, against multiple underlying tables. In general, you don't need to use views with instead-of triggers. See section 26.5 "Basing an Entity Object on a Join View or Remote DBLink" if you do.

  • Entity Object Classes Example

    Hi,
    Does anyone have an example on how to use Entity Object Class for a given Entity Object (i.e. a table). I was looking for an example that shows usage of a DML operation (say for e.g. insert) using this Entity Object Class.
    I did google, and searched this forum, but could not find an example.
    Please help, Thanks you,
    J
    Edited by: 843190 on Apr 5, 2011 2:13 PM

    Thank you Shay.
    I was searching just a little bit off, and moreover I could not see any end to end example, then. Thanks as always for your guidance.
    I ended up doing the following for inserting a new row to a table using the entity object class as follows:
    EntityDefImpl wmDoc = DocumentImpl.getDefinitionObject();
    DocumentImpl newDoc;
    newDoc = (DocumentImpl)wmDoc.createInstance2(((ApplicationModuleImpl)am).getDBTransaction(), null);
    newDoc.setBlah(blah);
    newDoc.setBlooh(blooh);
    try
    {    ((ApplicationModuleImpl)am).getDBTransaction().commit(); 
    } catch (JboException ex) {   
    ((ApplicationModuleImpl)am).getDBTransaction().rollback();
    throw ex;
    Configuration.releaseRootApplicationModule(am, false);

  • How to create entity object (Business Component) using service interface

    Hi,
    I have tried to create one entity object (ADF Business Component) in JDeveloper 11g using service interface option instead of database schema but getting Failed to read service WSDL URL: http://....?wsdl message.
    I have tried with axis default service Admin & Version wsdl and got same error message.
    Regards,
    Devang

    Hi,
    +"Oracle ADF Business Components application modules offer built-in support for web services and for publishing rows of view object data as service data objects (SDOs). This means that you can use an application module both as a local component and as a remotely accessible service, thereby using the same component to support interactive web user interfaces and web service clients. Entity objects that you create in your local Business Components project can utilize SDOs that the service-enabled application module exposes on its service interface."+
    This means that you don't use Axis services but ADF Business Components Services. I am not sure this functionality made it in Boxer, but surely will in the next
    Frank

  • Creating Entity Object from Service Interface - JDeveloper version 11.1.1.3

    In our project, we don't intend to have any JDBC connection to a database and want to create all my entity objects using SDO web services deployed in a remote server. I could create an entity object based on a SDO web service deployed in the standalone WL server successfully. But at the time of Development,when I select ADF Business Component --> Entity Object, it always takes to a screen that prompts for a JDBC connection, if you have no connection defined in the project yet. To bypass this, I need to create a valid connection to a local DB and then I can go the next page that prompts me to to choose service interface and asks for a WSDL URL. How do I get around creating a JDBC connection and create a service interface based data source directly?
    To get around this issue, I created a connection to a local DB by providing a wrong password to make sure that we don't need a valid db connection. The application module (Business Component Browser) works fine when the DB connection is broken. But when I create a JSF page and put the data control there, if we don't have the DB connection established it gives error during deployment.I tried deleting the unused connection, but that gives a lot of errors during deployment. My question is;
    1. How can I create a service interface based data source by-passing the requirement for a connection?
    2. If that's not possible - how can I cleanly delete the JDBC connection and all it's dependencies, so that, it deploys and runs without error

    Frank,
    Thanks for your response.
    I have made some progress in last two days and solved some of the original issues. I deleted the fake JDBC connection from connection.xml that I had to use to go to the second screen that lets me select the WSDL for the service interface. After that, I checked off the "Auto Generate and Synchronize ..." option from Application --> Application Properties --> Deployment. (thanks to Steve Muench's blog post on this subject). After that, I could deploy the JSF page and the page shows up with no problem.
    However, when I try to run the App Module that was created from the WSDL (service interface), it brings up a pop-up with heading "Password Required" that says "Enter the password for" and asks for a user name and password (not sure what they are as they take any value and takes me to the next screen). After that, I can open the View and navigate through it. When i change some data and try to commit - it makes the change to the data and stores in the DB but gives an error saying "(oracle.jbo.NotConnectedException) JBO-25200: Application module is not connected to a database."
    Also, the data control created from the service interface had operations called Commit and Rollback. I used the Commit on JSF page and that does the exact same thing too. Any idea?
    Also - when we consume a SDO WSDL to create the entity object - how can we access the SOAP Request and Response objects? We have to implement WS-Security by instrumenting the SOAP header and need to get a handle on that. Is there a mechanism similar to JAX-WS handler framework for SDO?
    R,
    Chandan

  • Populating the Addressee field using Customer Interface program

    Hello All,
    Can any body tell me how to populate the "Addressee" column in the HZ_Party_Sites table using Customer Interface Program. Which field should be populated in RA_Customers_Interface_All table inorder to populate the "Addressee" field.
    Thank you,
    Vijay

    You can post this thread in this
    Customers as well.
    Thanks
    GM

Maybe you are looking for

  • JBOSS with SAP r/3 using XI 3.0

    Guys I wanna integrate JBOSS with SAP r/3 using XI 3.0 SR 1, Please tell me guys where I can find appropriate guide to execute this project.

  • In CM01 selection screen, what is the meaning of "Operator"

    Hello, (1) In CM01 selection screen, there are 3 fields with column heading "Operator". There is no documentation available for those fields. Can someone help me understand what is the meaning and use of those 3 fields. Thanks. (2) We are in the proc

  • Setting RecordSelectionFormula to multiple subreports is not working.

    Hello, I have an application vb.net Vs2005 winform an Crystal Report for .NET. I have a report whith 3 subreports : i want to specify RecordSelectionFormula for the 3 subreport but it work only for one (the last have set) : Part of my code :   Dim do

  • Ipod won't go into disk mode

    for the last week and a half my ipod has not been able to start, everytime i turn it on i get the apple logo then the big red x that tells me to contact ipod support. i've restarted it a thousand times, made sure it was charged and when i plug it int

  • How to show no. of contents in each folder in a KM navigation iView....

    Hi everyone, Requirement - we need to display a KM Navigation iview which shows the count i.e. no. of the contents in each folder. Scenario - I have tried changing this property - in the resource renderer and have created a new layout set and a layou