Application Development and Automation 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: 
Read only

Problem with a validation .

Former Member
0 Likes
436

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
Read only

Former Member
0 Likes
393

Try this

if sy-tcode = <tcode>.

...

do your validation

...

endif.

Read only

0 Likes
393

HI,

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

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

validation 1.

else.

validation 2.

endif.