Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Required fields in different tabstips

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

Tags:
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question