Workflow Object type

Hi Experts,
I urgently need your expertise in resolving some of my problems with workflow.  My first question is, can there be two subtypes(ZBUS2012 and XBUS2012) from supertype BUS2012 and still delegated to BUS2012?  I tried and an error message "Target key must be different from source key?"  Can I not have a 2nd subtype (XBUS2012)and deletegated to one supertype BUS2012?
Your expert feedback is greatly appreciated.

Hi Kjetil,
Thank you very much.  Your input has been VERY helpful.  Applying this note(or any oss note for that matter) is almost like crossing a mountain.  We have VERY tedious and ridiculous processes to applying one little thing to the system.
Thanks again.
By the way, are you familiar with how inbound edi purchasing order acknowledgment triggers the workflow? Here is the scenario:
1) we receive inbound edi purchase order acknowledgement from the vendor
2) if the po acknowledgement processes successfully, then it is okay.  However, if it fails, I need to determine what one of the values in the idoc is and need to trigger transactions like MM)3, ME22N, etc
3) currently, we have it so that if inbound po acknowledgement fails (for any reason) a work item is forwarded to inbox.
4) I have been looking 000008075 std task, task groups 20000011, 20000010 and still couldn't' figure out where/how I can do what I intent to do.
Your expert advise is greatly appreciated.
S.

