Calling GP from sharepoint portal

Hi All,
I have to call a GP (having multiple WebDynpro screens) from sharepoint portal, I want to see just the application and not the TLN, left nav etc..
When I give the url of the iview in sharepoint portal, it gives error saying "instance not found".
I feel its some GP instance not found.. how do I resolve this.. I can see simple sap portal iviews in sharepoint which don't have GP.
Helpful answers will be rewarded.
Regards,
Vishal

This is the error when I try to do "open in new window"  for the GP iview "Could not retrieve process instance: contact your system administrator"
Sometimes I get the new window, but when I put this generated url in sharepoint it gives blank grey screen.

Similar Messages

  • Call RFC from SharePoint

    Dear All
    I post this query to the forum after searching a lot to arrive a solution.  I need a tips / guidence from you guys.
    My requirement is as follows; 
    We have SAP R3 and SharePoint Portal.  In the Sharepoint portal the Purchase Requisitions are being raised. I need to push this Purchase Requisiton to SAP.  I need the steps to establish connectivity between Sharepoint and SAP.  ( I have RFC ready to create PR in SAP).  However, I need the connectivity established.  Can some one help me to install and establish connectivity
    Your <removed by moderator> response will help me a lot
    Regards,
    Venkat
    Edited by: Thomas Zloch on Oct 30, 2011 3:56 PM

    Hi,
    Yes you can call from the bapi from shared point. Please check the below links.[Integration Between sap and Share point|http://www.microsoft.com/enterprise/partners/sap/#fbid=MoB7wAXXPbA]
    [Share Point & Share point Integration|http://objectwin.com/SAPSharePoint.aspx]
    Regards,
    Madhu.

  • How can we call Tcode from the Portal?

    Senario:
    2 BAPI’s are developed:
    1. The information say... ABC is stored into the table from the portal using the Create BAPI.
    2. The change in this ABC information is done using a particular <b>Tcode</b> …say xyz. This is a report that calls the change BAPI inside.
    The ABC information change will be done either through the Tcode in ECC or through the EP.
    3. The Tcode has been created in ECC.
    Please let me know who will be responsible to call this tcode from the Portal and how?
    I am very very new to EP field so please help...

    Hi Jignesh,
    If you have already performed these steps and are able to see the iview that you have created. Then I think your issue has been sorted out.
    To explain it to you in detail.
    Let us suppose, you have created a SAP Transactional iview to access the TCODE-SE38.
    Now, as soon as the user clicks on the iview, it will authenticate by asking for the username and password for the backend system...if your SSO is not in place.
    Now, if your asking me how to make the iview visible.
    You can add assign this SAP transactional iview to a page,a workset or a role and add the corresponding page, workset or role to the user in USER ADMINISTARTION by making it an entry point.
    Or to make the iview as an entry point, right click on the iview that you have created and open the properties, then for the option that says entry point choose yes.
    I guess that answers your question.
    Let me know if you have need any further clarifications on the same.
    Regards,
    Sandeep

  • Calling Webdynpro from a Portal service

    Hi,
    I am new to EP. I have a task where i have to write a Portal service which has to call a prewritten Webdynpro. Can someone guide me as to how I can call WebDynpros from Portal services.
    Thanks,
    Sudhir

    Hi Sudhir,
    That makes no sense. Portal Services are "faceless components", i.e. they have no user interface. WD is just all about UI. How should that kind of integration work / make sense?!?!
    Hope it helps nevertheless
    Detlev

  • Calling Webservice from Netweaver Portal to SAP XMII 12.0 using SSO

    Hello,
    we have a Netweaver 2004s based Portal and a Netweaver-based SAP XMII (v12.0) System providing Webservices.
    What we try to do is to call a webservice out of the Portal EAR Application using SSO.
    SSO-Konfiguration between Portal and XMII is done and works fine. I tested this using an URL-iView, which calls a https-URL on XMII and SSO-Authentification is done in the background.
    Now I want to call a Webservice using SSO.
    Without SSO (prodiving UID/PW), the webservice-call works fine.
    In order to use SSO with Webservice, I created a "Deployable Webservice Proxy" with "HTTP-Authentication" and "use SAP Logon Ticket" turned on.
    Then I remove Login/Password from my SOAP-Request and unfortunately it doesn't work.
    What do I have to consider in addition to the topics above?
    Can you provide any useful links with tutorials, hints, documentation, ...?
    Thanks in advance
    Andreas

    > Can you please list all the options that we have in order to implement SSO for EP and SAP GUI?
    >
    > I could not find any info in regards to the advantages and disadvantages of each SSO solution. Do you have any links that gives this information?
    If you search the forum here for the terms you have used, then you will find many of them and interesting discussions about advantages and disadvantages from different views. I think that in 1 or 2 hours you will be a guru
    > I am thinking more of using Kerberos authentication for SAP GUI and using OpenSSO (Sun's product)solution for EP 7.0.
    >
    > Do you know what SSO technologies are other companies implementing these days?
    I only know which solutions I have been involved in doing the security evaluations for and implementation support.
    I don't want to do any direct or indirect comparative advertizing here, but only wanted to point out to you that there is plenty of information if you use the search. What you need to understand is that other that SAP proprietary mechanisms and newer standards based initiatives (search for 'SAML'), this is often a 3rd party vendor question (and resulting discussion...).
    If you find a solution and want to specifically discuss it here, then this can most of the time be done in a civilized way...
    Cheers,
    Julius

  • Call EWS from SharePoint 2013 SharePoint Hosted App (JavaScript) in Office 365

    I am trying to call the exchange web service (EWS) of an exchange online server from a SharePoint hosted app. I am limited thus to the use of Javascript. During my call i am always getting an access denied error.
    The body of the SOAP request is good since I have tested it using a client application, but I am not being able to get it to work via a jquery ajax call. I am sure that this is an authentification issue and I have no problem sending the credentials during
    the call. I have added them in the header. This is what I have ended up doing but still no luck.
    functionGetUnReadEmailCount() {
    varsoapPacket = "<?xml version='1.0' encoding='utf-8'?>"+
    "<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'xmlns:t='http://schemas.microsoft.com/exchange/services/2006/types'>"+
    '<soap:Header>'+
    '<wsse:Security>'+
    '<wsse:UsernameToken>'+
    '<wsse:Username>******</wsse:Username>'+
    '<wsse:Password>******</wsse:Password>'+
    '</wsse:UsernameToken>'+
    '</wsse:Security>'+
    '</soap:Header>'+
    "<soap:Body>"+
    "<FindItem xmlns='http://schemas.microsoft.com/exchange/services/2006/messages' xmlns:t='http://schemas.microsoft.com/exchange/services/2006/types'Traversal='Shallow'>"+
    "<ItemShape>"+
    "<t:BaseShape>IdOnly</t:BaseShape>"+
    "</ItemShape>"+
    "<IndexedPageItemView MaxEntriesReturned='50' Offset='0' BasePoint='Beginning' />"+
    "<Restriction>"+
    "<t:IsEqualTo>"+
    "<t:FieldURI FieldURI='message:IsRead' />"+
    "<t:FieldURIOrConstant>"+
    "<t:Constant Value='false' />"+
    "</t:FieldURIOrConstant>"+
    "</t:IsEqualTo>"+
    "</Restriction>"+
    "<ParentFolderIds>"+
    "<t:DistinguishedFolderId Id='inbox' />"+
    "</ParentFolderIds>"+
    "</FindItem>"+
    "</soap:Body>"+
    "</soap:Envelope>";
    $.support.cors = true;
    $.ajax({
            url: "https://outlook.office365.com/EWS/Exchange.asmx",
            type: "POST",
            dataType: "xml",
            data: soapPacket,
            complete: processResult,
            error: OnError,
            contentType: "text/xml; charset=\"utf-8\""
    Any help is highly appreciated.
    Thanks.
    Elie

    Hi Elie,
    Since this forum is discussing about Developing Apps for Office 2013, and your issue is more related about Exchange development. I will move this thread to the more related forum.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=exchangesvrdevelopment
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Migration from Sharepoint to EP

    Hi,
    I have requirement where I have to do Full migration from Sharepoint Portal to EP.please share some information on the steps involved in migration from Sharepoint to EP.
    Thanks in advance,
    Pramod

    Hi Pramod,
    some properties are mappable directly: name, description...
    Often, one has defined special metadata properties on SharePoint. You can define corresponding predefined properties on KM site, for example restricted to the repository into which you will import the SharePoint files/versions (CM repository).
    The mapping then has to be done by your own. We have just created a mapping table which SP property on the left side and the KM property on the right side. Then the program can be quite generic, reacting on reading a SP property, checking the mapping table and creating the mapped property/value on KM.
    Hope it helps
    Detlev

  • How to call COPY web service from sharepoint in SAP

    Hello Experts,
    I want to call COPY web service from SharePoint in SAP  web dynpro / JAVA application.
    However, when I try to connect to web service and download wsdl using   http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
    it results in Unauthorized error and doesnt complete the setup. Detail error is :
     Error occurred while downloading WSIL file. Error message: Deserializing xml stream  http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
    failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"Connect to 
    http:// <hostname:port>/_vti_bin/copy.asmx?wsdl , used user to connect: userid"
    I am trying to connect with server user account. Any idea on what authorizations might be required or any help on the scenario .
    -Abhijeet

    Here's an example on how to delete a list item, hopefully this helps
    package com.jw.sharepoint.examples;
    import java.io.File;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Properties;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.microsoft.sharepoint.webservices.CopySoap;
    import com.microsoft.sharepoint.webservices.GetListItems;
    import com.microsoft.sharepoint.webservices.GetListItemsResponse;
    import com.microsoft.sharepoint.webservices.ListsSoap;
    import com.microsoft.sharepoint.webservices.UpdateListItems.Updates;
    import com.microsoft.sharepoint.webservices.UpdateListItemsResponse.UpdateListItemsResult;
    public class SharePointDeleteListItemExample extends SharePointBaseExample {
     private String delete = null;
     private String deleteListItemQuery = null;
     private String queryOptions = null;
     private static final Log logger = LogFactory.getLog(SharePointUploadDocumentExample.class);
     private static Properties properties = new Properties();
     public Properties getProperties() {
      return properties;
      * @param args
     public static void main(String[] args) {
      logger.debug("main...");
      SharePointDeleteListItemExample example = new SharePointDeleteListItemExample();
      try {
       example.initialize();
       CopySoap cp = example.getCopySoap();
       example.uploadDocument(cp, properties.getProperty("copy.sourceFile"));
       ListsSoap ls = example.getListsSoap();
       example.executeQueryAndDelete(ls);
      } catch (Exception ex) {
       logger.error("Error caught in main: ", ex);
     public void executeQueryAndDelete(ListsSoap ls) throws Exception {
      Date today = Calendar.getInstance().getTime();
      SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
      String formattedDate = simpleDateFormat.format(today);
      String queryFormatted = String.format(deleteListItemQuery,formattedDate);  
      GetListItems.QueryOptions msQueryOptions = new GetListItems.QueryOptions();
      GetListItems.Query msQuery = new GetListItems.Query();
      msQuery.getContent().add(createSharePointCAMLNode(queryFormatted));
      msQueryOptions.getContent().add(createSharePointCAMLNode(this.queryOptions));
      GetListItemsResponse.GetListItemsResult result = ls.getListItems(
        properties.getProperty("folder"), "", msQuery, null, "",
        msQueryOptions, "");
      writeResult(result.getContent().get(0), System.out);
      Element element = (Element) result.getContent().get(0);
      NodeList nl = element.getElementsByTagName("z:row");
      for (int i = 0; i < nl.getLength(); i++) {
       Node node = nl.item(i);
       String id = node.getAttributes().getNamedItem("ows_ID").getNodeValue();
       String fileRefRelativePath = node.getAttributes().getNamedItem("ows_FileRef").getNodeValue();
       logger.debug("id: " + id);
       logger.debug("fileRefRelativePath: " + fileRefRelativePath);
       String fileRef = properties.getProperty("delete.FileRef.base") + fileRefRelativePath.split("#")[1];
       logger.debug("fileRef: " + fileRef);
       deleteListItem(ls, properties.getProperty("folder"), id, fileRef);
     public void deleteListItem(ListsSoap ls, String listName, String listId, String fileRef) throws Exception {
      String deleteFormatted = String.format(delete, listId, fileRef);  
      Updates u = new Updates();
      u.getContent().add(createSharePointCAMLNode(deleteFormatted));
      UpdateListItemsResult ret = ls.updateListItems(listName, u);
      writeResult(ret.getContent().get(0), System.out);
     public void initialize() throws Exception {
      logger.info("initialize()...");
      properties.load(getClass().getResourceAsStream("/SharePointDeleteListItemExample.properties"));
      super.initialize();
      this.delete = new String(readAll(new File(this.getClass().getResource("/Delete.xml").toURI())));
      this.deleteListItemQuery = new String(readAll(new File(this.getClass().getResource("/DeleteListItemQuery.xml").toURI())));
      this.queryOptions = new String(readAll(new File(this.getClass().getResource("/QueryOptions.xml").toURI())));
    Brandon James SharePoint Developer/Administrator

  • Calling a web service from a portal application / SOAP Action

    Hallo,
    Ich möchte aus einer Portal Applikation auf einen Web Service zugreifen.
    Dafür habe ich mit dem Wizard "Portal Service from Wsdl file - Client side"
    eine Portal Service erzeugt, auf den ich dann zugreife.
    Leider wird dabei ein Fehler ausgegeben (Stacktrace-Ausschnitt s.u.).
    Ich habe ein Posting zu dem Fehler hier im SDN gefunden, leider hatte dort niemand eine Antwort. Vielleicht hat inzwischen jemand eine Idee?
    Das Feld soapaction ist in der soapconfig.xml leer angegeben (soapaction="").
    Es ändert aber nichts an der Fehlermeldung, wenn ich dort etwas eintrage.
    Ein weiterer Gedanke ist, dass die soapaction, die wenn ich es richtig verstehe eine URL auf die web service methode enthalten soll, im Grunde dynamisch sein sollte, da der Web Service lokal in dem Portal läuft, auf dem die Applikation gerade deployed ist. Auf den Web Service wird mit WebDynPro erfolgreich zugegriffen (dynamisch). Meine Vermutung ist, dass hier das Problem liegt und es entweder mit diesem Wizard nicht möglich ist oder ein Bug vorliegt.
    Also ist die Frage: Wie erzeuge ich dasselbe für eine Portal-Applikation?
    Ich hoffe, dass mir jemand mit einer Antwort oder Hinweisen wo man weiterforschen kann, weiterhelfen kann.
    Freundliche Grüße,
    Daniel Dehnhard
    Stacktrace:
    Component finished with error: (com.sapportals.portal.prt.service.soap.exception.PRTFaultEnvelopeVersion)
    java.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.processParams(PRTSOAPBodyElement.java:253)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.init(PRTSOAPBodyElement.java:190)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.(PRTSOAPBodyElement.java:56)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.init(PRTSOAPBody.java:94)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.(PRTSOAPBody.java:36)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.init(PRTSOAPEnvelope.java:113)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.(PRTSOAPEnvelope.java:54)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.processSOAPMessage(PRTSOAPMessage.java:58)
    at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.(PRTSOAPMessage.java:40)
    at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:180)
    at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
    at de.enviam.ep.egk.km.webservicewrapper.Z_EP_EM_EGK_CustomerGroupToCRMData.getCustomerGroup2CrmDataByGPNr(Z_EP_EM_EGK_CustomerGroupToCRMData.java:218)
    at de.enviam.ep.egk.km.imp.EPImpSchedulerTask.resolveGroupId(EPImpSchedulerTask.java:764)

    Hi,
      I am accessing a web service from a Portal Component through a Portal Web Service. First i created a web service, then a portal web service which is made to access the wsdl file of the web service. Now i access the Portal Web Service from a Portal Component. Now i am getting an error as,
    Exceptionjava.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method.
    The code which i wrote in component is below
    String text = "word";
    FuncHelloResponse res=new FuncHelloResponse();
    FuncHello fn= new FuncHello() ;          
    fn.setName(text);
    res= (  (INewPortal) PortalRuntime.getRuntimeResources().getService(INewPortal.KEY)).FuncHello(fn);
    response.write(res.getResponse());
    Can any one solve this problem?

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • Cross domain call to Azure ASPX from SharePoint Online Site Collection

    We have a ASPX page hosted on Azure that is creating a Zip of documents from a SharePoint Document Library against IDs that we are passing it through query string. Next we are flushing this ZIP as a download response to the client
    browser so that user can save it somewhere on his machine. This is working as expected.
    Next we are calling this ASPX from our SharePoint Online Site Collection. Sometime it takes time to create the ZIP & return to the client and therefore we want to implement a Progress Image showing something is happening at the server. We
    have used window.open() method to call this ASPX and at the same time we are showing up the Progress Image. But due to same origin policy we are not able to track any window specific events in Internet Explorer to close the Progress Image when the response
    returns to the client.
    Please suggest a suitable workaround for this scenario. Any help would be greatly appreciated.
    Thank you in advance!
    Jitendra

    Hi Jitendra,
    According to your description, my understanding is that you want to call a aspx page hosted on Azure from SharePoint Online site and implement a progress image to show the progress happening at the server.
    In your scenario, if you want to call the aspx page on Azure to create zip and return to the client, the better way is createing a web service and call it in clinet side. You can add the progress status in the custom code and then judge the status to
    show correponding progress image.
    Here is a detailed article for your reference:
    How to Create and Deploy a Cloud Service
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Calling BAPI from Portal Service

    Hi all,
    I have created a KM custom property renderer, what includes a Portal Service.
    Now, I would like to call a BAPI from the renderer component using JCO.
    Does anybody how or whether that works?
    Or does anybody have a sample code how to call a BAPI using JCO from a portal service?
    Thanks
    ISmail

    Hi,
    This is possible.
    Please see the following documentation:
    [http://help.sap.com/saphelp_nwpi711/helpdata/en/48/634503d4e9501ae10000000a42189b/frameset.htm|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/634503d4e9501ae10000000a42189b/frameset.htm]
    Regards,
    Zohar

  • Calling an ABAP Report from GRC Portal

    Hello...
    we want to know how an ABAP report will be called from GRC Portal ? How will be the linkage between these two and can u please explain the same .
    Thanks in advance.
    Regards,
    KY.

    I suppose you want to add additional portal content to GRC PC/RM 3.0 portal, then follow the steps bellow:
    In backend ABAP box,
    - Create an transation code for the ABAP report
    In the front end Portal box,
    - Create an iView using the template "SAP Transaction iView"
    - Add this iView to your protal role, either directly added to portal role or via workset
    Done.

  • Running  BDC in 'A' mode when called from Enterprise portal

    HI All,
    I have created a RFC which contains a BDC program that update data in SAP R/3. The RFC is called from Enterprise portal. Is it possible to run the rfc in A(all screen display) mode while calling from EP. I have tried it but it gives following 2 errors on EP
       cm_no_data_received
       rfc_error_communication
    what changes i have to do so that i can run the BDC in 'A ' mode  when called from Enterprise portal

    it would not be related to EP administration issues but something to do with GUI usage. it is loggically fare enough not to give options of viewing the debug screen in as it might concern security issues inway the data could be edited at any point of time. Moreover the screens u see in R3 are ABAP but whereas in EP it is purely based on Java and the calls to SAP is done via JCO thus enabling ABAP functionalities in EP. Maybe for these technical reasons or constraints it wont be possibel to view the screen in EP eventhough u had ext.bp activated

Maybe you are looking for