RE: Transaction Covers 2 events??

You can use TransactionHandle object :
when <pbStart>.Click() do
Transaction.BeginDependent();
when <pbCommit>.Click() do
Transaction.CommitDependent();
Look at Fort&eacute; help file what it says about TransactionHandle object.
I Hope this helps you.
Steve Roeckel Cap Gemini France
Programmer analyst North-East Division
ONS-RAD Skill Group
Home phone : 03.83.27.35.98 (answerphone)
Work phone : 03.83.93.26.26 (p. 696) /\||||/\
E-Mail : [email protected] //|_ .|\\
------------------------------------oOOo-| \ |--oOOo-
De : Alex Lee[SMTP:[email protected]]
R&eacute;pondre &agrave; : Alex Lee
Date : vendredi 22 janvier 1999 12:10
A : Forte User Group
Objet : Transaction Covers 2 events??
Hi, All
I am new to Forte just finishing 1 month's training.
Would any one give a hint How to do transaction which covers 2 events?
For example: if I click button START, then start transaction
then If I click button Commit, then end transaction.
How can I do this?
Thank you for your help.
Regards
Alex
Carpe Diem, Seize the Day !
Alex Lee (Li Zhongling)
Forte, Java/CORBA Group
International Business Corporation
Bangalore 560010, India
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Hi Venkat,
what is understand from your error messages are
1. The status profile is not configured properly or assigned.
2. The subject profile is not configured properly or assigned to the transaction type.
3. You need to enter an activity partner in the transaction and even if you do not enter the trnsaction saves with error.
4.You have maintained the text as mandatory and you did not enter any text in that area.
I still did not undersatnd your partner function ORG field!!
You meant that you are not able to get the org unit determined in the transaction or what?
Please if you can be more clear as to what your are trying to do and what your requirement is then the forum will be quick to help you.
Thanks
Srini

