Restricting Unrestricting Fields for Substitutions and Validations

7

Click here to load reader

Transcript of Restricting Unrestricting Fields for Substitutions and Validations

Page 1: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 1/7

Restricting/Unrestricting Fields for Substitutions and Validations

Note This document explains the situations for FI Substitutions/Validations exclusively. The situations may or may not apply for substitutions and validations in otherapplication areasIntroductionValidation consists of peruisite! chec" and message. If the prereuisite is metand the chec" is not ful#lled! the message is displayed. The validation rules areactivated at company code level. They are used to examine settings! say!postings from company code to business area are made or not. Substitutions are used to substitute a document #eld value and consist of aprereuisite and substitution. $ substitution is enforced if the prereuisite is met.Substitutions are also activated at the company code level and can be a constantvalue! a user exit or #eld%#eld assignment 

Call-up Points and Boolean Class There are & call%up points 'hich can be used for Substitution or Validation.

(. )ocument *eader

+. ,ine Item

-. omplete )ocument

. ost of Sales $ccounting

&. ost of Sales $ccounting 01e'2

  The set up for the call%up points and 'hich 3oolean classes are used for FIValidations/Substitutions details can be found in table 43-( in the system.

 

Page 2: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 2/7

 $s seen above! the table has entries for other application areas also li"e $sset5anagement 0$52! ontrolling 062 etc! but 'e 'ill be only loo"ing at the &entries for FI. 

 The & call%up points mentioned a little 'hile earlier! can be found in the table forthe & FI entries highlighted. The V$,7V71TT8T gives the call%up point detailscorresponding to the number in the #eld V$,7V71T. 

 The R,$SS or 9,$SS #eld can be referred to "no' the 3oolean lass for anapplication area and call%up point. For example! for application area FR and call%up point + 0,ine Item2! 3oolean class is ::;. <no'ing the 3oolean class for anapplication area and call%up point combination 'ill be necessary for reading thetable 43:(! explained later. 

 The #elds 43V$,US7 and 43S3STUS7 are used to de#ne 'hich call%up points 'illbe used for Validations and Substitutions respectively. If the #eld value is blan"!

the call%up point does not appear in the screen to de#ne Validations orSubstitutions. The #elds can have the follo'ing values=

4enerally! only the values blan" and 8 are used. 

 The 43-( data entries for FI loo" as belo'= 

Page 3: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 3/7

 $s seen! 43V$,US7 has selection only for - call%up points 'ith 8. The value isblan" for ost of Sales $ccounting and ost of Sales $ccounting 01e'2 call%uppoints. *ence! 'hen de#ning validations! only - call%up points 'ill be available.For FI Substitutions! all & call%up points 'ill be available! since! all the & entrieshave 8 in the 43SU3STUS7 #eld. This can be observed in the screen shots belo'= 

Page 4: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 4/7

 

Table GB01

 Situation faced= 9e 'ere trying to create a substitution that modi#es thepayment bloc" #eld at the document line item level based on certain criteria. Thedevelopment and unit testing 'ent #ne in the development system. 9hen 'etransported to the test system! the pre%reuisite part 'as displaying correctly!but! the substitution part 'as appearing as blan".

 The above situation 'as because! someho'! the entries in 43:( in thedevelopment and test system 'ere di>erent. 

Page 5: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 5/7

  The 3oolean class 'hich 'as read from table 43-( 'ill be used here. Forapplication area FI and call%up point line item! the 3oolean class is :;. 

 The class type refers to R,$SS or 9,$SS or both from 43-(. The class type in43:( is ?3@ for Validation! ?S@ for Substitution and ?$@ for both Validation andSubstitution. 3,T$3! for FI application area! generally refers to tables 3<AF or 3S74! thestandard S$A document header and line item details tables or system #elds li"e

client! transaction code! user I) etc. The 3,FI7,) has the table #elds for each of the tables in 3,T$3. 378,U)7 determines 'hether the table #eld in 3,FI7,) of 3,T$3 can be usedin substitutions and validations or not. The value can be blan" or ?8@. If the valueis ?8@! the #eld 3,FI7,) of table 3,T$3,7 is not allo'ed for that particular,$SSTBA7 and 366,,$SS. If the value is blan"! it is allo'ed. 

Page 6: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 6/7

  The above screen shot sho's 'hich table and #elds of the table that 'ill beallo'ed for Validation and Substitution de#nition for the call%up point )ocument

*eader 0Since the 366,,$SS C :;2. $s seen! all #elds 03,FI7,) C D2 of table3<AF 03,T$3 C 3<AF2 are available 0378,U)7 C blan"2 to be used in FIValidations 0,$SSTBA7 C 32. For Substitutions 0,$SSTBA7 C S2! in table 3<AF03,T$3 C 3<AF2! #eld 3U)$T 03,FI7,) C 3U)$T2 is excluded 0378,U)7 C 82!'hereas! #eld 3<T8T 03,FI7,) C 3T8T2 is available 0378,U)7 C blan"2. So!from 3<AF table! #eld 3T8T can be used for substitutions! but! 3U)$T cannot beused. In our case! the #eld E,SAR 0Aayment 3loc"2 had 378,U)7 C 8 in test systemand 378,U)7 C blan" in development system for 366,,$SS C :; 0FIapplication area and line item call%up point2. So! the substitution 'or"ed #ne indevelopment system. 3ut! 'hen the transport moved to test system! since! the

payment blac" #eld 'as not allo'ed in substitutions! the substitution data in thestep became blan". 

Modifcation o GB01

In order to ma"e 3U)$T #eld of 3<AF table available for substitutions! the378,U)7 C 8 needs to be modi#ed to 378,U)7 C blan" for that particularentry. In standard S$A system! direct modi#cation of 43:( is not allo'ed throughS5-:. For modifying entries of 43:(! a maintenance vie' exists in standard S$A.

 The vie' is V9TB43:(. 

Page 7: Restricting Unrestricting Fields for Substitutions and Validations

7/25/2019 Restricting Unrestricting Fields for Substitutions and Validations

http://slidepdf.com/reader/full/restricting-unrestricting-fields-for-substitutions-and-validations 7/7

  The vie' entries are the same as 43:( and can be modi#ed in S5-:. 9hatevermodi#cation is done for V9TB43:(! reects in 43:( table. 3oth 43:( and V9TB43:( are cross client. $lso! 'hen modi#cation is done andV9TB43:( transported! only those entries are pic"ed up in the TR 'hich arechanged during modi#cation. The TR does not transport the 'hole table. In thesystem 'here the TR gets imported! the changes in V9TB43:( directly reect inthe 43:( table. 

So! to restrict #elds or remove restriction on #elds or add ne' tables and #elds tobe included in Substitutions and Validations! V9TB43:( should be used.