Similar Messages

  • Table for object type

    Hi,
    Can anyone give me the table(s) for the workflow object type. I want to use the object type as a select-option instead of using the tasks that are part of the object type. I couldn't find anything in the SDN workflow forum.
    Thanks,
    John

    Hi,
    What is a workflow object type?
    Pressing F1 and then technical infomation on an SAP workflow screen is usually enough to find the underlying check tables etc.
    Kind regards, Rob Dielemans

  • Workflow with Object Type LFA1

    Dear Workflow Gurus,
    My business scenario is as follows:
    1. User will create the Vendor Master
    2. Workflow will be triggered to the Manager so that he can check it (Display only)
    Basically, I created a workflow with the following:
    Start Event - BO LFA1 CREATED
    Task - BO LFA1 DISPLAY
    I have tested my workflow at SWDD and SWUE. It is working fine and I get the notification in my SBWP. I can then double click/execute the item in my SBWP Inbox and it will take me to XK03 (Working Perfectly). However, in a real time scenario, when I create a Vendor Master via either FK01, MK01 or XK01, I dont get any notification in my SBWP. Im puzzled as the test at SWDD and SWUE was a success.
    Im wondering whether Im using the correct Object Type and Method for my START EVENT - BO LFA1 CREATED. Please take note that everything is Active, has been binded and I have assigned (Import checkbox) LFA1 in my Workflow Container
    Please advise.

    Hi,
    It looks no event is created from FK01, MK01 or XK01.
    Please activate the workflow event trace and check the event.
    Regards,
    Masa

  • 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

  • Where to include custo object types in workflow events?

    Hi All,
    One of my friend is working on HR related Workflow. He has a question about where to include the custom change document infotypes in workflow events.
    To make it clear, he says there are three transactions swehr1, swehr2 and swehr3. Now, if he wants to include a custom object (Z object) which transaction should he use?
    Please reply ASAP.
    Regards
    Swapna.

    Yes, you use swehr1 to link the infotype to the object type. Then use swehr3 to create the event linkage to your function module or object type event.
    I just did this with an e-recruiting project and it worked fine.  For example:
    swehr1 entry:
    NB  Requisition     5131  Persons Responsible    ZERC_REQUI     Job Requisition
    swehr3 entry:
    NB  Requisition     5131  Persons Responsible   INS     0     ZERC_REQUI             Z_ON_MEMBER_ADD
    This accomplishes the following: when a record is inserted for infotype 5131, the function module Z_ON_MEMBER_ADD runs. That function module decides if or which event should be raised. Alternatively I could have entered an event for the ZERC_REQUI object type, but then the event will always be raised on a 5131 record insertion, and for my application I didn't want that.
    I hope this example is helpful.
    ~Margaret

  • Object type for Proxy for sending Notifcation Workflow

    Hi
    Object type for Proxy for sending Notifcation Workflow.
    Early reply is highely appriciable.
    Thanks,
    Naidu.

    Could you make your post more cryptic? There were still some things I could understand.
    Perhaps you should take a look at the forum guidelines and especially at the part on asking a question. you can find the forum guidelines through the sticky thread at the top of this forum or through the Community Guidelines which you can find on the left side of your screen.
    Regards,
    Martin

  • Methods inside object types WORKFLOW

    Hi workflow gurus
    I am trying to implement my own method in a subtyped object type, my requirement is that
    if a particular condition is true then a particular outcome should be active.
    For example
    begin_method mymethod changing container.
    select * from xxx where fff = ccc.
    case  xxx-ggg.
    when 'aaa'.
    //I want the corresponding outcome to be active
    when 'bbb'.
    //I want the corresponding outcome to be active
    endcase.
    end_method.
    these outcome should show up in my workflow step.
    Can any of the gurus help me out on this.
    Regards
    Narendiran Rathinavelu

    Hi,
    I am giving you sample code with which your issue will be resolved. in case if you have any problem please ask.
      CALL FUNCTION 'Y_WF_PREQ_AUTO_PO_CHG_POSSIBLE'
    EXPORTING                                                   P_BANFN   = OBJECT-KEY-PURCHASEREQUISITION   
      P_EKGRP   = OBJECT-KEY-PURCHASINGGROUP       
    TABLES                                                      T_EBAN_REDUC  =   T_EBAN_REDUC                     
      T_EKPO_REDUC  = T_EKPO_REDUC                     
      T_COMPARISON  = T_COMPARISON                     
      T_DIFFERENCE  = T_DIFFERENCE                     
      T_MESSAGES_TEXT = T_MESSAGES                       
      T_ENDORSER    = T_ENDORSER                       
    EXCEPTIONS                                                 PURCHASE_REQ_FIELD_EMPTY = 1                            
    NO_PURCHASE_REQ_DATA_FOUND = 2                            
      NO_PURCHASE_ORDER_DATA_FOUND  = 3                            
      FUNCTION_PROBLEM              = 4                            
      CURRENCY_CONVERSION_FAILED    = 5                            
      NO_ENTRY_IN_T024              = 6                            
      NO_VALID_BUYER_FOUND          = 7                            
      QTY_UNIT_CONVERSION_FAILED    = 8
      NOT_ALL_ITEMS_APPROVED        = 9
      ALL_CHANGED_REQ_ITEMS_DELETED = 10
      SEVERAL_PO_ITEMS              = 11.
    IF SY_SUBRC <> 0.                                                 
      CASE SY_SUBRC.                                              
        WHEN 1.                                                         
          EXIT_RETURN 9001 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 2.                                                         
          EXIT_RETURN 9002 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 3.                                                         
          EXIT_RETURN 9003 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 4.                                                         
          EXIT_RETURN 9004 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 5.                                                         
          EXIT_RETURN 9005 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 6.                                                         
          EXIT_RETURN 9006 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 7.                                                         
          EXIT_RETURN 9007 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 8.                                                         
          EXIT_RETURN 9008 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
        WHEN 9.                                                         
          EXIT_RETURN 9009 W_SY-MSGV1 W_SY-MSGV2 W_SY-MSGV3 W_SY-MSGV4. 
    Also at Object's Method level you have to define the exceptions which the method can throw.
    now when you select the method in your task level, then exceptions defined at this method level will be shown at Task level.
    Thanks,
    sksingh

  • S/A bridge problem: No object type found for the message

    Hi all,
    I've been spending days looking into the following problem. I have a RFCXIFile scenario. The R3 system sends data via an RFC to XI and XI post the data as a flat file on a certain server using FTP.
    This scenario worked just fine for 1 exception. I could only run this scenario once. The second time I got timeouts when checking the data sent to my RFC destination using SM58. When I reactivated my RFC communcation channel I could again send 1 RFC to the system. All subsequent tries would fail.
    I guess this is due to the fact that I use a synchonous call (RFC) to an asynchronous one. Thus the adapter is still waiting for the response from the XI system and will not accept any further new calls from R3.
    So I figure let's use this pattern called the S/A bridge. So I designed everything according to guides and examples and I'm quite certain everything is configured right but when I run the scenario I get the following message:
    <i> <!--  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:ApplicationFaultMessage namespace="" />
      <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></i>
    It seems that the adapter cannot find any integration process to send the message into!?
    I've looked at numerous threads on sdn and tried all kinds of stuff (looked at the cache==> code 0 = OK , tried to reactivate my integration process, checked the interface determination,...), but to no avail. Does anybody has an idea what could be wrong ?
    Any help would be greatly appreciated for I'm all out of clues....
    Bob

    First of all, Thank you for trying to help me out here.
    Some answer to your suggestions/questions:
    The IP has return code 0 in SXI_CACHE. so that doesn't seem to be the problem.
    I've checked the BPM for syntax errors. I doesn't have any.
    I've reimported the BPM into the integration directory.
    And did a full cache refresh in SXI_CACHE. Return code is (stays) zero, so that's OK.
    I've already included the error message from SXI_MONI. It is in the last step ("Call Adater") that the error occurs.
    The other steps execute just fine...
    The RFC communcation channel accepts the incoming RFC call and puts into the pipeline, so no problems with the communication channel either. the problem is actually when the pipeline is trying to forward the message into an IP trhough the BPE_ADAPTER (according to SXMB_MONI).
    Therefore I'm not able to go to into PE, because the workflow is never started. the BPE_ADAPTER does not find any active process for the interface determination i've entered.
    So i can not debug the IP in the PE and check container variables, like some of you mentioned.
    Maybe some more information about the scenario:
    The RFC is called from an R3 system to XI over the interface "CONTROL_RECIPE_DOWNLOAD", which is an imported RFC, with a request and response message type.
    Then I got a receiver and interface determination with lead the incoming RFC message to the IP, into interface "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI".
    This is an abstract synchronous interface based on the request and response types of the "CONTROL_RECIPE_DOWNLOAD" imported RFC.
    This interface is used the first step (receive) of my BPM as the synchronous interface to open the S/A bridge.
    The message (container var)  used in this step is
    name: CORREQ
    Category: Abstract interface
    type: "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI"
    The interface "XI_ERP_MF_MD_CONTROL_RECIPE_REQ_AI_MI" is an abstract, asynchronous interface based on the request type of the "CONTROL_RECIPE_DOWNLOAD".
    Then there are 2 send steps for putting the flat files into place and finally i close the the S/A bridge using message:
    name: CORRES
    Category: Abstract interface
    type: "XI_ERP_MF_MD_CONTROL_RECIPE_RES_AI_MI"
    The interface "XI_ERP_MF_MD_CONTROL_RECIPE_RES_AI_MI" is an abstract, asynchronous interface based on the response type of the "CONTROL_RECIPE_DOWNLOAD".
    I hope this information gives you guys a better understanding of hte problem.
    Really looking forward to see more suggestions and to solve this nasty problem ...
    Regards,
    Bob

  • Error in PR workflow - 'Object does not exist '.

    Hi experts,
    We have a custom workflow configured from purchase requisition, uses object BUS2105. Now there is an error which occurs in ad hoc basis due to which this workitem ends in error. Error says 'You tried to create an instance of the object type BUS2105 with the key <PR number>. No instance of this kind exists'. This is happening only for the PR create scenario. During change, no such error is coming.
    This is happening before any method defined in workflow steps is called. If anyone has faced, resolved this kind of issue, please provide your valuable inputs.
    Thanks,
    Sumanth

    Check the binding from event to workfow container..whether all mandatory workflow conatainers are getting values properly or not...
    I think you need to pass the item number as well...

  • Error  while releasing Transport which Contain Bussiness object type

    I created the method in ZBUS100106 and  released it and generate it ,then in the program I wrote some code,functionality works fine ,Now  while moving transport to Quality Syestem it shows up with the error
    *ZBUS100106 is inactive*  , I released it and generate it one more time but did'nt help
    My transport has
        Workflow templates
            90000004
        Program
            ZBUS100106
        Business object types
            ZBUS100106
        Table Contents
            SWOTICE
    only problem with the program it shows inactive,I ran Se80 and it shows some Subrutine inactive I activate it by clicking right and select Activate but none of the perform activate .
    Helpful answer rewarded by the deserve points

    Hello,
    Are there any errors when you generate ZBUS100106? Check Goto -> Error List.
    regards
    Rick Bakker
    Hanabi Technology

  • Events in USER objects type not getting triggered in PFCG

    Hi,
    We need to send some notifications to the concern person at the time of assiging roles to the user . There is an object type USER and has events like created,cloned, deleted, roles_changed. But these events not getting triggered.
    I need to trigger the workflow. How do we activate the events as the entry doesnot exits in SWE2 tooo . Is ther any other way?

    HI munish
    If the entry is not in swe2 Put the entry for the business object USER and use the receiver type as your workflow number.
    Regards
    vijay

  • Problem Instanciating BO - No default attribute defined for the object type

    Hello Experts,
    I am instanciating the BO BUS2038 to ZBUS2038 and when I click in u201Cto implementedu201D and follow u201Cto releasedu201D the message No default attribute defined for the object type is appearing!
    Can anybody help, please?

    Hello everyone,
    it appears to me, that no one has a clue about the "default attribute" and is widely guessing what can be done about that.
    I feel deeply sorry for that, Marcos.
    At first: You don't really need to care about the missing default attribute. If it's missing, the object's instance key will be used instead. Skip the warning message.
    Secondly: The default attribute is used to display the instance within the "Object links & Attachments" under the work item preview when using the SAP Business Workflow.
    Thirdly: You can select any existing attribute of your business object type to be the default attribute, by navigating to the "Basic data" (it's the heat-icon within the object builder), use tab "Defaults" and use the Input Help on the field "Attribute".
    There you'll go.
    Best wishes,
    Florin

  • Predefined object type for Purchase order release stratergy

    dear experts,
    There are already predefined object type for purchase order like bus2012 where i can create new events and methods. I want to know is there any predefined objects for purchase order release strategy. The requirement is there i want to define method, that should display the po release screen. If i bind this method with work flow template, mail should be triggered and if i click the mail po release screen should be opened for respective material...
    regards,
    Kandhan G

    Hello
    I'm using the BUS2012 Object type in workflow task but in simulation the task run correct but in the transaction when modify a purchase orden the task send an error...
    maybe the error is similar...did you solve this problem?..
    Thanks!
    Wladimir E.
    [email protected]

  • Organizational Object Types

    Is it possible to create customer defined organizational object types in CRM 2007 like you can in ECC or are you limited to object types org unit, position, holder?    I'd like to create an object type to hang cost objects on the org structure to use with an eval path for reporting.  I noticed that there are a number of standard object types delivered beyond org unit, position and holder.  I don't, though, see a config path for creating/copying new customer defined object types.   Being new to CRM, I'm probably just missing something.
    Also, if we replicate our FI/HR (which are the same ...) org structure in CRM, can we choose the object types that we bring over in addition to org unit, position, holder?  
    Thanks for any help!
    Bill

    Thanks, Vikash - that's what I feared, but was wondering why they bothered to include all the other standard object types like cost center (k) and the workflow ones if there was no way to use them ...    That's too bad as they're limiting some very powerful functionality if that's the case.
    Krishna - we're actually implementing something new with CRM - for fund raising activities in an academic setting (but it could be applied to other non/not for profit fund raising activities as well).    Basically just trying to leverage some ECC customer defined hierarchy object types we have for mapping cost centers/wbs elements to org units ...
    Thanks to you both for responding!
    Bil

  • 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

Maybe you are looking for

  • Photo edits in aperture are not being updated in Photostream

    I want to edit photos in iPhoto on an iPad mini and also in Aperture and have the changes synchronised either using photostream or a direct connection. Try as I may I can't get this to happen. If I move a photo in Aperture to the photostream then it

  • How to make my object to wait for server response

    Hi , I need some one suggestions on thread concepts. First Let me know my scenario is fit for thread concept. is it possible then how I can reach to solution. I have scenario like I send a request to server and server is taking some time to process t

  • Columns for spreadshee​t with arrays

    I have a data acquisition program that saves arrays as .txt files for further analysis. I'm writing a program and having problems getting the data in 4 columns like I want. My data consists of 4 files, 10 data points obtained per iteration. Each iter

  • Fix for IE7 ? Anybody

    Almost all of my website are having displaying properly in IE7.  Is there any fix in CSS or html that I can use to fix the widths, floats ...

  • Nokia N8 Screen Rotation

    Hi, Hope someone can help, I have had a N8 for the past 2 weeks and ever since brand new the only way to get the screen to rotate is to bash it hard. Is there an issue with the N8 sensors? I have tried switching off & on and still the same! Release: