Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Required fields in different tabstips

former_member299080
Participant
0 Kudos

We want to make required a field contained in a tab strip of a

transaction, but it seems not to work.

Let's say in SU01 we want to make field "Department" required in tab

"Address". To do so we create a transaction variant for SU01, create a

screen variant for the subscreen contained in the tab and assign the

screen variant to the transaction variant. This works fine. But what

we want is for example make "Department" required and also

field "SNC name" from "SNC" tab. We have already tried to create a new

screen variant and assign to the transaction variant, but the field is

not made mandatory unless you actually click on the "SNC" tab. Based on

this, we tried to make mandatory to click on tab "SNC", but the the

"Confirm Screen Entries" window doesn't allow me to select "Required"

for "SNC tstrip".

Is there another way to resolve this?

Thanks

Marco

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Marco,

obligatory fields (defined at screen definitions) are checked on PAI for each screen . So if a screen is not processed before saving (and therefore PAI is not processed) the check would not work.

Some applications process the same checks again directly before saving data -some do not. If there is an exit or BADI directly befor saving you may add your checks there.

So there is no general solution - it depends on your application...

kind regards,

HP

1 REPLY 1

Former Member
0 Kudos

Hi Marco,

obligatory fields (defined at screen definitions) are checked on PAI for each screen . So if a screen is not processed before saving (and therefore PAI is not processed) the check would not work.

Some applications process the same checks again directly before saving data -some do not. If there is an exit or BADI directly befor saving you may add your checks there.

So there is no general solution - it depends on your application...

kind regards,

HP