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: 

Problem with a validation .

Former Member
0 Kudos

Hi!

I made a validation in transaction REBDBU and REBDPR when the user create a building or a property in the module of RE and when the person use the transaction RE80 the system can't allow the user to create a building or a property.

Some one know if I can restrict the validation for one transaction only?

Thanks!

2 REPLIES 2

Former Member
0 Kudos

Try this

if sy-tcode = <tcode>.

...

do your validation

...

endif.

0 Kudos

HI,

Use <b>SY-TCODE</b> and write Logic accordingly.

i.e, if sy-tcode = 'REBDBU'.

validation 1.

else.

validation 2.

endif.