Programmatically triggering an event

Can an event that has a latching button be triggered programmatically?

No you cannot use the value property node for a button which has latching machanism.
The best solution is the one you find it by yourself

Similar Messages

  • 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

  • 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

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

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

  • Triggering an event with a digital input

    Hello all,
    I'm writing my first Labview program.  I used an architecture I found on the forums here, and it has been very helpful in getting me started.  This architecture uses two while loops, one containing an event structure and one containing a case structure.  (This is a queued state machine architecture, I believe).
    Part way through the programming, we decided we needed a sensor to make sure the part was in the test fixture during the test.  If the part is removed during the test, we'd like to safely stop the test.  So basically, I need to monitor a digital input (on an NI-USB-6525 module) and enter the "Stop" case if the digital input turns off.  I would also like to make sure this digital input is on before entering the "Start" case.  I don't care if the input changes state when the test is not running, nor do I care about its state during the "Exit" case.
    I'm really not sure how to add this functionality to my "stop" case.  I don't even know if it's possible.  I've been researching DAQmx events, but I haven't found an example or answer that aligns with my particular problem. 
    I've attached my code.  It's incomplete right now - I still have a large number of steps to add.  I wanted to get this issue figured out before I programmed any more steps.  A preview of the code showing the basic architecture is shown in the picture below.
    Does anyone have any ideas or suggestions for me, or questions if my problem is unclear?  Also, if you see anything else in my code that will be problematic, please let me know.
    Thanks in advance!
    Attachments:
    Main_Loop_072412.vi ‏195 KB

    I should also add that I looked into event dynamic registration, but it seemed incompatible with my issue.  I don't want my top loop to run only when an event triggers it - I want it to run all the time so that it can immediately respond to button presses. Also, most of the triggering I found was based on value change.  I care about the actual value, not just that it changed.
    I don't want to do anything that will bog the code down too much since it is important that the system respond immediately to inputs, especially to the stop or exit button presses.
    I'm sure I am missing something very basic here.  I'm used to ladder logic, where everything is simple and straightforward. 

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

  • Bathc Job Triggered by Event

    Hi All,
    I have a program which updates the product allocation. What i want to happen is the ability to set up a batch job based on an event. This event will be a change in certain fields in customer master like sale district, sales group, sales office etc. Is this scenario possibel? If yes, then how can i implement this?
    Thanks in advance!
    Jim

    Hey,
    Raising the event in the user exit might be a bit risky as the job will be triggered even if the update task fails.
    I would suggest using workflow to meet your requirement. Switch on the event trace using SWELS and change the customer. Check the event trace using SWEL and then use the events, if any to start a workflow task.
    This workflow task should have the logic to create the event which will fire the job OR You could also write the logic to start the job in the workflow task.
    Business object related to customer are
    KNA1       Customer            
    KNB1       Company code customer
    KNVV       Customer sales area 
    If SWEL does not display any events then you might have to create a custom event for one of the above objects and trigger this event using change documents.
    -Kiran

  • Write an ABAP program in BW which triggers an event in R/3

    Hello People
    Method: I need to create a Process Chain in BW for info package loading. In the PC, after the loading occurs, I need to write an ABAP program which has the FM: RSSM_EVENT _RAISE , which triggers a pre-defined event in R/3.  This event in turn triggers a 'z' program in R/3.
    Now, I know that we can use SM62 in R/3 to create the event. But how and where do i need to write the abap code in BW. And do i just place it in the PC after the loading process? Do i need to inculde the FM in the ABAP code? Does the FM know the server in R/3 ( DEV or QA or PROD ) where it needs to trigger the event? And how do i schedule the 'z' prog, so that it starts after the event?
    Please help.
    Thanks in advance.

    Create and rfc function module in r/3 in which code you trigger the event, created in r/3 too.
    You can, and should to do it, include a report as step in your process chain in order to trigger event at finish of process chain.
    Here a sample
    r/3 side.RFC function (get and trigger event)
    FUNCTION Z_RAISE_EVENT.
    ""Interfase local
    *"  IMPORTING
    *"     VALUE(EVENTID) TYPE  TBTCO-EVENTID
    *"  EXCEPTIONS
    *"      BAD_EVENTID
    *"      EVENTID_DOES_NOT_EXIST
    *"      EVENTID_MISSING
    *"      RAISE_FAILED
    *"      OTHERS
      CALL FUNCTION 'BP_EVENT_RAISE'
        EXPORTING
          EVENTID                      = EVENTID
        EXCEPTIONS
          BAD_EVENTID                  = 1
          EVENTID_DOES_NOT_EXIST       = 2
          EVENTID_MISSING              = 3
          RAISE_FAILED                 = 4
          OTHERS                       = 5
      CASE SY-SUBRC .
        WHEN 1.
          RAISE BAD_EVENTID.
        WHEN 2.
          RAISE EVENTID_DOES_NOT_EXIST.
        WHEN 3.
          RAISE EVENTID_MISSING.
        WHEN 4.
          RAISE RAISE_FAILED.
        WHEN 5.
          RAISE OTHERS.
      endcase.
    ENDFUNCTION..
    BW side.Report to call previous rfc function
    REPORT  Z_RAISE_EVENT                           .
    parameters: EVENTID like TBTCO-EVENTID.
    parameters: destino like RFCDES-RFCDEST.
    parameters: test as checkbox default 'X'.
    IF TEST EQ SPACE.
      CALL FUNCTION 'Z_RAISE_EVENT'
        DESTINATION DESTINO
        EXPORTING
          EVENTID                      = EVENTID
        EXCEPTIONS
          BAD_EVENTID                  = 1
          EVENTID_DOES_NOT_EXIST       = 2
          EVENTID_MISSING              = 3
          RAISE_FAILED                 = 4
          OTHERS                       = 5
      CASE SY-SUBRC .
        WHEN 1.
          RAISE BAD_EVENTID.
        WHEN 2.
          RAISE EVENTID_DOES_NOT_EXIST.
        WHEN 3.
          RAISE EVENTID_MISSING.
        WHEN 4.
          RAISE RAISE_FAILED.
        WHEN 5.
          RAISE OTHERS.
      ENDCASE.
      ENDIF.

  • BUS2013 doesn't triggered for event RELEASED OR RELEASSTEPSREATED

    Hello All
    1.  I have created workflow for BO BU2013 - event RELEASED
    2. When I test this workflow form PTFC or SWEU it works perfect and,
       after testing by SWEU, I see traces in SWEL as properly triggered and worked workflow,
    3. When I really release any "purchase scheduling agreement"  using ME35L there isn't any triggered process
       in  SWEL for BUS2013, but  there is process related for BUS2014 for object of "purchase scheduling agreement"
       that I released and this process is with error of course.
    Please, advice,
    regards,
    Daniel.

    Hi,
    I guess you are using "Document category" "K"( it should be "L") in transaction ME35L..
    So the documents you are releasing are realted to BO BUS2014...
    Either your documents are wrong or your workflow design requires change...
    Regards
    Gautam

  • Process chain is not triggering through event after BW Upgrade

    Many of our process chains are event based.
    After BW upgrade 7.0  to BW 7.31 we tried to trigger the event through  SM64 Tcode. But the process chains are not getting triggered.
    Could anyone please guide me what might be the issue.

    Hi Bharan,
    Can you please check once the start variant of process chain which are based on event.I think it should trigger after event is triggred.
    Regards,
    Ganesh Bothe