Similar Messages

  • Transaction Covers 2 events??

    Hi, All
    I am new to Forte just finishing 1 month's training.
    Would any one give a hint How to do transaction which covers 2 events?
    For example: if I click button START, then start transaction
    then If I click button Commit, then end transaction.
    How can I do this?
    Thank you for your help.
    Regards
    Alex
    Carpe Diem, Seize the Day !
    Alex Lee (Li Zhongling)
    Forte, Java/CORBA Group
    International Business Corporation
    Bangalore 560010, India
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Right.  That is exactly what I need to do.  How do I make the rollout of one button independent from the rollover of another button?  When I create a button (symbol), are there built-in "over' "out" "click" values that I need to fill in?  Right now I am just pointing to frames...

  • How to find the code in standard transaction from where event is trigered

    I have a configuration in SWEC, to trigger an event, when a PR is change
    For the Transaction ME52 (Change Purchase requisition), I want to go to the portion of the code, from where the function module for triggering the event is executed.
    I have learnt that F.Ms for trigerring events programatically are
    1.  SWE_EVENT_CREATE.
    2.  SWE_EVENT_CREATE_IN_UPD_TASK.
    3.  SWE_EVENT_CREATE_FOR_UPD_TASK
    So, I tried debugging the transaction ME52 by setting breakpoints at the following function modules.
    1.  SWE_EVENT_CREATE.
    2.  SWE_EVENT_CREATE_IN_UPD_TASK.
    3.  SWE_EVENT_CREATE_FOR_UPD_TASK.
    But none of these were encountered.

    Hi Sameer,
    Why not follow the reverse approach! First check the event getting triggered and then move backwards to the source of triggering the event.
    Activate event trace from SWELS and then check the event getting triggered in SWEL.
    I doubt if putting break-points in the FM would help...
    Check if the event is being triggered by the BO method.
    You can check the where-used list of the method and find out the source of the event triggering.
    Hope this helps!
    Regards,
    Saumya

  • How to call external application (transaction launcher) from event method

    Hi all
    Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
    Best regards
    Arne Thage / MarchIT / Denmark

    hi,
    check class CL_CRM_UI_LTX_NAVBAR_PARAM.
    call method : CREATE_PARAMETER_OBJECT with parameters
    IV_LINK_ID     Importing     Type     CRMT_UI_LOGICAL_LINK_ID                                                                                Logical Link ID
    IV_PARAMETER     Importing     Type     CRMT_UI_LINK_PARAMETER                                                                                Link Parameter
    RV_RESULT     Returning     Type Ref To     IF_BOL_BO_PROPERTY_ACCESS                                                                                BO Attribute
    I think it should work but have never done myself.
    Best Regards
    Pankaj Kumar

  • Invoking Transaction Launcher in Event Handler

    Hi,
    My requirement is to invoke transaction launcher on click of a button. I am invoking transaction launcher using the following code in my event handler.
    DATA : lr_navigation TYPE REF TO if_crm_ui_navigation_service,
    lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
    CHECK lr_navigation IS BOUND.
    lr_navigation->navigate( iv_link_id = 'LOGICAL_LINK_ID' ).
    Now, the transaction launcher is invoked with click of a button. However, this requires me to assign logical link to navigation bar profile and make it visible to the business role I am using. Meaning that, this logical link will appear on the navigation bar which I dont want. If I make this invisible for the business role, then the above code does not work.
    Is there any solution for this ?
    Regards

    Hi,
    If you are trying to launch an URL based Transaction using Tx launcher on button click. This code will help. You can write it in the Event handler of the button.
    DATA: lr_data_collection   TYPE REF TO if_bol_bo_col,
            lr_ltx_val_node      TYPE REF TO cl_bsp_wd_value_node,  
            lr_ltx_data          TYPE REF TO crmt_ic_ltx_id_desc.                                        
        CREATE DATA lr_ltx_data.
        CREATE OBJECT lr_ltx_val_node
          EXPORTING
            iv_data_ref = lr_ltx_data.
        CREATE OBJECT lr_data_collection
            TYPE
              cl_crm_bol_bo_col.
        lr_data_collection->add( lr_ltx_val_node ).
        lr_ltx_val_node->if_bol_bo_property_access~set_property(
                  EXPORTING
                      iv_attr_name = 'LTX_ID'
                      iv_value  = 'xxxx' ).
        lr_ltx_val_node->if_bol_bo_property_access~set_property(
                  EXPORTING
                      iv_attr_name = 'DESCRIPTION'
                      iv_value  = 'xxxxxx' ).
        me->view_manager->navigate( source_rep_view = me->rep_view
                                data_collection = lr_data_collection
                                outbound_plug   = 'xxx' ).
    Before that you need to create a component usage of component UICMP_LTX and create a navigation link to be used to pass to the outbound plug.
    Regards,
    Masood Imrani S.

  • Transaction PSV2-business event type-abbreviation search term doesnt work

    hello masters,
    could someone knows how to solve this strange thing...In production machine i have two users that cant search in tcode PSV2 for event type in abbreviation separator... in dev and quality machines works, i already try to find differences between users in two systems but they are equal,,,
    if someone know some way to solve this or a hint i appreciate
    regards and thanks in advance

    Hi Mio Campos,
    Please check SU53 directly after search attempt.
    Maybe there exists an authorization lack you're missing.
    Regards,
    Dilek

  • Log Messages from Transaction Event Logger

    I have 4 instances of MII v12.1 and within a transaction I want to add a message to the log when the transaction runs so I can view it through the message logger. All 4 MII instances were installed by the same consultant a few years ago so there "should" be no differences in the log configs. On 3 of the instances this is working fine - I have created a very simple transaction with one Event Logger action configured with a message "Test Message" and when I execute the transaction I see the correct entry in the log viewer. On the fourth however, although the transaction executes without error I am not seeing anything in the viewer for this event. I am using the standard "last 24 hours" log viewer with no filters and no specific log locations selected, and no customisations. I am seeing other system generated messages. I found some documentation about logging and the viewer and I found the Netweaver log config but as far as I can see it looks consistent between the instance which is working and the one which is not working. Is there some other config which needs to be done to enable Event Logging from transactions? My user has the same access across all instances. Any guidance would be appreciated. I attach a screen shot of what I am expecting to see (taken from one of the instances which is working).

    Hi Partha
    Many thanks for your reply. I have tried this and unfortunately it makes no difference. I also checked on the other instances and found they have their tracing levels all set to error, not Info. I have also noticed that on the instance which is working, in the System Configuration section at the bottom of the Log Config page - for Applications and all sub categories I see the entry .\log\applications_00.log in the Pattern column. On the instance which is not working I see that entry for the Applications root but not for any of the sub categories (even after selecting Copy to subtree). I cannot see where I can set this value (there is no modify function available, even under Administrator login).
    Also, when I look at the log messages which have generated when setting the Event Type to Error on the instance which is not working, it shows one entry and the Category and Location columns show <com.sap.xmii.bls.executables.action.logging.LoggingActions>. When I generate an event with type Error on the instance which is working I get 2 log messages, one with the Category and Location <com.sap.xmii.bls.executables.action.logging.LoggingActions> and the other with Category /Applications/XMII/Xacute/Event and Location <com.sap.xmii.bls.executables.action.logging.LoggingActions>.
    I guess that the .\log\applications_00.log should be showing for all subtree items under Applications and because it is not then the messages are not going into any application log. Not sure how to fix this however.
    I have also reset to the default configuration and it does not change the above.
    Best Rgds
    Richard

  • Non-Transacted Event Generator w/ MQ as Foreign Provider - EJB:010158

    We have configured an event generator to listen to a WebSphere MQ queue. When an xml message that matches the schema is posted to the MQ queue the event generator pulls that message off and kicks off workflows. Although when that message does not match the schema the event generator tries to rollback the poison message. Here's the problem...
    MQ clients on a different machine than the MQ server cannot use transactions, unless you purchase a product [extended transactional client] that costs as must as the MQ server itself. Although you can still access these queues without being part of a transaction.
    The event generator expects to be part of a transaction by default. Although if a message comes in that isn't a poison message you will never throw any exceptions because the event generator will never try to roll that message back. When a poison message does come in you receive this error (over and over and over again) :
    <Warning><EJB><BEA-010065><MessageDrivenBean threw an Exception in onMessage(). The exception was:
    java.lang.IllegalStateException: [EJB:010158]Illegal attempt to call EJBContext.setRollbackOnly() from an EJB that was not participating in a transaction.
    My question:
    How do you tell the event generator to not be part of a transaction?
    Or if it has to be part of a transaction then try to roll it back once, if rollback fails then scrap that message and go back to normal behavior?
    Thanks for any help!!!

    When I asked my 3 ibm contacts I received this response :
    "WebSphere MQ Extended Transaction Client software has price consequence and costs as much as full blown WebSphere MQ Server"
    So we are getting different information.
    I also did many searches on mqseries.net for "extended transactional client" with these results related to cost :
    1) The only way to do XA over a client connection is using the Extended Transactional Client - which is licensed at the same rate as a queue manager.
    2) The extended transactional client (not free) is yet another option.
    3) You can either pay for a license for the queue manager to be on the same machine, or you can pay for a license for the Extended Transactional Client to be on the machine with the Java application. Oddly enough, the cost for both of these is pretty much the same.
    4) If you need distribituted transaction (XA) you have to install an MQ server or an Extended Transactional Client. But in this way you cannot decrease the cost factor
    5) Can anyone tell me where I can download a beta version of the MQ Extended Transactional Client. I assume this client is free of charge same as MQ Client.
    next post :
    I don't know if there is a beta download available for this client. I do know that it isn't free of charge.

  • Transaction key / event key in account determination??

    hii
    I want to know what is transaction key and event key in account determination??
    Thanks

    HI,
    Transaction/event key (internal processing key) Posting transactions are predefined for those inventory management and invoice verification transactions relevant to accounting. Posting records, which are generalized in the value string, are assigned to each relevant movement type in inventory management and each transaction in invoice verification. These contain keys for the relevant posting transaction (for example, inventory posting and consumption posting) instead of actual G/L account numbers. You do not have to define these transaction keys, they are determined automatically from the transaction (invoice verification) or the movement type (inventory management). All you have to do is assign the relevant G/L account to each posting transaction. Account grouping (only for offsetting entries, consignment liabilities, and price differences) Since the posting transaction "Offsetting entry for inventory posting" is used for different transactions (for example, goods issue, scrapping, physical inventory), which are assigned to different accounts (for example, consumption account, scrapping, expense/income from inventory differences), it is necessary to divide the posting transaction according to a further key: account grouping code. An account grouping is assigned to each movement type in inventory management which uses the posting transaction "Offsetting entry for inventory posting". Under the posting transaction "Offsetting entry for inventory posting", you must assign G/L accounts for every account grouping, that is, assign G/L accounts. If you wish to post price differences to different price difference accounts in the case of goods receipts for purchase orders, goods receipts for orders, or other movements, you can define different account grouping codes for the transaction key. Using the account grouping, you can also have different accounts for consignment liabilities and pipeline liabilities. Valuation class of material or (in case of split valuation) the valuation type The valuation class allows you to define automatic account determination that is dependent on the material. for example: you post a goods receipt of a raw material to a different stock account than if the goods receipt were for trading goods, even though the user enters the same transaction for both materials. You can achieve this by assigning different valuation classes to the materials and by assigning different G/L accounts to the posting transaction for every valuation class. If you do not want to differentiate according to valuation classes you do not have to maintain a valuation class for a transaction.
    Regards
    KK

  • BSEG.CREATED event not triggering when a document is posted in FB60

    Hi All,
    I have a requirement in which i need to post documents in FB60/FB65/FB01 tcode. But when i post the document in FB60 the event BSEG.CREATED is not triggering. I could not see any trace in SWEL. But when i park the document in FB60, FIPP.CREATED event is getting triggerd.
    Can anyone tell me why this BSEG.CREATED event is not triggering.
    Thanking you in advance,
    satheesh.

    Hi Viji,
    Thanks for your quick reply.
    We have maintained the required configurations in the system related to this. But still the event BSEG.CREATED is not triggering.
    for this the alternative solution is to implement the BTE '1030'. But our functional team is asking us to check whey standard business object BSEG.CREATED is not triggering when we post a document. So that particular reason we are not able to find out.
    Configuration maintained.
    1) Created a workflow variant and assigned it to particular company code(OBWA and OBWJ).
    2) Checked the 'Posting' release' and 'Release payments' checkboxes in the OBWA transaction.
    3) Event linkage for BSEG is active.(SWETYPV)
    Thanks,
    satheesh

  • Events in FI-CA

    Experts can you help me with:
    How to debug a transaction activating an event in FI-CA?
    Do you have a how to guide? About debugging a transaction using of the events in FI-CA?
    Rgs,

    Hello,
    If you know your Function module, you go to SE37 and press F7.
    You press 'CtrlShiftF12'. Break points would be set in the Function module <FM>.
    Now when you test your program and if this FM is used by your program, it wud go into de-bugging mode...
    Also if you want to set break-point at particular line <only when it is allowable>, you double click on the line(s), your break point would be active...now you run u r program, it is run in debugging mode and stops at the break point...
    Also you use '/h' in the t-code menu, it would take you into debugging mode.
    Hope this helps
    Rgds
    Rajendra

  • 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

  • Looking for a BAPI or BADI for ML81N EVENT SAVE

    Good Morning to everyone !!!
    I would like to know if exist an BADI or USER EXIT for  ml81n transactions in the event SAVE. If exist please let me know the name of them and an example of it could be the best for me.
    Thanks in advantage for your help, I solved my problem about MIRO yesterday thanks to everyone for your contribution.
    Regards
    Marta Cecilia
    From Colombia

    Hello,
    You can try with BADI INVOICE_UPDATE interface named
    if_ex_invoice_update, method: change_at_save
    Go tx code se19 and implement the interface and method I have told you.
    example,
    METHOD if_ex_invoice_update~change_at_save.
    IF sy-tcode EQ 'ml81n'
       message 'hello' type 'E'.
    ENDIF.
    ENDMETHOD.
    Hope this helps, dont forget to reward,
    Gabriel

  • PLM: Business Events Documentation

    Hi,
    I can't find proper documentation of the PLM Business Events. The PLM/PIM Implementation Guides provide only a list of event names but no further information on when these are raised and which parameters can be used when subscribing or writing custom code. Metalink Doc.ID 372814.1
    ('Using Business Events in PLM and PIM Data Librarian') covers EGO events only, not ENG events.
    Could you please provide me with further documentation sources? Is there any central point of information dealing with seeded Business Events in eBS
    in general? Is there any other way I can find out more about how a BE is defined (e.g. a database view providing it's parameters)?
    Thanks & kind regards,
    Roland

    Some information is also available in the Workflow Guides at http://www.oracle.com/technology/documentation/applications.html
    HTH
    Srini

  • Business event issue

    Hi,
    I am invoking an oracle seeded business event oracle.apps.po.rcv.rcvtxn through Receiving Transaction.
    This event should call a PL/SQL function. But I receive a notification in saying:
    Event Error Name: WFE_DISPATCH_RULE_ERR
    Event Error Message: 3825: Error '-4061 - ORA-04061: existing state of has been invalidated
    ORA-04061: existing state of package "APPS.XX_PO_RCV_TXN_LABEL" has been invalidated
    ORA-04065: not executed, altered or dropped package "APPS.XX_PO_RCV_TXN_LABEL"
    ORA-06508: PL/SQL: could not find program unit being called: "APPS.XX_PO_RCV_TXN_LABEL"' encountered during execution of Rule function 'xx_po_rcv_txn_label.receive_business_event' for event 'oracle.apps.po.rcv.rcvtxn' with key '196017-13587'.
    Event Error Stack:
    Wf_Event.dispatch_internal()
    I am sure that this message is incorrect as I changed the package name to XXRCVTXN and business event is still calling old package XX_PO_RCV_TXN_LABEL.
    Secondly, when I resubmit this event through notification worklist in sysadmin responsibility, it completes successfully and does the intended processing.
    Can someone please point out why this discrepency is there?
    Thanks in advance

    The message is correct: the original package XX_PO_RCV_TXN_LABEL has indeed been invalidated when you have recompiled it. The business event turns to an old version pf the package, ... but it has been flagged as invalid in the share pool. Even if you recompile, or even drop the package, the workflow system will still turn to the old package version.
    What to do: restarting the application services will definitely solve the issue (providing, of course, that the new package version is in valid state). For a production system this will cause downtime, so you could try to restart the Workflow Deferred Notification Agent Listener and perhaps the Workflow Notification Mailer.

Maybe you are looking for

  • Using AAMEE to Package CS6 for Enterprise Deployment | Creative Suite In The Enterprise | Adobe TV

    CS6 software requires activation and Adobe ID login. By packaging CS6 with AAMEE 3.0 before deployment, only the IT Admins needs to complete a one-time package activation and Adobe ID login, individual users of thesoftware do not. Learn about these n

  • USB-Audio does not work correct on T430/T530

    Hi all! I'm owner of a T430 and a T530. Both are new PCs where I have installed Windows XP. The reason for XP is that I own older software and hardware, which is not supported on Windows 7. But it works fine and I have no reason to change hard- and s

  • Online Store 1.0

    how can ichange display of items from 3x3 matrix to 2x2 matrix in Demo Online Store 1.0

  • How to display variable lenght grid within subreport

    Hello; In order to compensate and fill up space of a subreport to make up a full page or even generate a blank page to compensate for duplex printing, we have programmed the data to fill in blank records, as many as we need per invoice. These invoice

  • USB optical mouse won't work in PS/2 port

    I have a lenovo USB optical wheel mouse that I want to plug into the PS/2 mouse port (I need to free up the USB port for something else).  I have a green USB to PS/2 adaptor that works fine with a borrowed logitech USB mouse and also works fine with