Retrieve task statistics via soap

Hello,
I would need some task-list-metadata like the total number of tasks,
the number of assigned tasks, the number of completed tasks just
like the Chart-Feature in the BPM Worklist Application.
I need to be able to retrieve that data via soap. I couldn't find any
available webservice, which would be able to accomplish that.
Documentation tells me that there exists a 'Tasks Report Service'
which may be appropriate, but it is supported just by plain Java API.
So before starting to invent my own solution I would like to know
if there is a existing webservice which supports what I need?
Kind regards,
Martin

Hi,
Try with Fucntion module: "/SDF/OCS_GET_STAT_INFO".
When i see the code in above function module he using the code as follows inorder to fecth function modules to list.
FUNCMODNAME = 'S390_GET_CURRENT_SSID' .
        SELECT SINGLE FUNCNAME
          FROM TFDIR
          INTO :FUNCTION_CHECK
         WHERE FUNCNAME = :FUNCMODNAME .
        IF SY-SUBRC = 0 .
          CALL FUNCTION FUNCMODNAME
               IMPORTING
                    SSID   = DBSID_DB2
                    DBHOST = DBHOST_DB2.
        ENDIF .
It may helpful to you.
Thanks,
Naga

Similar Messages

  • How to retrieve old statistics backed up in SYSAUX tablespace.

    Hi, Folks
    From 10g onward, Oracle stores statistics collected previously when new statistics is gathered. Old statistics can be queryed via dba_tab_stats_history. but dba_tab_stats_history view doesn't show values like histogram, rows, min, and max. I would like to compare old statistics with new ones. Is there any way to retrieve previous statistics data backed up in SYSAUX tablespace?
    [oracle@rh01 ~]$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Sep 2 10:26:27 2009
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> desc dba_tab_stats_history
    Name Null? Type
    OWNER VARCHAR2(30)
    TABLE_NAME VARCHAR2(30)
    PARTITION_NAME VARCHAR2(30)
    SUBPARTITION_NAME VARCHAR2(30)
    STATS_UPDATE_TIME TIMESTAMP(6) WITH TIME ZONE
    SQL>

    If it is stored you can query it. The trick is knowing where it is stored and without specific information about what you are looking for there's not much I can do other than refer you to tables whose names begin with the prefix 'WRH.''
    Try this for starters:
    select table_name from dba_tables where table_name like 'WRH%STAT%';

  • Connection from DP to SAP PI 7.11 via SOAP/https failed

    Hello Guys,
    we have a problem with connection from DP to SAP PI via SOAP/https.
    DP send a request and get a timeout. timeout is 2 or 3 minutes.
    DP and SAP PI authentificated with certificates.
    Our Problems:
    DP get now failure code
    in commnication channel monitoring in RWB from SAP PI I see no entry, no error
    in java default trace I see no error.
    What could be the Problem? What must we configure for https communication via SOAP Adapter?
    Which Log get me some information?
    Thanks and regards
    Martin

    Hi Neetesh,
    I have check all, but it resolved not my problem.
    I will describe my scenario again:
    scenario:
    syncronous request from system A over DataPower ->SAP PI to SAP system.
    communication DataPower to PI: SOAP over https
    DataPower located in other network zone.
    port is activated in firewall.
    called URL from DataPower:
    https://<host>:5<instance number>01/XISOAPAdapter/MessageServlet?
    channel=:<business system>:<interface>
    Problem:
    authentication looks like ok. No error in ICM Trace, in default java
    trace login from DataPower IP-adress ok.
    but no message is to see in the communication channel.
    no message in the adapter engine, no message in the integration engine
    DataPower get a timeout. (Timeout 2  minutes)
    we find no error, but also no message
    What could be the error? And where find I some information in SAP PI.
    Thanks and regards
    Martin

  • Error while invoking the ABAP Proxy via SOAP Adapter

    Hi,
    My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
    SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
    Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
    SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
    With this approach, i am encountering the below error message
    2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    Any ideas on the above errror message? Any pointers or inputs will be appreciated.
    Thanks,
    Vinayak Kamath

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • Error while retrieving TASK list through worklist API

    Hi All,
    I am try'n to retrieve TASK lit for user in BPEL 10.1.3.1 using worklist api ,
    I am stucked with this error while quering the tasks.
    bpeladmin
    Aug 25, 2008 11:31:52 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    java.rmi.UnmarshalException: Error deserializing return-value: java.io.InvalidClassException: oracle.bpel.services.workflow.task.model.TaskImpl; unable to create instance
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:897)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:341)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:296)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:278)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:825)
         at java.lang.Thread.run(Thread.java:595)
    Help me out.
    Regards,
    Kalyan.

    Hi,
    Guys any updates...

  • How to call webservice via SOAP on WebAS 620

    Hi,
    I am working on WebAS 620 and want to call from ABAP side a Webservice via SOAP.
    The webservice belongs to a third party tool and is placed on a different server.
    This webservice is pretty easy (2 import parameters and 1 export).
    Unfortunately it seems to me that the SOAP framework does not support such calls. It just supports calls of RFC enabled function modules. This is not what I want.
    Do you know if this is possible and how I can do it?
    Best regards,
    Jan Heffter

    check this weblog
    /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
    Regards
    Raja

  • How to receive acknowledgement from Vendor via SOAP adapter.

    Hello Experts, my outbound scenerio is R3>PI->Vendor via the URL given by vendor. From PI i'm sending my POs via SOAP adapter and in the conversion parameters I choose the check box "Do not Use SOAP Envelope" My message reached the vendor. Now vendor sends back a functional acknowledgement indicating the message had been received and processed. Below is the entire XML file content.
    <MessageAcknowledgment>
        <AckLocation>Medical</AckLocation>
        <AckRefNum>98712345</AckRefNum>
        <AckNote>200-Accepted</AckNote>
    </MessageAcknowledgment>
    Can anyone let me know how to receive the above message? What setup do i need to do?
    Thanks,
    Edited by: XISearch on Jan 10, 2011 3:05 PM

    >>> Can anyone let me know how to receive the above message? What setup do i need to do?
    Solution: You need to create a synchronous scenario.
    Might be at R3 side proxy  sender  and vendor side Reciever Soap
    Basically PROXY <------> SOAP
    Map the proxy request message to soap(vendor) request message  as REQUEST MAPPING
    and
    Map the SOAP (Vendor) response message to proxy response as RESPONSE MAPPING
    and in the backend parse the response.
    If you need more details, Please let us know.

  • File attachment via SOAP

    Hi,
    I have a ZIP file which I need to send it to the 3rd party via SOAP adapter with an attachment. Is this feasible to implement?

    Refer the foll links for more help :
    Re: send soap envelope with attachements
    RFC to soap with attachment

  • Send idoc to other system via SOAP

    Hi,
    I intend to implement an interface with other system non SAP, to send idocs via SOAP.
    I've read some documentation on sdn but i'm very confused about Was / XI / BSP and some others terms.
    Please, can someone help me, driving me to the right way and where to start ?
    I don't know either if this the best solution to send many idocs... I'm talking about 10000 idocs each time.
    In advance, thanks.

    Vitor,
    I suppose u want to distribute data of Idocs to a system which accepts SOAP request. For the same u can use XI with necessary distribution model on R/3 side to post the IDoc to XI and XI SOAP receiver adapter making a call to necessary SOAP server to post the data.
    Regards
    Rajeev

  • Send XML and receive binary data via SOAP

    Hi folks,
    following idea (Client-Server-Rendering-Architecture):
    1. Send XML as JavaScript variable via SOAP to the InDesign Server
    2. Attached the XML String to a new document or template
    3. Apply several XMLRules to the docuument
    4. Render to document as JPG|PDF whatever
    5. Transmit the JPG (means binary) via SOAP back to the client
    Following problems raised by implementing this
    1. Build a new XML-Object with new XML() works, but how to attach this object to the document, i've just found importXML() but from file, not string and xmlElements.add() for adding just a tag not a whole xml tree. The importXML() performance from a File object is not that fast ...
    2. How to render a document not to a file with exportFile() but into a variable, object etc.?
    3. How to send a binary object (from an object, a variable or File object if not possible as describe in Q#2) back to the client via SOAP (scriptResult)? Do I have to expand the WSDL (and|or C++ API), any examples?
    Thanks for your help, by the way, the describe scenario is what I expect of a rendering server not more not less ...
    Tino

    for one thing, don't use == to compare strings... You have that all over the place, like:
    if(currentElement=="region") {                                                                                                                                                                                                                                                   

  • Overflow in VBScript invoked via SOAP

    We are using web services to invoke a Visual Basic Script in our server (V7).
    If we invoke the Script from Windows (by double clicking it) with the server running the script runs fine.
    However if we invoke it via web services we get the following error:
    Windows Scripting Erorr!
    Error Number: 6
    Error String: Overflow
    The error comes from a line that does some simple mathematic arithmetic. There is no division by 0 and as i mentioned this executes fine if invoked by Windows rather than IDS.
    Is there a memory limit when executing VBScript via SOAP or some other restriction that we are not aware of.

    If anyone is willing to look at this problem this is a minimal script that reproduces it.
    Set InDesignApp = CreateObject("InDesignServer.Application")
    Set IndDoc = InDesignApp.Open("C:\overflow.indd")
    InDesignApp.JPEGExportPreferences.JPEGExportRange =  1785742674
    InDesignApp.JPEGExportPreferences.PageString = IndDoc.Spreads(1).Pages(1).Name
    x = 1 / 2
    IndDoc.Export 1246775072, "C:\overflow.jpg"
    x = 1 / 2
    You will need to create a document called overflow.indd in C. I can pass you mine if i could find a way to attach a file to this post.
    You should get the overflow error in the last line of code.

  • Anonymous authentication requests via SOAP Sender adapter?

    Hi,
    Can someone please tell me whether it is possible to call the SOAP Sender adapter anonymously?
    We can set user credentials for the receiver system adapter but looking at the options in the SOAP Sender communication channel I can't see how it is possible to send messages though SAP PI without a user who has authorisations to process messages.
    Any advice greatly appreciated.
    Thanks,
    Alan

    can't see how it is possible to send messages though SAP PI without a user who has authorisations to process messages.
    The source system needs to use a user-id to send message to XI/ PI via SOAP.
    If you do not want to use any authorization there is a way to switch off the authentication for the entire SOAP adapter (i.e. for all the SOAP scenarios)....not advisable.
    This method was actually described in a discussion ages back
    Regards,
    Abhishek.

  • Submit PDF Data via SOAP

    Situation:
    Write a PDF out to a public share.
    Email the location reference to a user.
    Allow the person to add their data to the form.
    Allow the person to submit.
    I would like to submit the data to a workflow process.
    From what I have read, a lot of people indicate this is done by writing a web service that acts as a proxy to the actual workflow process. Is that really the best/easiest way?
    I know that LiveCycle exposes the WSDL for any workflow process that is written. Is there a way to call that directly without the proxy?
    I know you can set up a Data Connection on a form. Is that the best way?
    Can I simply but the end point of the LiveCycle SOAP endpoint in the "Submit To Url" field of a Submit button?
    Any words of wisdom?

    There are six different ways to initiate a workflow process. 3 are created automatically when the process is activated and 3 require you to build an endpoint.
    1. Automatic endpoint - Data Services - you could submit the data to a servlet or other such program and in turn have it call Data Services to start the process.
    2. Automatic endpoint - EJB interface - submit the data to a servlet and have it call the EJB interface to start the process.
    3. Automatic endpoint - Web Service interface - same as above but use the SOAP interface instead. You could also have the form call the SOAP interface directly but there will be some work required on the form to get the contents of the form to submit via SOAP.
    4. Endpoint requires config - Watched folder - you can save out the data to a shared network drive. That drive is monitored by Livecycle and your process is kicked off when a file is dropped into that folder.
    5. Endpoint requires config - Email endpoint - same as #4 except email is used and not a folder.
    6. Endpoint requires config - TaskManager endpoint - make use of workspace to have the user choose the process to start and the data is submitted to the process automatically.

  • Error calling BAPI_ADDRESSEMP_CREATE via SOAP

    Hi,
    I'm calling the remote-enabled function module (from Adobe Flex) via SOAP and its erroring and not returning anything. If I debug it, it gets as far as the statement below (in the function module HR_MAINTAIN_MASTERDATA) then just stops.
    CALL DIALOG 'HR_MAINTAIN_MASTER_DATA' USING BDCDATA MODE 'N'
    I know mode N is no-display, so why should this error? I know its coming into SAP via the ICM (over http) so there's no gui, but do we need a gui? I've seen remote-enabled function modules in the past that contained call transactions, and they worked fine!.
    Points awarded for help
    Graham

    I've been doing some more digging.
    Basically, the BAPI is simulating the infotype 0006 screen to put data in, but any error message or unexpected screens that comes up will cause the BAPI to fail. The BAPI doesn't do much validation before passing the data to the screens, it just checks that you've locked the employee record (and maybe does some other checks as well like authorisations).
    This means that you have to check your data in the call.
    Here are some things that I found to check
    1: Make sure that the start date, end date and subtype are supplied and are in the correct format (you can do this by placing an external breakpoint in the BAPI and checking it from here).
    2: Make sure all mandatory fields are specified.
    3: Make sure that there aren't any dynamic actions set up on infotype 0006 that could display other screens. Dynamic actions are normally ignore in batch input mode, but since the BAPI is doing a CALL DIALOG and not a CALL TRANSACTION, the field sy-binpt is not set to 'X'. One way round this is to create a z-function module which sets sy-binpt to X and then calls the BAPI.
    Any other suggestions welcome

  • XML via SOAP

    Hi Experts,
    My Secnario is 
    IDOC -- XI --- SOAP.
    Actaully i have to convert incoming IDOC into Flat file in XI and send this attachment via SOAP attachment.
    Is it possible?
    Thanks
    Subbu

    Hi
    if u want to craete the file for an IDoc then u have to collect the idoc a file and that file u can use as an attachemnt.
    to collect idoc in a file u have to do the following settings.
    1.Use transaction WE21 and create an file port in the R/3 system. Apply here function module for creating the file name. You can use a standard module to do the same.
    2.Using  WE20 to create the partner profile and  assign the outbound IDOC message  type to a partner profile in the outbound parameters.. This partner will be the R/3 server itself since the ile will be uploaded on the R/3 Server . For this message type give the filet created in the above step as the receiver port and select the option collect IDOCs as output mode. Give the basic IDOC type the idoc u r triggering.
    3. use transaction BD16 to trigger the IDoc
    4.Use the transaction BD87 to process the IDoc, the file port and the number of IDocs which shall be collected
    6.Using transaction SXDA_TOOLS download the XML message stored on the R/3 server and upload the same into the XI server.
    Thanks
    Rinku

Maybe you are looking for