SMP 3.0: Agentry - Pending transaction

Hi Experts.
I am doing modifications of SAP Work Manager 6.1 in Agentry.
In the MainObject, the WorkOrder collection is located, which has a sub collection called Components.
In the Transmit action there is a subaction that will loop over the WorkOrder collection, furthermore for each
WorkOrder another subaction will loop over the Components collection.
For each Component satisfying some conditions an Edit transaction with an Update Step, will trigger a backend
call for that Component. This part works fine.
If I supply some invalid data for a Component and do a transmit, then the Update step will fail. If I do another transmit
without doing any changes, the Update Step will be executed again and fail. So far so good.
Now I delete the Component with invalid data, to try to get the Transmit working again. I do this via a Delete transaction
with the checkbox "Discard pending" set to true. I would expect this to also delete the pending transaction.
But even if I can verify, that the Component Object has been deleted in the Components collection, the pending transaction
will still be executed every time I do a transmit.
I cannot get the pending transaction deleted.
The only workaround is to delete the parent object, which is the entire Work Order Object. But this is much more than I want to delete
if only a single Component object is invalid.
I hope someone can help me with this.
Thanks.
Søren Hansen

Just to close the loop in this discussion. The result of the OSS ticket is the creation of this SAP note:
SAP Note # 2142877: SAP Work Manager - Transaction Failure Handling cannot be turned on in SMP 3.0 Agentry production publish (via Cockpit) but it can in SMP 3.0 development publish via Agentry.ini.
As stated the Agentry.ini is deprecated in SMP 3.0 for Production Publish.
SMP 3.0 - Agentry.ini (Configuration file) deprecated in SMP Production mode
The Development publish still uses Agentry.ini but in production publish the SMP Cockpit is used but the internal coding does not work with the Agentry.ini enabling of the error handling. So any application that was designed in Agentry 6.0.X before that uses error handling needs to follow the same way the SAP note # 2142877 was done above.
Just adding some references in SCN for quick check by users.
Soren also has a write up in the SMP develoment center listed below as the result of this action:
SMP 3.0: Agentry Transaction Failure Handling
I just want to add some closure on the discussion on what happened - just in case some other users bump into this discussion online.
Best Regards,
Mark Pe
SAP Senior Support Engineer

