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.

Similar Messages

  • 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

  • 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

  • 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?

  • 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

  • Trigger delta on sales order header/item text change

    Hi,
    I need to create an trigger delta when header or item text on sales order is changed.
    Any pointers to this will be helpful.
    <REMOVED BY MODERATOR>
    Thanks a lot.
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 4:03 PM

    In Mv45afzz u will find save document prepare ..once the document is saved it will trigger if executed from VA02 Transaction create your delta.

  • 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

  • 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

  • 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.

  • How to use the url in the work item

    hi ,guys ,
       I have question in design the workflow, my scenario is as follows : I develop the workflow in the sap gui ,then integrate it into the portal using uwl . now i want add a link in the work item ,before approver excute the work item ,the approver can click the url to view the detail approval information ,and the system popup a web window which link to the pcui application . and someone advise me to maintain the href in the work item text ,but i have no iead on it ?can anybody give me some advices or sample material ?thanks in advance .
    Jialiang.Qiu

    Hi
    If we talking about adding an URL in the GUI workitem display you can proceed as follows:
    1. In the workitem text editor, change the editor to line editor (Goto -> Change editor)
    2. enter the tag /* (Usually used for comments) to the left
    3. enter the URL on the line as follows <a href=http://www.cnn.com> click here</a>
    Regards
    Morten Nielsen

  • Work flow issue- Changes are not reflected at rum time

    Hi,
        I want to change the Work item text for a task in a workfolw.
        When i am executing the worklow after changing the work item text of the required task(this task creates a work item), the change is not reflected. The work item is ceated with the previous text.
       Please tell me how to make change to reflect at the run time.
    regards,
    Shweta.

    Hi ,
    the problem may be in refreshing of buffer . Try to synchronize buffer manually using transaction SWU_OBUF.
    Regards
    Saurabh

  • Container element in task item text and task description inconsistent

    We use the purchase order release workflow 20000075: Workflow for release of purchase order
    The container element Release indicator (&_WI_Object_Id.ReleaseIndicator&) is used in the PO release effected task TS20000168 in work item text (title) and task desription (body text). 
    When we release the PO a workflow notification is send to the PO creator, the title text shown Release indicator = Z (released) and task body text shown release indicator = Z (same). 
    However, we do a cancel (undo) to the release of the PO, now when we view the same workflow nofication again the task work item text (title) shown Release indicator = Z (released) and task body text shown release indicator = X (blocked) -latest status.   
    In this scenario the title text does not updated with the latest release indicator value, the task body text does. Task work item title text and task body text is inconsistent for the release indicator. When we view the workflow notification at this point is confused with the release indicator Z and X (approved in task tile  and Blocked in task body text).
    Please help how to resolve this issue, any way to make the body text release indicator does not change once the notification is generated??

    This is very weird!!!!!  I will suggest you to check the binding such that the PO Object is binded from Workflow to Task and viceversa.
    Thanks
    Arghadip

  • 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.

Maybe you are looking for

  • See Closed Caption but No Picture

    Apple TV 1080p HD - 60Hz Apple TV Software 5.0 (4099) Model MD199LL/A Worked great until yesterday.  Suddenly there is no picture when I try to replay my TV episodes of "Merlin" purchased a week ago.  CC is visible and sound is fine.  None fo the Mer

  • Insertion of data to MS SQL Server is not happening via SOA layer

    Hi, There is a requirement in our project to take the data from Orcale EBS and insert into a different legacy and it is a MS SQL Server. So it makes it Orcale DB to SQL Server. When i manually insert data to a table in SQL Server it's working fine. W

  • Can THIS Discussion Forum Portlet be downloaded/installed in my own Portal?

    I jsut downloaded/installed the "Discussion Forum" portlet and was wondering if this one we are using here can be also downloaded etc? If so, where/how? THANKS!!!

  • Question about creation dimension items

    It is possible to load items from a dimension in the logical layer? Like this : I have a dimension of Vehicles and have this items: Cars Motorbikes Trucks Is possible to create in logical layer a new member of dimension like Cars/Motorbikes? In prese

  • Migrating data from EXCEL to MySQL

    Hi all, I want a convertor from EXCEL to MySQL now that is easily possible if I am creating odbc data source of excel but I have to use JSP and servlet for that and let the user upload xml file and have to convert that file in MySQL now in that case