Maybe you are looking for

  • Is Flex right for me and my project? Developers sought

    Sorry for the long post. I want to know if Flex/Apollo would be a good platform for the following project. There's also a question of how to store the data, but it will almost certainly be XML. Briefly, here are the questions, with more background to

  • Need Lacie LightScribe labeler software for Mac

    I just purchased a Lacie LightScribe DVDRW with USB 2.0, and the lame people at Lacie decided to not give me a copy of their Lacie lightscribe software (after I kindly asked them) even though it would (according to them) work perfectly well with my U

  • How do I delete a mailbox setting from my Nokia 58...

    Hello! When trying to set up a mailbox sync with Outlook, it didn't work and I now have a mailbox set up I'd like to delete.  Only trouble is I don't seem to be able to.  When I followed the guidelines which I have copied below, I don't have the opti

  • Do you know how to 'find' a word on a regular webpage using ipad air?

    I use this function on my MacBook all the time by pressing 'command + F'. Is there any way to do this on iPad Air? On this page there is a search area in the top right corner to 'find' words on this page, but on a regular webpage, this search area do

  • Macbook Pro w/Retina Display HDMI Issues

    I am running on OS X Version 10.8.2 i bought an HDMI cable from apple plugged it up to the HDTV in my office and it doesn't work. Either there is a blacnk screen on both with an enlarged cursor or  the image above. I've tried the "Detect Display" fix