Re: API's in Mapping

Hi,
Is there is any api available for to the commuication channel name inside the mapping to map?
Appreciate your help in advance..
Thanks,
kumar.

Hi
Use this format to get Communication channle
java.util.Map map;
map = container.getTransformationParameters();
constant = (String) map.get(StreamTransformationConstants.SENDER_SERVICE);
Look this Michal Article
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439

Similar Messages

  • ABAP API and Key Mapping

    Hello there,
    I am trying to use the MDM 7.1 ABAP API to access MDM data from within a BI system.
    Now I am wondering how to access key mapping for records in the Main Table.
    In the Java API there is the RetrieveRecordsKeyMappingsCommand which returns all key mapping information for a list of record IDs. But I cannot find something similar in the ABAP API.
    Who knows where to start?
    Thanks for hints
    Ingo

    Hi ,
    In ABAP API also you can retrieve key mapping of main table records using function 'MDM_API_RETR_CLIENT_SYS_KEYS'.
    You will get details of this function in sap library or ABAP API documentation provided by SAP.
    For any further queries kindly reply.
    Regards,
    Neethu Joy

  • MDM API for key Mapping.

    Hi All,
    Can anyone tell me how to use MDM API for updating key mapping ?
    I want to create a webservice which will take customer,client system and key for updating key mapping in mdm.
    Can anyone give me clue on this

    Hello Rama:
    Under Java you can do these things:
    Delete key mapping:
    CatalogData.DeleteKeyMapping(ClientSystem : String, Table :
    String, RecordID : int, Keys : String[])
    Argument Description
    ClientSystem -> Client system name
    Table -> Table name
    RecordID -> Record ID
    Keys -> Remote keys to remove
    Set a new keymapping:
    CatalogData.SetKeyMapping(ClientSystem : String, Table :
    String, RecordID : int, Keys : String[], DefaultKeyIndex
    : int)
    Argument Description
    ClientSystem ->    ClientSystem name
    Table ->           Table name
    RecordID ->        Record ID.
    Keys ->            Remote Keys you want to add
    DefaultKeyIndex -> Index entry into the key parameter
    indicating the key value as the default.
    I hope that helps
    Alejandro

  • SharePoint 2013 REST API with C# - Mapping HTTP verbs to data operations - Requesting FormDigest

    SharePoint REST interface maps HTTP verbs to data operations. Endpoints that represent
    Read operations map to HTTP
    GET commands. Endpoints that represent update operations map to HTTP
    POST commands, and endpoints that represent update or insert operations map to HTTP
    PUT commands (Ref:
    How to: Complete basic operations using SharePoint 2013 REST endpoints).
    Is this mapping of HTTP verbs to CRUD operations a design paradigm or whether there are other technical reasons to this mapping
    Is is possible to use a GET command for say an update operation or a POST for say a read operation.If so, what consideration make the choice of either usage
    In the code snippet below FormDigest is requested as POST, why not use GET here?
    private static string GetFormDigest(string webUrl)
    //Validate input
    if (String.IsNullOrEmpty(webUrl) || String.IsNullOrWhiteSpace(webUrl))
    return String.Empty;
    //Create REST Request
    Uri uri = new Uri(webUrl + "/_api/contextinfo");
    HttpWebRequest restRequest = (HttpWebRequest)WebRequest.Create(uri);
    restRequest.Credentials = CredentialCache.DefaultCredentials;
    restRequest.Method = "POST";
    restRequest.ContentLength = 0;
    //Retrieve Response
    HttpWebResponse restResponse = (HttpWebResponse)restRequest.GetResponse();
    XDocument atomDoc = XDocument.Load(restResponse.GetResponseStream());
    XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
    //Extract Form Digest
    return atomDoc.Descendants(d + "FormDigestValue").First().Value;
    Thanks - Abhishek

    Many SharePoint REST api methods use parameters. It is much more efficient to post parameters than use query string variables.  Many times complex types are sent and these require json notation objects posted in the body. In the case of "_api/contextinfo,
    it is recommended to use POST rather than a GET when using sensitive data. GET responses can be cached. Since you are getting a security token back in that call it is recommended to use a POST.
    http://blog.teamtreehouse.com/the-definitive-guide-to-get-vs-post
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Mapping and querying Custom Objects for a Contact with REST Api

    Hello All,
    We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact.
    At the moment, to associate a DataCard Set (or Custom Object) to an existing contact, we are supplying following custom object fields during creation of Custom Object:
    new CustomObjectField 
                                                                    name = "MappedEntityType",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "0"
                                                             new CustomObjectField
                                                                    name = "MappedEntityID",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "<ContactId>"
    Is this the correct approach? This is Based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.
    Would the REST API allow us to query the CustomObjects using the MappedEntityId value for later updates? If so, any pointers on how we approach that?
    Thanks in ad.

    Either the MappedEntityID field is not available or I do it wrong, Eloqua is ignoring the field and does not map the custom record with the unique Contact ID
    {"type":"CustomObjectData","ContactID":"8829509","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]},"MappedEntityID":"003J00000145lkBIAQ"}
    Response
    DEBUG|Response------{"type":"CustomObjectData","id":"81720","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]}
    Eloqua:
    Name: PPV-0878545
    Unique Code: a0KJ000000387QvMAI
    Status Registered
    Created Date 12/22/2014 12:44:49 PM
    Mapped NO
    Any Idea how to map this to a contact
    Entity Type is Contacts
    Entity Field is SFDC Contact ID

  • Google Maps API Key V3???

    We are in the middle of integrating a real estate website for our client and found that the Google Maps API keys have changed.
    Have followed the instructions found on: https://developers.google.com/maps/documentation/javascript/tutorial#api_key But we still receive an error stating our application is not authorised to use the API.
    Does this mean Google Maps is not authorinsg Business Catalyst anymore? (Perhaps since the integration of BC into the Adobe ecosystem??)
    Is anyone else having this issue or can anyone please urgently advise?

    You have to get your own API key: https://code.google.com/apis/console/
    My map uses a custom solution (Web Apps & Google Maps API V3) and is still working fine.

  • IWeb page generates IE9 error for Google Maps API key

    My iWeb site generates an error in IE9 "This web site needs a different Google Maps API key". Is there any fix in iWeb for this?
    I've found this link that offers a solution for IE9 users. It seems to be a bug with IE9 mixed content security settings, but people will blame my website and not their browser
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/ie-9-is-telling-me-my- website-needs-a-different/59bfa1ed-f757-e011-8dfc-68b599b31bf5
    Excerpt from that site "Okay, I resolved the issue. I went into my Security settings. Under Miscellaneous I changed Display mixed content to "Enable". I believe there is a bug in the Display mixed content feature. I should be able to keep the setting at "Prompt", then see the content when I click the appropriate option when prompted. I believe the Google Maps API message was shown in error."

    You have to get your own API key: https://code.google.com/apis/console/
    My map uses a custom solution (Web Apps & Google Maps API V3) and is still working fine.

  • PI 7.11 mapping lookup - data enrichment - appropriate approach?

    Hi guys,
    we just upgraded from PI 7.0 to PI 7.11.
    Now I´m facing a new scenario where an incoming order have to be processed.
    (HTTP to RFC)
    Furthermore each item of the order have to be enriched by data looked up in a SAP ERP 6.0 system.
    the lookup functionality could be accessed during RFC or ABAP Proxy
    With the new PI release we have several possibilities to implement this scenario, which are ...
    (1) graphical RFC Lookup in message mapping
    (2) ccBPM
    (3) using of the lookup API in java mapping
    (4) message mapping RFC Lookup in a UDF
    Because of performance reason I prefer to make use of the Advanced Adapter Engine, if this is possible.
    Further there should only one lookup request for all items of the order instead of each order item.
    I tried to implement possiblity (1), but it seems to be hard to fill the request table structure of the RFC function module. All examples in SDN only uses simple (single) input parameters instead of tables. Parsing the result table of the RFC seems to be tricky as well.
    Afterwards I tried to implement approach (3) using an SOAP adapter as Proxy with the protocol XI 3.0.
    (new functionality in PI 7.11)
    But this ends up in a crazy error message so it seems that SOAP adapter could not used as proxy adapter in this case.
    ccBPM seems also be an good and transparent approach, because there is no need of complex java code or lookup api.
    So  the choice is not so easy.
    What´s the best approach for this scenario??
    Are my notes to the approach correct or do I use/interpret it wrong?
    Any help, ideas appreciated
    Kind regards
    Jochen

    Hi,
    the error while trying to use the soap channel for proxy communication is ....
    com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload. Error when calling an adapter by using the communication channel SOAP_RCV_QMD_100_Proxy (Party: , Service: SAP_QMD_MDT100_BS, Object ID: 579b14b4c36c3ca281f634e20b4dcf78) XI AF API call failed. Module exception: 'com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Unexpected length of element <sap:Error><sap:Code> = XIProxy; HTTP 200 OK'. Cause Exception: 'java.io.IOException: Unexpected length of element <sap:Error><sap:Code> = XIProxy; HTTP 200 OK'.
    so this feature seems not to work for soap lookups, isn´t it.
    Kind regards
    Jochen

  • How to get the whole map image after zoom in?

    Hi,
    I use mapviewer API to generate map images and put them in JSP as well as in Java Applet. I called the method getGeneratedImage(). After I using the methods zoomIn() or zoomOut(), I got a new map image. But the size is fixed, so after zoom in I can only see a part of the whole map. I would like to use scrollbar to see other part of the map after zoom in.
    How can I solve this problem? I have the images as predefinied themes saved in database with MBR information.
    Thanks in advance.

    Hi,
    For the map request in MapViewer you may define the data area that you want to display, as well as the device size (width and height). The result is a java Image with width and height sizes. You can draw this image on a canvas with scroll bars, and if the size of the canvas is smaller than the image size, then you should see the scroll bars. But you have to code that. MapViewer will just return an Image with the specified size.
    The zoom in/out options just change the data area, but keeps the device size. Therefore you should use the API methods to set the data area (setBox or setCenterAndSize) and to set the device size (setDeviceSize), in order to control the size of your resulted image, and then draw it on your canvas with scroll bars.
    Regards.

  • OIM API Code to change the link of the provisioned Account to another User

    tcResultSet rset;
              HashMap <String, String> map;
              try{
                   userIntf=(tcUserOperationsIntf)utilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
                   map = new HashMap <String, String>();
                   map.put("Users.User ID",toUserLogin);
                   map.put("Users.Status","Active");
                   rset=userIntf.findUsers(map);
                   // Get the User Key for the User given his User ID
                   rset.goToRow(0);
                   long toUserKey=rset.getLongValue("Users.Key");
                   System.out.println(" Key for the ToUser is :" + toUserKey);
                   map = new HashMap <String, String>();
                   map.put("Users.User ID",fromUserLogin);
                   map.put("Users.Status","Active");
                   rset=userIntf.findUsers(map);
                   // Get the User Key for the User given his User ID
                   rset.goToRow(0);
                   long fromUserKey=rset.getLongValue("Users.Key");
                   System.out.println(" Key for the FromUser is :" + fromUserKey);           
                   // Now get all the objects thats been provisioned for the user given user's Key
                   rset=userIntf.getObjects(fromUserKey);           
                   HashMap tmap = new HashMap();
                   for(int k=0;k<rset.getTotalRowCount(); k++){
                        rset.goToRow(k);
                        System.out.println("####################################################");
                        String targetName=rset.getStringValue("Objects.Name");
                        System.out.println("targetName :: Objects.Name = "+targetName);
                        long objInstKey = rset.getLongValue("Users-Object Instance For User.Key");
                        System.out.println("Users-Object Instance For User.Key = "+objInstKey);                    
                        String status =rset.getStringValue("Objects.Object Status.Status");
                        System.out.println("Objects.Object Status.Status = "+status);
                        System.out.println("####################################################");
                        if(status.equalsIgnoreCase("Enabled")&& targetName.equalsIgnoreCase(resorceName) ) {
                             System.out.println("Changing to service Account..");
                             userIntf.changeToServiceAccount(objInstKey);
                             System.out.println("Account changed to service Account");
                             System.out.println("Linking Account to another User....");
                             userIntf.moveServiceAccount(objInstKey, toUserKey);
                             System.out.println("Account Linked");
                             System.out.println("Changing Account from service......");
                             userIntf.changeFromServiceAccount(objInstKey);
                             System.out.println("Account changed to normal");
              }catch(Exception exception){
                   System.out.println("Exception occurred :"+exception.getMessage());
              }

    HI rumesh,
        Don't use resource link as you did. Try using normal link and create a component(HTMLB or anyother) from KM reource content, then add that component to the link as below.
       comp = ....(should be a component from your Km content resource)
      Link link = new Link("Link");
      link.setTarget("www.yahoo.com");
      link.setReference("www.yahoo.com");                                        
      link.addComponent(comp);
    finally add that link to your search UI . I hope this will help.
      I am sorry if i confused you.
    Thanks & regards.
    Rumeshbabu

  • Message and Java Mapping

    Hello -
    I have a java mapping and a message mapping implemented in one interface.
    Java mapping basically adds a header and does nothing else.
    Message mapping has all the mapping. Its not complex but straight.
    I have the Message mapping first and then the Java mapping in the Interface Mapping.
    what happens is i could see the headers written through Java mapping in my output xml file which is good but i cannot view the message mapping output in the file.
    Any ideas.
    Thanks,
    Tirumal

    Hi
    I am generating the headers in the java mapping using this:
    public void startDocument ()
    throws SAXException {               
    write("<?xml version='1.0' encoding='UTF-8'?>");
    write("<!DOCTYPE cXML SYSTEM 'http://xml.cxml.org/schemas/cXML/1.1.008/cXML.dtd'>");
    Maintain Order at Runtime is checked in the Interface Determination.
    Ok, in the interface Mapping Editor i get 2 messages:
    1.
    11:09:48 Start of test
    Call method execute of the application Java mapping com.sap.xi.tf._Orders_MM_
    Java mapping com/sap/xi/tf/_Orders_MM_ completed. (execute() of com.sap.xi.tf._Orders_MM_
    Call method execute of the application Java mapping com.sap.aii.mapping.api.SampleWithSaxParser
    Java mapping com/sap/aii/mapping/api/SampleWithSaxParser completed. (execute() of com.sap.aii.mapping.api.SampleWithSaxParser
    Executed successfully
    11:09:48 End of test
    2. XML not well formed
    None of the above messages seem to be of Message Mapping don't know why its not getting written in the output.
    Thanks,
    Tirumal

  • Error in BPM Mapping step.

    Hi,
    I am getting error in one of the BPM mapping steps.
    The error description is as below.
    Work item 000000051017: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
    com/sap/xi/tf/_MM_BAPI_ERROR_RES_TO_AUDIT_RPT_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRun
    Error handling for work item 000000050990
    Runtime handle of object type  could not be created
    com/sap/xi/tf/_MM_BAPI_ERROR_RES_TO_AUDIT_RPT_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRun
    This mapping works fine in design time.
    Please let me know if you have info on this error.
    Thanks
    Katta

    Hi Mohan,
    Make sure you are using same message container when you pass and try to you send information on these abstract interface references in BPM with respective to the container references or Only use Transformation in BPM if it is realy necessary with n:1 or 1:n mappings otherwise try to put the transformation outside your BPM because monitoring mapping in BPM is very hard to monitor and it is very hard to do error resolving.
    Thanks & Regards
    Agasthuri Doss

  • How to get the co-ordinates(X-axis and y-axis) for irregular static map

    hi all,
    i am trying to get the co-ordinates like latitude and longitude which are used in google map in an irrregular Static Maps,and i also want to know how can i Get perfect location Depending on Coordinates which i given using Page items.
    can any help me pls
    I AM USING APEX 4.1.1
    thanks,
    Pavan
    Edited by: Pavan on May 29, 2012 7:58 AM

    hi VC,
    Thanks for your reply,,
    I Just want to Develop a static map that is not using any Google api or Google Maps,Its like Google maps but not totally a Map which resembles Google map. But i want to have an access of coordinates in an static regular Map where with the help of coordinates we can find any point on that static map's .
    Thanks & Regards:
    Pavan

  • Google has disable the use of the api key

    I've setup a google static map using the api key v3 in this site www.pequenonim.es.
    Problem is Firefox is giving an error message:
    " Google ha inhabilitado el uso del API de Google Maps para esta aplicación. La clave proporcionada no es una clave de API de Google válida, o no está autorizada para la versión 3 del API de JavaScript de Google Maps en este sitio. Si eres el propietario de esta aplicación, puedes consultar cómo se obtiene una clave válida aquí: https://developers.google.com/maps/documentation/javascript/tutorial#api_key"
    Something like Google has disabled the use of the API for this application. The key is not valid or is not authorized for version 3 of the api of javascript in this site.
    Measurements already taken:
    API v3 and API v2 enable on api code panel
    Reset firefox
    Clean cookies and cache of firefox.
    Map actually works on Chrome and IE10.

    Is it the map on the bottom of the main page? It works for me in Firefox 24 on Windows 7 from California.
    You may want to look at the code in Firefox's source viewer, starting a few lines below id="bottom2", as there are some stray &lt;html>, &lt;head>, and &lt;body> tags that suggest a template or plugin isn't fully compatible with your page.

  • Can New Java 7 File API Path Objs Be Used For Windows Virtual Folders

    Hello,
    I'm trying to duplicate a JFileChooser's drop-down list containing root directories of the file system. For Windows machines, its combobox lists the roots in a nice tree-like layout. For example:
    + Desktop
      + Computer
        + Local Disk (C:)
        + Data (D:)I cannot find an offical way to do this; I ended up using a class called "ShellFolder" to do it. Based on the "File" objects returned by the "ShellFolder" operation, I wanted to use the "toPath" method of the "java.io.File" object to convert the object to a "java.io.file.Path" object. Unfortunately, when I try to convert it, a java.nio.file.InvalidPathException" occurs.
    Therefore, is there a way to use the the new Path object (provided by Java7's new File NIO APIs) that can map to Windows special virtual folders (like "My Computer" which is mapped to a CLSID like "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}")?
    Note: It looks like NetBeans suffered from the same problem. See their bug report here: [https://netbeans.org/bugzilla/show_bug.cgi?id=214011] .
    Here's some sample code to reproduce the problem:
    static public void main(final String[] asArguments)
         javax.swing.SwingUtilities.invokeLater(new Runnable() {
              @Override
              public void run()
                   java.io.File homeFile = FileSystemView.getFileSystemView().getHomeDirectory();
                   System.out.printf("File obj for home dir = %s\r\n", homeFile.getAbsolutePath());
                   java.nio.file.Path homePath = homeFile.toPath();
                   System.out.printf("Path obj for home dir = %s\r\n", homePath.toString());
                   // get the root directories
                   java.io.File[] rootDirs = (java.io.File[]) sun.awt.shell.ShellFolder.get("fileChooserComboBoxFolders");
                   for (int nIdx = 0; nIdx < rootDirs.length; nIdx++) {
                        java.io.File nextRoot = rootDirs[nIdx];
                        System.out.printf("File obj for next root dir = %s\r\n", nextRoot.getAbsolutePath());
                        // Is this a bug?
                        //          When we encounter a special Windows folder,
                        //          like "My Computer" which has a filename of "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}",
                        //          why do we receive a "java.nio.file.InvalidPathException"?  Should it not resolve the path
                        //          to the virtual Windows folder of "My Computer", just like the java.io.File objects do?
                        //          If not, is there an alternative way to get that information using the new Java 7 File APIs?
                        java.nio.file.Path nextRootPath = nextRoot.toPath();
                        System.out.printf("Path obj for next root dir = %s\r\n", nextRootPath.toString());
                   } // for
              } // run
    } // mainEdited by: RhinoGuy on Aug 10, 2012 11:11 AM

    Hmm don't know about special folders but the File object does have a listRoots() method. Perhaps that only returns mapped drives on Windows though, I remember using it to create my own Eclipse type filechooser which I find a lot more user-friendly than the standard JFileChooser.

Maybe you are looking for

  • Office 2013: 10 Best Features You Should Know About

    The new Office 2013 has some key updates that, while aren’t quite as dramatic as theWindows 8 from Windows 7change, still have some pretty cool features for mobile and desktop.  Office 2013, will ship sometime next year at prices that have not been a

  • User unable to access OWA

    User is unable to access OWA any pointers.. getting the below error pls Thanks The item can't be opened because it's become corrupted. Request Url: https://ukexchange.abc.com:443/owa/lang.owa User: Wes, Aurélia EX Address: /O=abc/OU=London/cn=Recipie

  • Blank html popups in a mobile webdynpro application

    In a web dynpro application, each time we move from one view to another, or from DC to another a blank html page in being opened (besides the target one) the url of the blank page is : \tcwddispwda\global\SSR\html\blank.html <b>this is happening when

  • I cannot open a eps file in CS5 Illustrator

    I downloaded an .eps directly from Shutterstock onto a PC which opened it no problem in CS5.  when I try to open it up on my Mac in CS5 also it says "cannot open or convert to pdf"  I have other eps files that open no problem.  I have paid for these

  • T430 using battery while plugged in?

    I recently bought a refurbished t430 that's still under warrentee, and having a weird problem with it. Under normal use, the battery chargesas it should, but I've noticed while playing games, the battery drains as if it's running on battery power, bu