Creating an API

Hi Experts,
I need to know the process/steps that is involved in creating an API.
We are loading data from Informatica into BW and are planning to create a "trigger" file at the end of each informatica load.We have to create an API that looks for these trigger file's and then raise the "Start" function in the BW process chains.
Thanks
Aravind Pattabiraman

Hi,
chk the links below on API
http://help.sap.com/saphelp_nw04s/helpdata/en/43/e2dc189770719ce10000000a1553f6/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee
Remya

Similar Messages

  • Error while invoking Create Applicant api thru apps adapter

    Hi All,
    We are trying to invoke Create Applicant API(hr_applicant_api.create_applicant) thru apps adapter but we are getting below error message - (we are using ebs 12.1.1 and soa 11.1.1.3)
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'PFCCreateIRCApplicantEbizAPI' failed due to: Stored procedure invocation error. Error while trying to prepare and execute the APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE.HR_APPLICANT_API$CREATE_APPLI API. An error occurred while preparing and executing the APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE.HR_APPLICANT_API$CREATE_APPLI API. Cause: java.sql.SQLException: ORA-20001: PER_????_PER_INV_COR_LANG ORA-06512: at "APPS.HR_APPLICANT_API", line 867 ORA-06512: at "APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE", line 136 ORA-06512: at line 1 ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>ORA-20001: PER_????_PER_INV_COR_LANG ORA-06512: at "APPS.HR_APPLICANT_API", line 867 ORA-06512: at "APPS.XX_BPEL_PFCCREATEIRCAPPLICANTE", line 136 ORA-06512: at line 1
    below is the input to api -
    <db:P_DATE_RECEIVED>
    2011-10-10T00:00:00.000+05:30
    </db:P_DATE_RECEIVED>
    <db:P_BUSINESS_GROUP_ID>
    1994
    </db:P_BUSINESS_GROUP_ID>
    <db:P_LAST_NAME>
    Alam
    </db:P_LAST_NAME>
    <db:P_PERSON_TYPE_ID>
    6252
    </db:P_PERSON_TYPE_ID>
    <db:P_PER_COMMENTS/>
    <db:P_DATE_OF_BIRTH>
    1981-01-01T00:00:00.000+05:30
    </db:P_DATE_OF_BIRTH>
    <db:P_EMAIL_ADDRESS>
    [email protected]
    </db:P_EMAIL_ADDRESS>
    <db:P_EXPENSE_CHECK_SEND_TO_ADDRES>
    </db:P_EXPENSE_CHECK_SEND_TO_ADDRES>
    <db:P_FIRST_NAME>
    Irfan
    </db:P_FIRST_NAME>
    <db:P_MARITAL_STATUS>
    S
    </db:P_MARITAL_STATUS>
    <db:P_MIDDLE_NAMES/>
    <db:P_NATIONAL_IDENTIFIER>
    </db:P_NATIONAL_IDENTIFIER>
    <db:P_PREVIOUS_LAST_NAME>
    </db:P_PREVIOUS_LAST_NAME>
    <db:P_SEX>
    M
    </db:P_SEX>
    <db:P_TITLE>
    Mr
    </db:P_TITLE>
    <db:P_WORK_TELEPHONE/>
    <db:P_PER_INFORMATION_CATEGORY>
    AE
    </db:P_PER_INFORMATION_CATEGORY>
    <db:P_PER_INFORMATION18>
    205
    </db:P_PER_INFORMATION18>
    <db:P_BACKGROUND_CHECK_STATUS>
    </db:P_BACKGROUND_CHECK_STATUS>
    <db:P_BACKGROUND_DATE_CHECK/>
    <db:P_CORRESPONDENCE_LANGUAGE>
    English
    </db:P_CORRESPONDENCE_LANGUAGE>
    <db:P_HOLD_APPLICANT_DATE_UNTIL/>
    <db:P_MAILSTOP>
    </db:P_MAILSTOP>
    <db:P_OFFICE_NUMBER/>
    <db:P_RESUME_EXISTS>
    Y
    </db:P_RESUME_EXISTS>
    <db:P_RESUME_LAST_UPDATED>
    0011-09-28T00:00:00.000+05:30
    </db:P_RESUME_LAST_UPDATED>
    <db:P_STUDENT_STATUS/>
    <db:P_WORK_SCHEDULE>
    </db:P_WORK_SCHEDULE>
    <db:P_TOWN_OF_BIRTH/>
    <db:P_REGION_OF_BIRTH>
    </db:P_REGION_OF_BIRTH>
    <db:P_COUNTRY_OF_BIRTH/>
    Thanks in Advance,
    Rakesh.

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • Task Does not get triggered when User is created through API

    Hi,
    Each new user in our OIM environment is supposed to have a iPlanet account. I have configured the access policy for the same and it works.There is also a process task which needs to be triggered once the user is successfully created in the DS. Following is my issue:
    1.When the new user is created through the admin console, the user is provisioned successfully to DS as well because of the access policy and the task also gets triggered successfully.
    2. There is an approval workflow for another resource, at the end of which a user needs to be created through APIs in OIM. The user gets created successfully in OIM and also get provisionined to DS just like in the above use case. However, the task fails in this case. I see that the task is being triggered from the user's resource profile, but the status is rejected.
    Can someone please tell me why is this happening. I initially though there was some issue with my adapter for the task, but in case 1 it works just fine.
    Following is the exception I get as soon as the iPlanet connector finishes creating the user in DS:
    java.lang.ClassCastException: java.lang.String
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETFIELDSONUSERCREATE.implementation(adpSETFIELDSONUSERCREATE.java:51)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    Thanks,
    Supreetha

    Hi,
    Have you checked the process data that you are passing to this adapter and check the mapping of process data to the adapter variable. Try to log the value which you get from process data. I got this error when I was trying to use the literal value from process data as "true" for a boolean value. This is a bug. This value is not actually a boolean value. It threw me error too sometimes back. Either you pass the boolean value from adaptor factory as a literal value or change the type boolean both in your code and the adapter.
    OIM works strangely. ;) All the best,
    Manila

  • By API action, how can I get the list of user IDs within a specific group  (which is created by API) ?

    By API action, how can I get the list of user IDs within a
    specific group (which is created by API) ?
    or How can I get the group (which is I create by API) ID to
    which a specific user belong by API action?
    Thanks
    Alex

    The poster already posted at the Acrobat Users Community, Interactive Forms that sums up a client order from catalog. The sample form posted to Acrobat.com was a revision of the sample form that came with Acrobat 4.0. There are some fairly advance scripts, templates, and document level functions involved with this form.

  • How to create an API java with Netbeans???

    can you please help me on creating an api with netbeans and explaine me how can i make it communicate with existing platforms.thank's

    First please learn how to ask a reasonable question that is both answerable and framed in a way that someone here would want to answer it: [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]

  • Cant create an API app (365 connector or MS SQL connector)

    I am trying to create some API apps but when i go through the process for O365 connector as follows nothing gets created.
    Click the +(bottom left)
    Click "Web + Mobile"
    click marketplace
    Click on "API Apps" on left hand side 
    click "create" on the office 365 connector banner
    select app service plan
    click create 
    it shows some dots '......." as if its doing something and then back to the Office 365 connector configuration screen except this time the Create button is grayed out and no matter what I do the create button never comes back to life. 
    Also not connector is created or shows up in my list of API apps. I've tried making new service plans in different resource group, changing the name around but nothing seems to make creation of the connector go through. 
    Same exact thing happens with the MS SQL connector but the settings are obviously different. End result no api app is created. 
    Anyone experiencing this or know how to resolve it?

    Hi Rice,
    A lot of work was done to improve reliability of the preview since launch. Can I recommend that you try again, ideally in a new App Service plan? We appreciate you sticking with us - we're keen to get bits into people's hands as soon as possible to get early
    feedback on product direction. In this case that meant a small %age of customers saw some rough edges, our apologies for this.
    Let me know how you get on.
    Josh
    http://twitter.com/joshtwist

  • Any workaround to CDG-00071 SYSTEM ERROR:  Failed to create Forms API context

    Hi all,
    Is there a workaround to "CDG-00071 SYSTEM ERROR: Failed to create Forms API context" other than re-installing designer, then forms builder on the same ORACLE HOME directory? To do this will cause considerable downtime to our systems.

    Hi Diego,
    Do you have the correct, corresponding version of
    Developer installed? You must install Developer to
    be able to generate and run the Forms correctly.
    If so, is it in the same <ORACLE_HOME>?
    You normally get this error if you don't have Developer
    installed in the same ORACLE_HOME as Designer. Please
    see the relevant Designer installation guides for full details.
    Regards,
    Dominic
    Designer Product Management
    Oracle Corp

  • How use eclipse create Flex API ?

    How use eclipse create Flex API ?

    I'm pretty sure this isn't anything to do with Acrobat Forms. Perhaps there is a forum for Flex?

  • Possibility on creating custom API's in OCCI

    Hi,
    In OCCI I'm planning to create custom API's i.e. I will pass any kind of query and it should execute and update the database.
    For instance,
    string query = "insert into stu(a,b) values(:1,:2)";
    It will update stu table with data from C++ object suppose 'X'.
    This kind of approach will work or it will not. I'm half way through on insert queries but encountering issues when hard coded and only partial data has to be updated in the table.
    Before continuing further could you please give me commnets on my approach?.
    Thanks
    Vishnu

    Yes, you can. You can insert values for a few columns as you indicated. What issues are you seeing?

  • Create an API to Launch an LabVIEW Built Executable and Pass it Input Parameters

    Hello,
    I'm looking for a way to create an API to Launch/Close an executable, created with LabVIEW, which in additional to Launching/Closing tht executable, will also allow me to pass input parameters.
    To give you some background, I'm working on a logging utility, basically a background dameon, which I currently have implemented as a LabVIEW packed library and my API is a few VIs to launch that daemon and pass it a filename and a logging rate.  Functionally it works just fine however is executes within LabVIEW not as an independent process.  So instead of using a packed library, I would like to compile my logging daemon down to an executable but I still need a way to launch it and pass it parameters from an external application (such as Teststand).
    I know you can launch executables and pass parameters using windows command lines, but I'm wondering if there is a more direct method such as a DLL that I could call in Teststand?  Thanks.
    Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

    When Teststand Launches the Logger, it does so by opening a reference to the logger daemon using the "Open VI Reference" primitive and then it launches an instance of the dameon using the "Start Asynchronous Call" node.
    This currently, launches the logger within labview not teststand.  If I were to directly call the logger daemon VI itself as a step in TestStand, then it could run in a new teststand thread.  At that point I would need a way to stop that logger which I should be able to do by storing a reference to its control queue within the teststand thread that it is running in.  Since teststand let's you specify VI execution in the runtime engine instead of LabVIEW that might do the job.
    The one catch is once the sequence completes, the logger does some cleanup, post processing, etc that depending on the amount of data captured can take some time so if a set of sequences needs to be executed, this could hang up teststand until that post processing is completed.  That is one reason why I wanted it to execute outside of testtand so that additonal sequences could continue to run while the daemon finishes up in the background.
    But, it's something I'll have to look into.
    Post CLD and when I'm a CLA when someone asks who I am, I can spin around in my chair and say "I am... the architect."

  • Ask for Tips to split a receipt (creating though API)

    Hello,
    I am currently having an issue with a certain receipt ( which is created by API )..
    I guess the issue caused from a great number of lines it holds ...up to more than 18000 lines
    so I might need to change the way receitp created.
    as it is.. 1 Receipt with 18000 lines
    To be ... several receipt with splited 18000 lines. ( I think it's ideal for this case )
    however , I'm not really familiar with EBS .
    It would be nice to have tips or pointers..
    thanks in advance

    This is a user-to-user technical support forum. You're not addressing Apple here. If you're having an issue with Apple Technical support, I'd suggest calling them back and asking for a supervisor.
    You can also use the feedback link:
    http://www.apple.com/feedback
    You're also welcome to ask your technical support question here. Perhaps someone can help.

  • Error while creating user in OIM using Create User API

    Hi All,
    My Setup:
    OIM running on Jboss Server where as my custom application to create user using CreateUser API in Tomcat Server.
    Below is the code that im trying to run.
    try
              System.out.println("Started ---");
                   ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
                   System.out.println("Login ---");
                   Hashtable env = config.getAllSettings();
                   tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","abcd1234");
                   System.out.println("Authenticated");
                   if (ioUtilityFactory!=null)
                        System.out.println("Login OK ---");
                   System.out.println("Getting utility interfaces...");
                   tcUserOperationsIntf moUserUtility = (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
                   System.out.println("Starting processing...");
                   Map attrs = new Hashtable();
                   attrs.put("Users.User ID",request.getParameter("userid"));
                   attrs.put("Users.Last Name",request.getParameter("lname"));
                   attrs.put("Users.First Name",request.getParameter("fname"));
                   attrs.put("Organizations.Key","1");
                   attrs.put("Users.Role","Full-Time");
                   attrs.put("Users.Xellerate Type","End-User");
                   attrs.put("Users.Password",request.getParameter("password"));
                   long key = moUserUtility.createUser(attrs);
                   System.out.println("Processing DONE...");
                   ioUtilityFactory.close();
         catch(Exception e )
         System.out.println("---" + e.getMessage());
         e.printStackTrace();
    When i am trying to create user it's throwing the below error message.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.NoClassDefFoundError: Could not initialize class com.thortech.xl.util.config.ConfigurationClient
         com.emulex.productsellers.CreateUser.doPost(CreateUser.java:33)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    Apache Tomcat/5.0.28
    And one more thing is if i place this code in jboss and it was working there with out any issues.
    Please let me know if i am missing anything.
    It's bit urgent.
    Thanks in Advance.
    Siva Pokuri.

    URGENT** How to change  OIM user password from outside OIM

  • Re-using Segments Created via API or Re-creating Every Time?

    Hi All,
    Wanted to get your thoughts on this...
    We have been able to create Segments via the API, however, which way to go:
    OPTION 1: Re-use Segment if there are no additions or deletions (changes) to the list? or
    OPTION 2: Re-create the Segment every time via API.
    In Option 1, we will still need to compare the existing list to the new list before deciding to re-use. However, the comparison will be done outside of Eloqua.
    In Option 2, we may create a new list even though there are no changes but we will have the historical data and it will be easier to identify lists.
    In both scenarios, data processing may affect performance.
    For those who have done this or are familiar, what would you recommend?
    Hope it's clear.
    Pinging: TJ Fields-Oracle, 1065474, freejung
    Thanks!!

    In simpler terms of creating assets and storage, creating new segments each time should not be a problem. That said, the asset choosers might end up being slow if you're blowing past 100k which will ultimately result in a poor user experience for the marketers. Please see:
    Eloqua Product Thresholds
    Beyond that, you should also consider:
    - Developers creating a process where segments and campaigns are being created automatically, and the campaigns being left active for a long time with segments are set to run every hour. For static lists, it wouldn't really result in heavy calculating but you can run into delayed contact entry into campaigns if you have hundreds of segments feeding hundreds of campaigns - each with heavy filtering. At best it would be pointless to run segments (on the canvas) hourly if the lists are static, and at worst you're making everything slower. That doesn't sound like a major concern here but something to keep in mind.
    - API tools automatically updating segments which are currently referenced in live campaigns (again, running hourly segments). This means if you re-use assets for new campaigns there is a risk that they're being referenced by a currently live campaign and you end up adding the wrong contacts to the wrong flow. Since segments share a relationship to campaigns as their primary contact feeder, the API tools should only be updating the same segment asset with new contacts if the intent is to add those contacts to an existing campaign.
    - Although keeping shared lists or segments untouched gives you some historical tracking, do not assume the contacts in those assets are exactly the same ones which were used when the campaign was launched. For example, if you delete the bouncebacks and unsubscribes after the campaign has run and go back to your segment, even if it is a simple segment with a local list, it will not contain the deleted contacts. For any serious auditing task, let the API tool archive what contacts were added to what segment. Then you can use Bulk 2.0 activity exports to keep a list of what contacts received what emails from various campaigns.
    Regards,
    Bojan

  • Template to create the API index page

    I saw some people having their own API page exactly like java's api doc, so i guess there must be a creatable template to create my own api doc...i wonder anyone knows how to create??..

    They used the javadoc tool provide with the any JDK....
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/javadoc.html
    Floweb

  • How to update Integrator's property that was created by api

    bne_integrator_utils.create_integrator(p_application_id => 20023, --CUX
    p_object_code => l_object_code,
    p_integrator_user_name => l_inte_user_name, --
    p_language => 'ZHS',
    p_source_language => 'US',
    p_user_id => -1,
    p_integrator_code => x_integrator_code --
    bne_integrator_utils.create_interface_for_api(p_application_id => 20023,
    p_object_code => l_object_code,
    p_integrator_code => x_integrator_code,
    p_api_package_name => l_package_name, --API
    p_api_procedure_name => l_procedure_name, --API
    p_interface_user_name => l_object_code || '_INTF', -
    p_param_list_name => l_object_code || '_INTF', --
    p_api_type => 'PROCEDURE', --API
    p_upload_type => 5,
    p_language => 'ZHS',
    p_source_lang => 'US',
    p_user_id => -1,
    p_param_list_code => x_param_list_code, -
    p_interface_code => x_interface_code --
    I use above code to create Integrator, it was going well,but after I finished the set ,I realized there was something wrong.
    So I want to use 'Manager Integrator' to update Integrator's property,but it was read only,
    so any one can tell me,how to update the Integrator's property just like coloum type and so on.
    ths for advice

    Hi,
    Use the below update statement.
    update bne_integrators_b
    set source='C'
    where integrator_code='Your Integrator code'
    then commit..
    Now u will be able to update the integrator from front end.
    Regards,
    Sreekanth.S

Maybe you are looking for