Workflow Termination when IDoc is changed

Hi all,
For some inbound IDocs (SRCLST and INFREC), a workflow is triggered in case of an error. This works very well, and the extended notifications are triggered as well (mail included).
However, in some cases, an IDoc in error is retreated automatically by a certain job and often, succesfully (data is locked or...). Nonetheless, the workflow item remains in the inbox and can only be closed by executing it and clicking on "End Process". Sometimes this leads to a number of notifications (mail) that are being sent even though the IDoc has already been treated successfully.
Is there any way to trigger the termination of these workflows when the IDoc status is changed? The standard tasks that I am using are TS40007912 (SRCLST) and TS40007911 (INFREC). I am fairly new to workflows, so any assistance would be greatly appreciated.
Thanks in advance,
Aerv.

Hi Aerv,
(on the requirement in general)
I think that your requirement (terminate error workitems when Idoc is re-posted successfully) is part of standard:
Workitem termination is implemented by means of terminating events. If you look at 'terminating events' tab of task TS40007912( or TS40007911), you'll see that INPUTFINISHED event is there.
Thus, the workitem should terminate whenever INPUTFINISHED event fires.
The event fires when
- a user processed the idoc (see 'Error Handling Process' here Error Handling - ALE Programming Guide - SAP Library) ,
- the system processed the idoc successfully (RBDMANI2) - your case
(on your setup)
I suppose, you don't need to add entries in SWE2 to make a terminating event work.
If you have those extra entries now, try deactivating them - probably it will correct the inconsistent behaviour as we see on the screen shot.

Similar Messages

  • Send designer workflow email when certain fields changed?

    Is there any way we can handle SharePoint designer workflow sending email. If certain fields only changes. 
    Like checking with previous value and and current values, if it is different and send email. Now I am able to sending email when list item changes, it doesn't matter which field changes. That way emails are flooding into inbox. 
    I want send emails when couple fields changes only. 
    Help is appreciated 
    ItsMeSri SP 2013 Foundation

    Yes very much possible to send email of specific fields change, however workflow will run on each edit but only proceed further when those specific field changes. Keep some hidden column which always will keep changed value for those column. When new value
    suppose to change, check with this hidden column values, if different then send mail and update else, stop workflow.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Workflow notification when idoc fails

    Hi Gurus,
    have little confusion over in understnaind the concept of order acknowledgement and shippining notification and the way they appear in MD04. Please ckindly clarify.
    We create a PO and send it to the vneodr (this is called 850). we use a third part VAN provider who will trnasmit the PO to our vendor. Now if there vendor receives the PO sucessfully, then it is called a 997. This is received only by the van provider. we do not get this. the van provider will only contact us if the document is not sucessfully trasnmittted.
    Now if the vendor agrees to the date and quantity on a single line that we have asked on PO, what is it called? Order acknowledgement or order confirmation or shipping notification? If it is order confirmation, then should it not appear as Ord conf or something like that in MD04. What do we need to do to make it look like ord conf. Becuase rright now we are still in the testing mode, once we get a confrimation about dates and quanitites on the confirmations tab on the P,O, i see that it shows up as SHPNTG ind MD04. is it right or am i missing anything. again this is setup in config. How we can deal a scenario where our users do not want to go the route of creating the inbound delivery automatically, and VL32N goods receipt, tehy dont want to do that. They still want to stick to MIGO and receive. <<Text removed>>
    My understanding is as follows, let me know if i'm right or wrong and please correct
    PO gets sent out - This is 850.
    Van provider gets confirmatioon of the successful receiupt of the PO from vendor - This is 997 and only van proivder gets this.
    Order confirmation - is this called order ackwnowledement or order confirmation? The vendor agress to the dates and quantities that we asked, Lets say the vendor changes the dates and/or quantities than what we asked. Is there a posssibility in system where we can put them in wait mode and not update our PO, then the buyer will go to some place in SAP and verify the changes dates and/or quantities that the vendor sent and then accept or reject the changes if we dont like etc.
    once the material is put on truck by the vendor, then we can get loading confirmation if we need to. Then finally once when they do the PGI that is when we get the shipping notifdication. IF this is the shipping notification then what is it that we got when the vendor agreed to our dates and quantities or changed the quanittues and dates. Please help
    Thanks
    Anusha
    Edited by: anusha vemulapati on Jun 23, 2011 7:30 PM
    Edited by: Matt on Jun 24, 2011 9:51 AM

    Hi Anusha,
    Well a very long description of question, and too many questions, please mention if something is missed in reply
    Firstly when you receive acknowledgement of the order from vendor, that means it is Order Acknowledgement, that vendor agrees to the terms and conditions of the PO sent in the PO, he may send you a date variance and may not, but not sending a date variance doesn't guarantee that there can be no change later.
    You mentioned the uses are not ready for Inbound delivery creation, so don't enter the shipping notification confirmation category in your confirmation control set up at all, or if you want you can use it but make it unaffected for your GR posting manually, by not ticking the GR assignment field in the confirmation control against shipping notification. by doing this it doesn't matter whether an Inbound delivery exists or not, you can post a GR Manually using MIGO.
    See basically order acknowledgement is just an acceptance by the vendor of the PO terms and condition whereas a shipping notification is more relevant from planning point of view, because it gives you exact dates of material reciept, also you can link use these documents for various other purposes.
    Regards
    Chandra Shekhar

  • Trigger workflow when IDOC Status 51  & with Basic Type "ORDERS003"

    Hi Experts,
    Can any one explaine how to create worlflow for "When Idoc status is 51 with the combination of Basic Type "ORDERS003" . If this condition will satisfy i need to send a mail using worklflow. For this one Bussiness type is BUS2102".
    Can you explaine any one please i am new to Workflow.
    Regards,
    Sri

    Hi,
    Please refer to the below thread. Hope it helps.
    Triggering workflow upon idoc fail
    Regards,
    Sridhar

  • Sales Order Workflow to trigger when there is change in PO date

    Hi All
         I have a requirement, I have to  trigger a work flow when ever there is a change in a po date of Sales Order(VA02). I have created a workflow and added entry into events tab of header, and in SWEC I have added an entry as follows
    Change doc. object        VERKBELEG
    Object Category            BOR Object type
    Object Type                  BUS2032
    Event                            CHANGED
    in field restriction I have added the follow entry for puchase order date
    Table            VBKD
    Field Name   BSTKD
    Old Value     *
    New Value    *
    But when ever I change the sales order the workflow is triggering when ever there is a change in any field instead of PO Date Field.
    Whats wrong in my Workflow can anybody please  help me.
    Thanks in Advance

    Hi Ranjith,
    Find a user-exit/BADi that triggers when the Sales order is saved. Now in this user-exit or BADi check the values for PO date (old value & new value). If both are same set a flag to Y and or else set it to X.
    Now if the flag is X, use the Function module SAP_WAPI_CREATE_EVENT or SWE_EVENT_CREATE to trigger the workflow.
    Regards,
    Raj

  • Workflow not triggered when i have changed the PO

    Hi,
    We have custom fields (Price) in PO Header as well as in item. when we update in header the price should get distributed to items.
    we have custom workflow evernt (changed) to update the items if user change in header. But the issue is if user changes the items and save the po, it is not updating immediatly. after we come back to Purcahse Order and save the purcahse order again then it updates the table.
    Is there any reason why the event is not triggered when the PO was changed initially.

    Hello,
    "We have custom fields (Price) in PO Header as well as in item. when we update in header the price should get distributed to items. "
    If you update a price in the header, how/why would that be distributed to the items? Is this a total price of the whole PO? Why not just have it in the header?
    "we have custom workflow evernt (changed) to update the items if user change in header."
    OK. Strange, but OK.
    "But the issue is if user changes the items and save the po, it is not updating immediatly"
    I thought it was supposed to happen when the users changed the header, not the items.
    If you really have a workflow to update the items when the header is changed, then maybe it's not succeeding if the PO items are locked, eg by having them on your screen. Did the worklow actually start? Any error messages?
    rgards
    Rick Bakker
    hanabi technology

  • TS1424 My membership was terminated when iTunes/Netflix was unable to collect a monthly payment due to an expiration date change on my credit card. Were you able to restore your acct. and how? Thanks!

    My on-line membership to iTunes/Netflix was terminated when one of them was unable to collect my monthly payment for December 2013. The expiration date on my credit card had changed. I didn't know I had to notify them of that change. I've never had to notify any business, ever, since I've had a credit card. I've written them emails giving them my new expir. date and asking how I can settle my account but, so far, have received no response other than notes from both iTunes and Netflix announcing my cancelled membership. I just want to give them the 8 bucks and settle my acct. Help! Jack

    Hello, Jack. 
    Thank you for the question.  Once you update your payment information in iTunes for the expiration date change you should be able to renew the subscription to Netflix.  The steps in the first article walk you through updating your payment information.  Once this is done see the section labeled Managing auto-renewing subscriptions on a computer in the second article below. 
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/ht1918
    iTunes Store: Purchasing and managing auto-renewing subscriptions
    http://support.apple.com/kb/ht4098
    Hope this helps,
    Jason H. 

  • How to configur the user to get notified when IDOC goes in to error?

    Hello Experts,
    Please tell me how to notify the users when IDOC goes in to error...
    please tell me where we can configure this thing,,
    Thanks
    Venkatesh

    Venkatesh,
    The best technique for this would be configuring Workflow. Whenever an Idoc goes into an error it will go to the specified user. You have to set it up and can have more than 1 user and also depending on what Idoc failed you can have different users.
    Example ORDERS05 failed, let it go to the inbox of the Order team , SHPORD failed , put it in the mailbox of the WM team lead etc.
    Read up the workflow documentation of SAP which is really good.
    You can do other things, like have a simple email etc. but all will need program changes.
    Usually I have seen some teams have the most simple mechanism.
    Have a peron check the Idoc that failed and then notify the teams.
    Of course 1 person can be only responsible for lets say a few Idoc types.
    I have worked in such a environment where I used to look at the Order to cash Idocs ( Orders/Invoices/bank payments etc.)
    Also you train the users to look at Idocs and recognise and fix errors, so they are not totally dependent on you.
    But Workflow is the best solution according to me.
    Regards

  • Error when inserting or changing in a sorted table

    Hi Experts,
    When i am executing a webdynpro application it says Error when inserting or changing in a sorted table. Can any one help for this.
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: IF_COMPONENTCONTROLLER~GET_CATEGORY_LIST of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/F9XHYWN4WKNMG4CDUGA8==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    in ST22
    Object Definition
      DATA: lo_node                   TYPE REF TO if_wd_context_node,
            lo_node_info              TYPE REF TO if_wd_context_node_info,
            lo_element                TYPE REF TO if_wd_context_element.
    Additional Data declarations
      DATA: lv_key TYPE string.
    Get context node.
      lo_node = wd_context->get_child_node( name = 'DROPDOWNLISTS' ).
      lo_node_info = lo_node->get_node_info( ).
    Call method to fetch the categories.
      CALL METHOD cl_hap_wd_start_page_ui=>category_get_list
        EXPORTING
          add_on_application = add_on_application
        IMPORTING
          t_categories       = lt_categories.
    Append Default selection entry 'All'.
      lw_category-category_id = '00000000'.
      lw_category-category_name = 'All'.
      APPEND lw_category TO lt_categories.
    Sort table after appending the new entry.
      SORT lt_categories ASCENDING.
    Loop through the category list and populate key(category_id) value(category_name) pair for
      LOOP AT lt_categories INTO lw_category.
        lw_key_value-key = lw_category-category_id.
      625     lw_key_value-value = lw_category-category_name.
    >>>>>     APPEND lw_key_value TO lt_key_values.------>Here it throws an error
      627     CLEAR: lw_key_value, lw_category.
      628   ENDLOOP.
      629
      630 * Bind the category key-value pair to the context attribute.
      631   CALL METHOD lo_node_info->set_attribute_value_set
      632     EXPORTING
      633       name      = 'CATEGORY_LIST'
      634       value_set = lt_key_values.
      635
      636 * Make the entry 'All' as default selected.
      637   CALL METHOD lo_node->set_attribute
      638     EXPORTING
      639       value = '00000000'
      640       name  = 'CATEGORY_LIST'.
      641
      642 ENDMETHOD.
      643
      644 method GET_EMPLOYEES.
      645

    Hello Durga,
    from the error what I understood is lt_key_values is a sorted table and you are trying append a new line to it. Incase of sorted table you need to use the INSERT statement and not the APPEND statement.
    INSERT lw_key_value INTO table lt_key_values.
    BR, Saravanan

  • Approval workflow error when creating a new custom entity in FIM 2010 R2

    Hello,
    i'm hoping somebody here can help, me i've been struggling with this for some time now. On a fresh FIM installation i create a custom entity named "Role" and add a few custom attributes.
    I then create an approval workflow and MPR for normal users to create entities of type Role, but another user must approve this request. The other user has a working mailbox - i've tried firing an action workflow that sends a mail notification when someone
    creates a new role and it is working fine. But, when i enable my approval workflow (the only field i changed from default is the approver) on the MPR, the workflow always failes with the message:
    Error processing your request: The operation was rejected because of access control policies.
    Reason: The server workflow rejected the operation.
    Attributes:
    Correlation Id: 750a558a-d3e4-4216-b16a-e76d79f011ec
    Request Id: feaabbc9-dea4-49a3-8b29-65b77de6f8fd
    Details: The Workflow Instance '04202cc0-14a3-410c-a3fc-2d6e5d25ebe6' encountered an internal error during processing. Contact your system administrator for more information.
     I enabled tracing and this is what i found:
    Microsoft.ResourceManagement Verbose: 0 : Creating WorkflowServiceHost for XOML Definition:\n<ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow"
    TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"
    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856
        ThreadId=8
        DateTime=2013-09-04T15:17:10.0496188Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid Element 'ReceiveActivity.WorkflowServiceAttributes' found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid data found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Verbose: 0 : A WorkflowRuntime is not available for this WorkflowDefinitionVersionKey '20'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Error: 3 : Workflow host activation failed for workflow definition id : 231457c6-d044-4cc7-839f-98e5cf88f514, version key: 20. Exception: Object reference not set to an instance of an object.   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition
    workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations)
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : The service has updated the list of active hosted workflow definitions to sequence number '1'.
    This happened on two separate FIM deployments, but both of them were set up in the same way. What am i missing here?
    Thank you,
    Martin

    (...) What am i missing here? (...) - Sharepoint 2013 and probable bug in FIM related to it. Check this thread for workaround
    and resolution:
    http://social.technet.microsoft.com/Forums/en-US/1b76672d-1276-4c71-b9fc-5bb1fcb36877/event-id-3-with-approval-activity?forum=ilm2
    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

  • Why do most of my stacks come ungrouped when I make changes to other files in the same folder?

    I have a folder of about 3000 graphics and photos that I use for work. I've meticulously organized them all by using unique file names, keywords, and sorting. However, when I make changes to a set of files (especially using the batch rename tool), a large percentage, even a majority, of the other stacks in the folder come ungrouped.
    This has been happening to me for several months, and so far I can't see any type of order or factor that makes certain files come ungrouped. Many times, it's the same files that come ungrouped, but in addition to those, there will be other random stacks that I lose. My stacks are only a few files big (each stack is comprised of the same picture in different file types) and with how many files I have, this has become seriously detrimental to my workflow and efficiency. Anywhere from 20-70 stacks will become ungrouped. I almost always have my files sorted by filename, and when I rename files using batch rename, I give them such similar names that I'd think there would be no reason for the rest of my files to come ungrouped. For example, if there are three files I want to group, I will give them a name like background_001, background_002, and background_003. After I do this, I'll discover that my stacks with names like template_(sequence number) and UI_(sequence number) have come ungrouped. It will do this with pages and pages of stacks at the same time, regardless of how I have the files / stacks sorted. It doesn't happen everytime I rename a batch, either. I just created 10 batches of 3 like-named files each, and after this last batch, about a hundred files came ungrouped.
    I understand that doing things like changing the sorting method of files, or renaming a file so that it's thrown in the middle of a stack, will ungroup my stacks. I don't think I'm doing any of these things (I've been trying desperately to make sure I don't change the sorting method of my files or do anything to a file that might have an effect like this). I don't use ratings or color labels in these folders, the only tools I use are batch rename, keywords, and stacks.
    Is there any way to preserve my stacks so this stops happening in the future, or I can correct it when it does?

    This is my first time posting here, so I'm sorry, I re-read my post several times and honestly did think I provided enough information, but you're right, it wasn't the right kind. So please (continue to) bear with me, I'm really not trying to be ignorant. I honestly assumed the issue was something I was doing wrong in Bridge, nothing to do with my computer specs.
    I am using a late-2008 Macbook, running Yosemite 10.1.1 (screenshot below)
    On the Mac I am using Bridge CC 6.1.1.115 and Photoshop CC 2014 (2014.2.1 release, 20141014.r.257 x64)
    Here is a link to the System Info from Photoshop on the Mac
    Here is a screenshot of my System Overview on the Mac
    Here is a screenshot of my Photoshop performance preferences on the Mac
    I am also using a Dell desktop with Windows 8, running Photoshop CC 2014 (2014.2.1 release, 20141014.r.257 x32) and Bridge CC 6.1.0.116 x32 (on a separate CC account with separate files that I don't try to sync or anything)
    Here is a link to the System Info from Photoshop on the Windows computer.
    Here is a screenshot of the system overview on the Windows
    Here is a screenshot of my Photoshop Performance preferences on the Windows computer
    I work with jpg, psd, ai, svg, and pdf files. Most of my stacks are three different file types of the same image, usually jpg, psd/ai, and pdf.
    I have not recieved any error messages
    I am not having issues opening raw files, I am not having printing issues, I have listed the troubleshooting steps I have taken.
    Is there any information you need that I missed? I'm trying not to be a dingus, but I'll have to ask you to be patient with me in the meantime. I haven't ever looked up half the hardware/software details that were suggested and I don't know how to off the top of my head, so I provided what I already knew how to

  • Delete credit memo work item created in VA01 when the user change value

    Hi,
    In T.code VA01 Credit memo request is creating, this document will automatically create  work item.  Based on Net value in credit memo request, the work item should go for 5 levels of approval. After 1st person is approved, the workflow initiator realized that the net value in created Credit Memo request is wrong; he is going to VA02 and correcting the net value. Again we have to create new work item for this and delete the already created work item. Client has clearly mentioned when ever there is change in 5 critical fields in VA02 then only create fresh work item otherwise no need to create SECOND TIME work item. Net value is one of the critical field in the list.
    How to track already created credit memo request and how to delete the previously created work item. What is the feasibility of this requirement and how to handle this situation?
    Regards
    Vijay

    Hi,
    Just put a Fork and put 1 out of 2 outcomes and in the first alternative, you put your witem that goes to user B. In the 2nd alternative, put a Wait for event "CHANGED". And after this, put a process control step with "Set workitems to Obsolete" or "Cancel workflow" etc., depending on your requirement.
    Pl note that this will only take out old witems, but you need to send a new witem for which you need to trigger another instance of the workflow as well. pl put CHANGED event also as one of the triggering events and use condition editor to restrict the fields that triggers the workflow.
    Also, look into the IMG config of the following path. This might be a fitting solution.
    In SPRO, go to Financial Accounting (New)---> Financial Accounting Global settings(New) -
    >Tools --->Workflow ---> Workflow for Document Parking -->Reset Release Approvals(Customers).
    Here, you can list down the fields, the workflow should restart. But, then you need to give the workflow details etc., in the relevant config settings.
    We have used this in restarting workflows for General Ledger(GL) documents' workflow when some important fields are changed.
    For this config settings, look into the following help link.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/01/a9cdd8455711d182b40000e829fbfe/frameset.htm
    Hope this helps.
    venu

  • FM to fill outbound IDOC with change document details.

    Hi ,
    I am working on an enhancement EXIT_SAPLMGMU_001 for an interface to track the changes to the material master.
    Can someone please let me know if there is a FM to populate outbound IDOC with change document details like when a material is
    created /changed. Thanks much.
    Regards,
    Sanjeev
    Edited by: sanjeev.s on Apr 14, 2010 3:32 PM

    Call the function module "MASTER_IDOC_DISTRIBUTE" to create idoc.  Use function module "CHANGEDOCUMENT_READ_HEADERS" to get the change document details.
    Regards
    Vinod

  • Short Dump when trying to change configuration of BT112H_SC/OVViewSet (Service Contracts)

    Hi Experts,
    I have a problem with a component usage when trying to change the OverviewSet Configuration for the Service Contract. The whole component BT112H_SC is complete standard and no enhancements have been made yet.
    When trying to change the configuration of the view OVViewSet there appears the error message:
    '500 SAP Internal Server Error'
    Error: Define Component Usage 'CUIR_Container' (termination: Rabax_State)
    The place where the code dumps is shown in the attached picture with the name 'ST22'. The error screen when trying to change of the configuration is shown in the attached picture 'Configuration'
    It seems like one error is appearing in Line 18 of the class CL_BSP_WD_REPOSITORY and method GET_CMP_USAGE_DEF:
    Method: GET_CMP_USAGE_DEF.
    method GET_CMP_USAGE_DEF.
       field-symbols: <USAGE> type BSP_WD_CMP_USAGE_DESCR.
       read table ME->USAGES with key USAGE_NAME = IV_USAGE_NAME
                             assigning <USAGE> binary search.
       if SY-SUBRC = 0.
    *   Is usage active?
         if CL_WEBCUIF_SWITCH=>IS_ACTIVE( IV_SWITCH_ID = <USAGE>-SFW_DATA-SWITCH_ID
                                          IV_REACTION  = <USAGE>-SFW_DATA-REACTION ) ne ABAP_TRUE.
    *     usage switched off
           raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
             exporting
               TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>ACCESS_2_INACTIVE_ELEMENT
               NAME   = IV_USAGE_NAME.
         endif.
         RS_RESULT = <USAGE>.
       else.
         raise exception type CX_BSP_WD_INCORRECT_IMPLEMENT
           exporting
             TEXTID = CX_BSP_WD_INCORRECT_IMPLEMENT=>UNDEFINED_CMP_USAGE
             NAME   = IV_USAGE_NAME.
       endif.
    endmethod.                    "GET_CMP_USAGE_DEF
    Any Ideas? Do I have to create the component usage manually?

    Hi Oliver,
      Go to RTR->Viewset->OVViewset-> see whether any view 'CUIR_CONTAINER' is there in that viewset.
      If it is there then u need to create component usage of that view. Or else remove that view from viewset.
    Regards,
    Arun

  • Workflow trigger an idoc

    HI
    How trigger a idoc from a workflow?????
    Hi
    idoc trigger from a workflow.please suggest.
    example like po change..
    Edited by: Abhijit Paul on Jun 26, 2009 8:42 AM

    Hi,
    You can follow following steps.
    1) Create a Z business object inherited from BUS2012.
    2) Create a Z-method in will have to create a method in your newly created business object.
        This method will have logic to create and send the idocs for PO. Delegate the business object so that you can call the method from SUPERTYPE in workflow.
    3) Create a workflow with triggering Event as Change of PO.
        This workflow will have a single step task which will call the Z method of your business object.If you have done the delegation then you can call the method using BUS2012 object type itself.
    4)  You will have to go in Tcode SWEC as mentioned in the post above.
        There you will have to do an Event linkage for change documents.
        Make an entry for EINKBELEG Bor Object ZBUS2012 or BUS2012, Event CHANGED and select on Change option.
    5) Change the PO and check if the event is getting triggered or not. Also if the method used to create and send idoc is correctly been called.
    Hope it explains the steps you need to follow.
    In case of any issues please let me know.
    KR Jaideep,

Maybe you are looking for

  • SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

    Hi Experts, I have a package to import data from Excel to SQL tables. I have created and depolyed the package on production server say "ProdServer".  Also I have created job on the same server and it runinng the package successfully. Even I run it ma

  • Over 99 photos in a slideshow

    I have 113 photo slideshow and in iTunes I created a playlist with 3 songs for the slideshow. During last song it stopped and started again. Why is this? I have the slideshow set to fit to slideshow.

  • Restore exchange database mailbox

    Hello , i have backup database  took from old exchange server , i am using windows server backup. i am installed new active directory(new name) and new exchange(new name) server both server fresh i want to restore  database mailbox to the new exchang

  • Windows on macbook

    please post your comments and suggestions. am planning to buy the new macbook with this configuration: Image * 2.16GHz Intel Core 2 Duo * 1GB memory * 120GB hard drive1 * Double-layer SuperDrive will WINDOWS VISTA HOME EDITION run effectively here? w

  • Can't burn bootable DVD. Err: Device not supporting this operation

    I'm trying to create bootable DVD of Lion. The following error message pops up after clicking "Burn" under "Disk utylity": "Unable to burn "InstallESD.dmg" (The disc drive doesn't support the requested burn operation)". Can anyone help????? More back