Trigger event for badi ac_document

Hello,
I want to use BADI AC_DOCUMENT for text substitution following the note 386896. I create a new implementation but when I create a new FI Document the BADI is not triggered correctly.
How can I know where the BADI is called in ABAP program ?
Thanks for your help.

Hi,
Check that for which condition the message is triggering.
Try to check the condition.
Regards
Sandipan

Similar Messages

  • Trigger events for 64 boolean tags when another tag turns on?

    I want set an event for all bits in the group that are off when another tags transitions from off to on only. I guess this would be like a conditional event. Is this possible in the DSC world??

    You can use boolean controls to simulate the tag values and then set events based on these boolean controls.

  • Problem of trigger event for Customer master.

    Hi all,
    I created one object type in KNA1. because i want to use task instead of the workflow.
    after i executed the customer master creation , i got this error during the execution."Dereferencing of the NULL reference".
    if anybody want information, please let me know.
    Regards,
    Luke

    Hi
    "At the beginning, i am using the Receiver Function module is SWW_WI_CREATE_VIA_EVENT.
    after i change to "SAP_WAPI_CREATE_EVENT" but got error too."
    Can you tell us where are you calling this FM (is it via Enhancement option or badi or exit) to trigger the event?
    Just leave the Receiver FM as same as in SWE2 and make sure Linkage Actiavted check box is checked
    "i can't do the buiding between &EVT_OBJECT& and &WI_OBJECT_ID&. because it is not same business object.
    for our workflow object, it references to class is developed by me.
    As suggested by Rick, you could make use of FM or as per blog, you could use class to trigger your custom class's event. Then you need to have binding at task level (PFTC)
    &EVT_OBJECT& --> &WI_OBJECT_ID&.
    Vinoth

  • Can i use references to trigger events for objects?

    Hi,
    I have about thirty front panel buttopn controls on my user interface. They are all very spread out so I cannot put them all into a cluster. I have created a reference for each one and put them into an array. Each one of the buttons when pressed I want to trigger the exact same event on an event structure, but dont want to have to create 30 duplicate event cases for each button? any ideas how I can group them so that they trigger the same case?
    regards

    Mike is right, the label of the event is taken from the label of the wire, typecasting this gives you the ability to rename.
    Here's the code for anyone interested:
    Ton
    Message Edited by TonP on 08-26-2008 05:48 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Trigger event for BW

    I got an event from BW that need to trigger in R3, may I know what I need to do?
    I know that there is a FM name 'BP_EVENT_RAISE' that I can use to trigger the event, if possible.
    But before that, what do I need to do in R3?Do I need to register the BW event in R3?
    Thanks.

    Hi !
    You can also uses the FM 'RSSM_EVENT_RAISE' indicating the correct destination.
    For further information, please refer to this excelent article:
    /people/surendrakumarreddy.koduru/blog/2009/03/18/how-to-trigger-the-process-chains-in-bw-from-ecc
    Best regards,
    V. di Primio.

  • Trigger event for during subinventory transfer

    Hi
    I would like to have a hook or to trigger an event (like firing a concurrent program) when subinventory transfer is performed. Is this possible and how to do it?

    You can write a personalization that fires a conc. program.

  • Trigger Event for Task Deleted

    hi,
    I need to handle Task deletion in workflow. But there is no standard deleted event available.
    So I have created custom business object ZBUS2175 and have delegated to std object.
    Now using BSVX transaction I am trying to assign this event when status is changed to I1102. But event is not getting triggered.
    Is there any other status I need to set?
    Please reply.
    Thanks.
    HArshada

    Hi,
    The BO your using is a custom one,
    If Yes Goto the BO, Release that Event,Save and generate the BO.
    other wise, if you created a Subtype of the Std. BO, check that Z-event you created is released  and the BO delegated to Std. BO, save and generate the BO.
    Then try now.
    Regards,
    Surjith

  • How to trigger event CREATED for Bus.Obj BUS2126003 (Vendor Settlement)

    Hi
    I want to start a workflow inside Agent Business, when Vendor Settlement (BUS2126003) is Created.
    The problem is that the event does not get triggered when Created. Not even the CHANGED event is tiggered during change.
    Currently I have workflow on the objects BUS2144001 (Customer Settlement - Agency Business )
    and BUS2100001 (Settlement request list - Agency Business). Both these objects gets triggered when created (EVENT = CREATED).
    I try to find out a way to trigger CREATED for Vendor Settlement. Do you have any suggestion for this?
    I've tried to find any exits, Badi's, ...from where I could trigger the event myself.... but with no good result...
    Best reg
    Henrik

    Hi HA,
    are you talking about ERS (Evaluated Receipt Settlement) in SRM?
    If yes, check with the settings in IMG, there is an ERS flag in Vendor master record that needs to be set for that vendor.
    Hope it helps.
    Aditya

  • Need event or BADI for Campaign in UI.

    Hi guys,
       when i am creating campaign in UI i am not getting any events in  SAP GUI.The problem is i need to trigger workflow for the campaign created in UI.I also searched for BADIS for it.But in UI i couldn't trace any BADIS which run during saving of Campaign.
              Please suggest me some ways to find BADIS in UI for Campaign or how will i configure event for Campaign.
    thanks
    Snehasish Das
    Edited by: Snehasish Das on Jul 4, 2008 5:36 PM
    Edited by: Snehasish Das on Jul 4, 2008 5:37 PM

    Hello
    fellow the steps
    goto to tcode->status->program name->double click on that,
    then goto to-> attribute take the package name and
    Goto SMOD tcode ->Utilities->give the package name and F8
    then a list of exits will display for that tcode as well as that package.
    u can check the table MODSAP
    u can check the table MODACT
    For BADI's,
    1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE
    keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'
    then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.
    2)Goto to tcode->status->program name->double click on that program will display's
    then  press crtl+F then cl_exithandler
    Thank u,
    santhosh

  • BAdI - AC_DOCUMENT / data passing for nested structures

    Hi all.
    I need your help for this scenario:  
    I used this to pass value of MM field to FI field from transaction MIGO.
    Our company placed field in EKKN-WEMPF to BSEG-ZUONR.
    For this one option was:  BAdI AC_DOCUMENT
    Questions: 
    1.  Nested structures - passing of data:
    First problem encountered was with the reading of data from nested structures and passing them to nested structures as well.  How to do this?  I have used a certain declaration but any input will be much appreciated. 
    2.  When I activated my BAdI, it says error on FI Interface,
    specifically on AWREF and AWORG fields. 
    It is currently blank.  Can I use the values in IM_DOCUMENT to pass to EX_DOCUMENT? 
    (What is a good way to do it since simple syntax does not allow for passing of data bec. structures are incompatible, and added complexity, it has nested structures.)
    If you have sample code for this, it would truly be helpful. 
    Thanks and God bless!

    Hi,
    Check that for which condition the message is triggering.
    Try to check the condition.
    Regards
    Sandipan

  • Badi AC_DOCUMENT for updating prctr

    Hi ,
    I am trying to update the profit center ( prctr ) through the BADI AC_DOCUMENT.
    I have written the below code but its not posting and is giving me an error that document saved but not posted . Below is the code
    In the variable I am passing the profit center which I am getting from Z table
    DATA: ex_item type ACCIT,
          wa_ex_item type ACCIT_SUB.
    LOOP AT im_document-item INTO ex_item.
    wa_ex_item-mandt = ex_item-mandt.
    wa_ex_item-awtyp = ex_item-awtyp.
    wa_ex_item-awref = ex_item-awref.
    wa_ex_item-aworg = ex_item-aworg.
    wa_ex_item-posnr = ex_item-posnr.
    wa_ex_item-prctr = l_prctr.
    APPEND wa_ex_item to ex_document-item.
    endloop.

    Hi,
    Check that for which condition the message is triggering.
    Try to check the condition.
    Regards
    Sandipan

  • Triggers into a video playline for to trigger events in overall timeline.

    How could I trigger events in my animations caused by a point in a video play?
    For example, I want to show an image in the 02:30 minute.
    Sorry for the language misuse, I speak Spanish.

    You need to read up about "Track Targeting"
    Basically - Select the tracks in the Track Headers.  Click on them.

  • Terminating Event for BUS2017 Custom Method

    Dear Experts,
    I have an issue with the Terminating Event of the Workflow for BO : BUS2017. The event is getting triggered but receiver is not being picked.
    I have created two events GR_103 and POST_105 in the Custom BO ZBUS2017 by delegating it to BUS2017. GR_103 is the triggering event for my workflow which I have triggered in the POST_DOCUMENT Method of the Implmentation for BADI : MB_MIGO_BADI.
    GR_103 is triggered while doing MIGO (Goods Receipt) for Movement Type 103. My Workflow is triggered perfectly and then I have used a Dialog Asynchronous Task in which I have called the MIGO Transaction for Releasing the GR Blokced Stock using the Movement Type 105. I have created a Custom Method POST in the BO ZBUS2017 and I have used the FM: MIGO_DIALOG to call the MIGO. I am trying to raise the POST_105 event in the Method MB_DOCUMENT_BEFORE_UPDATE of the Interface IF_EX_MB_DOCUMENT_BADI.  I have defined the Terminating Event for the asynchronous Task as POST_105.
    Now the event POST_105 is triggered, but SWEL says 'No receiver entered'. Even the SWEINST shows the object data as the current Work Item along with Object Key, but still receiver not picked. When I try to trigger the same event in a test report by using call transaction, then the event triggers and work item gets completed without any issues.
    Please advise.
    Below is my terminating event code.
      READ TABLE xmseg INTO wa_mseg INDEX 1.
      CONCATENATE wa_mseg-mblnr wa_mseg-mjahr INTO l_objkey.
      IF wa_mseg-bwart = '105' .
        CALL FUNCTION 'SWE_EVENT_CREATE'
          EXPORTING
            objtype           = 'BUS2017'
            objkey            = l_objkey
            event             = 'POST_105'
          EXCEPTIONS
            objtype_not_found = 1
            OTHERS            = 2.
      ENDIF.
    Regards,
    Raju.

    Have a COMMIT WORK after the function call. (At least test it - I am not sure if it will have some effects in your BADI - at least you will know whether the issue is about missing commit).
    And please use SAP_WAPI_CREATE_EVENT instead of the old function you are using.
    Also, make sure that the events will look exactly the same in event monitor SWEL when triggered from your code and when using test tool. Maybe there is some minor difference/mistake (object key, etc.) that you haven't noticed.
    Regards,
    Karri
    Edited by: Karri Kemppi on Feb 7, 2012 8:14 AM

  • Event for Vendor invoice.

    Hi,
    I want to trigger the workflow when the vendor invoice gets parked. The vendor invoice comes in as an idoc, I want to trigger another workflow, if the vendor invoice doesnot get parked too.
    What object is best suited.
    Thanks in advance.
    Sathish.

    Sukumar,
    Two things:
    1. If you are using any standard workflow (check in PFTC for that) then ofcourse you gotta activate the event in triggering event. might require to do some task level customizing (tcode OOCU) and if you are creating your own then I guess you know the answer.
    2. Like I said if you only interested in workflow Via IDoc and standard events are not catering your requirements then you have to create your own event (involves a whole development process such as find BAdI or user exit, then creation of subtype in SWO1, delegation, creation of event, triggering of event in BAdI etc.) , you have to activate the event in triggering tab of your workflow template.
    Cheers
    Jai

  • Event for CG02

    Is it possible to have the Business object BUS1077 fired on change of a substance.
    This doesnt seem to work even if we release the change event in a delegate object.

    Dear Soumya
    not sure what you are looking for. But my answer is:
    a.) EHS supports workflows; and workflows act on "change" of data, so you have a "trigger" event which you can use; please check online help
    b.) SAP provides a lot of exits etc. One of them you can use to "trigger" additional topics (of what eve
    er kind of nature); but you must do the programming on your own. One reference to such an option is mentioned here: EHS User exist for Specification Identifiers
    May be check as well: https://www.consolut.com/en/s/sap-ides-access/d/s/doc/YY-EHSS_SPEC_CHECKS
    This is the "state of the art" interface to be used if "insert/delte/update" was done and you would like to "trigger" something
    C.B.
    PS: check e.g. BADI ehss_spec_checks | SCN

