Events in SAP BADI

Hi All,
I have a query regarding multiple use BADI.
I have a BADI with mulitple use (option in SE18) and i have two active implementations for that. I want to call this BADI and control the invoking of methods by using EVENTS in BADI.
How can i achieve it.
Can any one help me out by giving examples or sample programs for this scenario.
Thanks in advance..
Regards,
Ranga

Hi Maria,
Go to transaction SM62 and maintain the system events or user events which are being used to control the triggering the background jobs.
Please let me know if you have any questions.
Thank you.
Regards,
Karun.M

Similar Messages

  • XI triggers an event in SAP

    Hi experts,
    Does anybody of you know the necessary steps to make the XI trigger an event in SAP R3??
    I have a file to file scenario and i would like XI to trigger a function in R3 once the file is delivered in any target folder. I think the best way is using events but not pretty sure.
    Aditionally, R3 runs over SunOS and so XI.
    Any clues?
    Best regards,
    David

    Hi David,
    Yes, no mapping is required.
    IR - you need to create a Message Interface (inbound) with the same Message Type that you are using in Message Interface (outbound). Afterwards, go to ID and change your Receiver Determination in order to use your SAP Business System (You should have this Technical and Business Sys in your SLD, import it to ID environment. If is not there apply this blog /people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
    Then, go to your SAP sys t-code SPROXY > Goto > Connection Test, and perform the 4 tests. You need to check if your Business System SAP ERP is configured for ABAP proxy connection with XI. If not apply this blog: How do you activate ABAP Proxies? /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    For your developments, check this as well:
    File to R/3 via ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    ABAP server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    If you have problems, let me know
    Cheers,
    Ricardo.

  • How to know login history/events of  Sap user from server

    how to know login history/events of  Sap user from server without operating users computer.
    Am using B1 2007A PL47 Forthshift(FSE version 8.5 SP03PL05)

    Hi,
    Check the thread
    Re: User login history SAP Business One
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • How to register "Enter" event  in sap xrpm

    all expert:
    how to register "Enter" event  in sap xrpm

    all expert:
    how to register "Enter" event  in sap xrpm

  • How to catch events from SAP

    Hi everybody:
    I'm trying to set an event in SAP and catch it from a .NET progam using the .NET Connector.
    I have sow the function BP_EVENT_RISE but it seems it doesn't help enough.
    We want to verify if the users have use an especific transaction inside SAP program. We have user exits created and we only need to indicate over the .NET program who is listening for some event.
    How can I solve this?
    We are not using Business Connector.
    I will appreciate any suggestion.

    The User Exit only reflects one step of exit performed by the user.
    The events that i need to perform have the objetive to inform that some task have been performed inside SAP, a complete task, not only knowing that the user have finished his day work.
    The idea it's to know that the user finished a new human resource registration, beyond it's well done, I need to know the number of the human resource.
    On this point, I need to continue the registration in an automatic way over the security system (active directory), send an event to the person who have to regiter him over the corporate system and configure his mail (if needed).
    I have look and evaluate the advise, but it dosen't solve my needs. I have to wait until my user finished his job (or ask him to exit) each time he register a new human resorce, that's not my idea.
    Any other sugestion?. Thanks.

  • Trigger an Event in SAP R/3 when meeting request is accepted in MS-Outlook

    Dear Experts,
    I am able to send the meeting request to MS-Outlook using the following thread.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b035a861-5f61-2c10-d086-c4dd779dd253]
    When the user opens the .ICS file and accepts the meeting request in MS-Outlook, the MS-Outlook calender gets booked.
    Now the requirement is, Once User accepts the meeting request an event should be trigerred in SAP R/3 so as to track the User response. Is there any BADI/API s available which can be used to achieve this? Which business object can be used ?
    Regards,
    Vaishali.

    Hi,
    Triggering the event is the easy part. That will be just pure ABAP development.
    Your problem is that how can you call your function/method (or whatever) from the Outlook (or from Exchange server). So, you should really try to investigate the possible modification or enhancement possibilities of the Echange server - and this is not really an SDN issue at all (of course if you are lucky, someone could notice this thread and help). If you find a way to add some kind of "modification" to the Exchange server (for example you could find a way to call a web service always when the meeting request is accepted), then you can easily build the necessary web service around your ABAP function.
    Another approach could be that you try to utilize the possible Exchange server web service API. For example it seems that there is some kind of availibility service available, which you could use to find out the user's availibility (I am not sure though that is it possible to see whether the user has accepted the meeting request or not). Anyhow, if you find out a way for this, you could call the web service from your ABAP system to find out the corresponding information from Exchange server.
    Good luck.
    Regards,
    Karri

  • Help on Events in SAP ISU(Tcode : FQEVENTS)

    Hi,
    I am not aware of events(tcode-FQEVENTS). Could you let me know throw a light or some information or document on the events so that i can have an idea of what are events and their implementation
    Regards
    Shiva

    Hi Shiva,
    There are a set of events provided by SAP(Tcode-FQEVENTS or spro menu path Financial Accounting->Contract Accounts Receivable and Payable->Program Enhancements->Define Customer-Specific Function Modules) which help in enhancing the flow of processes in the relevant places to incorporate additional checks and additional activities with in standard programs.
    Each event contains a function module which can be enhanced with user specific activities to include your own logic.
    Search for the event of your specific need by filtering using search terms, read the documentation of the respective events and by using a breakpoint in the function module check is it the right event for you to include your own logic. Copy the function module and make a Z of the same.
    You need to make an entry of the respective Z function module as installation specific function module in the table:V_TFKFBC
    regards
    Gagan

  • Upload Time Events to SAP System

    Our client is not using any standard SAP approved time swap in-out machine, they have a locally manufactured machine installed at the factories. Client need to implement Positive time management. On daily basis a text file will be generated from Time machine that need to upload into SAP system. This file contains all the In-Out timings of employees at work, this may also contain the error data like double In or double out, only In, only out etc.
    We tried to confess them to check the data before uploading to SAP, client is not ready for that, since data is heavy.
    Our understanding:
    Using Report RPTCC106 we can upload the time events data from non-sap to SAP through logical systems using IDoc then post the time data using report SAPCDT45. We can check all incorrect  time data from Time management Pool, then all corrected data will be posted to table TEVEN and IT 2011.
    But we are unable to process these steps.
    Can you please recommend us the best practices for implement the positive Time management in these scenarios.
    Thanks in Advance
    Imran Yoosuf
    [email protected]

    Hello Imran,
    I'm facing a similar situation here.  Have you resolved this issue?  If so, please could you post it here?
    Thanks and regards,
    Vivek Thomas

  • Is it possible to execute a code in my program based on a click event in SAP B1?

    Hi!, everybody
    I may be doing some wishful dreaming, but I ask my question nevertheless. We never know...
    My pictures are self explanatory, but I explain my requirement below:
    I have a grid which is populated by a query. Briefly, it is a list of Invoices to be reconciled.
    The user selects the invoice to be reconciled by selecting the row. Then he presses the Reconcile? button.
    This is what the Reconcile? button does:
             It colors the background of the selected row Red - just to indicate all rows which have already been selected (because reconciliation has to be
             done one row at a time).
             Then it opens the Internal Reconciliation screen in SAP B1 to allow the user to reconcile his items.
    Ideally, I should color the  selected row Red only after the user has done his reconciliation.
             If he decides not to proceed, he can cancel, and the selected row will not be colored red.
             But I don't know how to do this. (Is it possible???). So I color the selected row assuming the user will proceed with the recon.
    Can anyone tell me if I can fire my program (color the background red) only if the user clicks the reconcile and OK buttons in SAP B1?
    Thanks
    Leon Lai

    Hi Pedro,
    Your VB.NET code finally runs without syntax error.
    However, I still have a problem. The program does not behave as intended.
    See the attached picture.
    And my code is below.
    I am sure you are very near the correct solution.
    So, please tell me what is not working in my code.
    I notice you have removed the lines concerning Handler. Is this the problem?
    My objective is to display the Reconciliation Completed MsgBox (or row coloring in the real project) if the Reconciliation is successful.
    Best Regards,
    Leon
    Option Strict Off
    Option Explicit On
    Module SubMain
        Friend WithEvents Action As ABC = New ABC()
        Public Sub Main()
         Action.Reconcile()
        End Sub
        Private Sub OnReconcileComplete(ByVal sender As Object, ByVal e As EventArgs) Handles Action.ReconcileComplete
            MsgBox("Reconciliation completed")
        End Sub
    End Module
    Dim BPForm2 As SAPbouiCOM.Form
    Public Event ReconcileComplete As EventHandler
        Private Sub RaiseReconcileComplete(ByVal e As EventArgs)
            RaiseEvent ReconcileComplete(Me, e)
            '//Dim Handler As EventHandler = Me.ReconcileComplete
            '// If Not Handler Is Nothing Then
            '//  Handler(Me, EventArgs.Empty)
            '// End If
        End Sub
        Public Sub Reconcile()
            SBO_Application.ActivateMenuItem("9459")
            '// 9459 = Modules -> Business Partners -> Internal Reconciliations
            BPForm2 = SBO_Application.Forms.ActiveForm
            Dim oCode As String
            oCode = "LV10010"
            Dim oBPCode As SAPbouiCOM.EditText = CType(BPForm2.Items.Item("120000008").Specific, SAPbouiCOM.EditText)  ' 120000008 = Business Partner Field
            oBPCode.Value = oCode
            BPForm2.Items.Item("120000001").Click()
            RaiseReconcileComplete(New EventArgs())
        End Sub

  • Travel Managment    (SAP badi trip_post_fi)

    Hi Everybody, thanks for reading this.
    in the company want the tropicalization of travel module in all countries where company have operation.
    But my problem is that we need witholding tax, but in the travel module can´t make that configuration, so i found
    this Badi badi trip_post_fi, and serch in SAP. and the badi said:
    In the case of withholding tax, as it is not possible to perform the tax calculation in FI using the withholding tax procedure meaning that any withholding tax configuration (which is not delivered in standard release) is subsequently ignored during the posting process involving transaction PRRW and PRFI. The only possibility of a workaround therefore is the BAdI BADI_TRIP_POST_FI which allows you to manipulate the posting run (such as tax codes etc at header level) and it is advisable to consult the BAdI documentation in SE18 and SAP Help.
    You would then need to ensure that every posting document posted by PRRW with FB02 has the manual input of the witholding tax sign.
    so if anybody know how to d a change in the bapi?
    for this case i will be grateful.
    regards

    Hi Hector,
    sorry but I'm not in the details of withholding tax. But if you have a good programmer she/he can tell you if this "change to standard" is possible in this Badi. (Badi is nothing else then a user exit - means you can enter your own coding to get the needed result).
    Best regards, Sigi

  • Training & Event Mgt (SAP Learning Solution- Delevery Method)

    Hi,
      We have recently upgraded from SAP 4.6c to ECC 6. And now we are implementing Training & Event Mgt. But to create new delevery method for BE, I think we have to go through SAP Learning Solution.
    But problem is that the node for "SAP Learning Solution" is not showing up neither in Easy Access or SPRO. Have any one any Idea why?
    Is it required to be installed separately. what is the procedure, please suggest.
    Regards
    simanta

    Simant,
    None of the enhancement packages of SAP is free of cost. LSO is one of the expensive module of SAP HR. Your client has to buy the license and no. of users account. Of course you will not be able to use any functionality without buying that module. It has to be activated in table T77S0. Updating tables LSOTFORMP_C" & "LSOTFORM_C", will not help. Anyways you can specify the delivery method in training and event management module itself, you dont have to buy LSO for that.
    Sanghamitra

  • Help for SAP BADI in 6.0 and Enhancement 6.0

    I need help links for BADI and Enhancement in 6.0.
    As well can anybody tell me about after creating a BADI in se18 how we can implement it with any standard program of SAP?
    Message was edited by:
            Moni Bindal

    Hi,
    Implementing Business Add-Ins (BADI)
    The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
    Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
    inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
    as a function module with the same import and export parameters and follow the simple instructions below.
    Steps:
    1. Execute Business Add-In(BADI) transaction SE18
    2. Enter BADI name i.e. HRPBSGB_HESA_NISR and press the display
    button
    3. Select menu option Implementation->Create
    4. Give implementation a name such as Z_HRPBSGB_HESA_NISR
    5. You can now make any changes you require to the BADI within this
    implementation, for example choose the Interface tab
    6. Double click on the method you want to change, you can now enter
    any code you require.
    7. Please note to find out what import and export parameters a
    method has got return the original BADI definition
    (i.e. HRPBSGB_HESA_NISR) and double click on the method name
    for example within HRPBSGB_HESA_NISR contract is a method
    8. When changes have been made activate the implementation
    just refer to the link below. it will of great help to u.
    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
    Regards

  • Creating certificate in ms-word for training and event management  sap hr

    hi, everybody, i used ole programming,to create certificate for attendee but i need to save in perticular directory,but all files are opening ,could anybody tell how to save in a perticular directory instead opening every file.

    upgraded SAP Frontend from 4.6c to 4.6d.

  • How to create new business events in SAP?

    Hello my name is Karen I am new in the HR department.
    Althought I work in HR Im also the training coordinator. My organitation is a new company and we are just implementing SAP.
    During the whole 2013  none of the courses given were upload to SAP. I need to upload all of them. I have not use SAP. I have a cupple of question.
    What transactions to use in order to upload the courses we have offered and the participants?
    Is there a way we can upload massively?

    Hi
    you can crete Transaction code in Transaction SE93.
    To create a transaction code:
    Enter a transaction code (up to 20 characters).
    Choose Create.
    A dialog box appears. Enter a short text and choose the transaction type.
    The transaction type can be as follows:
    Dialog Transactions
    Report Transactions
    Object-Oriented Transactions
    Variant Transactions
    Parameter Transactions
    In a report transaction, you use a transaction code to start an executable program (type 1). An executable program usually has three steps - data entry (selection screen), data processing (often using a logical database ), and data output (list).
    To create a report transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and selection screen (report transaction).
    When you define a report transaction, you can specify the selection screen and variant with which you want it to start.
    You can also protect the report transaction against unauthorized use. To do this, enter the name of an authorization object in the corresponding field.
    Dialog Transactions
    In a dialog transaction, the flow of the program is determined by a sequence of screens. The screens that are called within a transaction should belong to a single ABAP program, usually a module pool (type M program).
    To create a dialog transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Program and screen (dialog transaction).
    You can create transaction codes for Custom query;s created using SQVI also
    Thanks & Regards
    Kishore

  • Call event in SAP Query SQ01

    Hi All,
    I have a query in SQO1 which I run displays the following :-
    Purchase Order                    Material
    45000000082                       EB12345679
    Now what I want is when I double click the PO it should automatically go to ME23N and if I double click the material it should go to MM03.
    Please can you bear in mind that this is a query via SQ02 where I will be adding the code you provide not SE37 so please make sure the coding reflects this.
    Points will be awarded
    Thanks

    Hi,
    I dont think that ALV double click can be handles via SAP query. One possibility is that you can modify the report program that SAP generates for the query. Change the program to handle the double click evet on the ALV grid and call transaction ME23n using the PO number on the line selected.
    Regards
    Ajith

