Transaction - using XA-Resource

Hi,
We are trying to achieve transactionality in message processing using XAResource. We have a Foreign JMS server(MQ based) from were the messages are picked up by a singleton service, passed to an OSB service where it is processed. If any exception occurs during this entire transaction, we need to rollback the message onto the MQ queue.
Here is what we tried:
We created a simple java project which implements weblogic.cluster.singleton.SingletonService and MessageListener interface.
1. Here is how we get the XA resource:
QueueConnectionFactory cf = (QueueConnectionFactory) cxt.lookup("simpleQCF");
XAQueueConnectionFactory xaqcf = (XAQueueConnectionFactory)cf; //Step 1: Casting queue connection factory object to XAQuueConnectionFactory type
xaqc = xaqcf.createXAQueueConnection();     //Step 2: Creating XAQueueConnection          
senderQ = (Queue) cxt.lookup("MQ_PROXY_ENTRY");
xaqs = xaqc.createXAQueueSession();//Step 3: Creating XAQueueSession
MessageConsumer queue = xaqs.createConsumer(senderQ);
queue.setMessageListener(this);
xaqc.start();//Step 4: Start XAQueueConnection     
XAResource m_jmsResource = xaqs.getXAResource();//Step 5: Get XA Resource using XAQueueSessionObject
2. Next we obtain a TransactionManager object onto which we register the XAResource:
TransactionManager m_tManager;
m_tManager = (TransactionManager)cxt.lookup("javax.transaction.TransactionManager");
System.out.println("Got the Transaction Manager " +     m_tManager);
m_tManager.begin();
m_transaction = m_tManager.getTransaction();
weblogic.transaction.TransactionManager weblogicTManager = ((weblogic.transaction.TransactionManager) m_tManager);
weblogicTManager.registerStaticResource("jms_resource",m_jmsResource);
m_transaction.enlistResource(m_jmsResource);     // enlist the resources with the transaction
3. We get this exception while registering the XAResource:
Got the Transaction Manager ClientTM[Server01+172.24.99.246:7038+pub_do
main+t3+]
Exception in Singlenton: Resource 'jms_resource'can be registered only in a ser
ver process
javax.transaction.SystemException: Resource 'jms_resource'can be registered only
in a server process
at weblogic.transaction.internal.TransactionManagerImpl.registerStaticRe
source(TransactionManagerImpl.java:438)
at com.bt.wls.singleton.SingletonForeignJMS.activate(SingletonForeignJMS
.java:280)
at weblogic.cluster.singleton.SingletonServiceWrapper.activate(Singleton
ServiceWrapper.java:19)
at weblogic.cluster.singleton.SingletonServicesManager.activateService(S
ingletonServicesManager.java:195)
at weblogic.cluster.singleton.SingletonServicesManager_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.jav
a:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Context was initialisedjavax.naming.InitialContext@48abc
Am i missing something here? :(
Wanted to rollback the message using Java XA-Resource.
Please help us to achieve this..!

Three thoughts. Enjoy!
1 - An application should never need to work directly with XA enlistement/registration or the JMS Specification's "Chapter 8" XA APIs. I personally recommend against it. Can the singleton service be changed to call into EJBs that in turn make JMS calls? If used in a standard way, the EJBs will automatically and transparently enlist/register MQ as needed. WebLogic even automatically works around some subtle differences between vendors (IIRC, MQ has one or two). For a discussion of the related specifics in JMS land, see [url http://forums.oracle.com/forums/ann.jspa?annID=1603]Oracle WebLogic Messaging Information and [url http://download.oracle.com/docs/cd/E17904_01/web.1111/e13727/interop.htm#JMSPG553]Integrating Remote and Foreign JMS Providers.
2 - I think messaging bridges are migratable. An untested/unverified alternative to a singleton service MQ forwarding pattern would be to (A) configure an exactly-once migratable target, (B) configure DB leasing, (C) configure a Messaging Bridge and target it to the migratable target. On a WL server failure, the singleton bridge should automatically migrate to a new server...
3 - The error message seems to indicate that the TM thinks the registration attempt is occuring on a client, not a WL server - not sure why. It looks like you might be trying to register/enlist a foreign (non-WebLogic) resource in a WebLogic SE client. Java EE does not specify support for this. (This works transparently for WL JMS, without resorting to specialized *.XA* interfaces, via internal "friends-and-family" extensions to JEE - a special cooperation between the WebLogic TM, WebLogic clients, and WebLogic services.)
Regards,
Tom

Similar Messages

  • How to start and finish a transaction using EJB 3.0 in JDeveloper

    Hello everybody!
    Does anybody can explain how to start and finish a transaction using EJB 3.0. I need to start a transaction insert some information in some tables and if everything was fine commit the information.
    I put the annotation @TransactionManagement(TransactionManagementType.BEAN) in my session bean and @Resource SessionContext ejbContext; but I don't what anything else I have to do.
    Any help will be appreciate.

    I tryied to use in the client the statement EntityTransaction transaction = myBean.getTransact(); but I receive the EJBException: Cannot use resource level transactions with a container managed EntityManager
    I just need to start a transaction something like this: transaction.begin(); and finish the transaction, something like this: transaction.commit();
    Does anybody can help?

  • How to find out the Transactions used per month & the USER who used that

    Hi,
    1)How to find out the Transactions used per month & the USER who used that?
    2)and can i get the above same for minimum 20 month?
    System : SAP- Enterprise Core Component.

    You can use my program...
    *& Report  Z_ABAP_TCODE_MONITOR
    *****&  Program Type          : Report                                 *
    *****&  Title                 : Z_ABAP_TCODE_MONITOR                   *
    *****&  Transaction code      : ZTCODE_USAGE                           *
    *****&  Developer name        : Shailendra Kolakaluri                  *
    *****&  Deveopment start date : 26 th Dec 2011                         *
    *****&  Development Package   : ZDEV                                   *
    *****&  Transport No          : DEVK906086                                       *
    *****&  Program Description   : This program is to display
    *List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    *& Modification history
    REPORT  Z_ABAP_TCODE_MONITOR.
    *& List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    TYPE-POOLS : slis.
    DATA: ind TYPE i,
          fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          layout TYPE slis_layout_alv,
          variant TYPE disvariant,
          events  TYPE slis_t_event WITH HEADER LINE,
          heading TYPE slis_t_listheader WITH HEADER LINE.
    *REPORT  z_report_usage.
    TYPES: BEGIN OF zusertcode,
      date   TYPE swncdatum,
      user   TYPE swncuname,
      mandt     TYPE swncmandt,
      tcode     TYPE swnctcode,
      report TYPE swncreportname,
      count     TYPE swncshcnt,
    END OF zusertcode.
    *data   : date type n.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode,
          wa           TYPE zusertcode,
          t_ut         TYPE STANDARD TABLE OF zusertcode,
          wa_result    TYPE zusertcode,
          t_result     TYPE STANDARD TABLE OF zusertcode.
    PARAMETER: month TYPE dats DEFAULT sy-datum.
    *PARAMETER: date TYPE dats.
    *select-options : username for wa_usertcode-account.
    START-OF-SELECTION.
    PERFORM get_data.
    PERFORM get_fieldcatalog.
      PERFORM set_layout.
    PERFORM get_event.
    PERFORM get_comment.
      PERFORM display_data.
    FORM get_data .
    *date = sy-datum - 2 .
    After start-of-selection add this line (parameter Month required 01 as day).
      concatenate month+0(6) '01' into month.
      CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          ASSIGNDSYS    = 'DEV'
          periodtype    = 'M'
          periodstrt    = month
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      wa-date  = month.
    *wa-date  = date.
      wa-mandt = sy-mandt.
    wa_usertcode-account = username.
      LOOP AT t_usertcode INTO wa_usertcode.
        wa-user = wa_usertcode-account.
        IF wa_usertcode-entry_id+72 = 'T'.
          wa-tcode  = wa_usertcode-entry_id.
          wa-report = space.
        ELSE.
          wa-tcode  = space.
          wa-report = wa_usertcode-entry_id.
        ENDIF.
        COLLECT wa INTO t_ut.
      ENDLOOP.
      SORT t_ut BY report ASCENDING.
      CLEAR: wa, wa_result.
    endform.
    FORM get_fieldcatalog .
    fcat-tabname     = 't_ut'.
    fcat-fieldname   = 'DATE'.
    fcat-seltext_l   = 'Date'.
    fcat-key         = 'X'.
    APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'MANDT'.
      fcat-seltext_l   = 'Client'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'USER'.
      fcat-seltext_l   = 'User Name'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'TCODE'.
      fcat-seltext_l   = 'Transaction Code'.
      fcat-key         = 'X'.
      APPEND fcat.
    ENDFORM.
    *&      Form  SET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM set_layout .
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_event .
    events-name = slis_ev_top_of_page.
    events-form = 'TOP_OF_PAGE'.
    APPEND events.
    *ENDFORM.                    " GET_EVENT
    **&      Form  GET_COMMENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_comment .
    DATA: text(30).
    text = 'Billing Report'.
    heading-typ = 'H'.
    heading-info = text.
    APPEND heading.
    *ENDFORM.                    " GET_COMMENT
    **&      Form  top_of_page
          text
    -->  p1        text
    <--  p2        text
    *FORM top_of_page .
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary       = heading[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    *ENDFORM.                    " top_of_page
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      sort t_ut[].
    DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = layout
          it_fieldcat        = fcat[]
          i_save             = 'A'
          is_variant         = variant
          it_events          = events[]
        TABLES
          t_outtab           = t_ut
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " DISPLAY_DATA

  • How To Perform Lot Split Transactions Using Transaction Open Interface (MTI)

    Can anyone give me some guidance on how to perform lot split transaction using MTI?
    I am using the following code:
    DECLARE
    l_transaction_type_id NUMBER := 83;
    l_transaction_action_id NUMBER := 41;
    l_transaction_source_type_id NUMBER := 13;
    l_org_id NUMBER := 1884;
    l_txn_header_id NUMBER;
    l_txn_if_id1 NUMBER;
    l_txn_if_id2 NUMBER;
    l_txn_if_id3 NUMBER;
    l_parent_id NUMBER;
    l_sysdate DATE;
    l_item_id NUMBER :=287996;
    l_user_id NUMBER;
    l_distribution_account_id NUMBER;
    l_exp_date DATE;
    BEGIN
    --For Lot Merge, there should be only one resultant lot.
    --The transaction_quantity populated in MTI/MTLI should be the entire
    --quantity that is available to transact for the org/sub/item/locator/LPN in
    --that particular lot number.
    --Get transaction_header_id for all the MTIs
    SELECT APPS.mtl_material_transactions_s.NEXTVAL
    INTO l_txn_header_id
    FROM sys.dual;
    --Get transaction_interface_id of resultant record
    SELECT APPS.mtl_material_transactions_s.NEXTVAL
    INTO l_txn_if_id1
    FROM sys.dual;
    l_parent_id := l_txn_if_id1;
    l_sysdate := SYSDATE;
    l_user_id := -1; --substitute with a valid user_id
    l_distribution_account_id := NULL; --needed for lot translate
    l_exp_date := NULL; --set if required
    --Populate the MTI record for resultant record
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    transaction_interface_id,
    transaction_header_id,
    Source_Code,
    Source_Line_Id,
    Source_Header_Id,
    Process_flag,
    Transaction_Mode,
    Lock_Flag,
    Inventory_Item_Id,
    revision,
    Organization_id,
    Subinventory_Code,
    Locator_Id,
    Transaction_Type_Id,
    Transaction_Source_Type_Id,
    Transaction_Action_Id,
    Transaction_Quantity,
    Transaction_UOM,
    Primary_Quantity,
    Transaction_Date,
    Last_Update_Date,
    Last_Updated_By,
    Creation_Date,
    Created_By,
    distribution_account_id,
    parent_id,
    transaction_batch_id,
    transaction_batch_seq,
    lpn_id,
    transfer_lpn_id
    VALUES
    l_txn_if_id1, --transaction_header_id
    l_txn_header_id, --transaction_interface_id
    'INV', --source_code
    -1, --source_header_id
    -1, --source_line_id
    1, --process_flag
    3, --transaction_mode
    2, --lock_flag
    l_item_id, --inventory_item_id
    null, --revision
    l_org_id, --organization_id
    'EACH', --subinventory_code
    1198, --locator_id
    l_transaction_type_id, --transaction_type_id
    l_transaction_source_type_id, --transaction_source_type_id
    l_transaction_action_Id, --l_transaction_action_id
    100000, --transaction_quantity
    'EA', --transaction_uom
    100000, --primary_quantity
    l_sysdate, --Transaction_Date
    l_sysdate, --Last_Update_Date
    l_user_id, --Last_Updated_by
    l_sysdate, --Creation_Date
    l_user_id, --Created_by
    l_distribution_account_id, --distribution_account_id
    l_parent_id, --parent_id
    l_txn_header_id, --transaction_batch_id
    2, --transaction_batch_seq
    NULL, --lpn_id (for source MTI)
    NULL --transfer_lpn_id (for resultant MTIs)
    --Insert MTLI corresponding to the resultant MTI record
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE(
    transaction_interface_id
    , Source_Code
    , Source_Line_Id
    , Process_Flag
    , Last_Update_Date
    , Last_Updated_By
    , Creation_Date
    , Created_By
    , Lot_Number
    , lot_expiration_date
    , Transaction_Quantity
    , Primary_Quantity
    VALUES (
    l_txn_if_id1 --transaction_interface_id
    , 'INV' --Source_Code
    , -1 --Source_Line_Id
    , 'Y' --Process_Flag
    , l_sysdate --Last_Update_Date
    , l_user_id --Last_Updated_by
    , l_sysdate --Creation_date
    , l_user_id --Created_By
    , 'Q0000.1' --Lot_Number
    , l_exp_date --Lot_Expiration_Date
    , 100000 --transaction_quantity
    , 100000 --primary_quantity
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    transaction_interface_id,
    transaction_header_id,
    Source_Code,
    Source_Line_Id,
    Source_Header_Id,
    Process_flag,
    Transaction_Mode,
    Lock_Flag,
    Inventory_Item_Id,
    revision,
    Organization_id,
    Subinventory_Code,
    Locator_Id,
    Transaction_Type_Id,
    Transaction_Source_Type_Id,
    Transaction_Action_Id,
    Transaction_Quantity,
    Transaction_UOM,
    Primary_Quantity,
    Transaction_Date,
    Last_Update_Date,
    Last_Updated_By,
    Creation_Date,
    Created_By,
    distribution_account_id,
    parent_id,
    transaction_batch_id,
    transaction_batch_seq,
    lpn_id,
    transfer_lpn_id
    VALUES
    l_txn_if_id1, --transaction_header_id
    l_txn_header_id, --transaction_interface_id
    'INV', --source_code
    -1, --source_header_id
    -1, --source_line_id
    1, --process_flag
    3, --transaction_mode
    2, --lock_flag
    l_item_id, --inventory_item_id
    null, --revision
    l_org_id, --organization_id
    'EACH', --subinventory_code
    1198, --locator_id
    l_transaction_type_id, --transaction_type_id
    l_transaction_source_type_id, --transaction_source_type_id
    l_transaction_action_Id, --l_transaction_action_id
    100000, --transaction_quantity
    'EA', --transaction_uom
    100000, --primary_quantity
    l_sysdate, --Transaction_Date
    l_sysdate, --Last_Update_Date
    l_user_id, --Last_Updated_by
    l_sysdate, --Creation_Date
    l_user_id, --Created_by
    l_distribution_account_id, --distribution_account_id
    l_parent_id, --parent_id
    l_txn_header_id, --transaction_batch_id
    3, --transaction_batch_seq
    NULL, --lpn_id (for source MTI)
    NULL --transfer_lpn_id (for resultant MTIs)
    --Insert MTLI corresponding to the resultant MTI record
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE(
    transaction_interface_id
    , Source_Code
    , Source_Line_Id
    , Process_Flag
    , Last_Update_Date
    , Last_Updated_By
    , Creation_Date
    , Created_By
    , Lot_Number
    , lot_expiration_date
    , Transaction_Quantity
    , Primary_Quantity
    VALUES (
    l_txn_if_id1 --transaction_interface_id
    , 'INV' --Source_Code
    , -1 --Source_Line_Id
    , 'Y' --Process_Flag
    , l_sysdate --Last_Update_Date
    , l_user_id --Last_Updated_by
    , l_sysdate --Creation_date
    , l_user_id --Created_By
    , 'Q0000.1' --Lot_Number
    , l_exp_date --Lot_Expiration_Date
    , 100000 --transaction_quantity
    , 100000 --primary_quantity
    --Get transaction_interface_id of Source record-1
    SELECT APPS.mtl_material_transactions_s.NEXTVAL
    INTO l_txn_if_id2
    FROM sys.dual;
    --Populate the MTI record for Source record-1
    INSERT INTO MTL_TRANSACTIONS_INTERFACE
    transaction_interface_id,
    transaction_header_id,
    Source_Code,
    Source_Line_Id,
    Source_Header_Id,
    Process_flag,
    Transaction_Mode,
    Lock_Flag,
    Inventory_Item_Id,
    revision,
    Organization_id,
    Subinventory_Code,
    Locator_Id,
    Transaction_Type_Id,
    Transaction_Source_Type_Id,
    Transaction_Action_Id,
    Transaction_Quantity,
    Transaction_UOM,
    Primary_Quantity,
    Transaction_Date,
    Last_Update_Date,
    Last_Updated_By,
    Creation_Date,
    Created_By,
    distribution_account_id,
    parent_id,
    transaction_batch_id,
    transaction_batch_seq,
    lpn_id,
    transfer_lpn_id
    VALUES
    l_txn_if_id2, --transaction_header_id
    l_txn_header_id, --transaction_interface_id
    'INV', --source_code
    -1, --source_header_id
    -1, --source_line_id
    1, --process_flag
    3, --transaction_mode
    2, --lock_flag
    l_item_id, --inventory_item_id
    null, --revision
    l_org_id, --organization_id
    'EACH', --subinventory_code
    1198, --locator_id
    l_transaction_type_id, --transaction_type_id
    l_transaction_source_type_id, --transaction_source_type_id
    l_transaction_action_Id, --transaction_action_id
    -200000, --transaction_quantity
    'EA', --transaction_uom
    -200000, --primary_quantity
    l_sysdate, --Transaction_Date
    l_sysdate, --Last_Update_Date
    l_user_id, --Last_Updated_by
    l_sysdate, --Creation_Date
    l_user_id, --Created_by
    l_distribution_account_id, --distribution_account_id
    l_parent_id, --parent_id
    l_txn_header_id, --transaction_batch_id
    1, --transaction_batch_seq
    NULL, --lpn_id (for source MTI)
    NULL --transfer_lpn_id (for resultant MTIs)
    --Insert MTLI corresponding to the Source record-1
    INSERT INTO MTL_TRANSACTION_LOTS_INTERFACE(
    transaction_interface_id
    , Source_Code
    , Source_Line_Id
    , Process_Flag
    , Last_Update_Date
    , Last_Updated_By
    , Creation_Date
    , Created_By
    , Lot_Number
    , lot_expiration_date
    , Transaction_Quantity
    , Primary_Quantity
    VALUES (
    l_txn_if_id2 --transaction_interface_id
    , 'INV' --Source_Code
    , -1 --Source_Line_Id
    , 'Y' --Process_Flag
    , l_sysdate --Last_Update_Date
    , l_user_id --Last_Updated_by
    , l_sysdate --Creation_date
    , l_user_id --Created_By
    , 'Q0000' --Lot_Number
    , l_exp_date --Lot_Expiration_Date
    , -200000 --transaction_quantity
    , -200000 --primary_quantity
    END;

    the first MTI record should be the source record ...ie. it should have transaction quantity as negative.
    new set of MTI records should have positive transaction quantities.
    Also ensure that sum of transaction quantities for the set should be 0...
    What is the error that you are getting?
    Thanks,
    Hrishi.

  • MS Project Very Slow and Project Files Large when Using Shared Resource Pool

    Hello,
    We are using MS Project 2010 Professional in our organization and using a shared resource pool so we can easily identify resource conflicts.  When we started this process many months ago the resource pool worked great.  Now that we have nearly
    all of our projects (~40) using the resource pool, it has become essentially unusable.  Each project file that is sharing the resource pool is 12 MB or greater in file size, and most of the project files contain less than 100 lines.  Saving any file
    takes ~4 minutes.  As a result, many of the resource managers and project managers are starting to avoid using MS Project which is undermining our original intent.
    Any thoughts on what we could try to regain the usability, make the file sizes smaller, improve save times, etc.?  Will MS Project Server fix all of these issues?
    Thanks,
    Josh

    If any of your PMs renamed, moved or over-wrote their project file whilst linked to the Resource Pool or a master, then the file may well have corrupted itself or the pool or both. With 40 files, you can guarantee one or more PMs will do one of the above,
    so file corruption is a when, not if (2days or 2 years or more).
    For 40 projects Project Server or any solution that copies data to a database so the resource data can be consolidated is needed. Project Server is not a simple application, it's a full server and requires proper training and processes to add value. And
    it needs configuring by someone who knows what they're doing!
    In the mean time try unattaching all project files from the pool, then create a new blank pool and re-attach.You will also need to File, Save as to repair each project file if needed. For bad corruption save as to a .xml format then re-import to a blank
    project.
    Or, create a new master each time by inserting all projects into a new blank project, but deselecting the Link option. All tasks are then copied and the resource data consolidated. Record a macro to make creating this very quick and easy (provided your network
    isn't too slow).
    <p>Rod Gill</p> <p><a href="http://www.project-systems.co.nz/project-vba-book/index.html/">The one and only Project VBA Book</a> <a href="http://www.project-systems.co.nz/"></p> <p>Rod
    Gill Project Management</a></p>

  • Transactions used in simple file-idoc scenario

    hi all,
    what are the transactions used in idoc scenario...(Ex: idx1 for creating new idco)
    let me know what is the transaction code to find the clients available...
    Is it 'SCC4'
    Please provide me required info
    Thanks
    Narasimha
    Edited by: Narasimha bommela on Jan 23, 2008 9:17 PM

    Try this guide:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    Covers everything from setting partner profiles to monitoring Idocs
    I can also recommend this book:  http://www.sap-press.com/product.cfm?account=&product=H1935

  • Premiere Pro CC not using all resources... 4k

    I just put together a new workstation machine for editing 1D-C 4k files in Premiere Pro and After Effects.
    Specs...
    i7 3770     3.4
    Gigabyte Z77 Mobo
    32gb Corsair Vengance DDR3 1600 RAM
    250gb Samsung SSD
    4x 2TB Seagate 7200 HDDs in RAID 0 (Yes I know it isn't backed up, we have that part covered)
    Nvidia Quadro K4000 (3gb vram)
    Anyway, we transfered a project with all the media files to our RAID media drive.
    It opened up very quickly and loaded all the media much faster then our old workstation.
    Then I hit the spacebar (perview) and the problems started..
    It won't play back smoothly at all,
    AND it is only running the CPU at 10-20%, GPU 10-50%, ram at 25% and it is not really taxing the drives very hard either...
    Why won't PP use all the resources at 100% like I have previously seen it do on other machines?
    ** The project we are trying to play is 2 layers of 4k .MOV footage in a 1080 timeline... with sharpening, Fast color corrector, and RGB curves.
    ** It also drops every fourth frame when playing back just one layer of 4k .mov footage in a 1080 timeline with NO Effects applied. (Much smoother, but still not using all resources)
    What I am asking, is why would it be giving up so quickly? Before even taxing the resources very hard?

    I too have a recent 1D-C project I'm editing.  That 1D-C is something, yes?  Most filmic images I've ever seen from a DSLR.  But I digress. 
    I'm following a workflow closer to the one used by Philip Bloom and Shane Hurlbut.  The Motion Jpeg files will not play well at all on your system.  It's strictly a capture medium - not an editing one.
    I converted all my 1D-C files to Prores 422 at 4K size using Mpeg Streamclip.  Those files imported beautifully and edit well on my Retina Macbook Pro laptop.  I usually set playback to 1/2 quality, ps. 
    I have had problems using CUDA, so I'm sticking to software mode.  But I don't see any problem with being able to cut my film and finish on my computer.
    Also - my sequence is a 4K sequence right in Premiere.  I simply chose a clip and "made a sequence" from that.  Why scale when I don't have to?  I've exported to 1080p easily from the sequence. 
    If anyone finds this workflow less than ideal, I'm all ears.  Thanks. 

  • Need information on how to integrate bank interfaces for 820,824 transaction using B2B add on

    HI All,
    Can anyone share some knowledge on how to integrate 820,824 transactions using PI B2B add on .
    I have downloaded B2B mapping kit and B2B toolkit into IR and uploaded SCA files into PI server.
    But I can not see any mappings provided for 820/824 by SAP in B2B mapping kit.
    Please share your comments.
    Regards,
    Dinesh

    Hi Dimitri,
    I am looking for 820,824 for ANSIX12 format.
    And i guess SAP has provided example mappings only for 810,830 and 850.
    I am unable to see the example mappings provided by sap for 820/824 in B2B mapping toolkit.
    Is there any way or place to find the example mappings for these formats?
    Regards,
    DInesh Male

  • How to update the FB01L transaction using the FM  bapi_acc_document_post

    Hi All,
            How to update the FB01L transaction using the bapi_acc_document_post but there is no ledger group field in the bapi function module.
    Please help me how to do it.

    hi,
    use batch input method for the same.
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19107237&messageID=884744]

  • Changes are not reflecting using af:resource for adding CSS

    Hi,
    I am trying to add new CSS file(say the name as customNew.css) to page template using af:resource tag, the changes are not reflected. Instead I see(using firebug) that, styles coming from different CSS file(say the name as customOld.css ) which configured on trinidad-config.xml and trinidad-skins.xml files.
    I was under the impression that, the new CSS file(customNew.css) will override the old css (customOld.css). So, CSS added using af:resource tag will not override any other CSS ???
    Any help will be appreciated
    Thanks,
    San.

    Hi,
    if you bring CSS to the browser through af:resource then this is not overriding any skinning definition. Skins can only changed in trinidad-config.xml file (which also can be done at runtime). Just adding a CSS file to af:resource wont do the trick here.
    Frank

  • Is "SET TRANSACTION USE ROLLBACK SEGMENT" only a hint

    I have two users, one makes some inserts in a table.
    The other makes a select which visits many rows.
    I have a big rollback-segment.
    To ensure, both users use this rollback-segment I created a logon-trigger:
    CREATE OR REPLACE TRIGGER a_logon AFTER LOGON
    ON DATABASE
    WHEN ( USER IN ( 'SCOTT', 'BOB' ) )
    BEGIN
    SET TRANSACTION USE ROLLBACK SEGMENT rbs_big;
    END;
    But I still get "snapshot to old" messages from the select, which contains the name off an other rollback-segment in the message.
    The trigger really fires, i tested it by adding an insert-statement to a log-table.
    What`s wrong ?

    The set transaction use rollback segment lasts only until you commit or rollback first time and all other transactions in that session will not be forced to that rbs anymore. Other possible solution could be that other users are accessing same tables / updating them so those sessions can't keep the read consistent image available anymore for your sessions.

  • Set Transaction Use Rollback segment

    Hi everybody. Does It make sense issue a "set transaction use rollback" for a single query that do not update, insert or delete. The trouble is that I get e "SnapShot too Old" for a query that just do a query.
    Thanks!

    No, If you are not making any modifications then you do not generate rollback (or even a transaction to my knowledge). The SNAPSHOT TOO OLD is because a different session has run through the rollback for the read consistent view you need (either because someone made changes to a table you are reading or from delayed block cleanout). Delayed block cleanout is a pretty complicated scenario so I'll leave it to the Oracle documentation to explain that. Just be aware that even if nobody has made changes to the table since you started your query you can still get SNAPSHOT TOO OLD. Thankfully, 9i helps elleviate this somewhat with the introduction of UNDO TABLESPACES.
    Richard

  • How to use common resource bundle across all the development components ?

    Hi,
    I am working on SAP NetWeaver Developer Studio - JAVA
    How to use common resource bundle across all the development components ?
    Description :
    I have a requirement of creating a resource bundle (resource.properties) and use that common resource bundle in all the development components.
    Can we create a  development component (war and ear both) and create only resource.properties in this development component( DC ) and create the dependency of the same DC  in all the other DCs ?
    Thanks,
    Neha

    Hello Neha 
    This question is more NWDS related.
    You may have a better chance of someone answering the thread under
    SAP Netweaver -> SAP NetWeaver Development Infrastructure (NWDI, formerly known as JDI) forum
    Thanks
    Kenny

  • URL format to call transaction using WinGUI

    Hello,
    We would like to display SAP transactions in the portal, however they are from the SAP APO sytem and require the the WinGUI setting as they contain graphics that the ITS cannot interpret. WinGUI does not use the ITS. An iView or External Service can be created to display the required transactions using the SAPApplication.Transaction but as the screens are made up of several windows we would like them to open up full screen. The standard iView can open in a new screen but the window opens in a different place depending on the user's internet settings. To solve this a java iView could be written to dictate the starting point and size of the window but I am having trouble with the URL of the transaction. Using WebGUI the following format can be used to call a transaction:
    <System.Access.ITS.Protocol>://<System.Access.ITS.HostName><System.Access.ITS.Path>/webgui/!?transaction=<SAP_Dynp_AutoStart%><SAP_TCode>%20<SAP_Dynp_Params%>&client=<System.Client>&language=<Request.Language>&accessibility=<User.Accessibility>
    Does anyone know the format of the URL to call a transaction using wingui (it doesn't work to substitute wingui for webgui in the format above)?
    Thanks for your help,
    Katie

    HI,
    You need to write the codition like below,
    If Message = 'Successful'
    If Button = 'SUBMIT'
       Call Transaction 'ZABC'.
    Endif.
    Endif.
    Regards
    Sudheer

  • CALL transaction using itab aswell as skip the first screen

    Hi All,
    I am doin BDC for some Ztransaction and i am that transaction using CALL TRANSACTION... but i want to skip the first screen of the Ztransaction as well as pass the Itab .. mode .. update and message table.... how can i do it...
    CALL TRANSACTION Z... USING iTAB UPDATE DATE MODE A  message bdcmsgcoll AND skip THE FIST SCREEN.. how to acheive it....

    PERFORM BDC_DYNPRO      TABLES BDCDATA
                           USING 'SAPLBPT1' '0100'.
    *PERFORM BDC_FIELD       TABLES BDCDATA
                           USING 'BDC_CURSOR'
                                 'BCONTD-BPCONTACT'.
    *PERFORM BDC_FIELD       TABLES BDCDATA
                           USING 'BDC_OKCODE'
                                 '/00'.
    *PERFORM BDC_FIELD       TABLES BDCDATA
                           USING 'BCONTD-BPCONTACT'
                                  V_CONTRACT.
    the above code /recording call the first screen 100 which i dont want...
    below code / recording is for screen 200 which i want to appear directly when i call the transaction....
    skipping the first screen 100..
    PERFORM BDC_DYNPRO      TABLES BDCDATA
                            USING 'SAPLBPT1' '0200'.
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BDC_OKCODE'
                                  '=SAVE'
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BCONTD-PARTNER'
                                   V_GPART.
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BCONTD-ADDINFO'
                                   V_ZONE.         "ZONE(S,N,E,E,NE)
    PERFORM BDC_FIELD       TABLES BDCDATA
                            USING 'BDC_CURSOR'
                                  'EENO_DYNP-ZEILE(01)'.
    PERFORM BDC_FIELD       TABLES BDCDATA
                             USING 'EENO_DYNP-ZEILE(01)'
                                   V_LOG.                 "MESSAGE
    CALL TRANSACTION 'BCT1'    USING BDCDATA
                               MODE MODE UPDATE UPDATE
                               MESSAGES INTO IT_BDCMSGCOLL.

Maybe you are looking for

  • Invoice Reduction Invoice Payment Terms - Due Date

    Hi gurus, At the time we apply invoice reduction in MIRO screen, both invoices (regular and reduction) take vendor payemnt terms (for ex Due in 30 dyas). Is it possible to assign the invoice reduction invoice a fix payment term "Due Immediately" via

  • DBAdapter in version 10.1.3.1 after 10.1.3.3 and 10.1.3.3.1  patches added

    Hi, My DBA did the linux installation of SOA 10.1.3.1, then applied patches to upgrade it to 10.1.3.3.1. I deployed a process, but failed to run it. When i checked the DBAdapter version, it's still in 10.1.3.1. All others are in correct version. Have

  • How can I get the Thursday of current week as a date?

    Is it possible to get Thursday of the current week as a date, using a select statement? For example, no matter what day of the week it is when I run the query, I'll get the Thursday of the current week in date form. It should be really simple, but I'

  • Design view greyed out

    Hello I have this css file and i can only view the code, when I try to click on the design view its greyed out. This wasnt the case last week when I could view it fine. Can anyone help me? Thanks

  • Logitech Itouch 2.22 and Asus Update 6.x won´t install because of X-FI!Solution HER

    Cat please pass that on to the driver Team. Since I have installed (and many others here too!) the X-Fi card, I can not install my Logitech I-Touch and the Asus Update Software. Both quit with an error during setup. This all didnt happen before the X