How to get the WorkItem-ID in mapping.

Hi All,
   I have developed a BPM scenario ( R/3  proxy  --> XI BPM --- >   FTP )...  in the runtime, the work item it will be generated.
My requirement is the file name should be in the work item ID (I know how to set the file name dynamically in the mapping)... but here my problem is to get the workitem ID...
any idea
Edited by: Dhanabal Thangavel on Aug 25, 2009 3:33 PM

Thank you very much for your quick response
  Please guide me to complete this
1.  I have created parameter type DYNPRO in SWFVISU transaction and i have created a application parameter in my webdnypro
     application also even though i cannot get the workitem id in to  my default method of my WD component window 
     So could you please send us any document links regarding this issue
Thank you,
Harsha p

Similar Messages

  • How to get the workitem

    hi ,
    im using the task to trigger work item to a person and scheduled a deadline. but suddenly my connection to the server has lost.
    again i have opened my inbox i could not be able to have the workitem in my inbox.
    but the deadline is already triggered to another person regarding this work item.
    in this case how to get the workitem in my inbox?
    how these kind of scenarios are being handled ?
    Raghu

    You can check which are the workflow you have started from
    SBWP->OUTBOX ->Started Workflows. There you will get the workflow and check this from the Workflow log by hitting the Wflow Log button.
    Thanks
    Arghadip

  • How to get the workitem at runtime

    Hi
    I have a web dynpro application from where a workflow will be started based on an event. I want to retrieve the workitem ID. How to retrive it?
    As per the Forums answers, I am currently using SAP_WAPI_WORKITEMS_TO_OBJECT function module to get the workitem ID
    Please help me
    Thanks
    Gopal

    Hi,
    You can refer the below thread.
    [Re: Completion of workitem for webdynpro abap application;
    links:
    [Re: Completion of workitem for webdynpro abap application;
    Regards,
    Priya

  • How to get the workitem id from UWL

    HI All,
               I have developed a workflow and   starting this workflow from webdynpro abap.I integrated that task in SWFVISU
    transaction  to trigger the webdynpro from UWL up to now its working fine.
    but now the problem is i need to get the WI_ID of the particular workitem (which i clicked on UWL to trigger my webdynpro application).
    Thank you,
    Harsha P

    Thank you very much for your quick response
      Please guide me to complete this
    1.  I have created parameter type DYNPRO in SWFVISU transaction and i have created a application parameter in my webdnypro
         application also even though i cannot get the workitem id in to  my default method of my WD component window 
         So could you please send us any document links regarding this issue
    Thank you,
    Harsha p

  • How to get  the name of Interface Mapping ?

    Beside the information given by setParameter() i like to know the name of the "Interface Mapping". Does somebody know how to get this information ?

    Hi Frank,
    not really there are a lot of information in there but <b>not the name of the interfacemapping</b>. By iterating through the xiContext given by setParameter() i got the following output:
    <u>As defined in StreamTransformationConstants:</u>
    MessageClass = RQ
    VersionMajor = 003
    VersionMinor = 000
    ProcessingMode = A
    MessageId = B9EFFFC05A7411D9CA2F00306E5DA806
    RefToMessageId = 00000000000000000000000000000000
    ConversationId = null
    TimeSent = 20041230150856
    Interface = ORDERS.ORDERS05
    InterfaceNamespace = urn:sap-com:document:sap:idoc:messages
    SenderParty = null
    SenderPartyAgency = null
    SenderPartyScheme = null
    SenderService = BS_QGDBW
    ReceiverName = msgIF_ORDERS_DATARIVER
    ReceiverNamespace = http://prototype.com/xi/test
    ReceiverParty = null
    ReceiverPartyAgency = null
    ReceiverPartyScheme = null
    ReceiverService = BS_QGDBW
    MappingTrace =
    <u>Additional Information found:</u>
    Direction = 0
    MessageID = B9EFFFC05A7411D9CA2F00306E5DA806
    BusinessSystemSender = BS_QGDBW
    BusinessSystemReceiver = BS_QGDBW
    SenderNamespace = urn:sap-com:document:sap:idoc:messages
    SenderName = ORDERS.ORDERS05
    QueueID = null
    SenderSystem = BS_QGDBW
    ReceiverSystem = BS_QGDBW
    These are interresting informations but nothing to find out which interface-mapping-name has called the execute-method....
    Regards,
    Urs

  • How to get the list of installed maps in OviMaps 3...

    Is it possible somehow to get the list of maps which are downloaded and installed to OviMaps 3.03? Map loader seems not to help

    Use nokia ovi suites. This has the new map loader inside it. Once you run it, attach your phone, click on map, and it should show you a least of countries that has maps you can download for.

  • How can I get the address from a map struct?

    Hello,
    Who knows how to get the address from a map struct, and what's the meaning of the eighth argument (addr) of ufs_getpage() ?
    I developed a modular to encrypt certain files. The approach is: I�fll change the vnode's v_op pointer when opening a file which should be decoded. I make the vnode->v_op point to my own ops struct. I made a new ufs_getpage function like below:
    static int newufs_getpage(struct vnode* vp, offset_t off, size_t len,
    uint_t* protp, page_t* plarr[], size_t plsz,
    struct seg* seg, caddr_t addr, enum seg_rw rw,
    struct cred* cr)
    call old ufs_getpage(vp, off, len, protp, plarr, plsz, seg, addr, rw, cr);
    decode the page.
    After reading some source code about kernel, I know the plarr is the page which is read from the disk. But I don't know how to get the address of the page. I tried like below, but failed.
    caddr_t baseaddr;
    page_t *pp;
    pp = plarr[0];
    �c�c
    baseaddr = hat_kpm_page2va(pp, 0);
    �c�c
    I logged the baseaddr:
    cmn_err(CE_NOTE, �gbaseaddr %s�h, baseaddr);
    or
    char _buff[8];
    int _len;
    copyinstr(baseaddr, buff, 8, &len);
    cmn_err(CE_NOTE, �gbaseaddr %s�h, _buff);
    But I found the baseaddr is not what I want. Is there something wrong with my approach? What's the meaning of the eighth argument (addr) of ufs_getpage()
    By the way, is there any documents concerning to the functions such as segvn_fault�Appmapin/ppmapout except the source code?

    Hiya,
    I think the address is the faulting address in segmap.
    But why not have a look at the file event management framework in NFSv4:
    http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/fs/fem.c
    To support NFSv4 delegation, FEM provides hooks to intercept filesystem operations.
    Maybe you could use that to implement what you want? Probably safer than doing what you are doing now. Go see fem_install().
    Cheers,
    R.
    Message was edited by:
    ralphyt

  • How to Get the Current Workitem id at runtime

    Hi All,
    I have a scenario, where request pending with a user who has already resigned the organization. The requirement is that we need to provide a report
    of the request and with whom it is pending with along with the workitem id with a forward push button.
    So that if the user identifies that a request is pending with someone he can click the record and press for the forward button and a pop-up to be showed where he can enter the userid to whom he needs to forward it.
    In this scenario can anyone tell me how to get the current workitem id at run time and to save it to a custom table.
    I tried with method before workitem execution, but here i am not getting the current workitem id.
    Can you please suggest a good solution for this.
    Thanks and Regards,
    Balaji

    Karri,
    I think i can explain you with an example.
    Here is my Scenario.
    A user has raised a Gate pass and it went to all approval's and got approved and the material is also sent out from the plant. Lets take the date as 1.1.2013 (A Warehouse person have done the checking and sent out of the plant).
    On 1.3.2013 some of the material has been returned and a material inward request has been raised and now the warehouse person has to do a inward checking and to sent it back for the initiator for the approval, but the warehouse person has resigned the organization on 1.2.2013, now the workitem is pending with the warehouse person who has already resigned.
    My scenario is once the material inward request is created and before the workitem is delivered to the warehouse person i need to get the workitem id and to store the workitem some where.
    So that in future if any warehouse dept head wants to forward the workitem which are lying in the person inbox who has already resigned he can do it via a report using this workitem id.
    So, can anyone help how to get the dialog workitem id before the workitem creation or execution. I tried with "method before workitem execution" but my break point is not triggering at this point.
    Thanks and Regards,
    Balaji

  • How to get the java code of the message mapping

    how to get the java code of the message mapping,
    I mean to ask how to get the background java code of the message mapping(graphical mapping).
    And where to view it?

    Hi Satya,
    The JAVA code for graphical msg mapping is in below folder:
    \usr\sap\<SID>\<DVEBMGS10>\j2ee\cluster\server0\temp\classpath_resolver
    Here all the mapping jars are there in this folder.
    Just decompile these jars and you can see the code.
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

  • How to get the values from profileFormHandler

    Hi,
    here i have problem with how to get the values after setting the values to that , how i have to call repository, what repository i've to call?

    When you are setting values, check the repository(getRepository()) from which mutable repository item is created. Go to that class .properties file and check the repository mapping.
    -karthik

  • How to get the list of materials from Sap r/3

    Hi Experts,
    I have one doubt, here iam implementing
    HTTP TO RFC scenario.
    My doubts are------
    1. Should we create DT MT MI and all (OR) not
    2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).
    3.Or the second thing is how to get the list of materials start with some alphabate.
    Please reply me for each and every questions mentioned above. Please clarify me.
    Helpful answers wil be rewarded.
    Reagards
    khanna

    Hi Khanna,
    <i> 1. Should we create DT MT MI and all (OR) not</i>
        Yes U need to create for HTTP site...for RFC U need to import..
    <i>2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).</i>
        You create your own structres for Request and respoce.. and Map it with RFC..
    <i>3.Or the second thing is how to get the list of materials start with some alphabate.</i>
        I think it will come with acending order....
      for more help go through this link
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    regards,
    Ansar.

  • How to get the number of columns in a result set???

    hi everyone..
    i am trying to establish a servlet applet communication....
    my applet send the sql query to the servlet as serialised string and then the servlet executes the query...
    Since i need to pass the result back to the applet, i thaught of passing the whole reult set to the applet..but that seems to be not possible..
    so i thaught of storing my result set data in a vector and then pass the vector,but the first problem that i came across is that how to get the number of colums in a result set....
    so is there a way to get the number of columns in a result set...???
    and also i would like to know if it possible to send my whole result set to the applet bye serialization or by any method...???
    thanx in advance

    You shouldn't do. It expenses resources (you should always close the ResultSet and the Statement as fast as possible). Simply gently process it into a Collection or Map of DTO's. Those are serializable.

  • How to get the current tree element (node/childnode/childnode/...) ?

    Hello!
    I'm trying to create a kind of a navigation tree for my application.
    It should represent some elements of an XML structure and some other nodes for other options.
    The binding with the context is not a problem, I can create the tree up to all the levels I want to.
    The problem now is, that I don't know, how to get the "current tree element", when there is any action.
    For example:
    public void onActionSelect(...) {
    String test = wdContext.currentTreeNodeElement().getText();
    wdThis.wdGetContext().currentContextElement().setSelectedElement(test);
    With this method I can get the text of the "first level nodes". If I want to get the "second level node", I can do
    String test = wdContext.currentTreeNodeElement().currentChildElement.getText();
    ..and for the next levels so on.
    Isn't there any general method to get the information of the selected element without knowing before, whether it is a nodeElement or a nodeElement.currentChildElement or a nodeElement.currentChildElement.currentChildElement, ...?
    Greetings,
    Ramó

    Hi,
    if you following that pdf ,
    i think your not implemented the below code in DomodifyView method
    if (firstTime) {
          IWDTreeNodeType treeNode = (IWDTreeNodeType) view.getElement("TheNode");
          /* The following line is necessary to create parameter mapping from parameter "path" to parameter "selectedElement".
    Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
    that raised the onAction event. Parameter "selectedElement" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
    that handles the onAction. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
    be accessed within the event handler
          treeNode.mappingOfOnAction().addSourceMapping("path", "selectedElement");
          /* The following line is necessary to create parameter mapping from parameter "path" to parameter "element".
    Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
    that raised the onLoadChildren event. Parameter "element" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
    that handles the onLoadChildren. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
    be accessed within the event handler
          treeNode.mappingOfOnLoadChildren().addSourceMapping("path", "element");
    please cross check once.
    Thanks,
    Ramesh

  • HOW TO GET THE SELECTED VALUE IN A ROW FROM ONE VIEW TO ANOTHER VIEW?

    hi all,
    I  have a small issue.
    i have created two views.In the table of the first view i'm selecting a row and pressing the button it will move to next view.
    i am adding some fields manually in the table of the second view and pressing the save button.Here all the values should get updated corresponding to the field which i have selected in the first view.
    I want to know how to get the particular field in the selected row from one view to another view.
    Kindly help me.

    Hi,
            Any data sharing accross views can be achiveved by defining CONTEXT data in COMPONENT CONTROLLER and mapping it to the CONTEXT of all the views. Follow the below steps.
    1. Define a CONTEXT NODE in component controller
    2. Define same CONTEXT NODE in all the views where this has to be accessed & changed.
    3. Go to CONTEXT NODE of each view, right click on the node and choose DEFINE MAPPING.
    This is how you map CONTEXT NODE and same can be accessed/changed from any VIEW or even from COMPONENT CONTROLLER. Any change happens at one VIEW will be automatically available in others.
    Check the below link for more info regarding same.
    [http://help.sap.com/saphelp_nw04s/helpdata/EN/48/444941db42f423e10000000a155106/content.htm]
    Regards,
    Manne.

  • How to get the filename from J2SE File adapter

    In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping  and J2SE for Deliveying the message .
    In one senario, routing will be based on the filename .
    J2SE Sender File adapter --- XI Adapter --- XI pipe line
    So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
    When we are using the dynamic configurator in the XI to get the filename
    we are not able to get the file name  becasue it is coming to XI via
    XI adapter.
    How to get the filename ????Hope I am clear about the problem.

    hi,
    try this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //obtengo la Key del FileName
    DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    /people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
    Hope it helps
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM

Maybe you are looking for

  • Logical file paths invisible

    Hello All, Can any 1 share their views on why excialty Logical file paths & Logical file names are used. From last 2 days we are facing an issue on our PRD system. In our case Logical file paths & Logical file names are used for interfacing external

  • Sequence unrendering when external drive is moved

    Hey there, I'm having difficulty moving a project from one edit suite to another. All of the media and render files are on an external HD. When opened on the originating system, the sequence is fully rendered. When I take the external over to another

  • Rows in Pivot Table of answers

    Hi Gurus, I want to show row in pivot table from count of some values in perticular column and also want to show row as pivot table some values in perticular column Suppose we have values a,b,a,c in column i want to show 2(that is count of a) in belo

  • Best way to prevent editing??

    Hello, We have a 300-page confidential PDF, and the people here are super paranoid that someone is going to tamper with it and/or delete the "confidential" watermark.  I informed them of the "encrypt with password" feature that prevents editing, but

  • Acrobat X Crashes when I attempt to place digital signature

    Program starts up fine. I can effect most edits needed. I am an Engineer and produce a lot of PDF documents for new construction. When I attempt to add digital signature ... I get the blue screen of death. Not sure what to do? Program was working fin