Similar Messages

  • Count Pending Transactions

    hi, experts
    I'm trying to count pending transactions, I have a App in Agentry. Generate transaction type delete for the objects. Any idea???
    Platform Windows Mobile Pocket PC Portrait
    Agentry Server 6.1.4.179
    Agentry Test Environment 6.1.4.179
    Thank you for your help.
    regards

    That's right, but I need to count the transactions because I can not use an include rule as it affects the performance of the device with widows mobile filtering by a field with a state. hence it must have pending transactions.
    Regards
    Rafael Méndez

  • How to view pending transactions?

    I have a problem where for some reason, things that should be rolled back when ocirollback is called, aren't. I'd like the user to be able to see a list of pending transactions, on that connection, but I haven't had any luck. All I find are posts about tables that I don't have.
    I wish I could tell you what version of Oracle I have, but I don't even know. rpm -qa | grep -i oracle turns up empty. I can tell you that lsb_release -a gives
    LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
    Distributor ID: RedHatEnterpriseAS
    Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
    Release: 4
    Codename: NahantUpdate8

    Make sure that every ociexecute call uses OCI_DEFAULT, else the active transaction in the connection will be committed.
    Make sure that your application isn't doing DDL, e.g. CREATE TABLE, since this will commit the active transaction.
    Pending transactions are shown in v$transaction, which may (or should) not be visible to normal users.
    By "list of pending transactions, on that connection" do you means list of SAVEPOINTS, or are you suspending transactions via
    a transaction manager or even by DBMS_XA?
    Use <?php phpinfo(); ?> and check you have a recent version of the PHP OCI8 extension. 1.3 onwards is OK, 1.4 onwards is good.
    You can get the latest source from http://pecl.php.net/package/oci8

  • How to move pending transactions to next period

    Hi
    i need to close the period but it show's there are 9 pending transactions, how can i sweep them to next period.
    is there any concurrent program to do the process.
    regards
    Arif

    Make sure that every ociexecute call uses OCI_DEFAULT, else the active transaction in the connection will be committed.
    Make sure that your application isn't doing DDL, e.g. CREATE TABLE, since this will commit the active transaction.
    Pending transactions are shown in v$transaction, which may (or should) not be visible to normal users.
    By "list of pending transactions, on that connection" do you means list of SAVEPOINTS, or are you suspending transactions via
    a transaction manager or even by DBMS_XA?
    Use <?php phpinfo(); ?> and check you have a recent version of the PHP OCI8 extension. 1.3 onwards is OK, 1.4 onwards is good.
    You can get the latest source from http://pecl.php.net/package/oci8

  • Transaction Processor Error in View Pending Transactions

    Dear All,
    I am getting the Error: "Transaction Processor Error" in View Pending Transactions.
    How can I identify due to what reason, this error had occured
    because of this I am not able to close the inventory period for these transaction months..
    and also I am having the following Error msg for another item in view Pending Transactions..,
    How can I clear this ..?
    Please update...
    Many Thanks in advance....
    Edited by: santark on Nov 10, 2009 6:46 PM

    Hi,
    This is not really and error. Oracle processes transaction in a batch. If one record will fail because of some error, other records/transaction in the batch fails with this error. For this error you really need to get the ERROR_EXPLANATION to find out the exact message as to why it is possibly failing. These can usually have their three flags reset and re-submitted as this error is usually attached to those records in a group where one of the records has been erred with one of the more severe errors.
    I believe you can resubmit the transactions which are failed with the below script
    Update mtl_material_transactions_temp
    set      process_flag = ‘Y’,
         lock_flag = 'N',
         transaction_mode = 3,
    error_code = NULL
    Where organization_id = &org_id
    Thanks,
    Raghav

  • Pending transaction

    I am facing one problem here...i have one big sales order...with more than 1000 line items... out these items may items i have already transact move order...some of the items ... when i go in shipping transanction window ... it is showing me status "Released to Warehouse".... and these all the line items which i have transacted are stuck in pending trasanction window.... so is there any way out to handle this pending transactions.... so that i can ship confirm by lines items.
    Thanks for helping and guiding

    So Finally .... i have solved the issue myself...
    Clearing Pending Transaction
    1.Suppose you have Item no: 1390512 – Status = PO Received – but it is stuck in “Released to Ware house” status
    2.Go to scheduling of this items and UN-schedule this particular item….from Tools OR by Right click on this item. – Then Un-Schedule this item.
    3.Before this item is showing status … Pick Released --- but now it will show you the reservation … with the status – Not Pick Released.--
    3a. Re-Schedule this item and then reserve it again.
    4.Reserve this item again – from tools – scheduling --- reserve. OK
    5.After viewing the reservation details... Go to Actions and Progress Order.
    6.If DV number is there in shipping transaction window – note the DV number from there…you can release the specific item.
    7.Go to Transact Move Order window …. Place your item number in the lines Tab.. then find and transact the particular item.
    8.Go to Pending Transaction window and find the pending transaction of this item …Previously it is coming when this item stuck in the status of released to warehouse… but after following these all the steps… there is no pending transaction for this item.
    9.Wait for about 5 – 6 minutes… the status of this item will get changed from “Released to warehouse” to “Staged/Pick Confirmed”
    10.Then simply go to Actions – Ship confirms it.
    Junaid Iftikhar
    Oracle Distribution Consultant

  • Inventory pending transactions stuck pending transactions in with no error

    Hi everybody,
    there are some inventory pending transactions stuck pending transactions in with no error. those transactions of inter-org shipment (issue) one of items doesn't have quantities. so, why the left items that have quantities will not be released? and why there are no error in the line that doesn't have enough quantity (to mention the issue quantity is not enough )?
    thank you in advance.

    Pending transaction hold only following three types of records:
    1. Allocations done for Mover orders
    2. if you use TP:INV: Transaction Processing Mode = Batch, and if transaction manager has not yet picked up the records for processing.
    3. records are stored in Pending Transactions only for a moment, before they are transferred from Transactions Open Interface to Material Transactions (History)
    In all the cases, records are well validated, and you will never find that basic validation such as quantity missing is not present.
    How are the records getting populated there?
    Are you inserting them manually? Strongly suggest to insert the records in mtl_transactions_interface instead.
    there are couple of things to check:
    1. If all records are part of single batch and if one of the records fail then entire batch fails.
    check if transaction_batch_id is populated on these records.
    2. may be the flags such as process_flag, lock_flag, transaction_mode are not set to right values
    check if their respective values are 1, 2 and 3.
    Thanks,
    Hrishi

  • Pending Transactions Showing Up in ASCP

    I think we are seeing that ASCP sees the pending transactions.
    Item XYZ had pending WIP Component Issue of 8 pcs. tied to a pending WIP Move...the component is an assembly pull
    The Material Workbench had item XYZ with an on-hand of say 2 pcs.
    Inventory Supply/Demand had the on-hand at -6
    ASCP saw it at -6 and rescheduled in a WIP job a week to cover the negative on-hand

    Raja,
    ASCP is based on a snapshot at the time of data collections. The Inventory application's supply demand form is real time based on current transactions.
    I know I have experienced several differences in how this form looks at information, it is not always consistent with ASCP by design. In this specific case, if the form is picking up pending transactions, I would not believe that was a bug. I would suspect it to be a feature.
    Kevin

  • [u][b]Pending Transactions SQL Queries[/u][/b]

    Hi,
    Can anyone pls help to provide me with the sql queries to extract the number of pending transactions so that I could run the query from backend?
    Currently, I have to select organization by organization at front end to view the number of pending transactions. Would appreciate any help. Thanks in advance!
    1. Resolutions Required
    - Unprocessed Material
    - Uncosted Material
    - Pending WIP Costing
    - Uncosted WSM txn
    - Pending WSM interface
    2. Resolution Recommended
    - Pending Receiving
    - Pending Material
    - Pending Shop Floor Move
    3. Unprocessed Shipping Transactions
    - Pending Transactions

    Unprocessed material transaction are stored into the table
    MTL_TRANSACTIONS_INTERFACE
    Pending material transactions are stored into the the table MTL_MATERIAL_TRANSACTIONS_TEMP
    Pending and Unprocessed Shopfloor move transactions are stored into the table WIP_MOVE_TXN_INTERFACE
    Uncosted material transaction are stored into the table MTL_MATERIAL_TRANSACTIONS with COSTED_FLAG not null (N for uncosted, E for error)
    Uncosted WIP transaction are stored into the table WIP_COST_TXN_INTERFACE
    Please refer also to the Pending transaction guide you will find in Metalink note Note:102878.1.

  • HT3702 From pending transaction to be posted

    I have one purchased item and received an email receipt today. My bank account now displays one pending transaction. Does anyone know when exactly this pending transaction is going to be posted? I need to close down this account as soon as it is posted.

    No

  • Delete the pending transactions failinvia automatic Mass Appraisal creation

    Hi all,I have appraisals not appearing in the Managers list.This appraisal is due om 01-May-2012.When I saw the reason ,I find the Mass Appraisal creation did not run.The reason being there were pending transactions.Our Appraisals are set for automatic run. The parameter to delete is Yes.I increased the MAX errors to 100000 but still I get error.Please suggest what to do?Is there a script or API which I can use to delete these pending transactions?

    Make sure the appraisals section of the plan is set to 'employee initiates'. Otherwise the manager has to initiate.
    If that is set OK, I have seen problems before with the 'backout' option on generate appraisals. Check MetaLink because I think a fix was produced for it.
    Regards
    Tim

  • SMP 2.3 Agentry update versions problem

    Hi,
    please I experienced issue when deploying new version of Agentry application to SMP 2.3. On devices we have stable old version. When we deploy new version through SCC on SMP and then we try to transmit device , it freezes on "Sending client info" . But in SCC it is running normally (e.g. when we reinstall client on device or reset ATE, it downloads new version with no problems).
    Our steps are::
    Deploy version 1
    Make initial sync.
    Deploy version 2
    Make delta sync.
    Expected result: new ersion is downloaded with delta sync correctly (currently we get freeze on “sending client info”).
    Thank you for any help
    Martin

    Hi Steve,
    we use Agentry_6.0.30 and I am talking about Application Logic release.
    Thank you

  • SMP 3.0: Agentry use of source=INI in JavaBE.ini

    Hi Experts.
    Is it still possible to use the JavaBE.ini for parameter configuration in Agentry 7.0 (on SMP 3.0) ?
    We will for sure use source=SAP for productions servers, but for local development environments
    it would be more flexible to use local configuration.
    Does anybody know if an export program exist, to export parameters from SAP to an INI file ?
    Thanks.
    Søren Hansen

    Hi Bill.
    Seems like it is working. I have posted some details in SMP 3.0: Setup local Agentry development environment with source=INI in JavaBE.ini
    I have not been able to find a standard program to export the parameter values, but found it fairly simple to create one myself.
    I will update above document with any findings, but I was able to start up the server, and do a full initial synch via that procedure.
    Søren Hansen

  • Pending Transactions in Inventory Accounting Periods for some ORG`s

    We are using 12.0.6
    We have 7 inventory ORGs
    We are feeding data since nov-08 and none of the Periods are closed yet
    Some ORGs have a very high number of uncosted transactions while some have none
    I dont understand why
    And secondly If i want to remove these transactions from pending status, how would i do that and make them costed so the pending number goes to zero
    Please advice
    Thanks

    What is the costing method being used? If it is average costing(or fifo/lifo) then, if one the transactions gets errored then costing of all subsequent transactions for that items in that org will be stopped. Also, there could be many other reasons like cost cut off date. inter org txns etc.
    best way to find out is run the following query
    select *
    from mtl_material_transactions
    where costed_flag = 'E';
    This gives all errored transactions. Try to resolve the issues with these transactions(check error_code, error_explanation columns).
    Hope this helps..
    Edited by: user625046 on Dec 3, 2009 5:13 AM

  • SMP 3.0 Agentry Client Communication Error

    Hi,
    We have installed SMP 3.0 server and SAP WM 6.1 in cloud server.  The server certificate is generated with FQDN. Within the cloud server we are able to access the WM 6.1 app in ATE by using https://FQDN:8081/SAPWM
    For accessing the app from internet we have public DNS which maps to the host. The url: https://publicdns:8081/SAPWM" is accessible in the browser we get the " I am here" message. We have put the certificate in Trusted root.
    But in the Agentry client when provide the server "url: https://publicdns:8081/SAPWM" we are getting communication error.
    Error Log
    Requesting Public Key from Server
    Connect to server 'ABCD', certificate is for 'xyz.com', so it is not valid
    Communications error (14)
    Connection failed
    Ending transmission
    From the error message we understand that the URL host and the certificate host are not matching so this is causing the error.
    Please let us know how we can resolve this issue.
    Appreciate your help.
    Regards
    Zak
    Tags edited by: Michael Appleby

    Zak,
    You will need to regenerate the certificate for the SMP 3.0 server in the cloud to use the public dns name instead of the FQDN.
    Instructions for this can be found in the following document.
    http://scn.sap.com/docs/DOC-55932
    Good luck!
    --Bill

Maybe you are looking for

  • SQL Server Windows NT - 64 Bit in Windows Server 2012 R2 Standard

    Hi, We have started migrating our SQL Server 2005 version and Operating System 2003 to SQL Server 2012 and operating system 2012 R2 Standard. Before we restore the production database, we had created an empty database and tables. We ran couple of pac

  • Make a counting CLOCK with motion ??

    i am trying to make a 30:00 clock that counts UP from 00:00. i started to do this as an individual text layer for each second, ie - 00:00, 00:01, 00:02, 00:03 - etc. this was taking me more time than i thought necessary. please suggest to me a better

  • Photo Downloader Freezes Up

    Hi to all Bridge Macintosh users, I've posted this same thing to the Adobe:Camera Raw forum, but it is probably more relevant to Bridge Macintosh forum users. That is the photo downloader freeze-up problem when you click "choose" to select a folder.

  • Itunes whiteout music and movies

    Hi On my itunes I have only the ituneu and podcast I cant download the itunes again because it's says that I already have itunes What to do? Inbar

  • No Wireless Adapter Displayed/ or Showing

    My Laptop suddenly stopped connecting to the internet wirelessly. This happened yesterday night and it was working just fine throughout the day. I tried a BIOS update and updating the driver but it didn't help. The wireless adapters also wont appear