on 2014 Aug 21 5:10 PM
Hi;
I am working on SAP Work Manager 6.0 customising using Agentry 6.1.3. I have a collection that I am looping over for editing (I am using an edit transaction screen for editing), but there is a couple of things that I noticed, as I was editing each collection item through the loop:
1. The editing loop does not start editing from the selected item collection, it always starts from the first item/row on the tile list
2. After editing all the collection items within a parent object, lets suppose I have 8 collection items on the tile list displaying, when I click on the 4th item, the edit transaction screen that opens, always opens/displays the first item on the tile list, irregardless of which one I select/click, the first item/row is always displayed.
Is this standard Agentry behaviour or there is a step that I am missing?
Please advise?!
Thanks and Regards;
Sizo Ndlovu
Hi Bill;
Any suggestions?
Thanks and Regards;
Sizo Ndlovu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based on history of where the issue lies (past problems that is similar to your issue):
When a Subaction step in an action is set to "Loop over displayed list items", but the collection selected is not the complex table list field on the screen set then there may be issue.
When the complex table selected is incorrectly set - the looping constructed in this manner will loop over all the records in the complex table in the order that the records are stored in the table. So most likely it is the first one.
Workaround:
You could first populate a dummy collection of objects with the complex table records desired and change your show screen to a List View Control that displays the object collection.
A List View control is a valid choice for the collection on looping subaction when set to "Loop over displayed list items"
Hope this helps.
Mark Pe
SAP Senior Support Engineer
Hi Mark;
Thanks a lot for your response, your time is very much appreciated! I have implemented this through a List View control as you advised, it seems to be working fine, except the windows .NET client (6.1.4.443) application crashes when I am within the loop editing the list items, this is when I choose the option "Done: Complete the Action and Break Out of the loop". The other wizard buttons "Finish" and "Cancel" seem to be working just fine. What could possibly be causing this?
So just to take you through a bit of the design, when I double click on a single list item on the List View, a detail screen is displayed, that enables editing per list item, when "Next" is clicked on, the 2nd item is displayed on the detail screen.
Thanks and Regards;
Sizo Ndlovu
Sizo,
Hi. For crashing issue, you may try on a different Agentry client just to test if it also crashes or if it works. If it works in the ATE (Agentry Test Environment - Win32) then there may be a problem in the WPF version. You may need to open an SAP ticket for this one - due to it could be a bug.
I am not sure how you got a hold of 6.1.4.443 (that is a special release only a few companies have access to for other crash fixes, Android header spacing and others). But anyway when you open this ticket, please provide screen shots and reproduction steps, the Agentry editor export (plus point to where it is in the editor - what the name of the screen, transaction, action) and the agentry.db export (from using the WPF tool bar icon right click - export db). This will be processed as a bug report accordingly.
Component: MOB-SYC-SAP
Best Regards,
Mark Pe
SAP Senior Support Engineer (mobility)
Hi sizo,
Update the "Act On Attribute" in action step definition to the screen set current object(For example: -- 😆 main screen set :>mainmenuscreen_demo_detail_screen:>demotilelistviewfield:demo object).Now it may consider the selected object rather than first
Thanks & Regards,
Sravanthi Polu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sravanthi;
Thank you for the helpful response. I have managed to get the loop to start editing from the selected item, but now, lets suppose that I have 5 items showing on the tile list and I select the 4th one on the list, it will open up that one for editing and instead of looping into the 5th one then after, it loops into the 2nd one on the tile list.
What could be causing this?
Thanks and Regards;
Sizo Ndlovu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steven;
With regards to the issue below, I had this posted on this discussion a while ago:
"I have managed to get the loop to start editing from the selected item, but now, lets suppose that I have 5 items showing on the tile list and I select the 4th one on the list, it will open up that one for editing and instead of looping into the 5th one then after, it loops into the 2nd one on the tile list."
Is this a known bug by SAP? When is the estimated release of the version to fix this issue? Or am I mistaken and this is an implementation issue lying on my side?
Thanks and Regards;
Sizo Ndlovu
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.