Workflow Import Created Unusable, Undeletable Workflow Object

Hey everyone,
We have a massive, 37000-row approval process for one of our applications that we're attempting to move from one environment to another using the workflow import/export function in Workspace/Planning 11.1.2.2.300. The .exp file is 37000 rows and successfully exported from the application, but the import process hung and crashed. Now, when entering the Planning Unit Hierarchy, we see the object that we imported the hierarchy to, but workspace freezes whenever I attempt to open or delete the workflow.
I'm not sure if there's anything we can do at this point. We haven't tried a planning/workflow restart which we'll do when we have the chance, but were wondering if there is a backend table we could access to delete the workflow object from the application.
Any help you could offer to delete this workflow/approval process object would be appreciated!

Reload with FORCE option to overwrite what is there.
Otherwise, you will have Purge a lot of different tables.  Here are some:
WF_ITEM_TYPES
WF_ITEMS
WF_ITEM_ACTIVITES
WF_ITEM_ACTIVITY_VALUES
WF_PROCESSES
WF_PROCESS_ACTIVITIES
WF_NOTIFICAITONS
WF_NOTIFICAITON_ATTRIBUTES
WF_NOTIFICAITON_ATTRIBUTE_VALUES
There are more

Similar Messages

  • Workflow - Create a new buisness object type for an new infotype.

    Hi all,
    I have an issue with creating a new buisness object type, which is related to a
    supertype, for an new infotype.
    I am new to workflow and business object. I don't have much knowledge in these area. I need to resolve this problem ASAP.
    Could someone please provide me a step-by-step guide on how to create a new business object type, which is related to an existing supertype, for an newly created infotype?
    If would be very much appreciated if someone could assist me in resolving this issue.
    Thank You.

    Business objects are maintained in SWO1 creating a subtype is done with the button: Create subtype (F9)
    If you don't have knowledge of workflow or abap objects, it is perhaps better to tell your employer that and find someone who has.
    If your problem is simply only creating a subtype then go with the instructions I already gave you, if however more things need to be done, like extending the subtype with (virtual)attributes, methods, events, delegating the subtype and implementing the methods in newly created tasks and subsequently workflows I really advise to find someone who can do this, or attend a SAP course on this subject.
    Kind regards, Rob Dielemans

  • System Copy for Workflow objects

    Hi Experts,
      My client need to migrate code in some request from one system(Sandbox) to another system(Development). They r not adivicing me to transporting the request. They want to migrate each individual object. Could anyone suggest me how can I do this migration for workflow objects. Can I have an option of import and exporting the workflow template and taks.
    Regards
    Jose

    Hello Jose,
    The fastest and most painless way is to create them in the new system. There are just too many problems to sort out and the export function is a joke.
    A quick tip: have two sessions open, switch between them and copy/paste your task texts etc.
    Sorry it's not the answer you want, but it's going to save you the most time. It's not as much work as it seems, a couple of hours per workflow at most.
    Cheers,
    Mike

  • How to attach event to custome workflow object ?

    Hi Guys,
    Could someone help me on how to raise event while creating custom workflow object.We can attach event to object in transaction swe2 . I would like to know how to create that event. Could some send sample custom workflow object with events.
    Many thanks in advance.
    Cheers,
    Garrick.

    Here's an example  using Business object BUS2080  Service notification
    I delegated ZBUS2080 to BUS2080 (service notification).  Added 2 Events REASSIGNED and MODIFIED.
    Use transaction SWO1 for manipulating business objects.
    The User performs an action on a service notification  (IW52) say PUT IN SERVICE AGAIN.
    When the user puts the service notification in service again the event triggered will start a (user defined) workflow which makes a call to a method in the business object ZBUS2080 which launches a batch job.
    This batch job creates our user event REASSIGNED which in turn calls a new workflow to be executed.
    This workflow performs the action I want -- in this case to re-assign the service notification to a new person, send an email and escalate the deadlines
    Code samples are shown below.
    So here's how it works.
    First you need to set up some entries with table SWE2. I've assumed you've already defined the events to the Business object(s) you want to use.
    In SWE2 define entries for BUS2080 (or ZBUS2080) For Events INPROCESSAGAIN and (our event) REASSIGNED.
    IN SWE2 define the receiver call as a FUNCTION MODULE
    For the receiver function modules  for the SAP event (INPROCESSAGAIN) define the receiver module as SWW_WI_CREATE_VIA_EVENT
    For the event REASSIGNED define the receiver module as SWW_WI_CREATE_VIA_EVENT_IBF.
    I have no idea whatwhat the difference is between the two but the process works when it's done like this.
    Ensure the linkage Activated box is clicked in both cases.
    Put your workflow numbers in the RECEIVER TYPE in SWE2 table.
    In the first workflow when the user puts the service notification in service ensure your workflow starts a batch job which raises another event
    Note : You need to instantiate the object (I.e supply the key) to trigger the event correctly. The key is obtained from the WF and will be in the container anyway.
    You can do this by adding this type of function module into the method of the business object you want to execute during the first workflow. The code here creates a batch job which submits the EVENT creating program.
    function z_create_event_for_cs.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(OBJECT_KEY) LIKE  SWOTOBJID-OBJKEY
    *"     REFERENCE(W_REASON) LIKE  HRPXXXX-DUMMY
    *"     REFERENCE(W_ESCLEVEL) LIKE  HRPXXXX-DUMMY
    Create Batch job to run ZZREASSIGNCS
    which creates event REASSIGNED in Customer query workflow.
    data: jobnr like tbtcjob-jobcount,
          jobname like tbtcjob-jobname,
          pgmname  like sy-repid,
          w_key like viqmel-qmnum,
          w_code type c,
          w_num  type c.
          w_num = w_esclevel.
          jobname = 'CREATEEVENT'.
        pgmname = 'ZZREASSIGNCS'.
    call function 'JOB_OPEN'
      exporting
        jobname                = jobname
    importing
       jobcount               =  jobnr
    CHANGING
      RET                    =
      exceptions
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       others                 = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
      input =  object_key
      importing
      output = w_key.
    w_code = w_reason.
    if w_code = ' '.
    w_code = 'Z'.
    endif.
    submit zzreassigncs
    with p_key = w_key
      with p_escl = w_code
      with p_escnum = w_num
      via job jobname number jobnr
      and return.
    call function 'JOB_CLOSE'
      exporting
         jobcount                          = jobnr
         jobname                           = jobname
       strtimmed                         = 'X'
      exceptions
        cant_start_immediate              = 1
       invalid_startdate                 = 2
       jobname_missing                   = 3
       job_close_failed                  = 4
       job_nosteps                       = 5
       job_notex                         = 6
       lock_failed                       = 7
       invalid_target                    = 8
       others                            = 9
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endfunction.
    For the actual program which creates the event  use something like this
    program zzreassigncs.
    This program creates an event REASSIGN
    This triggers a "clone" of the initial customer query workflow
    which is now marked as completed.
    The deadline and escalation level from the original workflow
    should be passed to the new workflow via the event container
    Program is submitted from the original workflow
    Ensure transaction SWE2 has the event REASSIGN for bus object BUS2080
    defined or the WF won't start even if the event is raised correctly
    As this program is run as a background / batch task
    you need to obtain the relevant notification number and pass it
    as a parameter.
    When run from the WF the you can get the notification number obtained
    from the workflow / task  container.
    include <cntn01>.   "For WF macros.
    parameters: p_key like swotobjid-objkey,  "Service notification number
                p_escl type c,
                p_escnum type c.
    constants: c_event    like swetypecou-event   value 'REASSIGNED',
               c_attrib   like swotra-attribute   value 'USRSTATUS',
               c_object   like swetypecou-objtype value 'BUS2080'.
    data:     w_object like swotobjid,
              w_stat     like  tj30t-txt04.
    data: rc like sy-subrc.
    data: begin of event_cont occurs 0.
          include structure swr_cont.
    data: end of event_cont.
    data: begin of return.
      include structure swotreturn.
    data end of return.
    if running from WF rather than a batch job
    swc_container container.
    swc_get_element container  'Znumber' p_key.
    w_object-objkey = p_key.
    w_object-objtype = 'BUS2080'.
    call function 'SWO_PROPERTY_GET'
    exporting
        object                = w_object
        attribute             = c_attrib
      changing
        value                 =  return.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    w_stat = return(4).
    event_cont-element = 'Status'.
    event_cont-value = w_stat.
    append  event_cont.
    event_cont-element = 'Escalated'.
    event_cont-value = p_escl.
    append event_cont.
    event_cont-element = 'Escalation'.
    event_cont-value = p_escnum.
    append event_cont.
    Note WAPI calls only valid from rel 6.1 using Webflow engine
    (part of standard WF since rel 6.1)
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE           =   w_object-objtype
        OBJECT_KEY            =   w_object-objkey
        EVENT                 =   'REASSIGNED'
      IMPORTING
       RETURN_CODE           =  rc
      EVENT_ID              =
    TABLES
       INPUT_CONTAINER       =  event_cont.
    if rc <> 0.   "Houston ---We have a problem !! '
      write: text-002 color col_negative.
      exit.
    endif.
    even though no database / table is updated here by the event
    we still need the commit work to initiate the event correctly
    commit work.
    You CAN use Objects (OO ABAP) but if you are fairly new to this sort of stuff just stick with standard BOR (Business objects) to parctice on until you've got the hang of the process.
    It's actually a lot simpler than most people realize --which is why WF consultants get paid decently !!!!.
    Cheers
    Jimbo

  • Workflow object  FIPP.notworking in another client

    Hi Gurus,
    Right now we are working on workflow object FIPP.It,s working fine in our(sand box) client.when we try to do the same in testing client(which is available in the same system) not working.
    Could you please tell me what are the client specific settings(in terms of customizing and workbench) to be made.
    Note:we have created client specific prefix numbers and and their templates in the system .apart from this what are all the checks to be made as far as this config is concern.
    Kindly help.
    Regards,
    Sathish.

    Satish,
    The Workflow <b><u>runtime</u></b> must be customized in each client that you want to run/test your workflows. You can use the Auto customizing option from txn SWU3. You also need to activate  the event linkage for the workflow and either assign possible agents to your dialog tasks or set the task as general depending on your needs in each client. Don't forget to refresh the org buffers (txn SWU_OBUF) after making these changes.
    Cheers,
    Ramki Maley.

  • How to know the workflow object name assigned to a Transaction code

    Hi Friends,
    There is one workflow object assigned to one transaction code VKM1. How can i know the workflow object name assigned to that particular transaction. Can anybody help me?
    Regards
    shankar

    HI
    Please check t.code PPOMW
    Thanks & Regards
    Phaneendra

  • Procedure to Call Workflow Object from ABAP program in Se38

    Hi All,
    I have one scenario like i have to call one Workflow object from ABAP program in SE38.The scenario is like below.....
    I have to select some records from database table.For example there are 100 records in the internal table.
    For all that records i have to invoke Workflow for getting approval from the authorized persons. Once Approval has come to program, It will post one document in SAP and process ends.
    Please suggest me how to move forward with this scenario.
    Regards
    Manas Ranjan Panda

    Hi,
    So you want to start a workflow from an ABAP, if an event exists for that particular workflow then the best way is to use fm SAP_WAPI_CREATE_EVENT,
    to start a workflow from an ABAP you can use fm SAP_WAPI_START_WORKFLOW.
    Kind regards, Rob Dielemans

  • Workflow objects in partner profile

    Hi,
    I am configuring partner profile for EDI. Is it mandatory to configure workflow objects in partner profile? Can I opt not to have error notification to any person or organazation?
    In the Post Processing:permitted agent tab, the system is asking for workflow object details.
    Thank you.

    Hi..
    u have to assign the w/f object ,,....like BOR Object ...
    Thanks,
    Manjunath MS

  • Other Objects( Workflow Objects) in SPAU

    Dear All
    We are going for Upgrade from 4.7 to ECC 6.0 . In that under Without Modification Assistant Node , there are OTHER OBJECTS Category. In that , all are in red traffic light and those are Workflow Objects like following.
    PDTS 00007842
    PDTS 01200231
    PDTS 01200246
    PDTS 01400009
    PDTS 12300096
    PDTS 12300110
    PDTS 12500044
    PDTS 20000085
    PDTS 20000159
    PDTS 20000193
    PDTS 20000460
    PDTS 20000889
    PDTS 20000906
    PDWS 00400012
    PDWS 01200147
    How to deal those above Objects???? Gimme a solution please
    Kind Regards
    Karthikeyan.

    Hello Karthikeyan,
    is this still a problem?
    Other objects are not supported by transaction SPAU, there is no navigation to the maintenance tool specially possible.
    There is only a sign: you have changed an object which is not supported by the modification assistant and this object is now
    delivered from SAP again.
    You should use the maintenance tool for this object and your manual notes, which you make during the change of this object. For example, the workflow objects are the following:
    PDWA Workflow Pattern with All Versions
    PDWS Workflow templates
    SCNT Workflow Container PPF (Definition + Data)
    SIFL Workflow Documents: Logical Information Object
    SIFP Workflow Documents: Physical Information Object
    SWFC Workflow Correlation Definition
    SWFT Workflow: process type
    SWFX Workflow XML Proxy
    They can be processed in SE95_UTIL like Julia informed.
    Other examples of OTHER OBJECTS found in SPAU:
    SmartForms:  Object SSFO -> Transaction SMARTFORMS.
    Queries:        Object AQQU -> Transaction SQ01
    In SPAU you can double click at the traffic light and on the next popup you can choose 'Adjust' or 'Reset'.
    I hope this helps in some way
    Best regards,
    Tomas Black

  • Workflow objects

    I want to learn workflow objects. How to make a start ? If anybody has any tutorial document please send at [email protected]

    Hi,
    I would suggest you to get background info for workflow first.
    http://www.onestopsap.com/SAP-workflow/
    Good FAQs here
    /people/mike.pokraka/blog/2005/07/17/sap-business-workflow-faq
    This may not be clear but useful.
    http://www.sap-img.com/workflow/sap-workflow.htm
    I will suggest you can start from here.
    http://www.erpgenie.com/workflow/index.htm
    Feel free to revert Back.
    --Ragu

  • Effect of upgrade in workflow objects

    Hi Experts,
    We are upgrading the system from SAP version 4.7 to ECC 6. We have some workflow objects ( custom workflow and standard workflow with custom changes). Can you please tell me what are the errors can occur in workflow for upgradetion process. How to rectify them and how to correct those.
    Thanks in advance,
    Regards,
    Abhishek

    Hi Steve,
    I am new bee in JMs over MQ series.
    Pls. let me know how to configure JMS provider over MQ series 5.2
    MQ 5.2 does not provide any JMS jars so how can I write a client for JMS.
    Regards,
    Lee.

  • Workflows : Objects & Attachments @ User Decision Step ?

    Hi pple,
    As Ramki said,I was able to create a link in the OBJECTS and ATTACHMENTS part for a normal Activity step.
    But now my requirement is to create a Link at Objects and Attachments part in USER DECISION Step. Can I do so?
    I tried copying the DECISION BO to ZDECISION and copied the the standard Decision task TS00008267 to my task say..TS97900168 with my BO ZDECISION, Now when I tried to include this task in the WF User Decision step, I am getting an error that I cannot include any other object other than DECISION BO.
    I thought of creating a ZDECISION Business Object and change the Default method of this BO. But I am not able to include a Z Business Object in the USER DECISION Step itself.
    Is there any way of instantiating the Objects and Attachments part with our own Attachment of the USER DECISION Step.
    Please let us know.
    Regards,
    Raja Sekhar.

    <i>But now my requirement is to create a Link at Objects and Attachments part in USER DECISION Step. Can I do so?
    </i>
    I am not sure I understand your requirement correctly. But an agent can attach objects or documents at a decision step by clicking on the Create button in the Decision step display.
    <i>Is there any way of instantiating the Objects and Attachments part with our own Attachment of the USER DECISION Step.</i>
    You can copy the standard decision task and define container elements for the BO references already available in the WF container. Bind them from WF to the step. These objects will then show up under Objects and attachments in the decision step.
    You can use the 'Create object reference' wizard to create an object reference if it is not already available.
    Cheers,
    Ramki Maley.

  • How to create a new custom object in SRM

    Hi there gurus,
    Is there any (easy) way to create a new Object in SRM?
    What I need is a new object similar to a PO, Shopping Cart, RFX... in order to model a business requirement needed after Bid Responses and just before Approval Process (Contract or PO).
    I need a bus id, a range for document numbers, some custom fields related to this new object (one object per Response) and new screens in order to populate needed information...
    Any information regarding that would be really appreciated.
    Thanks in advance.

    Hi and thank you so much for your answers!
    Basicly, just after the last BID Response has been received a new approval process called "XXX" has to be performed in order to classify each response into "Acceptable" or "Unaceptable". It may sound like no business object has to be defined because a new flag field "Acceptable" could be added to the Quote, but it is not so easy because, as i said before, the underlaying workflow needs different kinds of approvals (there are additional issues which I don´t really know) and the functional team have dediced that the only way is creating a new Business Object "XXX".
    So, there should be one "XXX" for each BID Invitation, and this "XXX" object should have one item line for each BID Response received.
    All in all, I need a new screen with an input field in order to specify a BID Invitation number. I have to retrieve all offers for this invitation number and display them in a table with fields: Response Number, Response Status, Company Name, Bidder Name, Country, Amount, Price Type and Resolution (Acceptable o Unacceptable). This table represents the "Item" level for the new object "XXX".
    The header level should contain tabs for "XXX" General Info, Notes&Attachments, Approval and Tracking. We suppose that all of these tabs are standard tabs for all business objects. Furthermore, standard buttons to Save, Order, Print Prev, etc should be added and 2 new buttons have to be visible when "XXX" is approved.
    Thus I need technical information related to three different levels: i) actions to do at EP level (iviews, pages, or whatever I need to integrate this new object into the menus, powl, etc), ii) actions to do at Webdynpro level (I think that lot of standard functionalities could be reused, ie. common tabs for notes&attachments etc) and iii) actions to do at data-model level (in order to store all data regarding the new object in a proper way).
    I hope this help...
    Thank you!
    Edited by: Vicente Ángel Lopez Romero on Jul 30, 2009 11:24 AM (Typo error)

  • Create Attachments to Generic Object Services from Webdynpro appliccation

    Hi,
    I have requirement to Create Attachments  to Generic Object Services(GOS) in equipment master (IE03)  from webdynpro when a user clicks on upload button and also allow the user to delete the attachments .
    Can anyone advice me of any Function Modules or logic to use from Web GUI.
    I used below logic from R/3 to create attachments, but from webdynpro this method doesn't work.
    DATA lo_attachment TYPE REF TO cl_gos_document_service.
      CREATE OBJECT lo_attachment.
      CALL METHOD   lo_attachment->create_attachment
           EXPORTING  is_object = ls_object
           IMPORTING  ep_attachment = lp_attachment
    Your inputs are appreciated.
    Thanks
    Rajesh Yalda

    Hi,
    try using the Class CL_GOS_SRV_ATTACHMENT_CREATE with Method EXECUTE_ITS.
    best regards,
    Michael

  • How to create a new Text Object to be used for SAVE_TEXT FUNCTION

    hi,,
    can anyone tell how can i create a new text object and text id for saving text by using function SAVE_TEXT.
    Thanks

    hi,.
    try out this 
    DATA: header LIKE thead.
    DATA: newheader LIKE thead.
    DATA:lines LIKE tline OCCURS 0 WITH HEADER LINE.
    header-tdobject = 'VBBK'.
    header-tdname = delivery number.
    header-tdspras = language.
    lines-tdformat = '*'.
    header-tdid = text id. "for example: Z022
    lines-tdline = your text that you want to write .
    APPEND lines. CLEAR lines.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    client = sy-mandt
    header = header
    savemode_direct = 'V'
    IMPORTING
    newheader = newheader
    TABLES
    lines = lines
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    object = 4
    OTHERS = 5.

Maybe you are looking for

  • No service on iphone 3gs after updating to 6.1.6

    After updating my iPhone 3gs to 6.1.6, am having a "No Service" problem. I can't even activate my iPhone.

  • Can't get video conversation to work

    Hey, I'm still trying to switch from Windows to Mac. I set up two AIM accounts and logged in on a PC and a Mac respectively. But whatever I do, the video conversation icon just won't light up. Does anyone have any clue?

  • Data conversion- GL , GL Open Line Item Upload

    Hi, For Objects GL Upload , GL Line item Upload  : LSMW- BAPI,IDOC Methods possible .Is any standard Bapi , Idoc available. And also share the advantage and disadvantage in using  Ecatt for dataconversions. Please share link which gives details  for

  • Thumbnails are hourglasses

    all thumbnails in pse 10/organize appear as hourglasses-how do I get thumbnail pictures to appear?

  • Gift card voucher ordered on Feb. 14 from Chat and...

    I purchased a gift card on Valentines Day for my computer illiterate boyfriend.  He tried redeeming the voucher but it wasn't working.  I was going to visit his within the next month so I told him that I would do it for him so all he had to do was wr