Name of the BADI when any workflow Created

Hi Experts,
                 I want to know what happens when any new workflow created, i mean is any BADI triggers?  If so please let me know which BADI triggers, and also let me know How to find what triggers  when creating WORKFLOW.

Hi,
Pleaes tell us the actual requirement so that we can help you bertter.
Workflow is started by event. Events are created by the SAP itselt ( generally ).
Now if the event is created in the SAP , workflow will be started autometically.
Now before starting the workflow you can check or put some conditon.
For this purpose go to Tcode SWE2 and select any entry ... you find there is a option called "ChecK Function Module"
maintain the custom FM to check the start condition of the workflow.
Its starting immediately by the standard fucntion module. ( assume that event linkage is maintained properly )
SAP system starts the workflow by creating a workitem ( which is nothing but a run time instance of wokflow template ).
In that case SAP system need to know for which template workitem needs to be created.
There may be millions of workflow template number and SAP system will use only that one which is mention in the SWE2.
Let me explain with example.
Object Category BO
Object Type CATS
Event SAVED
Receiver Type WS93000002
Receiver Call Function Module
Receiver Function Module SWW_WI_CREATE_VIA_EVENT_IBF
Check Function Module
Receiver Type Function Module
Now when SAVED event is generated in the system SAP system will create the workitem of type WS93000002
by using FM SWW_WI_CREATE_VIA_EVENT_IBF.
Acually you can not debug a workflow as there is not place to set the break point. In ECC 6 there is some option to set break point but I do not have mutch knoledge in that.
Simply FM SWW_WI_CREATE_VIA_EVENT_IBF is used to start workflow by creating workitem. You do not have to worry how SAP does that.
Thanks and regards,
SNJY

