Inserting Information into Existing Custom Data Object Using API?

Hello,
I have setup a Custom Object and I have the ID for this object. All we're wanting to insert in this object is First Name, Last Name, Email. I have that information in code-form and I have both the BULK API and REST api at our disposal. We are having issues figuring out the API call we want to execute to insert this information into this Custom Object.
If someone could point us in the right direction that would be amazing. Thank you!

I solved the problem.
when we are selecting the image data from access database select that as getbytes
          while(rs.next())
               count++;
               picbarray = rs.getBytes("PICTURE");     
when inserting to the oracle db
PreparedStatement st1 = null;
String sql = "insert into (colmn1,colmn2,colmn3,comn4,colmn5) values(?,?,?,?,?)";
st1 = con.prepareStatement(sql);     
st1.setString(1, val1);
     st1.setString(2, val2);
     st1.setString(3, val3);
     st1.setBytes(4, picbarray);     
st1.setString(5, val5);
     st1.executeUpdate();

Similar Messages

  • How to upload data into SAP BW Info Objects using SAP XI

    Hi,
    I need to upload master and hierarchy data into SAP BW Info Objects using SAP XI as EAI.
    Can anyone suggest me the best solution to do it.
    Thanks in Advance,
    Volker.

    Hi! Have you not checked the BW-XI Integration document? It is available on the main page of the SDN section for XI. Almost all the steps for the integration are there...

  • Use an imported RFC's type as type in the custom data object

    Hello,
    I've imported an RFC function in my process. There were created automatically some RFC types describing RFC's input\output parameters. Now I want to create my custom data object type and want to use previously created type in my data object, but I can use only standard types like string or anyType. There aren't any of generated types in the list.
    Is it possible to use generated types as types in a custom data object?

    Hi,
    Where did you import the RFC? In WebDynpro application? If so, you need to expose the types through the Interface Controller then only the types will be visible in BPM process.
    Thanks
    Abhilash

  • Data source of an existing custom data library in DLL

    Post Author: tyakimov
    CA Forum: Data Connectivity and SQL
    Using Visual Studio .Net 2005
    I am trying to bind Crystal reports Data source to an existing custom data library, located not in the project code, but DLL. My library contains business object implementations.I am using the "Database Expert", creating a new connection to an ADO.NET source, selecting the .dll from the my directory, and selecting the Class Name from the list of business entities that Crystal Report has detected from the assembly.But when I try to expand the newly-added data source, "... no items found ..." is displayed instead of the properties of the business object. I use similar aproach (BindingSource) when I bind my custom objects to the grid. Is there any way to to bind to classes defined in a .dll located in a folder ?There are many examples if the class implementation is in my project code, but I could't figure out how to do that, using classes from a DLL Any suggestion/help is appressiated regards,Yakimo

    Post Author: bfs
    CA Forum: Data Connectivity and SQL
    No not yet, I'm still trying to find a solution.  If I find one or discover that this is not possible, I will post it here. 
    I've just sent an email to customer support pointing out this thread, hopefully they can provide some help.

  • Checkboxes and Custom Data Objects

    I'm trying to create a form with a list of checkboxes based on customers' interests - there's 8 in all and they can select multiple options.
    What I want to do is to create shared lists for each option which will serve as a segment members for future mailings.
    I also need to hold the data for that individual together so if I ever need to, I can go in and say 'Well, Joe Bloggs here is interested in X, Y and Z so I'll put him into campaigns A and B'.
    Are Custom Data objects the way to go? I've had a go at creating one and mapping it, but I don't know what to do with these checkboxes!!
    Thanks!!

    For the shared list, simply use the "Add to Shared Contact List" processing step for your form and make it conditional on the box being checked. You'll need 8 of these steps, one for each option.
    For keeping the data, I would use a Custom Data Object. Create a new CDO set with a field for the email address and one for each of your checkboxes (plus whatever other info you want, of course.) And then use the "Update Custom Data Object - With Custom Values" processing step. You can set this step to add a "yes" or "on" or whatever else you'd like to the appropriate field in the CDO. Again, make this step conditional on the checkbox being checked in your form. Again, you'll need to create 8 of these steps, but once you get the first one done, the others should go quicker.
    PS, I kept typing "from" instead of "form." Argh.

  • How to convert server specific date string into client specific date object

    Hi developers,
    I have a very complex issue to convert the server date string format "EEE MMM dd HH:mm:ss z yyyy" into java.util.Date object and find the difference of the client machine date to represent the elapsed time
    The problem is the server time zone and client time zone are not unique and when I try to covert the server date which is in string format to date format using SimpleDateFormat class , I got the server time as 3:30 hours appended to it. The server time zone is in IST and Client time zone format is GMT+5:30 , the appended time of 3:30 hours created the confusion in calculating the elapsed time between the server started time and client requested time
    I went through all the sites but none of them were useful
    If any help to solve the above issue is appriciated
    please send the response with the same subject line
    Advance Thanks

    Why don't you just subtract from the server time the 3:30 hours (consult api of java.util.date) before comparing with the client date? Hard to see where's the problem...

  • How to create Custom WEB ADI using API Only for both Dowload/Upload process

    I am able to create custom WEB ADI using API for upload process. I have written the following code to create custom WEB ADI using API for upload process.
    DECLARE
    v_application_id NUMBER:= 20003;
    v_object_code VARCHAR2(255):='WEBADI_API_DEM_17';
    v_int_user_name VARCHAR2(255):='WEBADI_API_DEM_17';
    v_language VARCHAR2(255):='US';
    v_source_lang VARCHAR2(255):='US';
    v_user_id NUMBER :=1345;
    v_integrator_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTG';
    v_param_list_code VARCHAR2(255);
    --v_interface_code  VARCHAR2(255);
    v_interface_code VARCHAR2(255);--:='WEBADI_API_DEM_17_INTF';
    p_layout_code VARCHAR2(255):='WEBADI_API_DEM_17_LAYOUT';
    V_MAPPING_CODE VARCHAR2(255);
    BEGIN
    BNE_INTEGRATOR_UTILS.CREATE_INTEGRATOR(P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_USER_NAME =>v_int_user_name,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_INTEGRATOR_CODE =>v_integrator_code);
    BNE_INTEGRATOR_UTILS.CREATE_INTERFACE_FOR_API (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_API_PACKAGE_NAME =>'XXDH_PRICE_LIST_POC_PKG',
    P_API_PROCEDURE_NAME =>'CREATE_PRICE_LIST',
    P_INTERFACE_USER_NAME =>'WEBADI_API_DEM_17',
    P_PARAM_LIST_NAME =>'WEBADI_API_DEM_17',
    P_API_TYPE =>'PROCEDURE',
    P_API_RETURN_TYPE =>NULL,
    P_UPLOAD_TYPE =>2,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANG =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_PARAM_LIST_CODE =>v_param_list_code,
    P_INTERFACE_CODE =>v_interface_code);
    BNE_INTEGRATOR_UTILS.CREATE_DEFAULT_LAYOUT
    (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_INTERFACE_CODE =>v_interface_code,
    P_USER_ID =>v_user_id,
    P_FORCE =>FALSE,
    P_ALL_COLUMNS =>TRUE,
    P_LAYOUT_CODE =>p_layout_code);
    BNE_CONTENT_UTILS.CREATE_CONTENT_COLS_FROM_VIEW (P_APPLICATION_ID =>v_application_id,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_VIEW_NAME =>'XXDH_PRICE_LIST_POC_V',
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id);
    BNE_CONTENT_UTILS.CREATE_CONTENT_TO_API_MAP (P_APPLICATION_ID =>v_application_id,
    P_OBJECT_CODE =>v_object_code,
    P_INTEGRATOR_CODE =>v_integrator_code,
    P_CONTENT_CODE =>'WEBADI_API_DEM_17'||'_CNT',
    P_INTERFACE_CODE =>v_interface_code,
    P_LANGUAGE =>v_language,
    P_SOURCE_LANGUAGE =>v_source_lang,
    P_USER_ID =>v_user_id,
    P_MAPPING_CODE =>V_MAPPING_CODE);
    END;
    I need to know what are API we can use to create download+upload ADI? anyone has already prepared script....please share it it me. My email id - [email protected]
    Thanks

    Use FNDLOAD, it's the only way.
    There are 2 seperate scripts, 1 for the Integrator and 1 for Layout.
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneintegrator.lct <your name>.ldt BNE_INTEGRATORS INTEGRATOR_ASN="XXX" INTEGRATOR_CODE="<your code>"
    FNDLOAD apps/<pw> 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct <your name>.ldt BNE_LAYOUTS LAYOUT_ASN="XXX" LAYOUT_CODE="<your code>"
    Cheers
    Jeroen

  • Creating a Date object using an existing date object of different format

    I am stuck in a problem while converting the date formats:
    I have a date object in the format "yyyy-MM-dd" (e.g., 2009-08-21). And i want to create a date object in the format "MM/dd/yyyy" (e.g., 08/21/2009)
        String s = oldDate.toString(); SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy"); Date newDate = formatter.parse(s);
    the above code gives parse Exception:
        java.text.ParseException: Unparseable date: "2009-08-21"
    Any Clues ?
    Edited by: Rahul.Mittal on Aug 21, 2009 10:09 AM
    Edited by: Rahul.Mittal on Aug 21, 2009 10:12 AM

    my apologies for putting it into a wrong forum. Anyways thanks for the pointer.
    But i still feel that if i somehow get the desired Date object i can get through the problem. Something like this:
         public Date getdOJ() {
              Date oldDate = this.dOJ;
              SimpleDateFormat oldFormatter = new SimpleDateFormat("yyyy-mm-dd");
              Date newDate;
              try {
                               String s = oldDate.toString();
                               SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
                               Date newDate = formatter.parse(s);
              } catch (ParseException e) {
                   e.printStackTrace();
              return newDate;
         }Unfortunately i am getting java.text.ParseException

  • Delete a row from a data object using an AQ-driven EMS

    Hello, technetwork.
    I need to show the contents of a table that changes frequently (inserts, updates and deletes) at ORDBMS 10g in my BAM dashboard.
    What i have done is:
    - Create two different queue tables, queues.
    - Create two triggers: one for "AFTER insert or UPDATE" and the other for "BEFORE DELETE".
    - Create two EMS, one configured to Upsert operations and the other to Delete.
    - The Upsert EMS works, but the Delete EMS does not.
    - Both EMS Metrics say that they work fine and commit the messages i send to the ADC.
    - Testing showed records are populated and updated in the ADC but never deleted.
    There is a detailed user case for "Creating an EMS Against Oracle Streams AQ JMS Provider" in the Fusion Midleware Developer's Guide for SOA Suite, but it deals only with Upserts. I am using the last versions of SOA suite and Weblogic. The official support has no information either.
    I hope writing a web service client isn't the only way to delete a row from a data object. Am i missing something? Any help will be much appreciated.
    My EMS config:
    Initial Context Factory: weblogic.jndi.WLInitialContextFactory.
    JNDI Service Provider URL: t3://<spam>:80.
    Topic/Queue Connection Factory Name: jms/BAMAQTopicCF.
    Topic/Queue Name: jms/ProdGlobalBAMD_flx.
    JNDI Username: .
    JNDI Password: .
    JMS Message Type: TextMessage.
    Durable Subscriber Name (Optional): BAM_ProdGlobalBAMD.
    Message Selector (Optional): .
    Data Object Name: /bam/ProdGlobalBAM_flx.
    Operation: Delete.
    Batching: No.
    Transaction: No.
    Start when BAM Server starts: No.
    JMS Username (Optional): .
    JMS Password (Optional): .
    XML Formatting
    Pre-Processing
    Message Specification
    Message Element Name: row
    Column Value
    Element Tag
    Attribute
    Source to Data Object Field Mapping
    Key Tag name Data Object Field
    . BARCODE. BarCode.
    Added my EMS config

    Ram_J2EE_JSF wrote:
    How to accomplish this using JavaScript?Using Javascript? Well, you know, Javascript runs at the client side and intercepts on the HTML DOM tree only. The JSF code is completely irrelevant. Open your JSF page in your favourite webbrowser and view the generated HTML source. Finally just base your Javascript function on it.

  • How do I load SIDs into a Master Data Object?

    Hi again,
    I created an InfoObject WCUSTOMER with 0CUSTOMER as template (NOT reference). That means the structure of these two objects should be identical. Now I want to load WCUSTOMER also with the same data.
    I loaded WCUSTOMER with attributes and texts using the InfoSources 0CUSTOMER_ATTR and 0CUSTOMER_TEXT. But of course, SIDs are missing. Otherwise I won't see any data because WCUSTOMER does not know which attribute tables to refer to. Right?
    Now how do I get these SIDs into WCUSTOMER? I can see that apparently 0CUSTOMER is using a DataSource called 0CUSTOMER_LKLS_HIER for that purpose. But (1) the BI does not offer me a chance to use this DataSource as well for WCUSTOMER and (2) it wouldnt even make sense because 0CUSTOMER and WCUSTOMER would then refer to the same set of attribute tables which was not the purpose of creating a separate InfoObject for Customers. Right?
    So how can I manage to get some SIDs into my WCUSTOMER object in order to use the attribute and text tables I already filled with data?
    I hope someone can give me a hint. I'll assign points of course...
    Stefan

    Hi Jürgen,
    How did you look at the data ? (Right click on
    Infoobject to "maintain master data")
    Yes, that is what I did. I also went into the InfoObject under "Masetr Data/Texts" and double clicked the three tables listed there.
    Did you activate the maser data ? (Right click on
    Infoobject to start from context menu)
    Just activated it, but still no other result.
    Did you load any "Text" for WCUSTOMER ? The text is
    what is shown in a bex query, not any attribute (at
    least not initially).
    I did load the texts. I haven't tried to see them in the Bex Explorer.
    Transaction SE16 show the content of a table. I don't
    know the table where you will find customer data in
    R3.In BW you can look at the data of your WCUSTOMER by looking at
    table /BIC/PWCUSTOMER (at least if your name space is
    configured similar to ours).
    Yeah I checked the table. But also no data visable.
    I also checked the list of requests. All they tell me is InfoSource and Datasource, etc. Nothing I wouldn't have expected.
    Two things I will have to try:
    1. really check if there is data in the R3
    2. export 0Customer data and load it as a flatfile.
    Cheers,
    Stefan

  • How to insert bookmarks into an custom installer

    Hello,
    I'm trying for quit some time now to insert some fixed bookmarks into a custom firefox 7.0.1 installer.
    I tried to use a default profile that has those settings preset, but this isn't working out well. Lot's of users are working on the same computers and every time someone logs into the AD and his roaming profile gets loaded firefox creates an new profile. I have to make the changes everytime they created a profile.
    Is there a way to customize the default profile thats loaded by first start?
    Or force firefox to look at a different location (at first start) for the profiles.ini? Then i use a customized profiles.ini on a other location (not the usual profile path).
    If you need more information, just ask, i want this to work :)
    Me

    You can place a file bookmarks.html in the location of the default profile template folder \defaults\profile in the Firefox program folder (C:\Program Files\Mozilla Firefox\).<br />
    All files in that folder are copied to the new profile.

  • How can we get the value of the key field in a custom data model using governance API?

    Dear Team,
    How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
    Any kind of help would be sincerely appreciated.
    Thanks & Regards,
    Tushar.

    Hi Michael,
    Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
    For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
    This is a workaround for now.
    So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
    Can we do that using governance API and its' methods?
    In the Governance API doc you provided below has referring to below external model as part of gevernance API.
    The active or inactive data (before or during the derivation or the check) can be read
    with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
    the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
    parameter should b
    e set to ‘X’.
    Thanks
    Praveen

  • Impact of changing/enhance an existing master data object

    Hi Experts,
    I have a new requirement to enhance 0comp_code in order to add 2 extra fields in the master data.
    As 0comp_code is an infoobject used in lots of cubes, I would like to know which is the impact of changing it.
    Which actions should I take into account before doing any changes.
    Many thanks in advance!

    Hi,
    If you are adding any new fields to infoobject, you will not have any impact to existing info providers which uses that infoobject.
    If the attr u add is a navigational attr and if you want ur info provider to have it, then you will have to enable it and activate the info provider and the update rule as well.
    is your data source modified to bring in those new fields? or is it going to be manually maintained?
    Regards,
    Pradhiba

  • I need to re-insert information into add-ons that need it everytime i restart my computer.

    Everytime I restart my computer and open Firefox, I have to re-insert certain information into specific add-ons.
    For instance, "Firefox Sync" doesn't sync until I enter my Firefox Sync account information as if I just installed it. This happens everytime I restart.
    And "Webmail Notifier" loses my webmail account information. I have to re-enter the credentials for the 3 accounts I want it watching everytime I restart my laptop.
    Out of all my add-ons, I think those are the only two having problems. Any suggestions?
    All my plug-ins seem up to date, no viruses/spyware...

    You may have a problem with the preferences file, for details on fixing that see https://support.mozilla.com/kb/Preferences+are+not+saved

  • Import Data object using web service adapter

    Hello experts,
    In DOE, theres a way to import Data Object from a wsdl using webservice adapter. We got to know that there are some guidelines(constraints) on the operations provided in the wsdl to be able to use webservice adapter. Could you please give a sample wsdl which can be used to import Data object for our reference?
    Thanks in Advance,
    Srilatha

    Hi Srilatha,
    SAP Netweaver 7.3 is not yet released to customers.  Once, this happens we will post sufficient documentation related to the Import of Data Objects through WSDLs.  In case you require the information urgently, kindly get in touch directly with the colleagues from DOE Mobile team.
    Best Regards,
    Kranti

