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.

Similar Messages

  • 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

  • Info Package Group Management? and Triggering of Event Chains ?

    Hi GURU's
    Info Package Group Management? and Triggering of Event Chains ?
    Thanks
    Bhima Chandra Sekhar G

    Hi Bhima!
    IP GROUP:
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65b5e07211d2acb80000e829fbfe/content.htm
    About chains and triggering events:
    http://help.sap.com/saphelp_nw04/helpdata/en/41/243d3828135856e10000009b38f842/content.htm
    Hope it helps!
    Bye,
    Roberto

  • Need help On Triggers/Change pointers in SAP

    Hi Experts,
    I Need help On Triggers/Change pointers in SAP.
    I have a requirement  as soon as an entry is created in one of the  Standard SAP  table it should check against my Ztable and update and create the corresponding entry in another Ztable.
    Can some one help me out on this with the syntax and how to do it

    Hi,
    Check whether you have any enhancement option (BADI, user exit, Customer enhancement etc) in the program which is used to save the data in the SAP standard table. If so, then try to write your code in that appropriate enhancement.

  • How to populate dropdown without triggering PAI event ?

    Hi,
    I have a screen with two fields- One input field and one drop down list field which has to be populated based on the value given in the first field. 
    How can I populate the drop down list dynamically based on first input field without pressing enter ( i.e with out triggering PAI event ) .  I tried using DYNP_VALUES_READ in value request event.
    Please give me your suggestions .

    Hhhhmm, I thought initially it should work, but I must admit I couldn't get it to work with a listbox. I just tried a simple report with selection screen, see below. Just enter something for the first parameter and then choose the value help for the second field. You will see that it will pick up the value from the first field, if we don't use a listbox.
    Once you comment in the coding the LISTBOX and replace it with the normal field, you can see that the value help works as one would hope. It seems that the problem is that the values for the dropdown list get populated too early (i.e. start-up of the report). I don't have the time at the moment to check this out further, but I'm assuming others must have tried this before. Any comments?
    REPORT zvaluehelp.
    PARAMETERS:
      p_statva TYPE stacust-statva,
      p_status TYPE stacust-status AS LISTBOX VISIBLE LENGTH 3. " Doesn't work
    *  p_status TYPE char1. " Value-help works for this
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_status.
      PERFORM value_help.
    FORM value_help.
      DATA:
        dynpread TYPE dynpread,
        dynpread_tab TYPE STANDARD TABLE OF dynpread,
        stacust TYPE stacust,
        stacust_tab TYPE STANDARD TABLE OF stacust.
      dynpread-fieldname = 'P_STATVA'.
      APPEND dynpread TO dynpread_tab.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                   = sy-repid
          dynumb                   = sy-dynnr
          perform_conversion_exits = 'X'
        TABLES
          dynpfields               = dynpread_tab
        EXCEPTIONS
          OTHERS                   = 1.
      CHECK sy-subrc = 0.
      READ TABLE dynpread_tab INTO dynpread INDEX 1.
      CHECK dynpread-fieldvalue IS NOT INITIAL.
      SELECT * FROM stacust INTO TABLE stacust_tab
               WHERE statva = dynpread-fieldvalue.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          ddic_structure = 'STACUST'
          retfield       = 'STATUS'
          dynpprog       = sy-repid
          dynpnr         = sy-dynnr
          dynprofield    = 'P_STATUS'
          value_org      = 'S'
        TABLES
          value_tab      = stacust_tab
        EXCEPTIONS
          OTHERS         = 0.
    ENDFORM.
    The coding above was just intended as a quick test - so I know it's not proper (i.e. check of return codes, etc.).
    Cheers, harald

  • Triggering an event when the new  AIR application installation has done for first time in machine

    I am installing AIR application from web page by using a badge.Is it possible to call a function once the installation of AIR app was finished[once we click finish button in the installer] to update the AIR application version dynamically inside our code.If so please share. Any suggestion would be appreciated.

    Hi Rizwana,
    So as you said that you had created a event linkage between change document object and Business object you can now switch on the event trace SWELS and go to the particular transaction by which the event of this Business  Object gets triggered ( the event you mentioned in SWEC). Switch of the event trace (SWELS) and check the Business object that had triggered in SWEL transaction.
    Hope this would help you.
    Any clarification.. then please revert back.
    Good luck
    Narin

  • Checking who triggered an event

    We have a process chain that runs by event, but somehow today it was triggered and the start event is still set to run by event.  Is there a way to find out who triggered the event in SM64?  Or who last raised a job to trigger the process chain?
    mark

    Hi Mark,
    Check in SM37. It should give you a starting point. Also talk to Basis, they might be able to help you with the person who triggered ythe event ot the job.
    Cheers,
    Arun

  • How create mail alert without triggering the event.

    1.     SR 3-4924626351: How create mail alert without triggering the event.
    We wanted to send alert mail every 10 days or 15 days or 1 month to a reporting manager of Opportunity Owner with details of that Opportunity. I don’t want to use any triggering of event like the Following. When new opportunity is created When modified Opportunity is saved etc.

    Raju,
    If you don't want to use the triggering event, you will have to do this manually.
    Manually:
    - Create a Web Link on the SR with and embed the mailto: function with the receivers email and subject and body embedded in the url (you can find this link on Google)
    - When this link is clicked, an email window will open with all the details you provide, and you can click the send button to send the email.
    - You will have to do this manually every 10-15 days or whatever is the duration
    Auto:
    - Create a time based workflow on a new Opportunity Created event
    - create a action to send an email notification to the concerned person (details in the workflow properties)
    - This workflow will auto send an email every 10-15 days to the opportunity Manager.
    The time based workflow is the best option I see. Do you see any issue/ concerns with auto generated emails?
    Hope this helps!
    Royston

  • 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

  • Interactions, triggers and events that can work in PDS

    I have been trying to make interactions, triggers and events in Edge animate and then use them in Indesign
    - publish to DPS.
    I don't think I really managed to make any of them work.
    Is there anyone who knows what kind of interactions, triggers or events that are supported
    in both programs and do actually wotk?
    Thanks
    Guy

    I am not sure of the limitations, if any, what version of Indesign are you using? It could be a version conflict.
    I just did a simple test (Edge 2 / In CC) with simple click event triggers and it worked fine.
    Also in open Indesign > Window > Folio Overlays and make sure Allow User Interaction is checked.
    Darrell

  • BP_CONFIRM does not triggers the event properly from call list

    Hi expert,
    We have upgrading CRM 5 to 7.
    The issue is. In the IC_AGENT role. When i got to call list and select a call. The corresponding bp is automatically conformed.
    But then when i go to Account identification navigation link i can only see the bp confirmed. the vehicle  info of the BP are not displayed the view remains the same. normally it displays the vehicle details in the result view.
    If i directly search for a BP and conform it all the vehicle detail are displayed in the result views.
    It happens only when a BP is automatically conformed by selecting from the call list.
    But in both the cases the Method  "CL_CRMCMP_B_CUCOBUPA_IMPL->BP_CONFIRM" is triggered ( it is a customer control in CRMCMP_BPIDENT/CuCoBuPa )
    the difference i can find is.
    if i conform a bp manually from the account identification screen. the CL_ICCMP_AU_VEHISEARCH_IMPL->IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT is triggered. ( which is inside the "ICCMP_AUTO_VEHI/VEHISearch" ) which displays the required view.
    but when the same BP_CONFIRM is triggered automatically from the call list management view it is not triggering CL_ICCMP_AU_VEHISEARCH_IMPL->IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT. ( which is inside the "ICCMP_AUTO_VEHI/VEHISearch" ).
    so i can see the difference in the event listeners of the 2 process.
    below is the piece of code which triggers the event. it is in the method "CL_CRMCMP_B_CUCOBUPA_IMPL->BP_CONFIRM" d ( it is a customer control in CRMCMP_BPIDENT/CuCoBuPa )
    raise event BPConfirmed and/or CPConfirmed
        IF lv_bp_confirm EQ abap_true.
          CLASS cl_crm_ic_services DEFINITION LOAD.
          CREATE OBJECT event.
          event->set_name( if_crm_ic_events_con=>gc_bpconfirmed ).
          event_srv = cl_crm_ic_services=>get_event_srv_instance( ).
          event_srv->raise( event ).
        ENDIF.
    Can any one help me how to register  the event or trigger the CL_ICCMP_AU_VEHISEARCH_IMPL->IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT is triggered. ( which is inside the "ICCMP_AUTO_VEHI/VEHISearch" )
    when i click on call list.
    thanks in advance
    chella.

    Hi expert,
    We have upgrading CRM 5 to 7.
    The issue is. In the IC_AGENT role. When i got to call list and select a call. The corresponding bp is automatically conformed.
    But then when i go to Account identification navigation link i can only see the bp confirmed. the vehicle  info of the BP are not displayed the view remains the same. normally it displays the vehicle details in the result view.
    If i directly search for a BP and conform it all the vehicle detail are displayed in the result views.
    It happens only when a BP is automatically conformed by selecting from the call list.
    But in both the cases the Method  "CL_CRMCMP_B_CUCOBUPA_IMPL->BP_CONFIRM" is triggered ( it is a customer control in CRMCMP_BPIDENT/CuCoBuPa )
    the difference i can find is.
    if i conform a bp manually from the account identification screen. the CL_ICCMP_AU_VEHISEARCH_IMPL->IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT is triggered. ( which is inside the "ICCMP_AUTO_VEHI/VEHISearch" ) which displays the required view.
    but when the same BP_CONFIRM is triggered automatically from the call list management view it is not triggering CL_ICCMP_AU_VEHISEARCH_IMPL->IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT. ( which is inside the "ICCMP_AUTO_VEHI/VEHISearch" ).
    so i can see the difference in the event listeners of the 2 process.
    below is the piece of code which triggers the event. it is in the method "CL_CRMCMP_B_CUCOBUPA_IMPL->BP_CONFIRM" d ( it is a customer control in CRMCMP_BPIDENT/CuCoBuPa )
    raise event BPConfirmed and/or CPConfirmed
        IF lv_bp_confirm EQ abap_true.
          CLASS cl_crm_ic_services DEFINITION LOAD.
          CREATE OBJECT event.
          event->set_name( if_crm_ic_events_con=>gc_bpconfirmed ).
          event_srv = cl_crm_ic_services=>get_event_srv_instance( ).
          event_srv->raise( event ).
        ENDIF.
    Can any one help me how to register  the event or trigger the CL_ICCMP_AU_VEHISEARCH_IMPL->IF_CRM_IC_EVENT_LISTENER~HANDLE_EVENT is triggered. ( which is inside the "ICCMP_AUTO_VEHI/VEHISearch" )
    when i click on call list.
    thanks in advance
    chella.

  • 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.

  • About triggering of events

    HI Gurus,
    Can any body send CRM action event step by step procedure to me plzzz.
    Its very urgent..
    Wanted to know whether it is a badi extension….in crm..
    And how the function module assigned in Crmv_event  is getting triggered….
    Thanx in advance.
    Regards,
    simy

    > hii again,
    > what i found out was that CRMV_EVENT is just acting
    > as an event handler.
    > This could be used only for transaction datas not
    > master data...
    > ie BP etc.
    there is something like crmv_event for BP; it s the transaction bus7.
    [http://help.sap.com/saphelp_crm50/helpdata/en/4b/0e643aac0d952de10000000a11402f/content.htm]
    hope it helps.
    Regards.

  • Creation of a purchase order triggers the event ReleaseStepCreated twice

    Hello,
    I tried to use the standard workflow for the approval of a purchase order and noticed that i am receiving twice the same mail.
    As you know, the workflow is triggered by the event ReleaseStepCreated. After I created a purchase order, i saw that the event is triggered twice, so that is why i am receiving two emails.
    I believe this is wrong, Has anyone noticed this problem?
    Thanks,
    Efren

    Hello,
    The event linkage contains only one record, which is the one that connects my workflow to the event. This is not the cause.
    What do you mean by delegations? Are you talking about delegated objects? If yes, i do not have any.
    I looked in transaction SWEC(events for changed documents), and i guess i found the cause. There is a record with change doc. object EINKBELEG with the event ReleaseStepCreated of the object BUS2012. It has the trigger event "On Create", and in the Function Module, in Event Container it has function FRE_ORD_EVENT_PO_DB.
    I removed this record and now the event RELEASESTEPCREATED is triggered only once, so i think it is ok.
    I guess this record existed before there. Do you have that record with the function module FRE_ORD_EVENT_PO_DB?Or do you know what is the use of this function?

Maybe you are looking for