Maybe you are looking for

  • Imqadmin: No. of messages not displayed correctly in durable subs screen

    This question applies to the standalone platform edition of Message Queue v3.5 SP2 running on solaris. I have a number of durable subscribers connecting to a topic. Each & all subscriber have a selector set to filter the data. From imqadmin I can sel

  • Ora-01426 error

    Hi, If i execute the below pl/sql, i am getting Numeric over flow error. declare t number; begin t :=788888888*305; end; ora-01426 Numeric over flow Ora-06512-Error at line No:4 I am not getting this error, if i use decima point in 788888888.0*305 Is

  • Primavera login error with Integration API (Ver. 8.3)

    Dear all Currently, I found one issue while using [Session.login] method on Primavera Integration API (Ver8.3). [Codes]:    DatabaseInstance[] dbinstance = Session.getDatabaseInstances(RMIURL.getRmiUrl(RMIURL.LOCAL_SERVICE));    session = Session.log

  • From MB to MBP..?

    Am debating moving from my 4 month old C2D Macbook to a MBP CD that is about 8 months old - it's gonna cost me about $700 for the priviledge but I have come to think that a/ the MB screen is a little too small for my tired eyes, and the way the edges

  • Where do i find "authorize my computer" in itunes store

    I cannot find the place where "authorize my computer" is located in the Itunes store menu. HELP please. I cannot download new content to my new computer.