cancel
Showing results for 
Search instead for 
Did you mean: 

Merging initial screen with subsequent VA41

Former Member
0 Kudos

Dear all SP experts!

I ave a question regarding: merging two screens of one transaction into one. I' ll try to explain with screenshots.

This is regarding transaction VA41:

1. So entering VA41 - it shows initial screen in which only two fields end user needs to fill (yellow) (red ones will be predefined).

2. So I would like to take those two fields to move to the next screen - where they would appear initially as two  fields which user needs to fill and then press Create/Enter button and then the next screen from VA41 shows below (table)

If the idea is clear I would like to know is it even possible? if not - maybe you guys have other bright ideas how end user could avoid the initial screen, where only 2 fields are relevant to fill...

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is a common requirement, actually. You can't do exactly what you want - the values must be filled in on the first screen before you can navigate to the second screen, so you can't move them. What you can do is arrange these fields at the top of the first screen, and add custom fields at the top of the second screen in exactly the same place. You may need to move some of the standard fields of the second screen to make room.

Then, you have a script to go from screen 1 to screen 2 that copies the values. This gives the appearance of the "new" fields on the second screen just appearing under the first ones once they are filled in. It looks like one screen that appears progressively, but in reality is two screens.

Does that make sense?

Steve.

Former Member
0 Kudos

Yes, Steve, that make sense!

I hope there will be developed an option sometime in the future to merge dependent transaction screens in one. Thanks I will do it with a script now

Answers (1)

Answers (1)

former_member195167
Participant
0 Kudos

I have a crazy idea, I dunno if it'd be helpful though.

  • You could have a script button in the first screen that writes some null value in those two fields and goes to the next screen.
  • Keep this button hidden and push it through the first screen's onClickHandler.
  • Next, accept the values from the user by displaying the two custom fields on the second screen.
  • Script the back button in the second screen such that it saves the values, comes back to first screen, pushes it to the correct fields, moves ahead to the second screen and then does the save action.

Worth a try