Similar Messages

  • If i Know the Interface name of the badi ,how can i know the badi definitio

    Hi Experts,
         1. If i Know the Interface name of the badi ,how can i know the badi definition name?
         2. And also if i know the name of the  implimentation class,how can i know the implimantation name and definitin name
    Thanks&Regards
    Ramakrishna L

    Hi,
    in order to find BAdI definition starting from the interface, you should perform a "Where used List" from SE24.
    Type your interface name and then, in the where used dialog box, tick the 'Business Add-in" check box.
    1.But is there any table which stores Implimentation name and Implimentation class name?
    2.And also any table that stores BADI Definitiion name and Implimentation names.
    1. SXC_CLASS table; Exit, implementation side: Class assignment (multiple)
    2. SXC_EXIT table: Exit: Implementation side: Assignment: Exit - Implementation
    Regards,
    Andrea

  • I am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice help me out

    hello i have started using iphone 5 for which i downloaded my contacts from i clouds i am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice  its only showing the names of the person whose no. i have saved it with the country code i am staying in india new delhi pls help me i am fed up not able to get the name of person who is calling

    Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
    You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support

  • I'm trying to set up a signature on my email account.  The signature appears on the screen when I'm creating an email, but does'nt appear on the email to the person I've sent it to.  All it shows is an empty box... Please help! xoxo

    I'm trying to set up a signature on my email account.  The signature appears on the screen when I'm creating an email, but does'nt appear on the email to the person I've sent it to.  All it shows is an empty box... Please help! xoxo

    I did use that functionality. I am looking at this thread now on my iPhone and I see the images just fine!

  • Imessage only displays the phone number instead of the name after the last update. any idea how to fix it?

    imessage only displays the phone number instead of the name after the last update. any idea how to fix it? All messages had the names displaying correctly before the last update.

    From the menu bar, select
     ▹ System Preferences... ▹ Language & Region
    From the Region menu in the window, select one of the preset regions. If one is already selected, choose a different one, then change it back. Close the preference pane and test.

  • Changing the name of the form when attached to an email

    Good Day All;
    I am wondering if there is a way to change the name of an attachment when the email button is clicked.
    Let me explain.
    I have designed a form that will be emailed from one are to another and when the email button is clicked the email attachment is named (example)  “_150s2140t32f8b0iu.pdf”. Of course this is a meaningless name. I would like to somehow change this to better represent the name of the form.
    Thanks for any suggestions
    Thanks
    Chomp

    Hi Chomp,
    It sounds like you are clicking the email button when in Preview in LC Designer. When the form is being Previewed it is given a temporary name. If the form is opened in Acrobat directly, does the email button attached the form with the proper/full name?
    If you want the form to be given a named based on user's inputted data, then you will need a trusted function (.js file) on every user's computer. See this discussion: http://forums.adobe.com/message/2266799#2266799.
    Niall

  • How to change the name of the char when we copy macro from existed macro?

    Hello Experts,
    I have copied planning book and macro from one planning area to another planning area. all the planning books/Macros are copied. now i want to change of the characteristics as per the new planning area in the MACRO?.
    How do i change the char in the newly copied planning macro. i have changed kfs and char in the planning book but i am notseeing any option in the macro.
    can you pls. help. thanks in advance.
    VACHAN

    You dont really have to change the characteristics anywhere in the macros
    When the macros run they get executed for the characteristics of the current planning area.
    However if there is any macro which may be reading a value of the characteristic by hardcoding the name of the characteristic, you would need to replace the old char name with the new one..

  • I want to know the badi when changes ocurs to XK02

    Hello  Experts,
      Whenever changes occurs to the below fields of  the supplier in the transaction
      XK02 ,I need to store in the customised table or I need to put into a file.
      So which Badi should i use for this..Or Can i use change porinter
    LIFNR     LAND1     NAME1     NAME2     NAME3     NAME4     ORT01
    ORT02     PFACH     PSTL2     PSTLZ     STRAS     TELF1       TELFX
      Please let me know which Badi should i use?and how??
      Please help
      Thanks in Advance
       Preethi

    Hello Sandeep,
       Helpful answer,
       But I want to capture the details when it is saving,because if i capture before saving into sap standard tables if any error occurs when saving then in consistance will occur.
    Please help which badi should i use and how to use..
    Thanks and Regadrs
    Preethi

  • Where is the name of the file when upload in UIX

    Hi, I'm using ORDSYS.ORDDoc as column type of my upload file colum, because is the only way to do upload with UIX without programming. All is Ok with this type of colum (I wish to do the same with blobs), but I have a problem: where is the name of the file? I need to get the name, I read about one attribute for this, somebody know about it?
    Thanks.

    Hi,
    but I made all automatic with UIX, I need that the link when I listing this colum, don't say a fixed name, I want that this link save the file with the original file name. 2 things, maybe when the file was saved, the info about the original name not was saved too, or the method that write the link, don't use this name, only a fixed name.
    Thanks.

  • I need to know the date when JOB is created in SAP

    Could some one telme where i can find the details like date/time when a JOB is created (SM36) in SAP.

    Hi Jim,
    Welcome to SDN !!!
    Check out the table and the field name for your requirement.
    TBTCS-JOBNAME    "-----------------> JobName
    TBTCS-SDLSTRTDT    "-----------------> Start Date
    TBTCS-SDLSTRTTM    "-----------------> Start Time
    Thanks,
    Chidanand

  • "choose file name" loses the extension when clicking a file

    I'm using the "choose file name" command in a script but when I click on an existing file it loses the extension.
    Apparently the same problem as here:
    http://discussions.info.apple.com/message.jspa?messageID=10410632
    Is there a workaround for that ? Or is it just impossible to retrieve the needed extension ? (and we need to wait for Apple to fix that...)

    Hello
    Well, not that I know a work-aronud except for the obvious to type the extension manually...
    Since I cannot think of any good reason for the command's interface to drop the extension deliberately, I'd classify this as bug.
    You'd better send feedback to Apple requesting fix.
    *If you send bug report via bugreport.apple.com, you'd likely get duplicate notice saying that it has been already reported. So try general feedback channel :
    http://www.apple.com/feedback/macosx.html
    The more users want it to be fixed, the more chances for it to be fixed.
    Regards,
    H
    P.S. By the way, 'choose file name' command had not let user choose existing file (with existing files grayed out in dialogue). It is rather new feature letting user select existing file. Perhaps 10.5 (AppleScript 2.0) and later, I guess. Defect in new feature should be able to be fixed easily without breaking backward compatibility.

  • IMovie crashes upon opening the application or any file created in it.

    On the verge of finishing a 4 minute computer, my entire computer shut down.  When it came back on, Imovie was useless.  I've tried  opening it countless time, but I keep getting the spinning wheel.  I've forcequitted each time.
    I've tried opening the projects directly, but same result.
    I've seen instructions to delete the com.apple.imovie.plist files but I can't located them anywhere.
    I trashed Imovie and re-purchased and re-installed it.
    I'm out of ideas - any help would be appreciated. 

    Hi
    There is an easier way to find out if the pref. file is the problem
    Create a new User Account
    Log into this
    Now - retry iMovie
    If it starts OK - then trashing iMovie pref. and cache files most probably will help.
    Yours Bengt W

  • Itunes 11 sorts album under different artists name in the artist view - any idea why?

    I have just be kindly given the Maroon 5 Holiday gift via 12 days (thanks iTunes).  I also have their album 'songs about Jane' and a track from a Rihanna album which is a Maroon 5 track featuring Rihanna but issued on the Rihanna album.
    When sorted by Album the Maroon 5 albums and Rihanna track are sorted together under Maroon 5.
    However, when sorted by Artist the artist for the Album 'Songs about Jane' is being shown as Rihanna (?) but when I check the 'Get Info' data Maroon 5 are clearly shown as the Album Artist.  The holiday gift and the Rihanna track are shown under the artist Maroon 5.
    Wierd ... any ideas why and how to correct?

    Wish I did. I tried the group function but that didn't help in iTunes. The search function is the best I came up with. I can answer the question do you have susch and such artist. But I can't browse for an artist I don't remember exactly or have misspelled. Fortunately I don't think I've bought anything from iTunes that i already had. If you can't see an artist it's possible you think you don't have something you actually do have. Sorry, still hoping for a better work around or better yet a fix.

  • How can i see the name of the photo when i sync from pc?

    I can't see name of any photo when I sync them from my pc. You show me how to see it please. Thanks a lot

    You can use an Exif reader to see picture detail.
    http://i1224.photobucket.com/albums/ee374/Diavonex/3a8178e3.jpg

  • ABAP-HR Name of the BADI which updates merit salary in infotype 759 and 15.

    Hi Friends,
        I want the name of BADI which updates merit lump sum in infotype 15 .
    Example 1.
       Employee’s base pay = 34,000
       Merit increase amount = 1,500
       Employee’s Salary Range =  25,000 – 35,000.(This is taken from T710)
      IT0759 STXX Pick-up subtypes related to the following plans  (MSST, ,MSWH,  MSPA, MSAN) = 1,000
      IT0015 ST  E408 Merit Lump Sum = 500.
    In the above example out of 15000(Merit increase amount). 1000 will get updated
    in infotype 759. and 500 wll be updated in Infotype 0015.
    Question. Which enhancement does this operation. there is BADI called HRPAD00INFTY but this can update only one infotype at one point of time
    because new_innnn-infty is a structure which holds only one Infotype at run time.
    I would be greateful for this information.

    Hi,
            Try HRECM00_GDEGP
    other way
    Implement this BAdI HRECM00_CONSISTENCY in SE19 & put your validations in the method CHECK_CONSISTENCY .. You will have to use the function module HR_ECM_ADD_MESSAGE to fill your messages & show it on the front end
    <b>Reward points</b>
    Regards

Maybe you are looking for

  • Equipment Asset synchronization

    Dear Experts, I have to manually assign the asset to equipment. I have done the following settings 1) In "Specify Conditions for Synchronization of Master Data: against asset class        a) i had given Equipment category        b) Create Equipment :

  • What is GCLI and how to remove it?

    A bar involving GCLI recently appeared at the bottom of the browser. How do you remove it?

  • Creating black and white image from colour jpg

    Can anyone please tell me how to do this using fireworks? Thankyou

  • Captivate 7 not showing the red frame when recording a slide

    I've been using the "Record Additional Slides" button since Captivate 5, and never run into this problem: the red frame that lets you define what you want to capture is not displaying. When I try to record, Captivate captures a portion of the softwar

  • RSS Feeds in J2EE

    Hi, We are planning to develop a webapplication which includes a RSS feeds which uses a standardized XML file format allows the information to be published once and viewed by many different programs. They benefit readers who want to subscribe to time