Maybe you are looking for

  • Is it possible to have Flash open the menu when you right click a link?

    I'm using sIFR 3 on a few of my websites. Personally I think it's a really cool and nice solution. I have had no issues with it so far except what I've recently discovered. When you right click on a link (or control click on a mac) it should have the

  • Server crashes in VC Report (BPM reporting services) 503 Unavailable

    Hello All We are facing a problem when try to access a VC Report. In the most cases, when I define filters in the Form filter zone of my report and push the event button (submit), the query hangs and the server crashes whit "Out of Memory" error. Do

  • How to default info update ticked in RFQ and PO

    Dear SAP gurus, In RFQ and PO we are having an indicator for info update. If we activate this indicator, when we create RFQ and PO, this will update the info record. Currently in my system the default is blanked/unticked. Is it possible to make it de

  • How to retrieve cr2 files on iMac

    I have Uploaded canon cr2 files from iPad to iCloud via photo stream. Unfortunately my iPad was restored. how do I retrieve the original cr2 files on my iMac?

  • Repository Browser not working

    I've run OWB Listener and then started OWB Browser. In the browser it shows: https://127.0.0.1:8999/owbb/RABLogin.uix?mode=design&def_host=&def_port=1521&def_service=&def_net_service= but it can't display a page. What can be wrong? I'm a complete beg