Maybe you are looking for

  • Index, trigger on _LT table?

    Index or trigger can be created directly on LT table, instead of going through beginDDL and commit DDL on the current view. What's the impact? I noticed that the trigger created this way won't show on LTS Table after beginDDL. Any guide line about th

  • ISE 1.1 - switch ignores "Session-Timeout"

    hi all, I'm playing around with ISE guest service and have some difficulty with Time Profiles. After guest logs in, Radius attributes are sent to the switch (3750G) one of them is Session-Timeout which should be similar to 1h (DefaultOneHour) Accordi

  • How to add a list view from a parent site to a subsite

    I have a custom list in a parent site, and I would like to display that same list (perhaps with a different view) on a page in a subsite.  Is there a straightforward way of doing this?

  • ALL flash videos looks pixelated, win 7 or 8.1, ONLY with firefox

    Latest firefox version, latest adobe flash player.. Had cleaned cache and preferences of both Firefox and Flash Player.. two different machines with different hardwares and SOs, no luck! With Google Chrome all videos are ok. It's like the difference

  • N81: internet problem

    Hi...I have a big problem with my N81 2gb . From a couple of months when I try to surf on the internet, both by web of vodafone and by the wi-fi line at home, it doesn't work. My phone trys to open the internet page but the display images just disapp