Skip to Content
author's profile photo Former Member
Former Member

Merging initial screen with subsequent VA41

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! 😊

how would.jpg (139.3 kB)
initial choice.jpg (79.8 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 08, 2015 at 08:13 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 09, 2015 at 12:41 PM

    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 😉

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.