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

Substitutions

Former Member
0 Likes
616

hi all,

I did a substitution (GGB1) to validate mater data of fixed asset (AS01), How I could implement this same substitution for transacction AS02?

Thanks

marisol.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
567

Generally, if you are just validating you should use a Validation, not a Substitution - They are executed earlier in the processing before any updatres start.

You should be able to use the same validation or substitution in both AS01 and AS02 transactions - if you don't have a pre-requisite check of the TCode it probably already runs in both.

Andrew

2 REPLIES 2
Read only

Former Member
0 Likes
567

Hi Marisol,

You can check IF sy-tcode = 'AS01' OR sy-tcode = 'AS02' in the same.

Regards,

Atish

Read only

Former Member
0 Likes
568

Generally, if you are just validating you should use a Validation, not a Substitution - They are executed earlier in the processing before any updatres start.

You should be able to use the same validation or substitution in both AS01 and AS02 transactions - if you don't have a pre-requisite check of the TCode it probably already runs in both.

Andrew