How to use API

hi,
I want to see the data passed to the server from client. but i am not sure how to use the API. i can see the api listing in  com.sap.ip.me.api.smartsync
can anyone help with api using or code snippets.
i want to see what data is passed and what is the server response.
pls help.
thanks in advance
ketki.

hi ketki,
here's a simple snippet on getting all the delta data on you client which are subject
to be uploaded to the middleware.
SyncBoDescriptor boDesc= descriptorFacade.getSyncBoDescriptor("boName");
MeIterator outDeltaIt = syncBoOutDeltaFacade.getAllDelta();
while(outDeltaIt.hasNext()){
  SyncBoOutDelta outDelta = (SyncBoOutDelta)it.next();
  //print outDelta info... 
  //please refer to the JavaDoc API for details on SyncBoOutDelta
you can implement this inside an outbound observer.
SyncBoOutDeltaObserver - for outbound sync
for inbound, i,e the response from server, you can peek thru them via an inbound
observer. refer also to SyncBoInDelta API
SyncBoInDeltaObserver - for inbound sync
<a href="https://help.sap.com/javadocs/NW04/current/me/index.html">MI JavaDoc</a>
regards
jo

Similar Messages

  • How to use API in forms10g

    Hi,
    Actually we hav developed a ERP in from10g.
    and i want to change my title of my browser dynamically..
    how it is posiible..
    I it can be possible through API.Plez tell me how i use this thing..

    if you are using separate_frame=true, then you can use WEBUTIL_SEPARATEFRAME.SETTITLE for this.

  • I dont know the how to use api

    i have download the poi_ excel Api .jar but i dont know how to use this Api. please help me

    Have a look at the Apache POI [Quick Guide docs|http://poi.apache.org/hssf/quick-guide.html].

  • How to use API to trigger JAM group invitation in ABAP coding?

    Hi,
    We want to trigger a JAM group invitation URL to be sent out in ABAP coding to enable a auto. process at backend. Currently I only know the manual way: clicking invite button in jam group and input user name to find target user and then click send button to send out invitation email.
    But question is how to do in ABAP coding to call any API to realize the same action?
    Many thanks and Best regards,
    Long

    As an ABAP developer you can make use of the SAIL Library to integrate with SAP Jam. With SAIL integrating with SAP Jam is as easy as calling a ABAP OO method. SAIL takes care of the communication with SAP Jam and handles user authentication for you.
    The lower part of http://scn.sap.com/docs/DOC-55050 contains information for ABAP developers like the SAIL developer guide and the SAIL config guide.

  • Analyzer HTML client -  how to use API

    Hi,I use Analyzer HTML client 7.0.1 on Windows XP SP2 environment.One year ago I have used Analyzer web java client. This java client had support for API calls. So Analyzer could be started dynamicaly from another application.Does Analyzer HTML client supports API calls? If so, can somebody post web page to documentation.Thanks,Grofaty

    Hi,I have found out how to send commands to Analyzer HTML client. The details are described in "Administration Guide" section: "Appendix A: Customizing HTML Web Content".I found out how to:1. Login2. LoadReportNow I would like to select dimension with command "SetDim". I executed the following URL (see below) to the browser, but empty page has opened instread of report. There is no error in "WebSphere Application Server log file".URL is: http://server_name:9080/Analyzer7_Server/servlet/HTMLViewer?ACTION=SetDim&view=DataObject.0&dimension=PRODUCT&member=APPLE&mode=0Is there a mistake in URL? Is there a bug in Analyzer HTML Client?Thanks,Grofaty

  • How to use API to access embedded LDAP

    how can I access the embedded LDAP through API,such as to query
    a user from it. who can give me a example

    how can I access the embedded LDAP through API,such as to query
    a user from it. who can give me a exampleThere no public API to access LDAP but you can do something
    like(programatically)
    AuthenticationProviderMBean [] providers =
    Admin.getInstance().getActiveDomain().getSecurityConfiguration().findDefault
    Realm().getAuthenticationProviders();
    for (int i=0; providers != null && i <providers.length; i++)
    System.out.println("Providers: " + providers.toString());
    if (providers[i] instanceof UserReader)
    UserReader reader = (UserReader)providers[i];
    try {
    } catch (Exception e) {
    -utpal

  • How to Use API to create Page/Book and etc. rather than using Workshop

    Hi Anyone,
    Can anyone suggest me where I can get sample using Bea API to create such as Book/Page and etc..
    I can not find from eDoc that bea provide.
    Thanks
    Mark

    Looks like your fetch_user into l_developer_role overwrites its default value and then your use of lv_developer_role in edit_user passes in null.
    Scott

  • How to use api to rename a treenode

    thanks

    Update the value in your tree model
    void TreeModel.valueForPathChanged(TreePath path,
    Object newValue)
    This will send an event to the JTree indicating which node needs to be re-displayed.

  • How to use Win_Api_Shell api in forms 6i.

    hi all,
    I don't know how to use apis' in forms. Can u help me please?
    sankar

    Hi,
    The "What's New" release notes is somewhat misleading. However, what was released in SP2 is a framework called Custom Data Provider framework which has extension points for a developer to build new plug-ins which can facilitate in accessing different data sources. I suggest you reading:
    http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_cdp_dev_en.pdf
    You can visit posting at:
    /people/ted.ueda/blog/2009/08/07/web-intelligence-rich-client-custom-data-provider-plug-in--tracking-forest-fires
    Regards
    Sumitesh

  • How to get administrations of distribution list using api?

    I want get all administrations of a distribution list using api, how to do that?
    anybody knows? Thank you very much!!

    there is a standard function in mdm wd component
    https://help.sap.com/saphelp_nwmdm71/helpdata/en/loio30bf76947bb64c48a2e835fda42c5183_30bf76947bb64c48a2e835fda42c5183/4…
    "Note The Compare to Original button on the Items Detail component opens a Compare component enabling a user to compare a checked out record with an original record (if the user has authorization for the checked out group).
    If the checked out record is a result of a merge action, then the Compare view displays all the original records prior to the merge. When a merge action is executed on a number of checked out records, the merged record is also checked out."

  • How to get the identity claim encoding types of windows and forms authentication providers using API?

    Hi,
    We have to get all the claims providers associated with a web application and its identity claim encoding type using API.
    For example:
    If the identity claim of windows authentication is user name and the user name is a string, then we should get
    "i:0#.w".
    If the identity claim of forms authentication is
    email and the provider name is "fba" , then we should get "i:0!.f|fba|".
    The below link shows us to get all claims providers associated with a web application, but how do we get the identity claim encoding type of each provider?
    http://msdn.microsoft.com/en-us/library/gg650432(v=office.14).aspx#SP_WCP_Tip3
    using (SPSite theSite = new SPSite("http://someContosoUrl"))
    // Get the web application.
        SPWebApplication wa = theSite.WebApplication;
        // Get the zone for the site.
        SPUrlZone theZone = theSite.Zone;
        // Get the settings that are associated with the zone.
        SPIisSettings theSettings = wa.GetIisSettingsWithFallback(theZone);
        // Get the list of authentication providers that are associated with the zone.
        foreach (SPAuthenticationProvider prov in
            theSettings.ClaimsAuthenticationProviders)
        {   // Need to get the identity claims encoding type using the SPAuthenticationProvider
    Is windows authentication's identity claim encoding type always i.0#.w or the identity claim is always the user name?
    Thanks & Regards,
    Kalai.

    If the requirement is to be able to convert claim identities to windows identities that can be used with other LOB/legacy application that still relies on NTLM/Windows Auth, then I would recommend to explore C2WTS.
    Here are some references:
    http://msdn.microsoft.com/en-us/library/office/ee539739(v=office.14).aspx
    http://blah.winsmarts.com/2013-11-Use_C2WTS_to_get_a_classic_windows_identity_from_a_claims_identity.aspx
    http://henrymcclain.blogspot.in/2013/05/claims-to-windows-token-service-c2wts.html
    http://blogs.msdn.com/b/rodneyviana/archive/2011/02/20/claims-to-windows-token-service-c2wts-may-not-start-automatically-when-you-reboot-your-server-don-t-blame-sharepoint-for-that.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/05/27/understanding-sharepoint-2010-claims-authentication.aspx
    Thanks!
    These postings are provided "AS IS" with no warranties, and confers no rights.

  • How to use external Java API in Java Embedd inside BPEL

    How to use external classes inside the BPEL in Java Embed Activity ? Any sample code availble ? Like i want to use log4j API inside BPEL.

    No you dont have to change your startManagedServer.cmd/.sh everytime you need to have a Java Embedding activity. You only need it in case of using Log4J. As log4j requires a configuration xml viz log4j.debug.xml and log4j.dtd you need to let the soa managed server know about it. The best way to load this configuration files is using the JAVA_OPTIONS command during server startup.
    Hope the explanation helps.

  • How to create a new User / Contact using APIs

    I am not able to figure out how to create a new User / Contact in WLPS using APIs
    . Is there a factory class ?
    Thanks,
    AJ

    Hi Bala,
    Try using these function modules
    SUSR_BAPI_USER_CREATE
    BAPI_USER_CREATE
    BAPI_USER_CREATE1
    BAPI_USER_INTERNET_CREATE ( This internally calls BAPI_USER_CREATE1)
    Please read the FM documentation for more information.

  • How to get a organization name for a particular user using API's

    Hi alll,
    How to get a organization name for a particular user using API's

    You need to do something like this:
    SearchCriteria criteria = new SearchCriteria("User Login", "XELSYSADM", SearchCriteria.Operator.EQUAL);
                   UserManager usrService = oimClient.getService(UserManager.class);
                   Set<String> retAttrs = new HashSet<String>();
                   retAttrs.add(UserManagerConstants.AttributeName.USER_ORGANIZATION.getId());
                   List<oracle.iam.identity.usermgmt.vo.User> users = usrService.search(criteria, retAttrs, null);
                   System.out.println("ORG KEY :: " + users.get(0).getAttribute("act_key"));

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

Maybe you are looking for