Change N Step work item text

Hi. We are using the N step workflow with SRM 4.
We have got the workflow working fine and the approval preview is fine.
However, all the approvals have the same text in the inbox "Approve shopping cart from ...... with value .......".
We want the workflow text to contain the approval type from the approval preview.
The text is in the original workflow but it is not passed to the sub workflow and the task that creates the work item in the users inbox.
I could change the task and the binding to pass the description down, but won't that get overwritten by support packs?
Is there any other way? I've tried method SET_APPROVAL_DESCRIPTION in the N step BADI but that does not do anything. It is called but it changes nothing that I can see.
Does anyone know how we can get the step description into the work item text?
Thanks a lot for your help,
Dave.

Hi,
Customer defined workitem is available.
Transaction: PFTC_DIS
Menu: Edit -> Workitem text -> Redefine, Customer Definition
Save.
Transaction: SWU_OBUF, refresh buffer
Regards,
Masa

Similar Messages

  • Work item text change

    Hi,
    I am using standard task 8057: INVOIC input error MM
    I want to display invoice number in place of work item text.
    we can assign any element present is task container  to work item text. But invoice number is not there in container of this task.
    I need to take the Idoc number present in the container and read invoice number from one of its segments. Where and how can I do this processing?
    Please help
    Thank you.

    hi,
    i have never worked with idocs. so would not be able to guide you for anything other than the workflow logic.
    i am also not aware how to get the invoice number from idoc no. but if you are able to do that then you can try the following solution.
    firstly, we will deactivate the link for the standard task 8057.
    then we will create a custom WF which will have the triggering event as same as that of task 8057.
    we will activate the link for this WF in SWE2 with BO IDOCINVOIC and event INPUTERROROCCURREDMM.
    this WF will have first step as an activity. this activity step will have a custom background task which in turn will call the custom method which will be used to find out the invoice no.
    this custom method will be present in the subtype object (z object that you have created).
    now you have the invoice number that you wanted.
    the 2nd step of the WF will be the custom task which will be a copy of the standard task 8057 wirth some changes.
    we will remove the triggering event from the custom task. (it will have no triggering event).
    then our job is done.
    one more thing needs to be taken care of. i.e., delegation between IDOCINVOIC and ZIDOCINV must be defined. by doing so we will be able to call the custom method of ZIDOCINV in our step 1.

  • Change in Work item Text for Approval Workflow WS14000133

    Hi,
    I need to change the work item text for Shopping Cart Approval Workflow WS14000133.
    I have created an Attribute in Business Object BUS2121 and called the same attribute in work item text.
    In PFTC -> Redefine Work item text - > and i have defined the work item text as well called the attribute from the container.
    what  the problem over here is - when I am passing the attribute in the work item text in the task, I am unable to see the work item text with the Dynamic Attribute but I am able to see the work item alone (not with the Dynamic attribut)
    But when i debug the workflow from SWI1 then i can see the dynamic attribute in the Container of the workflow but nt in the approver's inbox in portal..
    Can you please tell me - that why is this a strange behaviour that i can see the Dynamic attributed created initially in the workflow container of the Business Object but nt in the Approvers inbox either in Backend nor in the front end...
    Thanks,

    Hi,
    Maybe this SAP note/KBA will help :
    1470761 - How to change the text of the SRM approval links in inbox or UWL
    Kind regards,
    Siobhan

  • How to display a message from program in work item text in workflow

    Hi,
    I need to display an error message in the work item text in workflow  . The error message is contained in the container t_container and the field in which the error message is contained is t_container-textvarfortextelements
    the text that is contained in the field " t_container-textvarfortextelements " is "Incorrect store mapping ".
    I need to display "Incorrect stor Mapping" in the work item text.
    I am working in 40B .

    4.0B?
    Just add a new element in the task container (input variable) and add the variable to the Task text. Don't forget to pass the value from the WF container to the Task.
    Regards, Uwe

  • Forwarding 'Wait Step'work items using SWIA

    Hi,
    I need to forward work items of one user A to another user B urgently, using SWIA.
    The work items are in executed state. This is after a fork step in the workflow, where the executed work item is one branch of the fork.
    As these items are executed, we will have to forward the work items that are in ready state.
    The work item for the other branch of the fork is in ready state. However this is a wait step, and hence I am not able to forward this item.
    Kindly advise as to how should I forward these items.
    Best Regards,
    Smruthi.

    Hi Smruthi,
    Dont confuse with the wait for events and dialog work item. There is no direct link between the wait for events and the work item.
    Only dialog work items needs the user action and dialog work item's only can be forwarded to other user's.
    For this, the work item should have the status of 'Ready'. If the work item has the status 'In process' that means, the user opened the work item and still he didnt take ant action on it.
    In this case, using SWIA you can manually change the status as 'Ready' and then you can forward the work item to the other user's.
    To forward the work item use the function module 'SAP_WAPI_FORWARD_WORKITEM' or use the SWIA transaction.
    Thanks,
    Viji.

  • Detecting change on header and item texts for sales order in user exit

    Hi,
    In the user exit of VA02, I need to identify/detect if header or item texts for sales order is changed or not.
    Please advise on this.
    Regards,
    Shreyas

    Normally system stores the old values in XTables and new values in YTables.  Check if you have access to these in your user exit.  If you give the user exit name, someone will be able to guide you.
    hith
    Sunil Achyut

  • Variables of work item text cannot be generated

    hi everyone,
       In HR Leave approval workflow, When i delete a request the 'requestcancel' event is triggered and the corresponding unapproved workflow 'WS00400078' is getting triggered. I am getting user decision workitem in inbox. When i execute it is going into error mode(red). In workflow log, I am getting the following errors,
    1. 'variables of work item cannot be generated'.
    2. error in the evaluation of expression '<???>&ABSENCE.VALIDITYEND&' for item '1'.
    similarly for 'validitybegin', and 'description'.
    and also getting error ' method container for work item cannot be created' , ' unable to instantiate object ABSENCE'.
    Please provide a solution.
    Thanks in advance!!

    Hello,
    Does this always happen? Sounds like a problem with the bindings. As the error suggests, the ABSENCE object instance isn't being created. Check in the workflow log and check those bindings.
    regards
    Rick Bakker
    hanabi technology

  • Change log needed when item Text is changed via a customised tab in PO

    Hi all,
    In ME21N, ME22N and ME23N we have added a tab CUSTOMERDATA which contains input to enter no. of batches. When ever we enter something, say 1 in the field for no. of batches, this will trigger a FM which will create a batch and update the TEXTS tab at item level with the batch created. This functionality is achieved using the exit EXIT_SAPMM06E_013.
    Now the requirement is whenever the TEXTS tab is updated by means of CUSTOMERDATA tab, I can see that some text is added to the TEXTS tab. Now I want to see this in the change log at item level that text is updated.
    I can see the change log when i manually go to TEXTS tab and change/add something but not when i do it via the CUSTOMERDATA tab.
    Could you please help me how to achieve this.
    Thanks in advance!
    BR,
    Aravind.

    Ok, looks like you haven't received good replies yet, so here's what you need to do.  The difference is that CHANGEDOCUMENT_TEXT_CASE is being called for the application transaction entry but not for your exit-based entry of the texts inside EINKBELEG_WRITE_DOCUMENT.  This means that UPD_ICDTXT_EINKBELEG was not set - you need to make sure the field value is set to 'U' for the call.

  • Work item text not visible in SAP inbox

    Hi All,
    I have used standard task in custom workflow.
    On triggering task, workitem text maintained for workitem is not triggered under title colum in SAP inbox.Instead, workitem name is  visible in Inbox.
    Can you please guide how workitem text would be triggered?
    Thanks.

    Hi,
    Workitem text is associated with definition of task.
    There is no need to trigger it and it will be populated in the workitem created as part of the task.
    .Instead, workitem name is visible in Inbox.
    Inbox???
    You mean UWL.
    Cheers,
    Raja.D

  • Work item text does not come out

    Hi Dear experts:
    It's very kind of you to have a glance at this page. I encounter an issue that confused me.
    In the title of User Decision title, I hardcode a description there and at the end of it I put a variable &1, in parameter I put a variable using F4 help. Also in the task( it is a standard task ), I using 'input variables' to insert the object type's attribute. When I execute the workflow, I load the data, the whole workflow completed successfully. But here when I access to log, I can't find the text that using the variables. Can any one help me? Thank you so much.

    Hi Dear Dart:
    Thank you for your time. Like you said, I created the workflow for testing. I executed it using SWUS. I load data that saved before. This is you said instantiate. Am I right?
    I checked the 'importing' you mentioned in the task. In the Properties of the Object BUS1006, it is forbidden for us to maintain. And checkbox 'import' is flagged. But for 'Initial Value' is empty. I don't know if it matters as before I execute the workflow, I indeed have instantiate as you see the screen shot above. Thank you.

  • Translating work items text.

    Hi experts,
    Fort the tasks i have defined, io want to translate its texts, the ones that can be seen next to the workitem codes on transactions like SWIA.
    When i go to se63 i don't know hoy to acces to the workflow task texts to translate them. Can someone help me with this please??
    Thanks!
    Artu.

    Hi,
    Login to the system with the language that you are translating for. Open the task in PFTC and maintain the texts there => they will get translated.
    Regards,
    Karri

  • Changing  Vendor Line item text @ FB03

    Hi Gurus,
       When running MEB4 (Rebate Settlement) it'll create Accounting Entries that can be seen @ FB03... My problem is how to change the vendor line item text at FB03 upon running MEB4.
    Thanks in advance

    Hi,
    You can use FB02 to change the vendor line item text.
    Regards,
    Vinod

  • Detect purchase requisition item text changes

    Hi Abap Gurus,
    During a PR modification (ME52N), I need to read the purchase requisition item text at runtime to compare with the stored item text (read text) and detect if it have changes.
    Actually, I am using the badi ME_REQ_POSTED.
    How could I detect the PR item text changes? or How could I read the item text at runtime.
    Somebody could help me with this....
    Other ideas will be welcome.....
    Regards,
    Jaya Sankar.M

    Hi,
    But can you change the purchase requisition item text using the badi?

  • Run an event when update or create TFS Work items

    Hi
    I have tried to check for updates in work items in TFS(new work items or changes in available work items).
    Then I need to write title of the changed work item to a text file.To do it I am using system center Orchestrator.
    I have integrated tfs 2010 integration pack to it. So I could be able to create a new bug and edit existing bug. Then I could be able to get work item and write some property to a file.
    Using that integration pack. But I could not found a way to detect changes in TFS work items and do some thing.
    I tried monitor work items query to detect the changes.
    I have used query to query bug
    select * from WorkItems where [Work Item Type]='Bug'
    Query interval(seconds)-10
    Query in day precision - false
    get changedwork items-true
    When I run the runbook it do not go to next step and stop running. Runbook shows the status as warning!

    My suggestion would be to do this using a run .net script activity with a powershell script inside. If you want examples of working with TFS from powershell check out
    https://gallery.technet.microsoft.com/-SMA-Integration-20cb04cf -- there are a bunch of scripts in there that monitor and take action based on tfs changes.

  • Invalid URL error when displaying Work Item Attached URL Object in UWL

    Hi,
    After upgraded from EP6 to EP7 the user can no longer display the attached URL object of work items in the UWL Inbox.  It works fine in the SAPGUI Inbox so the URL should be okay.  We found below error messages in UWL log file:
    #1.5#0003BA5D298B001E0000030300003A280004314BFE992222#1180102370599#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#C004049#43497#####SAPEngine_Application_Thread[impl:3]_0##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#Plain###com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=HTTP://apinvoice.d51.lilly.com
    gbip
    gbip.asp?po=invoice=TC630400360USERID=USC076601#
    #1.5#0003BA5D298B001E0000030400003A280004314BFE9986AB#1180102370625#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#C004049#43497#####SAPEngine_Application_Thread[impl:3]_0##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#Plain###com.sap.netweaver.bc.uwl.UWLException: Fri May 25 10:12:50 EDT 2007
    (Portal) :com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException:Invalid URL=HTTP://apinvoice.d51.lilly.com
    gbip
    gbip.asp?po=invoice=TC630400360USERID=USC076601#
    Looks like the error is related to the back slashes in the URL but it was working fine in EP6.  We are going to change the back slashes to forward slashes to see it will work.  We would like to know if any SDNer’s can provide some more detail on why this is happening and if there is other solution.  Any hint will be very appreciated.
    Regards,
    Jiannan Che

    Use link attachment or add button action to UWL as possible workaround. It appears that work item text can only be displayed as-is.

Maybe you are looking for