Bank Deposit Posting using DI API

Hi All,
     Is there any way to post bank deposit using DI API except following service concept.
SAPbobsCOM.
DepositsService dpService = (SAPbobsCOM.DepositsService)companyService.GetBusinessService(SAPbobsCOM.ServiceTypes.DepositsService);
Regards,
Venki .A

Hi All,
Is the above process can be done by setting
  oLandedCost_ItemLine.ExpenditureFC
Value in DI API, Even if I try to set for ExpenditureFC value, system is recalculating the value again. How to stop the sap calculation here?

Similar Messages

  • Posting document using DI API

    Hi All,
    I have a user-defined object of document type.  Can anyone tell me how to create/post a document in my UDO from outside business one using DI API.
    Thanks.
    Melvin

    Hi Melvin,
    Have you searched forum?
    Check this first: Re: DI API for UDO !!!
    Thanks,
    Gordon

  • Can I use external APIs to authenticate users?

    I have been asked to develop a lightswitch application either as desktop client or HTML client. Now I am confused about the authentication
    mechanism in LightSwitch, and it leads a question: Can I authenticate my users from an external website or application?  
    For the HTML client, I have been thinking that whether I could use external APIs like Facebook Login API to authenticate my users? If I could, the code should be JavaScript, then where should I put it, and how can I configure my LS application?
    For the desktop client, same question, if I could identify my users by pulling some user information from an external website, what kind of code/Programming Language shall I use? 

    Hey ConnorTx!
    This is not supported out of the box.
    For in-browser desktop applications, you can hack around this by setting up the social media credentials, then redirecting to your desktop application while passing the self-encrypted credentials.  I explained this workaround in
    this article.
    I don't have enough production experience with HTML apps yet.  However when you use Forms authentication, I suspect you can simply fill in the IPrincipal on the HttpContext.Current, then redirect to your HTML app, and the LightSwitch Forms Auth mechanism
    would pick up your principal as valid credentials.  I wish I had time to show you some code for this, would make a great blog post :/
    Keep rocking LS!
    Jan
    It's your story - time to switch on the innovation.||About me||LightSwitch blog

  • Document Set Creation in document library using REST API in Sharepoint 2013

    Hi,
    I want to create the document set using REST API call. Currently i am able to create the folder and able to upload the files using REST API's in the document library. Is there any way we can pass the contentype name or Id and create the document set using
    REST API call. We need to create the document set along with metadata and upload the files inside the document set.
    I need to create the document set along with meta data column values using REST API. Please let me know how we can achieve this through REST API.
    Thank you,
    Mylsamy

    Hi,
    According to your post, my understanding is that you wanted to create document set along with managed metadata fields.
    The REST API does not currently support working with Managed Metadata or Taxonomy fields.
    As a workaround, we can use the JavaScript Client Object Model.
    Create document set using JavaScript Client Object Model.
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/aacd96dc-0fb2-4f0d-ab4c-f94ce819e3ed/create-document-sets-with-javascript-com-sharepoint-2010
    Set managed metadata field with JavaScript Client Object Model.
    http://sharepoint.stackexchange.com/questions/95933/add-list-item-with-managed-metadata-field-through-jsom
    http://sharepointfieldnotes.blogspot.com/2013/06/sharepoint-2013-code-tips-setting.html
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • OIM 11Unknown entity type Account with ID while using linkEventToUser() API

    I would like to link an recon event (which is in status "No User Match Found" ) to an user.The recon event is generated through target recon using reconciliation API
    I am using the API linkEventToUser() but getting the following error.
    <Error> <oracle.iam.reconciliation.impl> <IAM-5010000> <Generic Error/Information: {0}
    oracle.iam.reconciliation.exception.InvalidEventException: Unknown entity type Account with ID 2180,060
    From OIM web console if i check the Link button / option iin event management for this event is greyed out.
    There are already threads on this in the forum but they are old and no replies so i thought to post a fresh thread.
    I am also getting the same error while generating a new recon event.
    The strangest part is that this was working a few weeks back.
    Any help or idea how to proceed is highly appreciated.
    Thanks and Regards,
    Kungo.
    Edited by: Kungo on Oct 25, 2012 3:06 AM

    Any one saw this thread :)
    Is there a way to get attention on this thread from all the Gurus on this forum ?
    Please do let me know.
    Thanks and Regards,
    Kungo

  • 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

  • How to use Properties Metadata global service using KM API's

    Hi,
    I have a requirement where I need to get the list of property Namespaces configured in the KM Portal and also all property Names associated with each Namespace.
    I was able to see the list of Namespaces in KM portal at "ContentManagement --> Global Services --> Property Metadata --> Namespaces"
    Is there any way to access the Property Metadata service and get the list of Namespaces?
    I have seen few posts using the IPropertyConfigurationService as below:
    IPropertyConfigurationService configService;
    try {
    configService =
    (IPropertyConfigurationService) ResourceFactory
    .getInstance()
    .getServiceFactory()
    .getService("PropertyConfigurationService");
    } catch (PropertyConfigurationServiceException e) {
    e.printStackTrace();
    I am not sure if IPropertyConfigurationService has API's to give the list of Namespaces as I was not able to figure out the jar file in which API's related to IPropertyConfigurationService exists.
    Will the IPropertyConfigurationService be useful to fetch all the configured Namespaces? If so, which jar file should I place in my build and class path?
    Also, Can I get the property names associated with each namespace?
    Any help or hint is greatly appreciated.
    Thanks,
    Suresh.

    Hi Praveen,
    Thanks for the information on km.shared.service.propertyconfig_api.jar file. I have located the file in the mentioned location and was using it sucessfully.
    I was able to use IPropertyConfigurationService  and fetch the MetaData properties in the Portal application.
    But, when I place the same code on WebDynpro application it doesn't work.
    I have placed the km.shared.service.propertyconfig_api.jar in lib folder of the WebDynpro project, but on runtime I get ClassNotFound exceptions of various classes.
    I was wondering if there is any configuration that need to be mentioned for accessing KM Portal applications in WebDynpro.
    I have found one post related to this which was talking about using IPropertyConfigurationService in WebDynpro, but not directly, using EJB
    Link:[https://www.sdn.sap.com/irj/sdn/thread?threadID=338383]
    Can you throw some hints on how to go about this issue.
    Thanks,
    Suresh.

  • Need to clear openitems for Bank Reconciliation without useing Algorithms

    Dear All,
    As per configuration of Manual Bank Reconciliation, for clearing cheque deposit & cheque issue we are useing Algorithms 15 & 13 respectively. while uploading Bank statement we used to give SIX digit cheque number as a reference to clear the open items (i.e the same cheque Number is used to enter by the user in Allocation field of GL Account)
    But as a special case the user has entered more than SIX digit cheque Number in Gl Account. Now am unable to clear those open items, since bank statement is having six digit cheque Numbers only.
    My question is if i want to clear the open items of cheque deposit, cheque issue, others without useing Algorithms... let me know the configuration with various specification parameters.
    Regards,
    Swathi

    HI
    My Requirement is only one..... can we clear without useing Algorithms..... let me know the process.... on what parameters/specifications can do
    Rgds,
    Swathi
    Edited by: swathi fico on Aug 27, 2009 10:08 AM
    Edited by: swathi fico on Aug 27, 2009 12:55 PM

  • Current Day Bank Statement post to GL and Sub-Ledger

    Hello SAP Friends,
    I need help on Current Day Bank Statement. Appreciate your input/help/opinion.
    My client wants to update Current day bank statement to G/L and Sub-Ledger so that any electronic payment received from customer updated in real-time. As the sale cycle is very short about a week, they do not want to wait to update book with prior day bank statement.
    SAP standard functionality allows creating memo record from current day bank statement to reflect Correct Cash Position.
    Can someone share there experience for Current day bank statement posting and how process has been managed technically?
    Thanks for all help.
    Suresh

    Hi,
    When Manual bank statement is run, a JV gets posted knocking of subledger with debit or credit (Payment/Deposit) and one line item will be posted in the main bank account.
    In you scenario, take the document available in the main bank account and reverse it in transaction code FBRA. This will knock off all the balances and the ledger will be zero.

  • Clearing Bank Sub-account using F-03 creates FX diff for FX invoice

    I make payments in foreign currency with my online FX provider.
    I enter the invoice (FB60) in foreign currency (eg IDR 200,000,000).
    I then clear the invoice with a payment (F-53) again in foreign currency (eg IDR 200,000,000), overriding the SAP generated OB52 FX rate to match the FX rate that was actually used when purchasing the IDRs to make the payment.
    The withdrawal from our bank account (eg AUD 25,000) is posted via FF_5.
    The local currency amount of the Payment is the same. (eg AUD 25,000)
    Viewing the bank sub-account in FAGLL03 shows a debit and a credit of AUD 25,000.
    When I manually clear the bank sub-account using F-03, I set the currency to the local currency (AUD).  The amounts from the payment side now appear as different AUD amounts.
    I select the transactions that I want to clear.  There is a balance which becomes zero when you toggle between Clearing Currency and Local Currency when you click the "Clearing Curr <> Local Curr" button.
    I am forced to charge off the Clearing Currency difference and enter an FX gain or loss item. 
    When I simulate, SAP automatically generates offsetting FX gain or loss items.  They have Document Currency AUD zero amount, Local Currency AUD non-zero amount and post to the Cost Centre that the original expense was posted to on the FB60 invoice. 
    Is there a way to avoid these FX transactions as all I'm doing is a clearing for bank reconciliation purposes on amounts that are the equal?  There is no actual FX gain or loss.

    Hi,
    When you select open items within clearing procedures, the amount in local currency is recalculated as at the translation date/clearing date from the foreign currency amount.
    The solution is we have to set flag u2018No exchange rate differences for clearing in local currencyu2019 through SAP Configuration (Transaction code: OBY6).
    Regards,
    Krishna Kishore

  • Using Windows API in my LabWindows CVI code

    Hi all.
    I would like any and all help. I am developing on LabWINDOWS 2010 and am trying to use the Windows API, particularly the multimedia APIs, in my CVI code. What I am trying to do is audio development, only it has to be in .NET or Visual C++ platform. I have developed the code and UIR, but when I build the solution it tanks on me. Of course when I use MS Visual C++ 2008 or 2010 there are no errors and I could use MS Visual C++ to develop my application, but the development of the user interface and the controls is much more straight forward with CVI and there are more controls to work with than there are with MS Visual C++. Most of the errors that I get are related to the following header files: "MMSystem.h", "devicetopology.h",  and the "endpointvolume.h". When I try and build a skelton project with no controls or indicators on the .UIR I get the errors like:
    "devicetopology.h"(2301,20) Missing parameter type.
    "devicetopology.h"(2301,40) syntax error; found '*' expecting ')'.
     "MMSystem.h"(151,1) Unrecognized declaration.
    "MMSystem.h"(850,96) syntax error; found 'identifier' expecting ')'.
    That is just a few of them, but they typically say the same thing. I have included the header files and libraries in my project, and  have made sure that they are in the CVI "sdk" directory. I have tried example code that have these header files and the result is still the same. I know that I should not have these type of issue, at least I don't think I should. Like I said I could use as much help as possible of figuring out what is the matter. Did I install the CVI improperly? Are there patches that I need to actually use windows APIs? I am attaching to this post my code and the code I downloaded from a LabWINDOWS forum. When I ran the code from the forum I got the same errors.   
    Thanks in advance.
    Attachments:
    AudioVolume.c ‏2 KB
    VISTAS-OpenAL.c ‏44 KB

    Humphreyy,
    thanks for the tip. I tried it but it did not work, the same errors were present. Are there any other suggestions. I have racked my brain to figure out why this is happening and have come up with nothing. I am also getting a "Warning" message concerning the "KsMedia.h" file that says "Warning: Excess characters in multibyte character literal ignored." The warnings trace back to the "typedef enum" section of that file. Could that be causing a ripple effect that produces the error I am seeing in the other header files I mentioned??
    I could really use your help and any more help that is available. I really don't want to use Visual C++, because this software is going to get more sophisticated and is to be used in NASA Langley's VISTAS simulator, an environment taylor made for National Instruments software.

  • Add user to sharepoint group using REST API

    I am trying to add a user to sharepoint group with following code
    serviceUrl= Appweb + "/_api/SP.AppContextSite(@target)/web/sitegroups("+GroupId+")/users?@target='host web'";
        $.ajax({
            url: serviceUrl,
            type: "POST",
            contentType: "application/json; charset=utf-8",
            dataType: 'json',
            body: "{'__metadata': { 'type': 'SP.User' },'LoginName':'i:0#.f|membership|'+email }",
      headers: {"accept":"application/json;odata=verbose",
        "content-type": "application/json;odata=verbose",
        "X-RequestDigest":$("#__REQUESTDIGEST").val()
        async: false,
      success: function (data) {
               alert('success');
      error: function (data) {
                 alert('fail');
    The request goes to error function. Response of the request is Microsoft.SharePoint.Client.InvalidClientQueryException and message is A node of type 'EndOfInput' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was
    expected
    I tried the sample from following link but fail it
    https://msdn.microsoft.com/en-us/library/office/dn531432.aspx

    Hi,
    Per my understanding, you might want to add an user to a SharePoint group in host web from a SharePoint Hosted App using REST API.
    Here is a working demo for your reference:
    var hostweburl;
    var appweburl;
    $(document).ready(function () {
    //Get the URI decoded URLs.
    hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
    // Resources are in URLs in the form:
    // web_url/_layouts/15/resource
    var scriptbase = hostweburl + "/_layouts/15/";
    // SP.RequestExecutor.js to make cross-domain requests
    $.getScript(scriptbase + "SP.RequestExecutor.js", loadPage);
    // Utilities
    // Retrieve a query string value.
    // For production purposes you may want to use a library to handle the query string.
    function getQueryStringParameter(paramToRetrieve)
    var params = document.URL.split("?")[1].split("&");
    for (var i = 0; i < params.length; i = i + 1)
    var singleParam = params[i].split("=");
    if (singleParam[0] == paramToRetrieve) return singleParam[1];
    function addUsersInGroup() {
    var executor;
    // Initialize the RequestExecutor with the app web URL.
    executor = new SP.RequestExecutor(appweburl);
    executor.executeAsync({
    url: appweburl + "/_api/SP.AppContextSite(@target)/web/sitegroups(8)/users?@target='" + hostweburl + "'",
    method: "POST",
    contentType: "application/json; charset=utf-8",
    dataType: 'json',
    body: "{'__metadata': { 'type': 'SP.User' },'LoginName':'i:0#.f|membership|[email protected]'}",
    headers: {
    "Accept": "application/json; odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest":$("#__REQUESTDIGEST").val()
    success: addUsersInGroupSuccessHandler,
    error: addUsersInGroupErrorHandler
    function addUsersInGroupSuccessHandler(data)
    console.log(data);
    var jsonObject = JSON.parse(data.body);
    console.log(jsonObject);
    function addUsersInGroupErrorHandler(data)
    console.log(data);
    var jsonObject = JSON.parse(data.body);
    console.log(jsonObject);
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected].

  • Attachments help - C# using Obect API

    I'm in my first attempt at integrating GW functionality into a C# application. I am not an expert C# programmer either. Thus far I've been successful at getting logged into GW, creating a new mail message and sending it successfully. However adding code to attach a file to my message returns an exception from the GroupwareTypeLibrary with the unhelpful error message "Unknown Error". Below is my code. If I comment out the line:
    objMessage.Attachments.Add("c:\reg.log",1,"reg.log ");
    the program runs successfully, happily sending my mail to the recipent mailbox. I know the c:\reg.log file exists and I have permissions to it.
    Any advice as to what I'm doing wrong would be of tremendous help, as I've already search and cruised all the forums on GW API I can find to no avail. Running GW 7.03 I think on client and server side.
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.IO;
    using GroupwareTypeLibrary;
    namespace GWEmailTest
    class Program
    public static void Main()
    GroupwareTypeLibrary.Application objApplication = new GroupwareTypeLibrary.Application();
    GroupwareTypeLibrary.Account objAccount;
    GroupwareTypeLibrary.Messages objMessages;
    GroupwareTypeLibrary.Message objMessage;
    GroupwareTypeLibrary.Folder objMailBox;
    GroupwareTypeLibrary.Recipients objRecipients;
    GroupwareTypeLibrary.Recipient objRecipient;
    objAccount = objApplication.Login("dpuls", "", "password", "", "");
    objMailBox = objAccount.MailBox;
    objMessages = objMailBox.Messages;
    objMessage = objMessages.Add("GroupwareTypeLibrary.Message",4," ");
    objRecipients = objMessage.Recipients;
    objRecipient = objRecipients.Add("dpuls","","");
    objMessage.Subject.PlainText = "Here's the message from C#!.";
    objMessage.BodyText.PlainText = "Here's the report you wanted.";
    objMessage.Attachments.Add("c:\reg.log",1,"reg.log ");
    objMessage.Send();

    Markus,
    Thanks so much for your quick reply. I appreciate your willingness to help me overcome my ignorance. Here's what I found:
    objMessage = objMessages.Add("GW.MESSAGE.MAIL", 4);
    results in a C# compiler error "no overload method for 'add' requires '2' arguments". This tells me the third paramater is required for the GroupwareTypeLibary COM object, so I added the third null parameter back in, eliminating the compiler error. Then I still got the same "unknown error" exception back from the COM library as before.
    So I went back to my shotgun approach of trying variations on parameter passing (instance variables instead of literals, etc). I noticed at one point when I tried another test file that I got a compiler error on a string literal of the path\filename "c:\csharptest.txt". Aha, says I ......
    To make a long story short, by happenstance, my "c:\reg.log" parameter gets read in C# as containing an escape sequence reference, i.e. "\r" and when I changed to another test file it read "c:\csharptest.txt" as an INVALID escape sequence "\c". The fix then was to correct the problem of the reading of escape sequences in my string literal by changing my line of code to :
    objMessage.Attachments.Add(@"c:\reg.log","1","");
    Problem solved! Thanks again for your help.
    dennis puls
    Originally Posted by Markus Colorado
    I suppose the way you're adding a draft message to the collection is false.
    >> objMessages = objMailBox.Messages;
    >> objMessage = objMessages.Add("GroupwareTypeLibrary.Message",4," ");
    The function "Add()" takes only 2 parameters, 'ClassName' + 'ObjType'.
    'ClassName' stands for the sort/subtype of message you'd like to create.
    'ObjType' stands for 'draft' or 'personal'
    Try the following:
    objMessages = objMailBox.Messages;
    objMessage = objMessages.Add("GW.MESSAGE.MAIL", 4);
    The rest should be fine; the code for adding the attachment seems OK.
    Markus
    "dpuls" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    >
    > I'm in my first attempt at integrating GW functionality into a C#
    > application. I am not an expert C# programmer either. Thus far I've
    > been successful at getting logged into GW, creating a new mail message
    > and sending it successfully. However adding code to attach a file to my
    > message returns an exception from the GroupwareTypeLibrary with the
    > unhelpful error message "Unknown Error". Below is my code. If I
    > comment out the line:
    > objMessage.Attachments.Add("c:\reg.log",1,"reg.log ");
    >
    > the program runs successfully, happily sending my mail to the recipent
    > mailbox. I know the c:\reg.log file exists and I have permissions to
    > it.
    >
    > Any advice as to what I'm doing wrong would be of tremendous help, as
    > I've already search and cruised all the forums on GW API I can find to
    > no avail. Running GW 7.03 I think on client and server side.
    >
    > ****************************
    > using System;
    > using System.Collections.Generic;
    > using System.Text;
    > using System.IO;
    > using GroupwareTypeLibrary;
    >
    > namespace GWEmailTest
    > {
    > class Program
    > {
    > public static void Main()
    > {
    > GroupwareTypeLibrary.Application objApplication = new
    > GroupwareTypeLibrary.Application();
    > GroupwareTypeLibrary.Account objAccount;
    > GroupwareTypeLibrary.Messages objMessages;
    > GroupwareTypeLibrary.Message objMessage;
    > GroupwareTypeLibrary.Folder objMailBox;
    > GroupwareTypeLibrary.Recipients objRecipients;
    > GroupwareTypeLibrary.Recipient objRecipient;
    >
    > objAccount = objApplication.Login("dpuls", "", "password", "",
    > "");
    > objMailBox = objAccount.MailBox;
    > objMessages = objMailBox.Messages;
    > objMessage = objMessages.Add("GroupwareTypeLibrary.Message",4," ");
    > objRecipients = objMessage.Recipients;
    > objRecipient = objRecipients.Add("dpuls","","");
    > objMessage.Subject.PlainText = "Here's the message from C#!.";
    > objMessage.BodyText.PlainText = "Here's the report you wanted.";
    > objMessage.Attachments.Add("c:\reg.log",1,"reg.log ");
    > objMessage.Send();
    > }
    > }
    > }
    > ****************************
    >
    >
    > --
    > dpuls
    > ------------------------------------------------------------------------
    > dpuls's Profile: NOVELL FORUMS - View Profile: dpuls
    > View this thread: Attachments help - C# using Obect API - NOVELL FORUMS
    >

  • How to create the service lines in a sales order using Process_order API

    Hi ,
    I have to create the service lines in a Config to order using process Order API. When i am trying to create a sercvice line , it is comming as new line all together. but i need that one to happen in the configuration itself after the option item but not like standalone line.
    what are the manditory fields for service lines to create using Process_order API.
    Apprciate your help on this.
    Thanks
    Rags

    Moderator message - Please do some analysis before posting here - thread locked
    Rob

  • How to upload Image to MDM 5.5 SP3 using Java APIs

    Hi,
    I am trying to upload Image to Images table in MDM 5.5 using JAVA API for MDM. But. I'm not able to find particular field in Images table where I need to set the Blob object ( Image data ).
    I'm not aware of the method to set the Blob, there is one for getting the Image data.
    I have gone through I am not able to add images into Catalog thru java API forums posts and tried the code. But with no luck....
    I think this code is for some other MDM version as the fields mentioned are not present in the Images table e.g. DataObject - this field is used in the above posts to set the Blob data but this field does not exist in Images table in MDM 5.5
    Can anyone suggest the solution?
    Thanks and Regards,
    Mausam

    Hi Mausam,
    Please try the following:
    // adding to a image table
    // get the bytes for the image
    byte[] imageBuf = readFile("C:\pic.bmp");
    // setup A2iFields
    fields = new A2iFields();
    fields.Add(new A2iField("DataObject", new
    Value(imageBuf))); // the image binary (required)
    fields.Add(new A2iField("Name", new Value("pic.bmp")));
    // a name for the image
    fields.Add(new A2iField("OrigName", new
    Value("pic.bmp"))); // the original image file name
    (required)
    fields.Add(new A2iField("DataGroupId", new Value(888)));
    // the data group to add to (required)
    fields.Add(new A2iField("OrigLocationId", new
    Value(999))); // the data location of the image
    (required)
    fields.Add(new A2iField("Description", new Value("a
    short description"))); // a short description here
    // add the image
    String imageTable = "Images";
    catalog.AddRecord(imageTable, fields, -1, -1);
    It's taken out of the API guide for SP3 (the example for method AddRecord.
    Best regards,
    Amit

Maybe you are looking for

  • Problems in exporting Urdu data to pdf through Crystal Report  2008

    Hi, We have a designed a crystal report in latest Crystal Report SP2. The database used is MS Access, the data is in Urdu langauge. The data is displayed properly on crystal report main preview. The problem is only when we export the report to PDF th

  • ATI Displays rotate corrupted screen display

    I'm running Mac OS Tiger and running AT Displays 4.5.6 and I tried to use the rotate command. I am not running an external monitor. Now the screen is rotated but totally garbled except for the mouse pointer. Even if I restart the PowerBook the screen

  • Failing to start a powershell scripts from Start/Run

    So my real goal is to get a script that we've written to run in a scheduled task. Based on one of the early Scripting Guys blogs, I am working with Start/Run to get the syntax down. Here's what I am trying to do is run the command, capturing any outp

  • IPod losing place in music playlist when play a video

    I had this issue on my Nano 3G & 4G as well. When listing to a music playlist the iPod looses its place in the playlist as soon as you play a video (music video, movie, tv show, etc). This means that you have to start the playlist from the beginning

  • Why has my recently added playlist disappeared

    why had I lost my recently added under the playlist on my iphone