cancel
Showing results for 
Search instead for 
Did you mean: 

No Previous Button in Agentry Loop over collection screens

Former Member
0 Kudos

Hi Team,

We are not able to find the Previous buttons in Agentry Loop Over collection Transaction screens in Work Manager 6.2. But in the Wizard buttons I can see it is enabled.

See attachment.

But it is not displayed in iPad or even in windows client.

Experts please help me to find out what I am missing to enable the previous button.

Help is much appreciated.

Thanks,

Bala

Accepted Solutions (1)

Accepted Solutions (1)

sudhiranjan_lenka
Contributor
0 Kudos

Hi Bala,

We are using loop over displayed list items loop to capture the measurement points, which is working fine for us.we are using WPF client but not sure about the behaviour of IOS client.

Thanks,

Sudhir.

Former Member
0 Kudos

Sudhir,

Thank you. We are also using Loop over displayed Items. But still we are not able to view the previous button even in WPF client. See my screen shots below. Let me know if I need to enable anything else.

Any help here is very much appreciated.

Thanks,

Bala

sudhiranjan_lenka
Contributor
0 Kudos

Hi Bala,

I don't think you need to do anything extra to achieve this.

Please help me to know the following things.

SMP server version, Agentry client version and Editor version.

Which platform you have used for the above screen in the Agentry code.

Note :- Previous button will not appear for the 1st record, it appears for the second record onwards.

Thanks,

Sudhir.

Former Member
0 Kudos

Hi Sudhir,

We are using SMP 3. SP08 PL01. The client version is v70.9.0.6(SDK3.0 SP09) and Editor version is same 70.9.0.6.

We are using both platforms (windows and iPad platforms)

Thanks a lot Sudhir for the response.

Thanks,

Bala

Answers (2)

Answers (2)

mark_pe
Active Contributor
0 Kudos

Bala,

As far as I know, transaction Wizards as the name implies is for Transactions.  You can have next or previous provided you are in the same transaction context and have multiple screens under your screenset that you defined for your transaction.

There is a misconception on next and previous when it comes to "Actions" and the multiple steps.

Example: Action 1.

Action 1:

Step 1 - Transaction Screenset (screen 1, screen 2, screen 3)

Step 2 - Apply

Step 3 - SubAction (points to another screen)

Step 4 - Apply

This is a transaction wizard next and previous buttons.  In step 1, within the multiple transaction screen inside the same screenset you will have next and previous.

In Step 3 where you are inside another screen you cannot have a previous button that goes back to Step 1 as it is already been applied.

So in theory, the previous screen only works inside a transaction and not across multiple steps as described above.  Hence it is called Transaction Wizard and not Action Wizard.

In your picture above you have looping that runs on all displayed items and to run 1 action RecordPointWrapper.  From my definition above it will not know how to go back to your previously saved (applied) action.

There is a different button < and > that goes down the looping on the displayed list. There is something about apply that you cannot unapply it.

Hope this helps clear the definition.

Regards,

Mark Pe
SAP Platinum Support Engineer

Former Member
0 Kudos

Thanks Mark. That literally sums up why I am not getting the previous button.

Thanks a lot folks for responding and helping me out.

sudhiranjan_lenka
Contributor
0 Kudos

Hi Mark,

I completely agree with you the concept you explained above. I can't unapply a transaction which has already been applied.

But the above screen shot shared by me has a previous button, here I am also using the same loop over displayed items as Bala. I am curious to know why there is a difference in the behaviour for the same action.

I look forward to your valuable advices to help me to understand this concept.

Thanks,

Sudhir.

Former Member
0 Kudos

Do you have at least 2 screens is the screenset?

Former Member
0 Kudos

Hi Sudhir,

Please find action steps I have for RecordsPointWrapper.

I just wanna check do you have the same action steps. I know this is a standard action for recording points in WM 6.2, but just to confirm.

Former Member
0 Kudos

I have only one Screen in the screenset and I hope Sudhir has also same one screen in the screenset

sudhiranjan_lenka
Contributor
0 Kudos

Hi Steve,

I am also having only one screen active in the screenset.

@Bala : We are also using same standard action.

Thanks,

Sudhir.

mark_pe
Active Contributor
0 Kudos

Bala and Sudhir,

A colleague of mine notified me that there was a new feature created by the Agentry platform team to support the discussion I specified above wherein once you have applied you cannot go back. Note that this is a new feature.

The Work Manager team used this new Editor function (SMP 3.0 SDK SP09) and created an SAP note # 2212312 - SAP Rounds Manager and SAP Work Manager - Unable to Activate the Back Button to help resolve this problem (you will need to remove the Apply) - read article.

Hope this helps,

SAP Mobile Support Team

sudhiranjan_lenka
Contributor
0 Kudos

Thank You so much Mark!!

This answers my question.

Thanks,

Sudhir.

0 Kudos

Hi Balamurugan,

If Transaction Screen set has only one screen then it will have only two buttons -

1. Finish

2. Cancel

You can change the text of these buttons going to Wizard Buttons options(your first screenshot).

If you just want to change the text of your Cancel button to 'Previous', do the setting as per the below screen shot -

But it will only change the text of the button and not the functionality.

If your Transaction screen set has more than one screen, then only you will have Next and Back buttons to navigate between the screens. You may see Next and Back buttons enabled in Wizard Buttons but they will not be there on the screens until and unless your Transaction screen set has more than one screen.

Thanks and Regards,

Sujit

Former Member
0 Kudos

Hi Sujit,

Thank you for your response. Yes, Cancel button will cancel the whole loop. What I need is a Previous/back button to navigate back to the previous item in the loop. I can navigate to next item in the loop using the next button but not the previous item since there is no previous button. See my iPad screen for the reference.

Your help is much appreciated.

Former Member
0 Kudos

The previous button is only when you more then one screen in a transaction screenset.  You can not go back in an action.