Body of text for User Decision

Hi Experts,
In my scenario while sending user decision mail for approve or cancel, here I need to send mail with body of text
Like :
Scheduling agreement number: &PURCHSCHEDAGREEMENT.PURCHASINGDOCUMENT&
Scheduling agreement date:
Material Description:
Rejected by:
Rejection reason:
Now I can include subject of mail using parameters (decision tab).
But here I am not able to include body of text.
Please any one can suggest solution for this.
Advance Thanks,
Regards,
BBC

Hi Suresh,
Thanks for your quick replay.
As suggested, yes I can see the container, here only it is showing few things like adhoc_objects, attach_objects, Wi_group_id, work_item, and note reference.
I need to get values from scheduling agreement relevant methods and all...
In work flow I can call the scheduling agreement methods relevant container parameters in other steps.
Please can you suggest how to see what ever available methods and all in workflow?
Regards,
BBC

Similar Messages

  • Solutions for User Decision step- Upon reject, auto-popup text for reason

    Execute user Decision workitem, when user click reject button, open text for rejection reason within the workitem.
    Ideally, for the auto-pop text , we need a descriptive header and user can enter reject reason. Text must be added before the workitem can be saved.
    Any thoughts.
    Thanks a lot.

    yes, on the SOFM.Create-Task use a dataflow from the WIOBJECT_ID => (append table) ADHOCOBJECTS
    This will popuplate this rejection to the hyperlink-section of the workflow.
    You may also activate the outcome-even "user-cancelled" in the workflow definition (or by copying the coding to your own method that could do it) and loop around back to the user decision if he cancels the document create (which I found out is sometimes a problem for the users).
    I also have made the experience that it is quite the same effort and more convenient if you design a complete user-driven screen. Then you have full control of that issue. I always use a small dialog box with a textEdit-Control where the users have to enter their rejection reason.
    I then create my own ZWFNOTE-Object and append this to the ADHOCOBJECT. This usually works very fine.
    with kind regards,
       Florin

  • Step for User Decision

    Hi All,
    I have a scenario and two solutions for it.
    Please give me the input for which is a better solution and why.
    Scenario - Approver have to either Approve/ Reject a particular request made.
    The user decision has to come from Java front end  and the workitem created has to be executed externally
    ( not by opening sap inbox)
    Soln 1 : Create an asynchronous task and custom terminating events for the workitem and trigger terminating event for any user decision Approve or Reject.
    Soln 2 : Send an normal decision task and programatically execute one of the decision using the WAPI* FM when user clicks Approve/Reject.
    Both of them I think uses the WAPI * FM.
    Thanks
    Chandran

    Sorry I was not clear in my question before.
    I still refered to the first solution which uses a Aysn Task and a method which does not have any code (just a placeholder)
    IA is absolutely right but I dont have the flexibilty to use an ivew.
    Thanks a lot for your reply. I would close up this thread.
    Just some additional clarification if you can bring up
    What additional code that would be required for the second solution (both uses a sap WAPI FM )
    Both can be tracked by WF tools by finding out the agent and the person who have completed the Workitem so which tools you were mentioning about
    Actually I did not get which is a better solution but realized both can be used atleast no worry on the performance load. My be this topic can go for a long time to figure out
    Regards,
    Chandran.

  • Need 2 Multiline elements for user decision step

    We are on SAP R/3 Enterprise version.
    I have this requirement to find agents based on the agent type and work center field.  So I created a responsibility rule for each type of agent type.  The responsibility rule is keyed on the work center, and HR positions are mapped to each responsibility rule’s work center field. 
    We have 50 agent types/responsibility rules, 60 work centers, and 1 or more positions for each agent type and work center combinations. Due to the total number of positions, I prefer to use 1 responsibility rule per agent type for ease of maintenance.
    I have a FM that reads the responsibility rule based on the agent type and work center field and retrieve the agent_list.  I used this FM/method/step prior to my user decision step and pass the agent_list to the UD step via container.
    In my user decision step, the ‘Other’ tab does not have Multiline element for me to enter my agent_list.  So I cannot use &agent_list[&_WF_PARFOREACH_INDEX&]& in my user decision agent assignment expression field.
    In my last job, we have SAP ECC 5.0, the UD step has a ‘Misc’ tab that has Multiline element, but our current SAP R/3 Enterprise version does not have ‘Misc’ tab, it only has ‘Other’ tab.
    Question:
    1.  How do I use [&_WF_PARFOREACH_INDEX&] without Multiline element for agent_list in UD step?
    2. I have to use the same way to retrieve my LED_agent_list as well, so I need 2 Multiline elements in my UD step. But normally in  ‘Other’ tab, it allows you to define only 1 Multiline element. How do I get around this restriction?
    3. My last resort is to use 1 responsibility rule, then I can use the rule in the agent assignment.  If that is the case, is there any limit on the number of entries in the rule?
    Thanks.
    Amy

    Sorry, I posted to the wrong forum.

  • Attaching HTTP Links for User Decisions?

    hi all,
    how can we attach HTTP Links along with User Decisions. i have previously attached Business Objects as links along with approve/reject button but this time I need to attach a HTTP link.
    Points will be awarded.

    hi ravi,
    the basic requirement for me is that the frontend is going to be Webdynpro Pages controlled with a workflow in the backend. say if a personnel submits a form, it has go to the person's manager for approval.
    So while approving it, if incase he wants to see the approval information, he would click on the URL which comes with the User Decision. this is the precise requirement.
    Regarding Javascript code, where can we write the java code for URL's. is there any standard template which follows the same requirement.

  • How to make an input text for user to type name in?

    I'm making a game in which the user can type their name, and later in the game it'll say something like:
    "Oh, Kaitlyn, how was your day?" But all I really know how to do is make it so the name will appear but NOT be in an actually sentence. The problem with that is the spacing and punctuation. I tried following a tutorial which gave me this to put in the actionscript for the output box:
    output_txt.text = "Hello "+myText+"!";
    Here's the tutorial:
    http://www.danfergusdesign.com/classfiles/oldClasses/VCB331-richMedia1/exercises/inputOutp utText.php
    I think it's because it's for as3 that it doesn't work, but I'm kinda new to flash and it doesn't seem too difficult. Please give very discriptive instructions.

    What you show will work in AS2 as well as AS3.  Have you assigned an instance name to the textfield (it shows as ' output_txt ' in your example)?  Instance names are assigned by selecting the object on the stage and entering the name in the Properties panel.
    You need to store the name that the user enters into a variable.  This can be done a couple different ways.  Do you have something in place for that?

  • Populate CL_GUI_TEXTEDIT editor with text for user to modify

    Hi, What method of class CL_GUI_TEXTEDIT can I use to prepopulate the onscreen editor for someone to modify?  Also, an example would be greatly appreciated!
    Thanks
    I am using this program to maintain a string field URL in a table.  If you have a better way it would be greatly appreciated!
    REPORT  ZDW_1ST_RX_LINK_MAINT.
    DATA: DOCKINGLEFT TYPE REF TO CL_GUI_DOCKING_CONTAINER.
    DATA: TEXT_EDITOR TYPE REF TO CL_GUI_TEXTEDIT.
    DATA: REPID       TYPE SYREPID.
    DATA: TEXTLINES   TYPE TABLE OF TLINE-TDLINE.
    DATA: WA_TEXT     TYPE TLINE-TDLINE.
    DATA: REPORT_URL  TYPE STRING.
    DATA: TEXT_ITAB   TYPE TABLE OF SOLISTI1.
    DATA: TEXT_ITAB2  LIKE LINE OF TEXT_ITAB.
    PARAMETERS: P_REPGRP TYPE ZDWRPTGRP.         " Report
    PARAMETERS: P_SFORCE TYPE /BIC/OIZDWSFORCE.  " Report Qualifier
    PARAMETERS: P_REPDES TYPE C LENGTH 60.
    PARAMETERS: P_ACTION TYPE C.                 " Action
    AT SELECTION-SCREEN OUTPUT.
      REPID = SY-REPID.
      CREATE OBJECT DOCKINGLEFT
         EXPORTING REPID = REPID
         DYNNR           = SY-DYNNR
         SIDE            = DOCKINGLEFT->DOCK_AT_BOTTOM
         EXTENSION       = 280.
      CREATE OBJECT TEXT_EDITOR
         EXPORTING PARENT     = DOCKINGLEFT.
    START-OF-SELECTION.
      CALL METHOD TEXT_EDITOR->GET_TEXT_AS_STREAM
        IMPORTING
          TEXT   = TEXT_ITAB
        EXCEPTIONS
          OTHERS = 1.
      LOOP AT TEXT_ITAB INTO TEXT_ITAB2.
        CONCATENATE REPORT_URL TEXT_ITAB2-LINE INTO REPORT_URL.
      ENDLOOP.
      DATA: S_SFURL TYPE ZDW_SFURL.
      S_SFURL-REPORT_GROUP = P_REPGRP.
      S_SFURL-SALES_FORCE  = P_SFORCE.
      S_SFURL-REPORT_URL   = REPORT_URL.
      CASE P_ACTION.
        WHEN 'I'.
          INSERT ZDW_SFURL FROM S_SFURL.
        WHEN 'D'.
          DELETE FROM ZDW_SFURL
             WHERE REPORT_GROUP = P_REPGRP
               AND SALES_FORCE  = P_SFORCE.
        WHEN 'U'.
          UPDATE ZDW_SFURL FROM S_SFURL.
      ENDCASE.

    Or you can use the methods in this example.
    report zrich_0001 .
    data:
          dockingleft  type ref to cl_gui_docking_container,
          text_editor    type ref to cl_gui_textedit,
          repid type syrepid.
    data: itext type table of tline-tdline,
          xtext type tline-tdline.
    parameters: p_check.
    at selection-screen output.
      repid = sy-repid.
      create object dockingleft
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingleft->dock_at_left
                            extension = 1070.
      create object text_editor
                  exporting
                       parent     = dockingleft.
      xtext = 'http:\www.sap.com'.
      append xtext to itext.
      call method text_editor->set_text_as_r3table
         exporting
               table              = itext
         exceptions
               others             = 1.
    start-of-selection.
      call method text_editor->get_text_as_r3table
         importing
               table              = itext
         exceptions
               others             = 1.
      loop at itext into xtext.
        write:/ xtext.
      endloop.
    Regards,
    RIch Heilman

  • Error in Creating task for user decision

    Hiee friends .
    I am new to workflow .I was going through the workflow tutorial [building a workflow from scratch] available at the elearning section[ABAP eLearning Catalog].
    I am praticing abap in sap netweaver available for free download from sap ag[its not having any functional module ].
    I am able to create the userdecision and then when i try to create task in the activity section of yes userdecison.
    There i am getting a error while choosing the basic data section.
    In netweaver i don't have any functional module ,so i taking the flight booking system .
    I am choosing the Oject category as BOR Object type
    and then the object type as Sbook
    and method as display .
    But when i am choosing save button a error is coming telling me that "Prefix Number :  entry missing for system NSP client 000" .
    I clicked on the message it's telling me to maintain table T78NR in customizing and create an antry for the sytem in question and the current client .
    Please help me out .....

    I tried to give prefix number in the tcode-OOW4.[i gave it 500]
    Prefix number : 500
    SAP System id : NSP
    Client ID : 000
    But while saving it telling me that
    "Preix number 500 is not in the customer namespace".
    Is there any standard prefix number , or as i am doinf it in netweaver trail version there are problems .
    Plse help me out ..
    What would i do now ?

  • Custom User Decision for Class Method in Task

    Hi Expert,
    I have a screen for user decision(Approve/Reject with some comments field). When i execute the process it works fine for all cases, but when i don't click any decision and come back from the screen, then also this task gets completed and workflow starts executing next step. Here in this case, i want workitem to remain in inbox same as what happen in case of user decision step.
    Do i need to put this task in loop till i get a decision or some other way i can solve it? I have tried putting this method as Synchronous and non-Synchronous method. I am not sure if this issue is, because i am using Class method. Please help.
    Regards,
    Pritam
    Edited by: Pritam Kunal on Feb 11, 2011 4:28 PM

    Hi Mike,
    I have got a solution for this. If we make the task as Asynchronous task with a terminating event. Till the time event is not triggered process workitem will remain in inbox. This event can we triggered at any user decision only.
    Is there any flow in this logic? I have tried it for few cases and it worked, but not sure if there will be any case where it will not work? any suggestion?
    Regards,
    Pritam

  • Dynamic name for attachment in User Decision

    Hi...
    I have a requirement wherein the name of the attachment in the user decision has to be populated dynamically. I am using the same BO method for user decision but is triggering 2 different objects. Please advice on how to achieve this.
    Scenario - I am using BUS2081 for Invoice and for Credit Memo. If the credit memo is created, the approver has to see the name of the attachment as Credit Memo xxxx and if an invoice is created, he has to see the attachment as Invoice xxxx. As standard, whatever object is created, the attachment name is Incoming Invoice xxxx (name of the BO Object Bus2081).
    Warm Regards,
    Jubish Jacob

    The object name is static but the default attribute can be changed (use a z-subobject and delegate back) so you can do something like this: instead of: incoming invoice(object name) 12345(invoice number - default attribute) you will have document(new object name) incoming invoice/credit memo 12345(document type & number concatenated - a new default attribute)
    Another option - I think credit memos have an object (BUS2094) or you can create one - in the task have both object types in the container, when its a credit memo transfer only the credit object when it's an invoice transfer only the invoice object.

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • How to change the wortem text for Task TS00008267 in workflow

    Hi,
    Can you please help me in changing wortem text for Task TS00008267 in workflow.
    This is task is standard for User decision.I want to add my own text and insert my own variables.
    Thanks in advance.
    Chetan

    Hi
    PFTC - display
    PFT_CHG - change
    PFTC_INS - create task
    PFTC_COP - Copy the task
    Regards
    Muthu

  • User Decision Step in BPM - PI 7.1

    Hi All,
    I have posted a wiki for User Decision step in BPM in PI 7.1, Please go through it and post your queries, suggestions and comments here.
    The link for same is under:
    Part1 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I
    Part2 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II
    Regards,
    Sachin

    Hi Sachin,
    Nice job,
    During my practice on this scenario. I have got an error please kindly guide me on this, may this error also clear for the others
    *I got an error on SXI_MONITOR as:*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The trace of the error as:
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="1" type="T">could not create BPE proxy for message, no XML object definition found for message 72485F6BFC78416A29EEE3EE10D09BCE</Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    Please kindly guide me on this, Is the message has to validate at sender agreement? if not where is the error I am doing?

  • Programatically pprove/Disapprove user decision step in a waiting workflow.

    Hi Experts,
    If I have the approval step work item ID,can I programetically resume the waiting workflow by providing the input (approve disapprove).
    The use case is that the workflow is started. The workflow has a approval step and it is now waiting for user decision.
    When the workitem is created,I get the workitem id thru an exit.
    Now assume the user decision is got thru another means and now I want to resume the waiting workflow by providing the decison into the waiting workflow.The workflow should now continue with the subsequent steps.
    Is there any WAPI to do that.
    Thanks in advance.
    Bikram

    Ad Hoc Approval should be done with transaction SWIA.
    If this occurs a lot then a redesign of the flow is in order. One where with deadline monitoring you can take certain actions when workitems are idle for an amount of time.
    Also setting up substitution is advisavle for this scenario.
    Programmatically doing stuff is done with the SAP_WAPI function modules, check out if sap_wapi_decision_complete works for you.
    Kind regards, Rob Dielemans

  • User Decision - Loop in Latest Start

    Hi Experts,
    My requirment is to send reminder emails every day till user responds to workitem. After 6 days, need to forward the workitem to superior. Here for forwarding the workitem, i'm using Latest End for user decision. For sending reminder emails, i'm trying to use Latest Start with the help of loop (for each day). Latest Start is triggering after specified time, but loop is not working. Can you plz tell me, why is it so? and how can we handle this.
    Thanks in Advance,
    Siva Sankar.

    Hi Shiva,
                 Use Requested End of the task as deadline monitoring and action will be "Modeled". Then one outcome will be appeared. in that outcome first use a step to find out agents to whom you want to send the remainder mail using method and function module "RH_GET_ACTORS". Then create a loop according to your requirement and increase a counter to maintain the loop iteration. Inside the loop you can send the remainder mail. Once the loop will be finished use "Process control" to obsolete the particular step which is lying in current agents inbox. So that step will be obsolete after all remainder so one outcome will be appeared in that main task and in that new outcome you can create the same task to send the same workitem to suprior's sap inbox.
    Thanks
    Goutam Saha

Maybe you are looking for

  • In line pictures not displaying properly

    I use Lotus Notes mail and pictures (usually of text or tables) that were embedded in the note that display well on my PC didn't display well on my Blackberry.  I was hoping that this would be fixed on the Playbook, but while better it is not quite r

  • Is this a bug in Logic Pro?

    I use a MAC G5 with Logic Pro 7.2.1 - I play a Korg Triton through a Motu Micro Express Midi interface to access the sounds in Logic as well as my Ivory Grand Piano Plug In. A Mackie Control Universal is my interface. Ever since I got geared up last

  • Transfer photos from iPhone 6 to iMac?

    How to transfer just recent photos from iPhone 6 to my iMac?

  • What are the do's and dont's in the design phase of abap oo classes

    Hi , Previously in C++ i use to code in OO . But that was as a beginner some years ago. Now i am doing ABAP OO for past few months . I am somewhat familiar with OO concepts. Lets take local classes in a program. I am facing difficulty in design phase

  • Flash animations jerky (was: Flash advice sought)

    I created a 4-minute Flash, with many PNG images. I checked "Allow smoothing" in all image Properties panels. FPS is 30. But the Flash is still jerky, not a smooth animation in a number of spots. Need a solution. I outputted the Flash to a a movie fi